/* ============================================================
   Latch & Lantern :: THE GOLDEN-HOUR HOMEPAGE (apex page only)

   Linked from web/marketing/index.html alone, AFTER marketing.css and
   lang-switch.css. marketing.css is shared by the other storefront pages and the
   lead pop-up, so nothing in it is restyled: every rule here is scoped under
   `body.hm` and every new layout has a new `hm-` class, so the old `mk-hero` /
   `mk-section` rules cannot leak in. The few `mk-` hooks the page still carries are
   the ones js/signup.js, js/lang-switch.js and the tests name (form, hint, suggest,
   offer switches, `.mk-frames`, the footer's `mk-foot*`); this sheet only dresses them.

   The look: a photograph of a family porch at golden hour behind the hero, a warm cream
   page, Fraunces headlines, brass buttons, quiet chrome, and one rich "moment" per
   section (the porch, the real product captures, the door). The lantern colour lives only
   inside moments (the photographs); the chrome is paper, ink and one brass.

   FONTS: only the "Fraunces SF" / "Plus Jakarta Sans SF" families declared in
   marketing.css (font-display: fallback). Never declare an unprefixed family here.

   CONTRAST (WCAG AA: 4.5:1 text, 3:1 for 24px+ text), measured with the WCAG 2
   relative-luminance formula against the page paper #f8f1e4 / band #f3ead9 / card #fffdf8:
     ink    #23201c   14.4 / 13.6 / 16.0      body text, headings
     ink-2  #5f574c    6.3 /  6.0 /  7.0      lede, paragraphs, list text
     ink-3  #6f675a    5.0 /  4.7 /  5.5      meta, captions, fine print (was 4.6 on paper-2)
     brass-deep #7a5219 6.1 / 5.8 / 6.8       every brass-coloured TEXT: links, kickers, times
     brass  #8f6220    4.8 / 4.5 / 5.3        fills and rules only (the plain `brass` on band is
                                              4.47, so it is never used for small text there)
     em     #9c6b23    4.1 / 3.9 / 4.6        the headline's "far apart" only: 64px, large text >= 3:1
     button text #fffaf1 on brass 5.1, on brass-deep 6.6
   Text over the hero photograph sits on the scrimmed calm area: the scrim is
   rgba(248,241,228,.92) at the text column's edge, so the page paper is the background
   that is measured (the figures above). The lede and offer line end inside the
   scrim's .62 stop, over the pale clapboard, and measure the same or better.
   ============================================================ */

body.hm {
    --paper: #f8f1e4;
    --paper-2: #f1e8d7;
    --surface: #fffdf8;
    --ink: #23201c;
    --ink-2: #5f574c;
    --ink-3: #6f675a;
    --line: #e4dcd1;
    --line-2: #d5c9b6;
    --field-line: #8a8170;       /* input border: 3.4:1 on white (WCAG 1.4.11) */
    --brass: #8f6220;
    --brass-deep: #7a5219;
    --lantern: #e0a64e;
    --em: #9c6b23;
    --band: #f3ead9;
    --accent-rgb: 143, 98, 32;
    --shadow-rgb: 70, 50, 25;
    --coral: #8f6220;            /* marketing.css's focus ring, links and chips read these */
    --coral-bright: #8f6220;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --serif: "Fraunces SF", "Iowan Old Style", Georgia, serif;
    --sans: "Plus Jakarta Sans SF", ui-sans-serif, system-ui, sans-serif;

    background: var(--paper);
    color: var(--ink);
    font: 400 16px/1.5 var(--sans);
}

html:has(body.hm) {
    background-color: #f8f1e4;
    scroll-padding-top: 88px;
}

body.hm .hm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

body.hm h1,
body.hm h2,
body.hm h3 { font-weight: 400; }

/* ---------------------------------------------------------- shell, sections */

body.hm .hm-shell { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 32px; }
@media (min-width: 1400px) { body.hm .hm-shell { padding: 0; } }

body.hm .hm-sec { padding: 96px 0; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { body.hm .hm-sec { padding: 80px 0; } }
body.hm .hm-band { background: var(--band); }

body.hm .hm-sec h2 {
    font: 400 44px/1.1 var(--serif);
    letter-spacing: -.02em;
    color: var(--ink);
    max-width: 18em;
}

body.hm .hm-sub { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 36rem; }
body.hm .hm-sub + .hm-sub { margin-top: 16px; }
body.hm .hm-note { margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--ink-3); max-width: 36rem; }
body.hm .hm-kicker { margin-bottom: 16px; font-size: 15px; font-weight: 500; color: var(--brass-deep); }

