/* The homepage (src/pages/home.ts), from the design Ben approved on 16 Nov 2026
   (docs/designs/2026-11-16-ai-growth-team-homepage). It sits on the founder-call shell (body.fc), which gives the
   consent banner and the sticky bar their base; everything here is scoped to body.home. Colours and faces come from
   tokens.css; the few the design adds are declared once below. Display type is Fraunces Black at opsz 72, the cut the
   ads use (BRAND.md). */
.home {
  /* The brand mustard (BRAND.md, Brand mustard), declared here as demo.css and landing.css do. */
  --mustard: #d19a0e;
  --hm-ink: #1e1c16;
  --hm-ink-soft: #57544b;
  --hm-ink-faint: #6d6a60;
  --hm-line-strong: #a69d8b;
  --hm-mustard-soft: #f4e3b5;
  --hm-mustard-deep: #8a6408;
  --hm-on-dark: #f6f3ec;
  --hm-on-dark-soft: #c9c3b4;
  --hm-step-dark: #2b2920;
  --hm-wrap: 1200px;
  --hm-gutter: clamp(16px, 4vw, 48px);
  --hm-gap: clamp(24px, 3vw, 40px);
  --hm-section: clamp(72px, 10vw, 136px);
  color: var(--hm-ink);
  overflow-x: clip;
}
html:has(body.home) { overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.home) { scroll-behavior: auto; } }
.home img, .home svg { display: block; max-width: 100%; }
.home h1, .home h2, .home h3, .home p, .home ul, .home ol, .home figure, .home blockquote { margin: 0; }
.home ul, .home ol { padding: 0; list-style: none; }
.home a { color: inherit; }
.home a:hover { color: inherit; }
.home :focus-visible { outline: 3px solid var(--hm-ink); outline-offset: 3px; border-radius: 4px; }
.home main { display: block; }

