/* Mahayom website. A white page, near black ink, Heebo alone, and one thin
   stroke of color that runs from dawn blue to nightfall amber. */

:root {
    --bg: #ffffff;
    --bg-2: #f9f9f9;
    --fill: #f4f4f4;
    --fill-2: #ececec;
    --line: #e5e5e5;
    --ink: #0d0d0d;
    --ink-2: #5d5d5d;
    --ink-3: #767676;
    --dawn: #3b6fd8;
    --dusk: #e0a43a;
    /* Dawn sits at the reading start: on the right in Hebrew, on the left in English. */
    --stroke-dir: 270deg;
    --stroke: linear-gradient(var(--stroke-dir), var(--dawn), var(--dusk));
    --ease-out: cubic-bezier(.23, 1, .32, 1);
    --wrap: 1120px;
    /* The story phone: as tall as the window allows, never wider than 380. */
    --pw: min(380px, calc((100vh - 140px) * 390 / 844));
    --font: 'Heebo', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    color-scheme: light;
}
html[dir="ltr"] { --stroke-dir: 90deg; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* A jump to a section stops below the sticky header (68, 64 on phones). */
    scroll-padding-top: 76px;
}
html.lang-en { direction: ltr; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 {
    color: var(--ink);
    text-wrap: balance;
}

a { color: inherit; text-decoration: none; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

::selection { background: rgba(59, 111, 216, .18); }

.mh-wrap {
    width: min(var(--wrap), 100% - 48px);
    margin-inline: auto;
}

/* ---------- Language: the landing page holds both, CSS shows one ----------
   Hebrew is the default. The page script adds lang-en to the html element
   for English. The legal pages render one language and set the same class. */

.mh-lang-en { display: none; }
html.lang-en .mh-lang-he { display: none; }
html.lang-en .mh-lang-en { display: inline; }

/* ---------- Header: one row at every width ---------- */

.mh-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.mh-header-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 68px;
}

.mh-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
}
.mh-brand img {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.mh-nav {
    display: flex;
    gap: 10px;
    margin-inline-start: 8px;
}
.mh-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-inline: 8px;
    font-size: 16px;
    color: var(--ink-2);
    transition: color 160ms ease;
}
.mh-nav a:hover,
.mh-nav a[aria-current="page"] { color: var(--ink); }

.mh-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

/* ---------- Pills and links ---------- */

.mh-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
/* A 48 px tall touch area around the 40 px pill. */
.mh-pill::after {
    content: '';
    position: absolute;
    inset: -4px 0;
}
.mh-pill:active { transform: scale(.97); }
.mh-pill-dark { background: var(--ink); color: #ffffff; }
.mh-pill-dark:hover { background: #2a2a2a; }
.mh-pill-ghost {
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
}
.mh-pill-ghost:hover { background: var(--fill); }
.mh-pill-big {
    height: 52px;
    padding: 0 26px;
    font-size: 17px;
}
.mh-lang-toggle {
    min-width: 52px;
    padding: 0 12px;
}

.mh-textlink {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--ink-3);
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
    transition: text-decoration-color 160ms ease;
}
.mh-textlink:hover { text-decoration-color: var(--ink); }

/* ---------- Hero ---------- */

.mh-hero {
    padding: 72px 0 40px;
    text-align: center;
}

.mh-h1 {
    font-size: clamp(46px, 7.6vw, 104px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.035em;
}
.mh-h1-line { display: block; }

/* The one stroke of color sits in the first line's own descender space. */
.mh-stroke {
    position: relative;
    display: inline-block;
}
.mh-stroke::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: .02em;
    height: .045em;
    min-height: 3px;
    border-radius: 3px;
    background: var(--stroke);
}

.mh-lede {
    max-width: 42ch;
    margin: 26px auto 0;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.55;
    color: var(--ink-2);
}
html.lang-en .mh-lede { max-width: 50ch; }

.mh-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 30px;
}

/* ---------- Phones: the 390 x 844 app, scaled to the frame's width ---------- */

.mh-device {
    position: relative;
    width: 100%;
    aspect-ratio: 390 / 844;
    border-radius: 13.5% / 6.2%;
    background: var(--ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .08);
    overflow: hidden;
}
.mh-device::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
    pointer-events: none;
}
.mh-device iframe {
    position: absolute;
    top: 2.8%;
    left: 2.8%;
    width: 390px;
    height: 844px;
    border: 0;
    border-radius: 40px;
    /* No background of its own: at a scaled edge it would show as a light hairline. */
    background: transparent;
    transform-origin: 0 0;
    transform: scale(var(--s, 1));
}

.mh-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 40px;
}
.mh-device-hero {
    width: 356px;
    max-width: 100%;
}
.mh-caption {
    margin-top: 22px;
    font-size: 15px;
    color: var(--ink-3);
    text-align: center;
}