/* every link inside running text: brass-deep, a quiet underline */
body.hm .hm-note a,
body.hm .hm-sub a,
body.hm .hm-fine a,
body.hm .hm-trust a,
body.hm .hm-after a,
body.hm .hm-qa p a,
body.hm .hm-bundles-head p a,
body.hm .hm-foot-note a,
body.hm .mk-fine a,
body.hm .hm-link {
    color: var(--brass-deep);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(var(--accent-rgb), .35);
    text-underline-offset: 4px;
    transition: text-decoration-color .18s var(--ease);
}
body.hm .hm-note a:hover,
body.hm .hm-sub a:hover,
body.hm .hm-fine a:hover,
body.hm .hm-trust a:hover,
body.hm .hm-after a:hover,
body.hm .hm-qa p a:hover,
body.hm .hm-bundles-head p a:hover,
body.hm .hm-foot-note a:hover,
body.hm .mk-fine a:hover,
body.hm .hm-link:hover { text-decoration-color: var(--brass-deep); }

/* ---------------------------------------------------------- buttons */

body.hm .hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: 500 16px/1 var(--sans);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
}
body.hm .hm-btn:active { transform: scale(.98); }
body.hm .hm-btn-primary { background: var(--brass); color: #fffaf1; }
body.hm .hm-btn-primary:hover { background: var(--brass-deep); }
body.hm .hm-btn-quiet { border-color: rgba(35, 32, 28, .24); color: var(--ink); background: rgba(250, 247, 241, .6); }
body.hm .hm-btn-quiet:hover { border-color: rgba(35, 32, 28, .45); background: rgba(250, 247, 241, .9); }

body.hm .hm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------- nav */

body.hm .hm-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
body.hm .hm-nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; padding: 0 64px; }

body.hm .hm-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
    color: var(--ink);
    font: 500 22px/1 var(--serif);
    letter-spacing: -.01em;
    text-decoration: none;
}
body.hm .hm-logo i { font-style: normal; color: var(--brass-deep); }
body.hm .hm-mark {
    display: grid;
    place-items: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--paper);
}
body.hm .hm-mark svg { width: 20px; height: 20px; }

body.hm .hm-links { display: flex; gap: 28px; font-size: 15px; }
body.hm .hm-links a,
body.hm .hm-signin { color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color .18s var(--ease); }
body.hm .hm-links a:hover,
body.hm .hm-signin:hover { color: var(--ink); }
body.hm .hm-signin { font-size: 15px; }
body.hm .hm-nav-cta { height: 40px; padding: 0 18px; font-size: 15px; }

@media (max-width: 1100px) {
    body.hm .hm-nav-inner { padding: 0 32px; gap: 20px; }
    body.hm .hm-links { gap: 20px; }
}
/* The phone menu (js/nav-menu.js): a button in the header row and a panel under it. Both
   are off above 900px. Below it the section links, "Sign in" and the language switch move
   into the panel, so the header keeps the logo, the sign-up button and the menu button. */
body.hm .hm-menu-btn,
body.hm .hm-menu { display: none; }
body.hm .hm-menu[hidden] { display: none; }