.hm-wrap { width: 100%; max-width: calc(var(--hm-wrap) + 2 * var(--hm-gutter)); margin: 0 auto; padding: 0 var(--hm-gutter); }
.home .hm-display { font-family: var(--font-display); font-weight: 900; font-variation-settings: "SOFT" 0, "opsz" 72; letter-spacing: -0.015em; line-height: 1.06; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
/* The Dijon block behind display type, one block per line, as on the ads. */
.hm-block { display: inline; background: var(--mustard); color: var(--hm-ink); padding: .02em .16em .06em; border-radius: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; line-height: 1.22; }

/* Controls */
.home .hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--radius-pill); background: var(--hm-ink); color: var(--hm-on-dark); font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.home .hm-btn:hover { background: #3a372d; color: var(--hm-on-dark); }
.home .hm-btn:active { transform: translateY(1px); }
.home .hm-btn:focus-visible { outline-color: var(--mustard); }
.home .hm-btn-mustard { background: var(--mustard); color: var(--hm-ink); }
.home .hm-btn-mustard:hover { background: #e0a915; color: var(--hm-ink); }
.home .hm-btn-mustard:focus-visible { outline-color: var(--hm-on-dark); }
.home .hm-btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.home .hm-link { color: var(--hm-ink); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.home .hm-link:hover { text-decoration-color: var(--mustard); text-decoration-thickness: 2px; }

.hm-field { display: flex; gap: 8px; }
.home .hm-input { flex: 1 1 auto; min-width: 0; height: 56px; padding: 0 18px; border: 1.5px solid var(--hm-line-strong); border-radius: var(--radius-pill); background: var(--card); color: var(--hm-ink); font: 400 17px/1 var(--font-sans); transition: border-color var(--dur) var(--ease-out); }
.home .hm-input::placeholder { color: var(--hm-ink-faint); }
.home .hm-input:hover { border-color: var(--hm-ink-soft); }
.home .hm-input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 1px; border-color: var(--hm-ink); }
.hm-field .hm-btn { min-height: 56px; flex: 0 0 auto; }
.hm-terms { margin-top: 12px !important; font-size: 15px; color: var(--hm-ink-soft); }

/* Nav */
.hm-nav { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.hm-nav-in { display: flex; align-items: center; gap: 28px; height: 84px; }
.home .hm-mark { font-family: var(--font-display); font-weight: 900; font-variation-settings: "SOFT" 0, "opsz" 72; font-size: 26px; letter-spacing: -0.01em; line-height: 1; padding: 7px 12px 9px; background: var(--mustard); color: var(--hm-ink); border-radius: 8px; text-decoration: none; }
.hm-links { display: flex; gap: 24px; margin-left: auto; font-size: 16px; font-weight: 500; }
.home .hm-links a { color: var(--hm-on-dark); text-decoration: none; text-shadow: 0 1px 12px rgb(0 0 0 / 35%); }
.home .hm-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-nav .hm-btn { margin-left: 4px; }

/* Hero: the ad as a page */
/* The opening scroll story (docs/designs/2026-11-17-homepage-unlimited-demo). Without `.ms-live` it is the finished
   frame: the final title, the creator video with its controls, the email, post and ad, and the sign-up card, which is
   what reduced motion, no script or a failed 3D load show. The story module adds `.ms-live` for the scroll animation. */
.ms-story { --night: #1d1c18; --cream: #f6f3ec; --dijon: var(--mustard); --fin: 1; position: relative; background: var(--night); color: var(--cream); }
.ms-stage { position: relative; min-height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; column-gap: 88px; padding: 96px max(16px, calc((100vw - 1200px) / 2)) 48px; }
.ms-words { position: relative; z-index: 5; grid-row: 1; grid-column: 1; }
.ms-scene { position: relative; grid-row: 1; grid-column: 2; height: min(84vh, 780px); transform: scale(calc(1 - .14 * var(--fin, 0))); transform-origin: 100% 50%; }
.ms-scene::before { content: ""; position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgb(209 154 14 / 40%), transparent); opacity: var(--glow, 0); filter: blur(20px); pointer-events: none; }
.home .ms-story h1.ms-titles { display: grid; color: var(--cream); font-family: var(--font-display); font-weight: 900; font-variation-settings: "SOFT" 0, "opsz" 72; font-size: clamp(38px, 5.2vw, 72px); line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; }
.ms-titles mark { background: var(--dijon); color: var(--hm-ink); padding: .01em .12em .05em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-stack { display: grid; }
.hl-stack > span { grid-area: 1 / 1; }
/* The back copy draws only the Dijon blocks; the front copy only the words, over every block. */
.hl-bg, .hl-bg mark, .hl-bg .hm-block { color: transparent; }
.hl-bg [data-price] { color: transparent; }
.hl-fg mark, .hl-fg .hm-block { background: transparent; }
.ms-title { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity .45s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1); }
.ms-title.on { opacity: 1; transform: none; }
.ms-story:not(.ms-live) .ms-title:not(.ms-title-final) { display: none; }

.ms-gl { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ms-gl.is-low { image-rendering: pixelated; }
/* The dull ad: shown only in the animation; its can is a still of the 3D can until the canvas draws it. */
.ms-ad { display: none; position: absolute; left: 50%; top: 50%; width: min(340px, 80%); transform: translate(-50%, -50%) scale(var(--s, 1)); opacity: var(--o, 1); background: #fff; color: #222; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / 40%); }
.ms-ad-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font: 600 13px var(--font-sans); }
.ms-ad-top i { width: 26px; height: 26px; border-radius: 50%; background: #009a44; }
.ms-ad-top span { font-weight: 400; color: #777; }
.ms-ad-shot { aspect-ratio: 1; background: #faf9fc; display: grid; place-items: center; }
.ms-ad-can { width: 34%; aspect-ratio: 1 / 1.475; }
.ms-ad-can img { width: 100%; height: 100%; object-fit: contain; }
.ms-drawn .ms-ad-can img { visibility: hidden; }
.ms-ad-copy { padding: 10px 12px 14px; font-size: 13px; color: #555; }
.ms-ad-copy b { display: block; color: #222; }

/* The creator's video, 9:16. */
.ms-creator { position: absolute; left: 50%; top: 50%; height: 100%; aspect-ratio: 9 / 16; max-width: 100%; transform: translate(-50%, -50%) scale(var(--s, 1)); opacity: var(--o, 1); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgb(0 0 0 / 50%); background: #222; }
.ms-creator video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-sound { position: absolute; left: 12px; top: 12px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgb(255 255 255 / 92%); color: var(--hm-ink); cursor: pointer; transition: opacity .3s; }
.home .ms-sound:focus-visible { outline: 3px solid var(--dijon); outline-offset: 2px; }
.ms-sound svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ms-sound svg path:first-child { fill: currentColor; }
.ms-sound .ms-ic-on, .ms-sound[aria-pressed="true"] .ms-ic-muted { display: none; }
.ms-sound[aria-pressed="true"] .ms-ic-on { display: block; }

/* What the experts make next. */
.ms-card { position: absolute; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / 45%); opacity: var(--o, 1); transform: translateY(calc((1 - var(--o, 1)) * 40px)) rotate(var(--r, 0deg)); background: #fff; z-index: 3; }
.ms-card img { width: 100%; height: auto; }
.ms-card figcaption { position: absolute; left: 8px; top: 8px; background: var(--dijon); color: var(--hm-ink); font: 600 12px var(--font-sans); padding: 3px 9px; border-radius: 999px; }
.ms-email { width: 36%; left: -10%; bottom: 8%; --r: -4deg; }
.ms-post { width: 33%; right: -8%; top: 4%; --r: 5deg; }
.ms-post2 { width: 30%; right: -4%; bottom: 6%; --r: -3deg; }

/* The sign-up card under the final title. */
.home .ms-signup.hm-card { margin-top: 28px; max-width: 460px; background: var(--cream); color: var(--hm-ink); padding: 20px; border-radius: 16px; box-shadow: 0 20px 48px rgb(0 0 0 / 35%); }
.ms-signup .hm-terms { color: var(--hm-ink-soft); }
/* The scroll hint: a frosted pill with a moving mouse wheel (desktop) or chevrons (phone). Animation only. */
.ms-hint { display: none; align-items: center; gap: 10px; width: max-content; margin-top: 30px; padding: 8px 16px 8px 12px; max-height: 60px; overflow: hidden; border-radius: 999px; background: rgb(29 28 24 / 62%); border: 1px solid rgb(246 243 236 / 16%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--cream); font: 600 14px var(--font-sans); white-space: nowrap; pointer-events: none; transition: opacity .35s ease, max-height .45s ease, margin .45s ease, padding .45s ease; }
.ms-mouse { position: relative; width: 18px; height: 27px; border: 2px solid currentColor; border-radius: 10px; }
.ms-mouse i { position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--dijon); animation: ms-wheel 1.6s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes ms-wheel { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }
.ms-chev { display: none; flex-direction: column; width: 18px; }
.ms-chev svg { width: 18px; height: 12px; fill: none; stroke: var(--dijon); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; animation: ms-chev 1.4s ease-in-out infinite; }
.ms-chev svg + svg { margin-top: -4px; animation-delay: .18s; }
@keyframes ms-chev { 0%, 100% { opacity: .25; transform: translateY(-2px); } 50% { opacity: 1; transform: translateY(2px); } }
.ms-hint-m { display: none; }

/* The animation: a tall section with the stage held in view; the video waits on its first frame until the can lands. */
.ms-live { height: 560vh; }
.ms-live .ms-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 0; padding-bottom: 0; }
.ms-live .ms-ad { display: block; }
.ms-live .ms-creator { opacity: var(--o, 0); transform: translate(-50%, -50%) scale(var(--s, .92)); }
.ms-live .ms-sound { opacity: 0; pointer-events: none; }
.ms-live .ms-creator.is-live .ms-sound { opacity: 1; pointer-events: auto; }
.ms-live .ms-card { opacity: var(--o, 0); transform: translateY(calc((1 - var(--o, 0)) * 40px)) rotate(var(--r, 0deg)); }
.ms-live .ms-hint { display: inline-flex; }
.ms-live.is-done .ms-hint { opacity: 0; max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; border-width: 0; }
.home .ms-live .ms-signup.hm-card { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s ease, transform .4s ease; }
.home .ms-live.is-done .ms-signup.hm-card { opacity: 1; transform: none; pointer-events: auto; }

/* Works with: its own bar straight after the opening section. */
.ms-works-bar { background: var(--cream, #f6f3ec); border-bottom: 1px solid #e4ddcf; }
.ms-works-in { display: flex; align-items: center; justify-content: center; gap: 40px; padding-top: 30px; padding-bottom: 30px; font: 500 18px var(--font-sans); color: var(--hm-ink-soft); }
.ms-works-in ul { display: flex; align-items: center; gap: 44px; }
.ms-works-in li { display: flex; align-items: center; gap: 12px; font: 700 26px var(--font-sans); color: var(--hm-ink); letter-spacing: -.01em; }
.ms-works-in svg { width: 34px; height: 34px; flex: none; }

@media (max-width: 760px) {
  /* Phone: the title sits under the animation, so the eye that follows the can reads it as it changes. */
  .ms-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; justify-items: center; row-gap: 12px; padding: 80px 16px 24px; }
  .ms-scene { grid-row: 1; grid-column: 1; width: 100%; height: min(72svh, 640px); transform: none; }
  .ms-words { grid-row: 2; grid-column: 1; width: 100%; text-align: center; }
  .home .ms-story h1.ms-titles { font-size: 26px; justify-items: center; }
  .ms-live { height: 600vh; }
  .ms-live .ms-stage { height: 100dvh; grid-template-rows: minmax(0, 1fr) auto; align-items: stretch; padding-bottom: 14px; }
  .ms-live .ms-scene { height: auto; min-height: 0; }
  /* All three pieces, inside the screen edges and clear of her face, the can and the captions. */
  .ms-email { width: 29%; left: 1%; right: auto; top: 3%; bottom: auto; }
  .ms-post { width: 27%; right: 1%; left: auto; top: 3%; }
  .ms-post2 { width: 27%; right: 1%; left: auto; top: auto; bottom: 5%; }
  .ms-sound { left: 12px; top: auto; bottom: 12px; }
  .ms-hint { margin: 32px auto 0; font-size: 13px; padding: 7px 14px 7px 10px; }
  .ms-mouse, .ms-hint-d { display: none; }
  .ms-chev { display: flex; }
  .ms-hint-m { display: inline; }
  .home .ms-signup.hm-card { margin: 16px auto 0; max-width: 540px; padding: 14px; text-align: left; background: var(--cream); box-shadow: 0 20px 48px rgb(0 0 0 / 35%); border-radius: 16px; }
  .home .ms-live .ms-signup.hm-card { max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; overflow: hidden; transform: none; transition: opacity .4s ease .1s, max-height .45s ease, margin .45s ease, padding .45s ease; }
  .home .ms-live.is-done .ms-signup.hm-card { max-height: 260px; margin-top: 16px; padding-top: 14px; padding-bottom: 14px; }
  .ms-signup .hm-terms { margin-top: 8px !important; font-size: 13px; }
  .ms-works-in { flex-direction: column; gap: 14px; padding-top: 22px; padding-bottom: 24px; font-size: 15px; }
  .ms-works-in ul { gap: 22px; }
  .ms-works-in li { gap: 8px; font-size: 18px; }
  .ms-works-in svg { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ms-title, .ms-hint, .home .ms-live .ms-signup.hm-card { transition: none; }
  .ms-mouse i, .ms-chev svg { animation: none; opacity: 1; }
}

.hm-section { padding: var(--hm-section) 0; scroll-margin-top: 16px; }
.hm-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hm-gap); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.home .hm-section h2.hm-display { font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: 16ch; }
.hm-lede { font-size: 19px; color: var(--hm-ink-soft); max-width: 44ch; }

/* The team: the experts beside an example brand page */
/* How it works: two lanes, people over agents */
.hm-how { background: var(--hm-ink); color: var(--hm-on-dark); }
.hm-how .hm-lede { color: var(--hm-on-dark-soft); }
.hm-lanes { position: relative; display: grid; grid-template-columns: 132px repeat(3, minmax(0, 1fr)); column-gap: 40px; row-gap: 56px; }
.hm-lane { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--hm-on-dark-soft); grid-column: 1; }
.hm-lane svg { width: 22px; height: 22px; color: var(--mustard); }
.hm-rule { visibility: hidden; grid-column: 2 / -1; }
/* The flow line, drawn by the page script from each step to the next, with a spark running along it. */
.hm-flow { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.hm-flow path { fill: none; stroke: var(--mustard); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hm-flow-track { opacity: .35; }
.hm-flow-run { stroke-dasharray: 10 14; animation: hm-flow-run 1.2s linear infinite; }
.hm-flow circle { fill: var(--mustard); filter: drop-shadow(0 0 6px rgb(209 154 14 / 90%)); }
@keyframes hm-flow-run { to { stroke-dashoffset: -24; } }
@media (prefers-reduced-motion: reduce) { .hm-flow-run { animation: none; } .hm-flow circle { display: none; } }
.hm-r1 { grid-row: 1; }
.hm-r2 { grid-row: 2; }
.hm-step { position: relative; z-index: 1; background: var(--hm-step-dark); border: 1px solid rgb(246 243 236 / 12%); border-radius: var(--radius); padding: 18px 18px 20px; min-height: 176px; }
.hm-step-people { grid-row: 1; }
/* You, our experts and the agents each in their own colour: you on the Dijon, the experts on cream, the agents dark. */
.hm-step-you { background: var(--mustard); color: var(--hm-ink); border-color: transparent; }
.hm-step-experts { background: var(--hm-on-dark); color: var(--hm-ink); border-color: transparent; }
.hm-step-agents { grid-row: 2; }
.hm-step[data-col="2"] { grid-column: 2; }
.hm-step[data-col="3"] { grid-column: 3; }
.hm-step[data-col="4"] { grid-column: 4; }
.hm-step[data-col="5"] { grid-column: 5; }
.hm-step[data-col="6"] { grid-column: 6; }
.hm-n { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; opacity: .8; }
.hm-n b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; font: 500 14px/1 var(--font-mono); }
.hm-step strong { display: block; margin: 12px 0 6px; font-size: 18px; line-height: 1.25; font-weight: 600; }
.hm-step p { font-size: 15px; line-height: 1.45; color: var(--hm-on-dark-soft); }
.hm-step-you p { color: #3d3416; }
.hm-step-experts p { color: var(--hm-ink-soft); }
.hm-logos { display: flex; gap: 8px; margin-top: 12px; }
.hm-logos svg { box-sizing: content-box; width: 22px; height: 22px; padding: 7px; border-radius: 10px; background: var(--hm-on-dark); }

/* Reviews: quote-first cards like a review site's, set apart from the page's own cards; no stars or site names. */
.hm-reviews { background: #fff; }
.home .hm-trust { font-family: var(--font-display); font-weight: 900; font-variation-settings: "SOFT" 0, "opsz" 72; font-size: clamp(30px, 4vw, 52px); line-height: 1.06; letter-spacing: -.015em; color: var(--hm-ink); text-align: center; max-width: 20ch; margin: 0 auto clamp(40px, 5vw, 64px); text-wrap: balance; }
.hm-rvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.hm-rv { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; background: #fff; border: 1px solid #e6e6e6; border-radius: 12px; box-shadow: 0 1px 3px rgb(0 0 0 / 6%); font-family: var(--font-sans); }
.hm-rv figcaption { order: -1; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #6b6b6b; }
.hm-rv figcaption > span:last-child { display: grid; }
.hm-rv figcaption b { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.hm-rv-av { object-fit: cover; display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #e9eef6; color: #2f4a73; font-weight: 700; font-size: 16px; }
.hm-rv-mark { position: absolute; right: 18px; top: 8px; font: 900 56px/1 var(--font-display); color: #ececec; }
.hm-rv blockquote { font-size: 16px; line-height: 1.55; color: #333; }
.hm-rv blockquote b { font-weight: 700; color: #1a1a1a; }

/* Price: one plan on a dark card, the price on the Dijon block, a currency switch, and one start button */
.hm-price { background: var(--hm-ink); color: var(--hm-on-dark); }
.hm-plan { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--hm-gap) 48px; align-items: end; border: 1px solid rgb(246 243 236 / 14%); border-radius: 24px; padding: clamp(24px, 5vw, 56px); background: linear-gradient(160deg, var(--hm-step-dark), var(--hm-ink)); }
.home .hm-price h2.hm-display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); max-width: none; line-height: 1.04; }
.hm-cur { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; border-radius: var(--radius-pill); background: rgb(246 243 236 / 8%); }
.home .hm-cur a { display: inline-flex; align-items: center; min-height: 32px; color: var(--hm-on-dark-soft); font: 600 14px/1 var(--font-sans); padding: 8px 14px; border-radius: var(--radius-pill); text-decoration: none; }
.home .hm-cur a:hover { color: var(--hm-on-dark); }
.home .hm-cur a[aria-current="true"] { background: var(--hm-on-dark); color: var(--hm-ink); }
.home .hm-cur button { border: 0; background: transparent; color: var(--hm-on-dark-soft); font: 600 14px/1 var(--font-sans); padding: 8px 14px; border-radius: var(--radius-pill); cursor: pointer; transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out); }
.home .hm-cur button:hover { color: var(--hm-on-dark); }
.home .hm-cur button[aria-pressed="true"] { background: var(--hm-on-dark); color: var(--hm-ink); }
.home .hm-cur button:focus-visible { outline-color: var(--mustard); }
.hm-made { display: grid; gap: 10px; margin-bottom: 24px !important; }
.hm-made li { display: flex; align-items: center; gap: 12px; font-size: 19px; }
.hm-made i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); color: var(--hm-ink); }
.hm-made svg { width: 15px; height: 15px; }
.hm-made .hm-exp { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgb(246 243 236 / 14%); font-size: 17px; color: var(--hm-on-dark); }
.hm-made .hm-exp i { background: var(--hm-on-dark); }
/* The expert line alone, with no list above it to divide from; the price stays on one line. */
.hm-made .hm-exp:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.hm-price h2 .hm-block { white-space: nowrap; }
/* What the plan buys, as a fanned bundle of one day's pieces from the story's example brand. */
.hm-bundle { position: relative; height: 270px; margin-bottom: 28px; }
.hm-bundle figure { position: absolute; bottom: 0; left: 50%; width: 156px; height: 210px; margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgb(0 0 0 / 45%); transform: translateX(calc(-50% + var(--x))) rotate(var(--r)); transform-origin: 50% 100%; }
.hm-bundle img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hm-bundle figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: var(--mustard); color: var(--hm-ink); font: 600 12px var(--font-sans); }
.hm-bundle-post { --x: -120px; --r: -9deg; }
.hm-bundle-ad { --x: 120px; --r: 9deg; }
.hm-bundle-email { --x: 0px; --r: 0deg; z-index: 2; height: 240px; }
@media (max-width: 760px) {
  .hm-bundle { height: 210px; margin-bottom: 20px; }
  .hm-bundle figure { width: 116px; height: 160px; }
  .hm-bundle-email { height: 184px; }
  .hm-bundle-post { --x: -88px; }
  .hm-bundle-ad { --x: 88px; }
}
.home .hm-plan .hm-btn { width: 100%; min-height: 58px; font-size: 18px; }
.hm-small { margin-top: 12px !important; text-align: center; font-size: 15px; color: var(--hm-on-dark-soft); }

/* Questions */
.hm-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--hm-gap); }
.home .hm-faq h2.hm-display { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.hm-faq details { border-top: 1px solid var(--line); }
.hm-faq details:last-child { border-bottom: 1px solid var(--line); }
.hm-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 19px; font-weight: 600; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; font: 500 22px/1 var(--font-mono); color: var(--hm-ink-soft); transition: transform var(--dur) var(--ease-out); }
.hm-faq details[open] summary::after { transform: rotate(45deg); }
.hm-faq summary:hover { color: var(--hm-mustard-deep); }
.hm-faq details p { padding: 0 4px 24px; max-width: 60ch; color: var(--hm-ink-soft); }

/* Closing band and footer */
.hm-close { background: var(--mustard); }
.hm-close-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--hm-gap); align-items: end; }
.home .hm-close h2.hm-display { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 11ch; }
.hm-close .hm-input { border-color: var(--hm-ink); }
.hm-close .hm-terms { color: #3d3416; }
.hm-alt { margin-top: 18px; font-size: 16px; }
.hm-foot { background: var(--hm-ink); color: var(--hm-on-dark-soft); padding: 40px 0 48px; font-size: 15px; }
.hm-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.hm-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-left: auto; }
.home .hm-foot nav a, .home .hm-foot .link-btn { color: var(--hm-on-dark); text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.home .hm-foot nav a:hover, .home .hm-foot .link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.hm-foot .link-btn[hidden] { display: none; }
.home .hm-foot .hm-mark { font-size: 22px; }

/* The sticky bar, on phones only */
.home .hm-bar { background: var(--hm-ink); color: var(--hm-on-dark); border-top: 0; font-size: 15px; }
.home .hm-bar span { color: var(--hm-on-dark); }
.home .hm-bar .hm-btn { flex: 0 0 auto; white-space: nowrap; }

@media (min-width: 761px) { .home .hm-bar { display: none; } }
@media (max-width: 1080px) {
  .hm-faq, .hm-head, .hm-close-in, .hm-rvs { grid-template-columns: minmax(0, 1fr); }
  .hm-rvs { max-width: 640px; margin: 0 auto; }
  .hm-lanes { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .hm-lane, .hm-rule { display: none; }
  .hm-step { grid-column: 1 !important; grid-row: auto; min-height: 0; }
  .hm-step:nth-child(odd of .hm-step) { margin-right: 12%; }
  .hm-step:nth-child(even of .hm-step) { margin-left: 12%; }
}
@media (max-width: 760px) {
  .home { font-size: 16px; }
  .home .hm-links a:not(.hm-keep) { display: none; }
  .hm-nav-in { height: 72px; gap: 12px; }
  .home .hm-mark { font-size: 22px; }
  .hm-field { flex-direction: column; }
  .hm-field .hm-btn { width: 100%; }
  .hm-plan { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-step:nth-child(odd of .hm-step), .hm-step:nth-child(even of .hm-step) { margin: 0; }
  .hm-foot { padding-bottom: 96px; }
}

/* The flat version of the opening (layout test, src/pages/landing-story.ts flatSection): the story's three moments as
   still rows on the story's night background, image and title alternating sides, then the sign-up card. No motion. */
.fl-flat { --night: #1d1c18; --cream: #f6f3ec; --dijon: var(--mustard); background: var(--night); color: var(--cream); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); }
.fl-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(24px, 4vw, 48px) 0; }
.fl-row.fl-flip .fl-shot { order: 2; }
.home .fl-title { font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.16; max-width: 14ch; color: var(--cream); }
.fl-title mark { background: var(--dijon); color: var(--hm-ink); padding: .01em .12em .05em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fl-shot { position: relative; display: grid; place-items: center; min-height: clamp(280px, 36vw, 440px); }
.fl-shot .ms-ad { display: block; position: relative; left: auto; top: auto; transform: rotate(-2deg); width: min(320px, 86%); }
.fl-shot-creator img { width: min(260px, 64%); height: auto; border-radius: 22px; box-shadow: 0 30px 80px rgb(0 0 0 / 45%); transform: rotate(2deg); }
.fl-shot-cards { width: min(440px, 100%); aspect-ratio: 1.15; }
.fl-shot-cards .ms-email { left: 4%; bottom: 2%; width: 34%; }
.fl-shot-cards .ms-post { right: 6%; top: 0; width: 40%; }
.fl-shot-cards .ms-post2 { right: 0; bottom: 4%; width: 36%; }
.home .fl-signup.hm-card { margin: clamp(16px, 3vw, 32px) auto 0; max-width: 520px; background: var(--cream); color: var(--hm-ink); padding: 20px; border-radius: 16px; box-shadow: 0 20px 48px rgb(0 0 0 / 35%); }
@media (max-width: 760px) {
  .fl-row { grid-template-columns: 1fr; gap: 18px; }
  .fl-row.fl-flip .fl-shot { order: 0; }
  .fl-words { order: -1; }
  .fl-shot { min-height: 0; }
  .home .fl-title { font-size: clamp(1.9rem, 8vw, 2.6rem); max-width: none; }
}

/* The shared sections inside a page that is not the homepage (founder-call, /join and /start pages' refreshed layout). */
.ls-embed { font-family: var(--font-sans); width: 100vw; margin: clamp(32px, 5vw, 64px) 0 0 calc(50% - 50vw); max-width: none; background: var(--cream, #f6f3ec); }
.ls-embed .hm-how { margin: 0; }
/* A /join page's Checkout button inside the new layout's sign-up and closing cards. */
.home main[data-join] .jn-form { display: grid; gap: 10px; }
.home main[data-join] .jn-btn { width: 100%; }
.home main[data-join] .jn-fine { font-size: 14px; color: var(--hm-ink-soft); margin: 0; }

/* The cookie banner on phones (src/web/consent.ts): compact on pages with the new layout, and while it shows, the
   story keeps the banner's height clear at the bottom so the title and hint sit above it, not under it. */
@media (max-width: 760px) {
  .home .consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; gap: 8px; font-size: 13px; line-height: 1.35; }
  .home .consent-banner p { flex-basis: 100%; }
  .home .consent-actions .btn { min-height: 36px; padding: 0 14px; }
  body:has(#consent-banner:not([hidden])) .ms-stage,
  body:has(#consent-banner:not([hidden])) .ms-live .ms-stage { padding-bottom: 128px; }
}