/* ---------- Features: the phone stays, the text scrolls past it ---------- */

.mh-features { padding: 64px 0 0; }

.mh-h2 {
    margin-bottom: 40px;
    font-size: clamp(30px, 4.2vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-align: center;
}

/* One row of chips, shown on narrow screens only. Centered when they fit,
   a sideways scroll when they do not (the auto margins on the ends do both). */
.mh-chips {
    display: none;
    gap: 8px;
    margin: 0 auto 28px;
    padding: 4px 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.mh-chips::-webkit-scrollbar { display: none; }
.mh-chips::before,
.mh-chips::after {
    content: '';
    flex: none;
    margin: auto;
}
.mh-chips button {
    position: relative;
    flex: none;
    height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--fill);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-2);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.mh-chips button::after {
    content: '';
    position: absolute;
    inset: -4px 0;
}
.mh-chips button:active { transform: scale(.97); }
.mh-chips button[aria-selected="true"] {
    background: var(--ink);
    color: #ffffff;
}

.mh-story {
    display: grid;
    grid-template-columns: 1fr var(--pw);
    gap: 72px;
    align-items: start;
}
.mh-stage {
    position: sticky;
    top: max(84px, calc(50vh - var(--pw) * 844 / 390 / 2 + 24px));
}
.mh-device-story { width: var(--pw); }
.mh-device-story iframe {
    opacity: 0;
    pointer-events: none;
    transition: opacity 520ms ease;
}
.mh-device-story iframe.is-on { opacity: 1; }

.mh-steps { padding: 6vh 0 0; }
.mh-steps::after {
    content: '';
    display: block;
    height: 10vh;
}
.mh-step {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 78vh;
    opacity: .3;
    transition: opacity 420ms ease;
}
.mh-step.is-active { opacity: 1; }
.mh-step h3 {
    margin-bottom: 14px;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}
.mh-step p {
    max-width: 44ch;
    font-size: 19px;
    color: var(--ink-2);
}

/* ---------- Trust ---------- */

.mh-trust {
    padding: 80px 0 60px;
    text-align: center;
}
.mh-trust-line {
    text-wrap: balance;
    font-size: clamp(30px, 4.6vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.03em;
}
.mh-trust-sub {
    margin-top: 22px;
    font-size: 18px;
    color: var(--ink-2);
}

/* ---------- Download ---------- */

.mh-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 70px;
    text-align: center;
}
.mh-dl-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 20px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
.mh-download .mh-h2 { margin-bottom: 6px; }
.mh-dl-sub {
    font-size: 19px;
    color: var(--ink-2);
}

/* The official store badges, both 56 px tall. The Google Play file has a
   clear margin (41 of its 250 px), so its box crops to the artwork. */
.mh-stores {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
}
.mh-store {
    display: inline-flex;
    border-radius: 8px;
    transition: transform 160ms var(--ease-out), opacity 160ms ease;
}
.mh-store:hover { opacity: .88; }
.mh-store:active { transform: scale(.97); }
.mh-store img {
    display: block;
    width: auto;
    height: 56px;
}
.mh-store img.mh-lang-en { display: none; }
html.lang-en .mh-store img.mh-lang-en { display: block; }
html.lang-en .mh-store img.mh-lang-he { display: none; }
.mh-store-gp {
    width: 187px;
    height: 56px;
    overflow: hidden;
}
.mh-store-gp img {
    height: 83px;
    margin: -13.6px;
}
.mh-store-note {
    margin-top: 18px;
    font-size: 13px;
    color: var(--ink-3);
}
/* Each sentence keeps to itself when the line is too short for both. */
.mh-store-note span span { display: inline-block; }

/* ---------- Support ---------- */

.mh-support {
    padding: 40px 0 90px;
    text-align: center;
}
.mh-support .mh-h2 { margin-bottom: 12px; }
.mh-sup-text {
    max-width: 46ch;
    margin-inline: auto;
    font-size: 19px;
    color: var(--ink-2);
}
.mh-support .mh-cta { margin-top: 26px; }

/* ---------- Footer ---------- */

.mh-footer {
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
}
.mh-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
    font-size: 15px;
    color: var(--ink-2);
}
.mh-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
}
.mh-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    transition: color 160ms ease;
}
.mh-footer-links a:hover { color: var(--ink); }
.mh-footer-copy { unicode-bidi: isolate; }

/* ---------- Legal pages (privacy, support) ---------- */

.mh-legal {
    width: min(760px, 100% - 48px);
    margin-inline: auto;
    padding: 56px 0 clamp(64px, 8vw, 96px);
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink-2);
}