@media (max-width: 900px) {
    body.hm .hm-links { display: none; }

    body.hm .hm-nav-inner { gap: 10px; }
    body.hm .hm-logo { margin-right: auto; }
    body.hm .hm-nav > .hm-nav-inner > .hm-signin,
    body.hm .hm-nav > .hm-nav-inner > .mk-nav-lang { display: none; }
    body.hm .hm-nav-cta { height: 44px; padding: 0 18px; font-size: 15px; }
    body.hm .hm-menu-btn {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; flex: none;
        border: 1px solid var(--line-2); border-radius: 10px;
        background: var(--paper); color: var(--ink); cursor: pointer;
    }
    body.hm .hm-menu-btn:hover { border-color: var(--brass); }
    body.hm .hm-menu-btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
    body.hm .hm-menu-btn .hm-menu-close { display: none; }
    body.hm .hm-menu-btn[aria-expanded="true"] .hm-menu-open { display: none; }
    body.hm .hm-menu-btn[aria-expanded="true"] .hm-menu-close { display: inline; }

    body.hm .hm-menu:not([hidden]) {
        display: block;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 32px rgba(58, 48, 36, .14);
        padding: 4px 20px 14px;
        max-height: calc(100vh - 64px);
        max-height: calc(100dvh - 64px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    body.hm .hm-menu-links { display: flex; flex-direction: column; }
    body.hm .hm-menu-links a {
        display: flex; align-items: center; min-height: 52px;
        border-bottom: 1px solid var(--line);
        color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none;
    }
    body.hm .hm-menu-links a:hover { color: var(--brass-deep); }
    body.hm .hm-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
    body.hm .hm-menu-signin {
        display: inline-flex; align-items: center; min-height: 48px;
        color: var(--brass-deep); font-size: 16px; font-weight: 600; text-decoration: none;
    }
    body.hm .hm-menu-foot .mk-nav-lang { display: inline-flex; min-height: 44px; align-items: center; }
    body.hm .hm-menu-lang .lang-switch-btn { min-height: 44px; min-width: 44px; justify-content: center; }
}
@media (max-width: 560px) {
    body.hm .hm-nav-inner { height: 64px; padding: 0 20px; gap: 16px; }
    body.hm .hm-logo { font-size: 18px; gap: 10px; }
    body.hm .hm-mark { width: 32px; height: 32px; }
    body.hm .hm-nav-cta { height: 44px; padding: 0 16px; font-size: 15px; }
}
@media (max-width: 420px) {
    body.hm .hm-logo { font-size: 17px; gap: 8px; }
    body.hm .hm-nav-inner { gap: 10px; }
}

/* ---------------------------------------------------------- hero: one scene, edge to edge */

body.hm .hm-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
body.hm .hm-scene {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}
body.hm .hm-hero-phone { display: none; }
body.hm .hm-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(248, 241, 228, .92) 0%, rgba(248, 241, 228, .74) 44%, rgba(248, 241, 228, 0) 68%);
}

body.hm .hm-copy { position: relative; max-width: 600px; margin: 88px 0 0 96px; }
body.hm .hm-copy h1 { font: 400 64px/1.04 var(--serif); letter-spacing: -.02em; color: var(--ink); }
body.hm .hm-copy h1 em { font-style: normal; color: var(--em); }
body.hm .hm-lede { margin-top: 24px; max-width: 500px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
body.hm .hm-copy .hm-actions { margin-top: 32px; }
body.hm .hm-offer { margin-top: 20px; max-width: 500px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
body.hm .hm-offer p + p { margin-top: 4px; }
body.hm .hm-offer strong { font-weight: 500; color: var(--ink); }

/* the product, rising from the bottom edge: the one thing the page draws */
/* In the flow after the copy (not pinned to the bottom edge): a longer headline in German or
   Polish pushes the card down instead of sliding it over the buttons and the offer line. */
body.hm .hm-product {
    position: relative;
    margin: 48px 0 72px 96px;
    width: 760px;
    max-width: calc(100% - 128px);
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #faf7f1;
    color: var(--ink);
    box-shadow: 0 20px 50px rgba(var(--shadow-rgb), .18);
    overflow: hidden;
}
body.hm .hm-chrome { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
body.hm .hm-dots { display: flex; gap: 6px; }
body.hm .hm-dots i { width: 10px; height: 10px; border-radius: 5px; background: #d9cfc1; }
body.hm .hm-address {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    margin: 0 auto;
    padding: 0 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #fff;
    font: 400 13px/1 ui-monospace, "SF Mono", Menlo, monospace;
    color: var(--ink-3);
}
body.hm .hm-address b { font-weight: 500; color: var(--brass-deep); }
body.hm .hm-address svg { width: 12px; height: 12px; }
body.hm .hm-app { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; padding: 20px; }
body.hm .hm-pcard { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
body.hm .hm-pcard h3 { margin-bottom: 12px; font: 500 13px/1 var(--sans); color: var(--ink-3); }
body.hm .hm-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #ddd; }
body.hm .hm-photo-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
body.hm .hm-photo-meta p { font: 400 17px/1.3 var(--serif); color: var(--ink); }
body.hm .hm-photo-meta span { flex: none; font-size: 13px; color: var(--ink-3); }
body.hm .hm-stack { display: grid; gap: 16px; align-content: start; }
body.hm .hm-rows ul { list-style: none; }
body.hm .hm-rows li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
body.hm .hm-rows li:first-child { padding-top: 0; border-top: 0; }
body.hm .hm-rows time { font: 500 12px/1.3 var(--sans); color: var(--brass-deep); font-variant-numeric: tabular-nums; }
body.hm .hm-rows small { display: block; font-size: 12px; color: var(--ink-3); }
body.hm .hm-talk li { grid-template-columns: 32px 1fr; }
body.hm .hm-who {
    display: grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    font: 500 12px/1 var(--sans);
    font-style: normal;
    color: #fff;
}
body.hm .hm-who-rose { background: #8a4f5d; }
body.hm .hm-who-sky { background: #3f6587; }

@media (max-width: 1100px) {
    body.hm .hm-copy { max-width: 480px; margin-left: 32px; }
    body.hm .hm-copy h1 { font-size: 52px; }
    body.hm .hm-lede { max-width: 440px; }
    body.hm .hm-offer { max-width: 440px; }
    body.hm .hm-scrim { background: linear-gradient(90deg, rgba(248, 241, 228, .92) 0%, rgba(248, 241, 228, .84) 38%, rgba(248, 241, 228, 0) 66%); }
    /* the card follows the copy and is shown whole */
    body.hm .hm-hero { display: flex; flex-direction: column; }
    body.hm .hm-product { position: relative; left: auto; bottom: auto; width: auto; max-width: 760px; margin: 48px 32px 64px; }
}
/* stacked: headline, buttons, then the photograph (the card is dropped) */
@media (max-width: 860px) {
    body.hm .hm-hero { display: flex; flex-direction: column; min-height: 0; }
    body.hm .hm-copy { order: 1; max-width: none; margin: 32px 32px 0; }
    body.hm .hm-copy h1 { font-size: 48px; line-height: 1.08; }
    body.hm .hm-scene { position: relative; inset: auto; order: 2; z-index: auto; height: clamp(220px, 44vw, 380px); margin-top: 32px; object-position: 78% center; }
    body.hm .hm-scrim { display: none; }
    body.hm .hm-product { display: none; }
    body.hm .hm-hero-phone {
        display: block;
        order: 3;
        position: relative;
        z-index: 1;
        align-self: center;
        width: min(220px, 56vw);
        height: auto;
        margin: -96px 0 -160px;
        border: 4px solid #2b2722;
        border-radius: 28px;
        background: var(--surface);
        box-shadow: 0 16px 40px rgba(var(--shadow-rgb), .25);
    }
}
@media (max-width: 560px) {
    body.hm .hm-copy { margin: 32px 20px 0; }
    body.hm .hm-copy h1 { font-size: 40px; }
    body.hm .hm-lede { font-size: 16px; margin-top: 16px; }
    body.hm .hm-copy .hm-actions { flex-direction: column; }
    body.hm .hm-copy .hm-actions .hm-btn { width: 100%; }
    body.hm .hm-offer { margin-top: 16px; }
}

/* ---------------------------------------------------------- strip + check lists */

body.hm .hm-strip { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
body.hm .hm-checks { list-style: none; }
/* Shared tick (also used by the feature and start lists). */
body.hm .hm-checks li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
body.hm .hm-checks li::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--brass);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(40deg);
}
/* The strip: ten short promises read as one sentence, not a feature grid. Two rows of five;
   the ::after is a full-width flex item that forces the break, and the dot sits only
   between items of the same row. */
body.hm .hm-strip .hm-checks { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 10px; max-width: 1200px; margin: 0 auto; }
body.hm .hm-strip .hm-checks::after { content: ""; flex-basis: 100%; order: 1; }
body.hm .hm-strip .hm-checks li:nth-child(n+6) { order: 2; }
body.hm .hm-strip .hm-checks li { padding: 0 18px; font: 400 19px/1.35 var(--serif); color: var(--ink); }
body.hm .hm-strip .hm-checks li::before {
    left: -3px; top: 50%; width: 5px; height: 5px; border: 0; border-radius: 50%;
    background: var(--brass); transform: translateY(-50%);
}
body.hm .hm-strip .hm-checks li:first-child::before,
body.hm .hm-strip .hm-checks li:nth-child(6)::before { display: none; }

@media (max-width: 1100px) {
    body.hm .hm-strip .hm-checks li { font-size: 17px; padding: 0 14px; }
}
/* Phone: two columns, a brass dot in front of each line. */
@media (max-width: 720px) {
    body.hm .hm-strip { padding: 28px 0; }
    body.hm .hm-strip .hm-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
    body.hm .hm-strip .hm-checks::after { display: none; }
    body.hm .hm-strip .hm-checks li { padding: 0 0 0 16px; font-size: 16px; }
    body.hm .hm-strip .hm-checks li::before,
    body.hm .hm-strip .hm-checks li:first-child::before,
    body.hm .hm-strip .hm-checks li:nth-child(6)::before { display: block; left: 0; top: .7em; transform: none; }
}

/* ---------------------------------------------------------- spread: five zip codes */

body.hm .hm-head2 { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: start; }
body.hm .hm-head2-end { align-items: end; }
body.hm .hm-head2 > * { min-width: 0; }
body.hm #spread .hm-head2 h2 { max-width: 12em; }
body.hm .hm-head2-copy > :first-child,
body.hm .hm-head2-end .hm-sub { margin-top: 0; }

body.hm .hm-phones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; align-items: start; margin-top: 80px; }
body.hm .hm-phones > * { min-width: 0; }
body.hm .hm-phones figure { margin: 0; }
body.hm .hm-phones figure:nth-child(2n) { margin-top: 32px; }
body.hm .hm-phones img {
    display: block;
    width: 100%;
    height: auto;
    border: 4px solid #2b2722;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: 0 16px 32px rgba(var(--shadow-rgb), .14);
}
body.hm .hm-phones figcaption { margin-top: 16px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
body.hm .hm-phones figcaption b { display: block; font-weight: 500; color: var(--ink); }

@media (max-width: 1100px) {
    body.hm .hm-head2 { grid-template-columns: 1fr; gap: 24px; }
    body.hm .hm-phones { gap: 16px; }
}
@media (max-width: 720px) {
    body.hm .hm-phones { grid-template-columns: 1fr 1fr; gap: 32px 16px; margin-top: 48px; }
    body.hm .hm-phones figure:nth-child(2n) { margin-top: 0; }
    body.hm .hm-phones figure:last-child { grid-column: 1 / 3; justify-self: center; width: calc(50% - 8px); }
}

/* ---------------------------------------------------------- screens: the two frames */

body.hm .hm-screens { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; }
body.hm .hm-screens > * { min-width: 0; }
body.hm .hm-frames { order: -1; }
body.hm .hm-screens-copy .hm-sub { font-size: 17px; }
body.hm .hm-sizes {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    max-width: 36rem;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
}
/* the captions marketing.css sets at 11px; the two chips stay level, just no smaller than 12px */
body.hm .mk-frame figcaption { font-size: .75rem; }
body.hm .mk-frame figcaption b { font-size: .8125rem; }
body.hm .mk-frames { margin-bottom: 72px; }

@media (max-width: 1100px) {
    body.hm .hm-screens { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------------------------------------------------------- features: three alternating rows */

body.hm .hm-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 96px; }
body.hm .hm-feature { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: center; }
body.hm .hm-feature.hm-flip { grid-template-columns: 7fr 5fr; }
body.hm .hm-feature.hm-flip .hm-fcopy { order: 2; }
body.hm .hm-feature > * { min-width: 0; }
body.hm .hm-fcopy h3 { font: 400 32px/1.15 var(--serif); letter-spacing: -.02em; color: var(--ink); }
body.hm .hm-fcopy > p { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
body.hm .hm-fcopy > .hm-note { font-size: 15px; }
body.hm .hm-ticks { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
body.hm .hm-ticks li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
body.hm .hm-ticks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 12px; height: 1px; background: var(--brass); }
body.hm .hm-ticks em { font-style: normal; font-weight: 500; color: var(--ink); }
body.hm .hm-shot { margin: 0; }
body.hm .hm-shot img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(35, 32, 28, .12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .10);
}
body.hm .hm-shot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 1100px) {
    body.hm .hm-feature,
    body.hm .hm-feature.hm-flip { grid-template-columns: 1fr; gap: 32px; }
    body.hm .hm-feature.hm-flip .hm-fcopy { order: 0; }
}
@media (max-width: 720px) {
    body.hm .hm-features { gap: 64px; }
    body.hm .hm-fcopy h3 { font-size: 28px; }
}

/* ---------------------------------------------------------- privacy: a hairline list and the door */

body.hm .hm-privacy { display: grid; grid-template-columns: 6fr 6fr; gap: 80px; align-items: stretch; }
body.hm .hm-privacy > * { min-width: 0; }
body.hm .hm-door { position: relative; min-height: 480px; border-radius: 16px; overflow: hidden; background: #cdb48d; }
body.hm .hm-door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; display: block; }
body.hm .hm-rules { list-style: none; margin-top: 32px; }
body.hm .hm-rules li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
body.hm .hm-rules li:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 1100px) {
    body.hm .hm-privacy { grid-template-columns: 1fr; gap: 48px; }
    body.hm .hm-door { min-height: 360px; }
}
@media (max-width: 720px) {
    body.hm .hm-door { min-height: 280px; }
}

/* ---------------------------------------------------------- how it works */

body.hm .hm-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid var(--ink); }
body.hm .hm-step { padding: 32px 40px 0 0; }
body.hm .hm-step + .hm-step { padding-left: 40px; border-left: 1px solid var(--line); }
body.hm .hm-step-n { display: block; font: 400 48px/1 var(--serif); color: var(--brass); letter-spacing: -.02em; }
body.hm .hm-step h3 { margin-top: 24px; font: 500 20px/1.3 var(--sans); color: var(--ink); }
body.hm .hm-step p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
body.hm .hm-step .hm-step-art { margin-top: 24px; }
body.hm .hm-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    font-size: 14px;
    color: var(--ink-2);
}
body.hm .hm-chip-mono { font: 400 13px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-3); }
body.hm .hm-chip-mono b { font-weight: 500; color: var(--brass-deep); }
body.hm .hm-chip .hm-who { width: 20px; height: 20px; border-radius: 10px; }

@media (max-width: 720px) {
    body.hm .hm-steps { grid-template-columns: 1fr; margin-top: 40px; border-top: 0; }
    body.hm .hm-step { padding: 32px 0; border-top: 1px solid var(--line); }
    body.hm .hm-step:last-child { padding-bottom: 0; }
    body.hm .hm-step + .hm-step { padding-left: 0; border-left: 0; }
    body.hm .hm-step:first-child { border-top: 1px solid var(--ink); }
}

/* ---------------------------------------------------------- themes */

body.hm .hm-skins { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-top: 64px; }
body.hm .hm-skins > * { min-width: 0; }
body.hm .hm-skins figure { margin: 0; }
body.hm .hm-skins img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(35, 32, 28, .12);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .10);
}
body.hm .hm-skins figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-3); }
body.hm .hm-skins figcaption b { margin-right: 8px; font-weight: 500; color: var(--ink); }
body.hm .hm-skins-cap { margin-top: 32px; }
body.hm .hm-more {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line-2);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-3);
}
body.hm .hm-more b { font-weight: 500; color: var(--ink); }