.mh-legal h1 {
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.mh-legal .mh-legal-lead {
    margin-top: 12px;
    font-size: clamp(18px, 1.6vw, 21px);
    color: var(--ink-2);
}

.mh-legal .updated {
    margin-top: 6px;
    font-size: 15px;
    color: var(--ink-3);
}

.mh-legal h2 {
    margin-top: 48px;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.mh-legal p,
.mh-legal ul,
.mh-legal ol { margin: 14px 0 0; }

.mh-legal ul,
.mh-legal ol { padding-inline-start: 24px; }
.mh-legal li { margin-bottom: 8px; }
.mh-legal li::marker { color: var(--ink-3); }

.mh-legal strong {
    font-weight: 600;
    color: var(--ink);
}

.mh-legal a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--ink-3);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: text-decoration-color 160ms ease;
}
.mh-legal a:hover { text-decoration-color: var(--ink); }

/* The email address: one soft grey surface. */
.mh-legal .contact-card {
    margin-top: 24px;
    padding: 6px 22px;
    border-radius: 22px;
    background: var(--fill);
}
.mh-legal .contact-card p { margin: 0; }
.mh-legal .contact-card a {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
    font-size: 19px;
    font-weight: 600;
    text-decoration: none;
    direction: ltr;
    unicode-bidi: isolate;
}

/* The questions: rows on one soft grey surface, an open one turns white. */
.mh-faq {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
    padding: 6px;
    border-radius: 24px;
    background: var(--fill);
}

.mh-faq details {
    border-radius: 18px;
    transition: background-color 160ms ease;
}
.mh-faq details[open] { background: var(--bg); }

.mh-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 18px;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--ink);
    cursor: pointer;
    transition: background-color 160ms ease;
}
.mh-faq summary::-webkit-details-marker { display: none; }
.mh-faq details:not([open]) summary:hover { background: var(--fill-2); }
.mh-faq summary:focus-visible { outline-offset: -2px; }

/* The chevron points down when closed and turns up when open. */
.mh-faq summary::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--ink-3);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
    transition: transform 200ms var(--ease-out);
}
.mh-faq details[open] summary::after { transform: rotate(180deg); }

.mh-faq details > :not(summary) { margin-inline: 18px; }
.mh-faq details > :last-child { margin-bottom: 18px; }
.mh-faq details > summary + * { margin-top: 0; }

/* ---------- /get/: the store link's page for crawlers and a Mac ---------- */

.mh-body-get {
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.mh-get {
    width: 100%;
    max-width: 420px;
    padding: 24px 0;
    text-align: center;
}

.mh-get-brand {
    display: inline-block;
    border-radius: 22px;
}
.mh-get-brand img {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.mh-get-title {
    margin-top: 22px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.mh-get-lede {
    margin-top: 8px;
    font-size: 18px;
    color: var(--ink-2);
}

.mh-get-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.mh-get-site {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--ink-3);
    text-underline-offset: 6px;
}
.mh-get-site:hover { text-decoration-color: var(--ink); }

/* Hebrew letters keep their own spacing: the tight tracking is for Latin. */
:is(.mh-brand, .mh-h1, .mh-h2, .mh-step h3, .mh-trust-line, .mh-legal h1, .mh-legal h2, .mh-get-title):lang(he) {
    letter-spacing: 0;
}

/* ---------- Motion: one entrance for the hero, one reveal per section ---------- */

.mh-hero .mh-h1-line {
    opacity: 0;
    transform: translateY(18px);
    animation: mh-rise 640ms var(--ease-out) forwards;
}
.mh-hero .mh-h1-line:nth-child(2) { animation-delay: 90ms; }
/* The stroke draws in from the reading start. */
.mh-hero .mh-stroke::after {
    clip-path: inset(0 0 0 100%);
    animation: mh-wipe 520ms var(--ease-out) 420ms forwards;
}
html[dir="ltr"] .mh-hero .mh-stroke::after { clip-path: inset(0 100% 0 0); }
.mh-hero .mh-lede,
.mh-hero .mh-cta {
    opacity: 0;
    transform: translateY(14px);
    animation: mh-rise 600ms var(--ease-out) 260ms forwards;
}
.mh-hero .mh-cta { animation-delay: 360ms; }
.mh-live .mh-device-hero {
    opacity: 0;
    transform: translateY(28px);
    animation: mh-rise 800ms var(--ease-out) 480ms forwards;
}
.mh-live .mh-caption {
    opacity: 0;
    animation: mh-fade 500ms ease 1000ms forwards;
}
@keyframes mh-rise { to { opacity: 1; transform: none; } }
@keyframes mh-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes mh-fade { to { opacity: 1; } }

/* A section rises in once, the first time it scrolls into view. Only with
   the page script running, so nothing stays hidden without it. */
.mh-js .mh-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 700ms var(--ease-out);
}
.mh-js .mh-reveal.in {
    opacity: 1;
    transform: none;
}
.mh-js .mh-trust.mh-reveal .mh-trust-line {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms ease, transform 600ms var(--ease-out);
}
.mh-js .mh-trust.mh-reveal.in .mh-trust-line {
    opacity: 1;
    transform: none;
}
.mh-js .mh-trust.mh-reveal.in .mh-trust-line:nth-child(2) { transition-delay: 80ms; }
.mh-js .mh-trust.mh-reveal.in .mh-trust-line:nth-child(3) { transition-delay: 160ms; }
.mh-js .mh-trust.mh-reveal.in .mh-trust-line:nth-child(4) { transition-delay: 240ms; }

/* Still mode (?still=1): every motion settled, for a picture of the page.
   The story phone sits beside the stacked texts instead of sticking. */
html.mh-still .mh-hero .mh-h1-line,
html.mh-still .mh-hero .mh-lede,
html.mh-still .mh-hero .mh-cta,
html.mh-still .mh-live .mh-device-hero,
html.mh-still .mh-live .mh-caption,
html.mh-still .mh-reveal,
html.mh-still .mh-trust .mh-trust-line,
html.mh-still .mh-step {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
}
html.mh-still .mh-hero .mh-stroke::after {
    animation: none;
    clip-path: none;
}
html.mh-still { --pw: 351px; }
html.mh-still .mh-stage { position: static; }
html.mh-still .mh-steps { padding: 0; }
html.mh-still .mh-steps::after { display: none; }
html.mh-still .mh-step {
    min-height: 0;
    padding: 0 0 44px;
}
html.mh-still .mh-device-story iframe { transition: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mh-hero .mh-h1-line,
    .mh-hero .mh-lede,
    .mh-hero .mh-cta,
    .mh-live .mh-device-hero,
    .mh-live .mh-caption,
    .mh-js .mh-reveal,
    .mh-js .mh-trust.mh-reveal .mh-trust-line {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
    .mh-hero .mh-stroke::after,
    html[dir="ltr"] .mh-hero .mh-stroke::after {
        animation: none;
        clip-path: none;
    }
    .mh-step,
    .mh-device-story iframe,
    .mh-pill,
    .mh-store,
    .mh-chips button,
    .mh-faq summary::after { transition: none; }
    .mh-pill:active,
    .mh-store:active,
    .mh-chips button:active { transform: none; }
}

/* ---------- Narrower screens ---------- */

@media (max-width: 960px) {
    .mh-chips { display: flex; }
    .mh-story { display: block; }
    .mh-stage { position: static; }
    .mh-device-story {
        width: min(280px, 72vw);
        margin: 0 auto 28px;
    }
    .mh-steps { padding: 0; }
    .mh-steps::after { display: none; }
    .mh-step {
        display: none;
        min-height: 0;
        text-align: center;
    }
    .mh-step.is-active { display: flex; }
    .mh-step p { margin-inline: auto; }
    html.mh-still .mh-step { display: none; }
    html.mh-still .mh-step.is-active { display: flex; }
}

@media (max-width: 720px) {
    html { scroll-padding-top: 72px; }
    .mh-wrap { width: min(var(--wrap), 100% - 40px); }
    /* The nav is gone, the footer carries its links. */
    .mh-nav { display: none; }
    .mh-header-inner { height: 64px; }
    .mh-hero { padding: 36px 0 28px; }
    .mh-h1 { font-size: clamp(44px, 14vw, 64px); }
    .mh-lede {
        margin-top: 18px;
        font-size: 18px;
    }
    .mh-cta {
        gap: 16px;
        margin-top: 24px;
    }
    .mh-device-hero { width: 300px; }
    .mh-features { padding: 40px 0 0; }
    .mh-h2 { margin-bottom: 20px; }
    .mh-chips { margin-bottom: 22px; }
    .mh-step h3 { font-size: 26px; }
    .mh-step p { font-size: 18px; }
    .mh-trust { padding: 56px 0 40px; }
    .mh-download { padding: 36px 0 50px; }
    .mh-support { padding: 24px 0 60px; }
    .mh-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .mh-legal {
        width: min(760px, 100% - 40px);
        padding-top: 36px;
    }
}

@media (max-width: 400px) {
    .mh-wrap { width: min(var(--wrap), 100% - 32px); }
    .mh-h1 { font-size: 46px; }
    .mh-device-hero { width: 280px; }
    .mh-device-story { width: 250px; }
    .mh-chips { gap: 6px; }
    .mh-chips button {
        height: 38px;
        padding: 0 13px;
        font-size: 14px;
    }
    .mh-header-inner { gap: 12px; }
    .mh-brand { font-size: 18px; }
    .mh-support .mh-pill-big {
        padding: 0 20px;
        font-size: 16px;
    }
    .mh-legal { width: min(760px, 100% - 32px); }
}