@media (max-width: 720px) {
    body.hm .hm-skins { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
    body.hm .hm-more { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------------------------------------------------------- what's inside: fifteen cards, four bundles */

body.hm .hm-cards-h { max-width: 14em; }
body.hm .hm-cardgrid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; border-top: 1px solid var(--ink); }
body.hm .hm-cardgrid li { display: flex; align-items: center; gap: 12px; height: 72px; padding-right: 16px; border-bottom: 1px solid var(--line-2); font-size: 16px; color: var(--ink); }
body.hm .hm-ico { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--brass-deep); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.hm .hm-bundles { display: grid; grid-template-columns: 280px 1fr; gap: 64px; margin-top: 64px; }
body.hm .hm-bundles > * { min-width: 0; }
body.hm .hm-bundles-head h3 { font: 400 28px/1.2 var(--serif); letter-spacing: -.02em; color: var(--ink); }
body.hm .hm-bundles-head p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
body.hm .hm-bundle { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; }
body.hm .hm-bundle:first-child { border-top-color: var(--ink); }
body.hm .hm-bundle b { font-weight: 500; color: var(--ink); }
body.hm .hm-bundle span { color: var(--ink-2); }

@media (max-width: 1100px) {
    body.hm .hm-cardgrid { grid-template-columns: repeat(3, 1fr); }
    body.hm .hm-bundles { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
    body.hm .hm-cardgrid { grid-template-columns: 1fr 1fr; margin-top: 40px; }
    body.hm .hm-cardgrid li { height: 64px; gap: 8px; font-size: 15px; }
    body.hm .hm-bundles { margin-top: 48px; }
    body.hm .hm-bundle { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------------------------------------------------------- pricing: the price panel and the add-on ledger */

body.hm .hm-pricing { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
body.hm .hm-pricing > * { min-width: 0; }
body.hm .hm-ledger { margin-top: 32px; }
body.hm .hm-ledger div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
body.hm .hm-ledger div:last-child { border-bottom: 1px solid var(--line-2); }
body.hm .hm-ledger b { flex: none; font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.hm .hm-panel { padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 24px rgba(var(--shadow-rgb), .08); }
body.hm .hm-price-fig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
body.hm .hm-price { font: 400 56px/1 var(--serif); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
body.hm .hm-price-alt { font-size: 16px; color: var(--ink-2); }
body.hm .hm-price-sub { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
body.hm .hm-panel-list { display: grid; gap: 12px; margin-top: 32px; }
body.hm .hm-panel .hm-actions { margin-top: 32px; margin-bottom: 8px; }
body.hm .hm-fine { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
body.hm .hm-fine strong { font-weight: 500; color: var(--ink); }

@media (max-width: 1100px) {
    body.hm .hm-pricing { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
    body.hm .hm-panel { padding: 24px; }
    body.hm .hm-price { font-size: 44px; }
    body.hm .hm-panel .hm-actions { flex-direction: column; }
    body.hm .hm-panel .hm-actions .hm-btn { width: 100%; }
}

/* ---------------------------------------------------------- start: the signup form */

body.hm .hm-start { display: grid; grid-template-columns: 5fr 6fr; gap: 96px; align-items: start; }
body.hm .hm-start > * { min-width: 0; }
body.hm .hm-start-copy .hm-ticks { margin-top: 32px; }
body.hm .hm-trust { margin-top: 32px; font-size: 14px; line-height: 1.6; color: var(--ink-3); }
body.hm .hm-trust p + p { margin-top: 8px; }
body.hm .hm-form-card { padding: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .05); }
body.hm .hm-form-card h3 { font: 400 28px/1.2 var(--serif); letter-spacing: -.02em; color: var(--ink); }
body.hm .hm-lead { margin-top: 8px; font-size: 15px; color: var(--ink-3); }
body.hm .hm-form-card .mk-form { gap: 20px; margin-top: 32px; }
body.hm .hm-form-card .mk-field { gap: 8px; }
body.hm .hm-form-card .mk-label { font-size: 14px; font-weight: 500; color: var(--ink); }
body.hm .hm-form-card .mk-input {
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    border-color: var(--field-line);
    background: #fff;
    color: var(--ink);
    font: 400 16px/1 var(--sans);
}
body.hm .hm-form-card .mk-input:hover { border-color: var(--ink-3); }
body.hm .hm-form-card .mk-input:focus { border-color: transparent; background: #fff; box-shadow: none; outline: 2px solid var(--brass); outline-offset: 1px; }
body.hm .hm-form-card .mk-input[aria-invalid="true"] { border-color: var(--bad); background: rgba(var(--bad-rgb), .06); }
body.hm .hm-form-card .mk-input[aria-invalid="true"]:focus { outline-color: var(--bad); }
body.hm .hm-form-card .mk-slug-row { flex-direction: row; align-items: center; height: 48px; border-radius: 10px; border-color: var(--field-line); background: #fff; overflow: hidden; }
body.hm .hm-form-card .mk-slug-row:focus-within { border-color: transparent; background: #fff; box-shadow: none; outline: 2px solid var(--brass); outline-offset: 1px; }
body.hm .hm-form-card .mk-slug-row .mk-input { height: 46px; padding: 0 8px 0 16px; border: 0; border-radius: 0; text-align: left; outline: none; background: transparent; }
body.hm .hm-form-card .mk-slug-suffix { padding: 0 16px 0 0; border: 0; background: transparent; font-size: 15px; color: var(--ink-3); }
body.hm .hm-form-card .mk-hint { min-height: 0; margin-top: 0; font-size: 13px; color: var(--ink-3); }
body.hm .hm-form-card .mk-hint.ok { color: var(--good); }
body.hm .hm-form-card .mk-hint.bad { color: var(--bad); }
body.hm .hm-form-card .mk-check { gap: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
body.hm .hm-form-card .mk-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brass); }
body.hm .hm-form-card .mk-btn {
    height: 52px;
    margin-top: 0;
    padding: 0 24px;
    border-radius: 10px;
    background: var(--brass);
    color: #fffaf1;
    font: 500 16px/1 var(--sans);
    letter-spacing: 0;
    box-shadow: none;
    transition: background-color .18s var(--ease), transform .12s var(--ease);
}
body.hm .hm-form-card .mk-btn:hover { background: var(--brass-deep); filter: none; box-shadow: none; }
body.hm .hm-form-card .mk-btn[disabled] { background: var(--brass); opacity: .62; }
body.hm .hm-form-card .mk-fine { margin-top: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
body.hm .hm-form-card .mk-error { margin-top: 20px; }
body.hm .hm-after { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--ink-3); }

@media (max-width: 1100px) {
    body.hm .hm-start { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
    body.hm .hm-form-card { padding: 24px; }
}

/* ---------------------------------------------------------- faq */

body.hm .hm-faq { display: grid; grid-template-columns: 4fr 8fr; gap: 96px; align-items: start; }
body.hm .hm-faq > * { min-width: 0; }
body.hm .hm-faq h2 { max-width: 8em; }
body.hm .hm-qa { border-top: 1px solid var(--line-2); }
body.hm .hm-qa:last-child { border-bottom: 1px solid var(--line-2); }
body.hm .hm-qa summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    list-style: none;
    cursor: pointer;
    font: 500 18px/1.4 var(--sans);
    color: var(--ink);
}
body.hm .hm-qa summary::-webkit-details-marker { display: none; }
body.hm .hm-qa summary::after {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    border-right: 1.5px solid var(--ink-3);
    border-bottom: 1.5px solid var(--ink-3);
    transform: rotate(45deg);
    transition: transform .18s var(--ease);
}
body.hm .hm-qa[open] summary::after { transform: rotate(-135deg); }
body.hm .hm-qa p { max-width: 40rem; padding: 0 48px 0 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
body.hm .hm-qa p + p { margin-top: 12px; }
body.hm .hm-qa p:last-child { padding-bottom: 24px; }
body.hm .hm-qa strong { font-weight: 500; color: var(--ink); }

@media (max-width: 1100px) {
    body.hm .hm-faq { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
    body.hm .hm-faq h2 { max-width: none; }
    body.hm .hm-qa summary { padding: 16px 0; font-size: 16px; }
    body.hm .hm-qa p { padding-right: 0; }
}

/* ---------------------------------------------------------- footer (the element keeps class "mk-foot") */

body.hm .mk-foot { padding: 64px 0 48px; border-top: 1px solid var(--line); background: var(--paper); }
body.hm .hm-foot { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: start; }
body.hm .hm-foot > * { min-width: 0; }
body.hm .hm-foot .hm-logo { margin: 0; font-size: 18px; }
body.hm .hm-foot-brand p { margin-top: 12px; max-width: 24rem; font-size: 14px; color: var(--ink-3); }
body.hm .hm-foot .mk-foot-links { flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; max-width: 560px; }
body.hm .hm-foot .mk-foot-links a { font-size: 14px; font-weight: 400; color: var(--ink-2); transition: color .18s var(--ease); }
body.hm .hm-foot .mk-foot-links a:hover { color: var(--ink); }
body.hm .hm-foot .mk-foot-links a[aria-current="page"] { color: var(--ink); }
body.hm .hm-foot .mk-foot-pages { grid-column: 1 / -1; justify-content: flex-start; max-width: none; padding-top: 24px; border-top: 1px solid var(--line); }
body.hm .hm-foot .mk-foot-group { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
body.hm .hm-foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }

@media (max-width: 720px) {
    body.hm .hm-foot { grid-template-columns: 1fr; }
    body.hm .hm-foot .mk-foot-links { justify-content: flex-start; }
    body.hm .mk-foot { padding: 48px 0 40px; }
    body.hm .hm-sec { padding: 64px 0; }
    body.hm .hm-sec h2 { font-size: 32px; }
    body.hm .hm-sub { font-size: 16px; margin-top: 16px; }
}
/* Phones: footer links are 44px tap targets (the "For families" group goes two to a row so
   the footer does not double in height). */
@media (max-width: 560px) {
    body.hm .hm-foot .mk-foot-links { gap: 0 20px; }
    body.hm .hm-foot .mk-foot-links a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.3; }
    body.hm .hm-foot .mk-foot-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 0 16px; padding-top: 14px; }
    body.hm .hm-foot .mk-foot-pages .mk-foot-group { grid-column: 1 / -1; padding: 6px 0; }
}
@media (max-width: 1100px) {
    body.hm .hm-sec h2 { font-size: 36px; }
}
@media (max-width: 720px) {
    body.hm .hm-sec h2 { font-size: 32px; }
}

/* ---------------------------------------------------------- motion: colour changes only */

@media (prefers-reduced-motion: reduce) {
    body.hm *,
    body.hm *::before,
    body.hm *::after { transition: none !important; animation: none !important; }
    html:has(body.hm) { scroll-behavior: auto; }
}
