/* Sift phone scenes: one source for the landing "How it works" section, the storyboard and the HyperFrames video.
 * Every value inside .ph comes from the app (packages/shared/src/design/tokens.ts, themes.ts "simple" = Paper):
 * Hanken Grotesk 300/400/500/600/800, the type roles, list-row geometry, radii, topic dots, Phosphor Regular.
 * The phone is authored at 390 x 844 CSS px and scaled from outside with --ph-scale.
 * Scene state lives on the root: <div class="ph" data-scene="reel|share|saving|saved|recipe|add|list">.
 * Sub-beats are classes on the root: .is-slotted (spoken phrase has become the row), .is-pressed (button down),
 * .is-added (grocery button done). Nothing here reads scroll or time; a controller sets the attributes.
 */
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin.1f21c6ea.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/assets/fonts/hanken-grotesk-latin-ext.a1376a56.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken Grotesk Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 97.83%; ascent-override: 102.22%; descent-override: 30.97%; line-gap-override: 0%; }

.ph {
  --canvas: #F7F7F5; --surface: #FCFCFB; --raised: #FFFFFF; --sunk: #F0F0EE; --rule: #EDEDEB;
  --ink: #161615; --ink2: #5A5A56; --ink3: #828281;
  --accent: #2B37E5; --accentText: #2430C8; --onAccent: #FFFFFF;
  --inverse: #161615; --inverseInk: #FAFAF9;
  --clay: #C15F3C;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --hk: 'Hanken Grotesk', 'Hanken Grotesk Fallback', system-ui, sans-serif;
  --ph-scale: 1;
  position: relative; width: calc(414px * var(--ph-scale)); height: calc(868px * var(--ph-scale)); flex: none;
  overflow: clip; overflow-clip-margin: 48px; border-radius: calc(56px * var(--ph-scale)); /* the scaled device keeps its 414 px layout box; clip it */
}
@media (prefers-color-scheme: dark) {
  .ph:not([data-theme="light"]) {
    --canvas: #141414; --surface: #1D1D1D; --raised: #262626; --sunk: #262626; --rule: #232323;
    --ink: #ECECE9; --ink2: #A3A39E; --ink3: #A3A39E;
    --accent: #8C93FF; --accentText: #A7ACFF; --onAccent: #141414;
  }
}
.ph[data-theme="dark"] {
  --canvas: #141414; --surface: #1D1D1D; --raised: #262626; --sunk: #262626; --rule: #232323;
  --ink: #ECECE9; --ink2: #A3A39E; --ink3: #A3A39E;
  --accent: #8C93FF; --accentText: #A7ACFF; --onAccent: #141414;
}

/* Device: a plain bezel, no notch, no buttons, no status bar. */
.ph-dev { width: 414px; height: 868px; padding: 12px; border-radius: 56px; background: #0E0E0E; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -40px rgba(0,0,0,.45);
  transform: scale(var(--ph-scale)); transform-origin: 0 0; }
.ph-scr { position: relative; width: 390px; height: 844px; border-radius: 44px; overflow: hidden; isolation: isolate; background: var(--canvas); color: var(--ink);
  font: 400 15px/1.5 var(--hk); -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
.ph-scr * { box-sizing: border-box; }
.ph-scr p, .ph-scr h1, .ph-scr h2, .ph-scr h3, .ph-scr ul, .ph-scr ol { margin: 0; padding: 0; list-style: none; }
.ph svg.g { width: 18px; height: 18px; fill: currentColor; flex: none; }
.tn { font-variant-numeric: tabular-nums; }

/* Layers: one per screen. Only the active one is visible; crossfades use the standard curve. */
.ly { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .24s var(--ease), visibility 0s linear .24s; }
.ph[data-scene="reel"] .ly-reel, .ph[data-scene="share"] .ly-reel, .ph[data-scene="saving"] .ly-reel, .ph[data-scene="saved"] .ly-reel,
.ph[data-scene="share"] .ly-sheet, .ph[data-scene="saving"] .ly-sheet, .ph[data-scene="saved"] .ly-sheet,
.ph[data-scene="recipe"] .ly-recipe, .ph[data-scene="add"] .ly-recipe,
.ph[data-scene="list"] .ly-list { opacity: 1; visibility: visible; transition: opacity .24s var(--ease), visibility 0s; }

/* ── Reel: a plain vertical player. No platform chrome, no action rail, no status bar. ── */
.ly-reel { background: #000; }
.ly-reel img, .ly-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ly-reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 42%), linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,0) 18%); }
.reel-ui { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 28px; color: #fff; display: grid; gap: 14px; }
.spoken { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(0,0,0,.55); font: 500 17px/1.25 var(--hk); letter-spacing: -0.01em; }
.spoken b { font-weight: 800; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.wave i { width: 2.5px; border-radius: 2px; background: #fff; }
.wave i:nth-child(1) { height: 6px; } .wave i:nth-child(2) { height: 14px; } .wave i:nth-child(3) { height: 9px; } .wave i:nth-child(4) { height: 16px; } .wave i:nth-child(5) { height: 7px; }
.creator { display: grid; gap: 2px; font: 400 14px/1.4 var(--hk); color: rgba(255,255,255,.88); max-width: 270px; }
.creator b { font-weight: 600; color: #fff; }
.reel-bar { height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 34%; background: #fff; }
.reel-share { position: absolute; z-index: 1; right: 16px; bottom: 112px; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: rgba(0,0,0,.45); color: #fff; border: 0; }
.reel-share svg { width: 24px; height: 24px; fill: currentColor; }
.ph[data-scene="reel"].is-pressed .reel-share { transform: scale(.94); background: rgba(255,255,255,.28); }

/* ── Share chooser: deliberately platform-neutral. One coloured tile: Sift. ── */
.ly-sheet { z-index: 2; }
.ly-sheet .scrim { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.psheet { position: absolute; left: 8px; right: 8px; bottom: 8px; border-radius: 28px; background: var(--raised); color: var(--ink); padding: 10px 20px 22px;
  transform: translate3d(0, 0, 0); transition: transform .24s var(--ease); }
.ph[data-scene="reel"] .psheet { transform: translate3d(0, 110%, 0); }
.psheet .grab { width: 36px; height: 4px; border-radius: 4px; background: var(--rule); margin: 0 auto 14px; }
.psheet h3 { font: 600 17px/1.25 var(--hk); letter-spacing: -0.2px; }
.psheet .src { margin-top: 2px; font: 300 13.5px/1.45 var(--hk); color: var(--ink2); }
.tiles { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { display: grid; justify-items: center; gap: 8px; font: 500 12.5px/1.2 var(--hk); color: var(--ink2); }
.tile .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--sunk); color: var(--ink2); transition: transform .12s var(--ease); }
.tile .ic svg { width: 24px; height: 24px; fill: currentColor; }
.tile--sift { color: var(--ink); }
.tile--sift .ic { background: var(--clay); color: #161615; }
.ph[data-scene="share"].is-pressed .tile--sift .ic { transform: scale(.94); }
/* The Sift share extension, after the tap: the real copy from packages/shared i18n share.* */
.ext { display: none; }
.ph[data-scene="saving"] .ext, .ph[data-scene="saved"] .ext { display: grid; }
.ph[data-scene="saving"] .chooser, .ph[data-scene="saved"] .chooser { display: none; }
.ext { gap: 4px; padding-top: 4px; }
.ext .row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; }
.ext .thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #222; }
.ext .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ext h3 { font: 600 17px/1.25 var(--hk); }
.ext .msg { font: 300 13.5px/1.45 var(--hk); color: var(--ink2); }
.ext .acts { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-p, .btn-g { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 999px; font: 500 15px/1 var(--hk); border: 0; }
.btn-p { background: var(--accent); color: var(--onAccent); transition: transform .12s var(--ease), opacity .24s var(--ease); }
.btn-g { background: var(--sunk); color: var(--ink); }
.ph[data-scene="saving"] .ext .acts { visibility: hidden; }
.ph[data-scene="saving"] .ext .done-t, .ph[data-scene="saved"] .ext .saving-t { display: none; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--accent); display: inline-block; vertical-align: -3px; margin-right: 6px; }
.ok { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--onAccent); display: inline-grid; place-items: center; vertical-align: -4px; margin-right: 6px; }
.ok svg { width: 13px; height: 13px; }
.ph[data-scene="saved"].is-pressed .ext .btn-p { transform: scale(.98); }

/* ── Recipe item detail (apps/mobile ItemDetail RecipeBody) ── */
.ly-recipe { background: var(--canvas); }
.pg { position: absolute; inset: 0; padding: 28px 16px 24px; display: grid; gap: 12px; align-content: start; transition: transform .24s var(--ease); }
.ph[data-scene="add"] .ly-recipe .pg { transform: translate3d(0, -238px, 0); }
.back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px 0 4px; color: var(--accentText); font: 500 13.5px/1 var(--hk); }
.r-title { font: 800 34px/35.7px var(--hk); letter-spacing: -1px; }
.r-src { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font: 300 13px/1.4 var(--hk); color: var(--ink2); }
.r-src a { font-weight: 500; color: var(--accentText); text-decoration: none; }
.r-meta { font: 400 13px/1.4 var(--hk); color: var(--ink2); }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 16px; }
.serv { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.serv .l1 { font: 400 13px/1.3 var(--hk); color: var(--ink2); }
.serv .l2 { font: 600 22px/25.3px var(--hk); letter-spacing: -0.4px; }
.serv .l3 { margin-top: 2px; font: 500 11.5px/1.3 var(--hk); color: var(--accentText); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper .m, .stepper .p { width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; }
.stepper .m { border: 1.5px solid var(--rule); }
.stepper .m::before { content: ''; width: 14px; height: 1.5px; background: var(--ink); }
.stepper .p { background: var(--inverse); color: var(--inverseInk); font: 400 22px/1 var(--hk); }
.stepper .v { min-width: 32px; text-align: center; font: 600 22px/1 var(--hk); }
.over { font: 500 11.5px/13.8px var(--hk); letter-spacing: .5px; text-transform: uppercase; color: var(--ink2); }
.ph-scr .ing { padding: 4px 16px; }
.ing li { position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; font: 400 14.5px/1.4 var(--hk); }
.ing li + li { border-top: 1px solid var(--rule); }
.ing .a { font-weight: 600; font-variant-numeric: tabular-nums; }
/* The one signature move: the spoken phrase sits above its row, then slots in and becomes the written amount. */
.ing li.slot .nm, .ing li.slot .a { transition: opacity .24s var(--ease) .12s; }
.ph:not(.is-slotted) .ing li.slot .nm, .ph:not(.is-slotted) .ing li.slot .a { opacity: 0; }
.said { position: absolute; left: -4px; top: 3px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--inverse); color: var(--inverseInk);
  font: 500 14px/1.2 var(--hk); white-space: nowrap; transition: transform .24s var(--ease), opacity .24s var(--ease); }
.said .wave i { background: currentColor; }
.ph:not(.is-slotted) .said { transform: translate3d(0, -14px, 0); }
.ph.is-slotted .said { transform: translate3d(0, 4px, 0); opacity: 0; }
.cta { margin-top: 8px; width: 100%; }
.ph[data-scene="add"].is-pressed .cta { transform: scale(.98); }
.ph.is-added .cta { opacity: .45; }
.ph:not(.is-added) .cta .t-done, .ph.is-added .cta .t-add { display: none; }
.ph-scr .steps { padding: 6px 16px; }
.steps li { display: flex; gap: 12px; padding: 9px 0; font: 400 14px/22px var(--hk); }
.steps .n { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--sunk); color: var(--accentText); display: grid; place-items: center; font: 600 11px/1 var(--hk); font-variant-numeric: tabular-nums; margin-top: 0; }

/* ── Grocery list (apps/frontend pages/Grocery.tsx, mobile padding) ── */
.ly-list { background: var(--canvas); }
.gl { position: absolute; inset: 0; padding: 28px 16px 24px; display: grid; gap: 0; align-content: start; }
.gl .over { color: var(--ink3); }
.gl h1 { margin-top: 10px; font: 800 34px/35.7px var(--hk); letter-spacing: -1px; }
.pchips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.pchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: var(--surface); border: 1px solid var(--rule); font: 600 12px/1.2 var(--hk); }
.pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none; }
.aisle { padding: 20px 0 7px; }
.ph-scr .grp { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 2px 16px; }
.grp li { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.grp li + li { border-top: 1px solid var(--rule); }
.cb { width: 28px; height: 28px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px var(--ink3); flex: none; }
.grp .nm { flex: 1; font: 500 14px/1.3 var(--hk); }
.grp .q { font: 400 12.5px/1.3 var(--hk); color: var(--ink2); font-variant-numeric: tabular-nums; }
.gl .sum { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--rule); font: 500 12.5px/1.3 var(--hk); color: var(--ink2); font-variant-numeric: tabular-nums; }
.grp li { transition: opacity .24s var(--ease), transform .24s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }
.ph[data-scene="list"]:not(.is-settled) .grp li { opacity: 0; transform: translate3d(0, 8px, 0); }

@media (prefers-reduced-motion: reduce) {
  .ph *, .ph *::before, .ph *::after { transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* "How it works" section. Baseline first: stacked steps, readable without JS or motion. */
.how { position: relative; background: var(--bg); padding-block: clamp(96px, 10vw, 150px) clamp(72px, 8vw, 120px); }
.how-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 5vw, 64px); }
.how-head h2 { max-width: 13ch; }
.how-skip { justify-self: start; font-size: 14.5px; color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.how-skip:not(:focus-visible) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.how-steps { display: grid; gap: clamp(56px, 7vw, 96px); counter-reset: none; }
.how-step { display: grid; gap: 12px; }
.how-step-a { display: inline-flex; align-items: baseline; gap: 14px; text-decoration: none; color: var(--fg); }
.how-n { font-size: 15px; font-weight: 600; color: var(--accent-text); min-width: 1.2em; }
.how-t { font-size: clamp(26px, 1rem + 1.6vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.how-b { font-size: clamp(16px, .95rem + .2vw, 18px); line-height: 1.5; color: var(--fg-2); max-width: 38ch; padding-left: calc(1.2em + 14px); }
.how-ph { margin-top: 16px; display: flex; justify-content: center; }
.how-ph .ph { --ph-scale: .62; }
.how-stage { display: none; }
@media (min-width: 760px) {
  .how-step { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 48px; align-items: center; }
  .how-step-a, .how-b { grid-column: 1; }
  .how-ph { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .how-ph .ph { --ph-scale: .7; }
}

/* Enhanced: one sticky phone, steps change as you scroll. Set by how.js only when wide, motion allowed. */
.how.is-pinned { height: 260vh; padding: 0; }
.how.is-pinned .how-in { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "head stage" "steps stage"; column-gap: 56px; align-content: center; padding-block: 80px 40px; }
.how.is-pinned .how-head { grid-area: head; margin-bottom: 36px; }
.how.is-pinned .how-head h2 { font-size: clamp(36px, 1rem + 3vw, 64px); }
.how.is-pinned .how-grid { display: contents; }
.how.is-pinned .how-steps { grid-area: steps; gap: 26px; align-content: start; }
.how.is-pinned .how-step { display: grid; grid-template-columns: none; gap: 6px; padding-left: 18px; border-left: 2px solid var(--rule); transition: border-color .24s var(--ease); }
.how.is-pinned .how-ph { display: none; }
.how.is-pinned .how-t { font-size: clamp(22px, .9rem + 1vw, 30px); color: var(--fg-2); transition: color .24s var(--ease); }
.how.is-pinned .how-b { padding-left: 0; font-size: 16px; }
.how.is-pinned .how-n { color: var(--fg-2); }
.how.is-pinned .how-step.is-on { border-left-color: var(--accent); }
.how.is-pinned .how-step.is-on .how-t { color: var(--fg); }
.how.is-pinned .how-step.is-on .how-n { color: var(--accent-text); }
.how.is-pinned .how-stage { grid-area: stage; display: grid; place-items: center; }
.how.is-pinned .how-stick { display: grid; place-items: center; }

/* Sift landing styles, direction A "documentary" (founder pick, 2026-10-17).
 * Lifted verbatim from design-refs/prototypes/directions/landing.template.html with the direction A tokens inlined.
 * Site-only additions are at the end, marked SITE. */
@property --p { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  /* Paper neutrals and the cobalt accent from the product (PRODUCT.md, 2026-09-10). Directions override below. */
  --canvas: #F7F7F5; --surface: #FCFCFB; --raised: #FFFFFF; --rule: #EDEDEB;
  --ink: #161615; --ink-2: #5A5A56; --ink-3: #828281;
  --accent: #2B37E5; --accent-text: #2430C8; --on-accent: #FFFFFF;
  --dark: #121212; --dark-2: #1B1B1A; --on-dark: #F4F4F1; --on-dark-2: rgba(244, 244, 241, .66); --dark-rule: rgba(244, 244, 241, .12);
  --field: #E9E9E5;
  --hero-ink: #FFFFFF; --hero-ink-2: rgba(255, 255, 255, .8); --scrim: 0, 0, 0; --scrim-a: .55;

  --bg: var(--canvas); --fg: var(--ink); --fg-2: var(--ink-2); --card: var(--raised);
  --glass-dark: rgba(18, 18, 18, .55); --glass-dark-line: rgba(255, 255, 255, .14);
  --glass-light: rgba(255, 255, 255, .78); --glass-light-line: rgba(255, 255, 255, .7);
  --shadow: 0 1px 2px rgba(22, 22, 21, .06), 0 24px 48px -28px rgba(22, 22, 21, .3);

  --sans: 'Hanken Grotesk', 'Hanken Grotesk Fallback', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.2, 0, 0, 1); /* ease.standard, docs/research/Sift animation strategy.md */
  --gutter: clamp(16px, 3.4vw, 48px);
  --max: 1344px;
  /* One radius rule: interactive controls are pills, containers are 28 px (media frames 36 px). */
  --r-media: 36px; --r-card: 28px; --r-row: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #141414; --surface: #1D1D1D; --raised: #262626; --rule: #2C2C2B;
    --ink: #ECECE9; --ink-2: #A3A39E; --ink-3: #A3A39E;
    --accent: #8C93FF; --accent-text: #A7ACFF; --on-accent: #141414;
    --field: #1C1C1B; --dark: #0C0C0C;
    --glass-light: rgba(28, 28, 27, .78); --glass-light-line: rgba(255, 255, 255, .1);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -28px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
/* Direction tokens */
:root { --hero-pos: 64% 50%; --hero-pos-m: 66% 50%; --scrim: 12, 12, 12; --scrim-a: .62; --open-pos: 72% 50%; --pic0-pos: 72% 50%; --pic1-pos: 45% 30%; --find-pos: 45% 50%; --find-pos-m: 48% 50%; --find-scrim: .42; --lead-pos: 66% 50%; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--raised); color: var(--ink); padding: 12px 16px; border-radius: 12px; }
.skip:focus { top: 8px; }
svg.i { width: 20px; height: 20px; fill: currentColor; flex: none; }
.media { position: absolute; inset: 0; overflow: hidden; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.glass-d { background: var(--glass-dark); border: 1px solid var(--glass-dark-line); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); color: var(--on-dark); }
.glass-l { background: var(--glass-light); border: 1px solid var(--glass-light-line); -webkit-backdrop-filter: blur(24px) saturate(150%); backdrop-filter: blur(24px) saturate(150%); color: var(--fg); box-shadow: var(--shadow); }
@media (prefers-reduced-transparency: reduce) {
  .glass-d { background: var(--dark-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .glass-l { background: var(--raised); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* One button: the accent pill. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--on-accent); font: 500 15.5px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap;
  transition: transform .12s var(--ease), filter .2s var(--ease); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }

.display { font-weight: 600; font-size: clamp(40px, 1.1rem + 4.6vw, 92px); line-height: .96; letter-spacing: -0.05em; text-wrap: balance; }
.lede { font-size: clamp(17px, .95rem + .3vw, 20px); line-height: 1.45; letter-spacing: -0.01em; color: var(--fg-2); max-width: 44ch; }
.quiet { font-weight: 300; color: var(--fg-2); }

/* ── Nav: hides while scrolling down, returns on the way up ─────────── */
.nav { position: fixed; z-index: 30; top: 14px; left: 0; right: 0; pointer-events: none; transition: transform .35s var(--ease); }
.nav.away { transform: translate3d(0, -120%, 0); }
.nav .bar { pointer-events: auto; margin-inline: auto; width: min(100% - 2 * var(--gutter), 1120px); display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; border-radius: 999px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; font-size: 21px; letter-spacing: -0.04em; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: #C15F3C; color: #161615; display: grid; place-items: center; }
.brand .mark svg { width: 22px; height: 22px; fill: currentColor; }
.nav nav { display: none; margin-left: auto; gap: 2px; }
.nav nav a { text-decoration: none; font-size: 14.5px; font-weight: 400; color: var(--on-dark-2); padding: 12px 14px; border-radius: 999px; transition: color .2s; }
.nav nav a:hover { color: var(--on-dark); }
.nav .btn { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 14.5px; }
@media (min-width: 880px) { .nav nav { display: flex; } .nav .btn { margin-left: 8px; } }

/* ── 1. Hero: the photograph owns the viewport ───────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); overflow: clip; color: var(--hero-ink); background: var(--hero-bg, var(--dark)); }
.hero .media { transform: translate3d(0, calc(var(--p) * 12%), 0) scale(calc(1.04 + var(--p) * .06)); transform-origin: 50% 30%; will-change: transform; }
.hero .media img { object-position: var(--hero-pos, 60% 50%); }
.hero .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(var(--scrim), var(--scrim-a)) 0%, rgba(var(--scrim), calc(var(--scrim-a) * .5)) 30%, rgba(var(--scrim), 0) 62%); }
.hero-in { position: relative; z-index: 1; align-self: end; padding-block: 140px clamp(28px, 4vw, 52px); transform: translate3d(0, calc(var(--p) * -8vh), 0); }
.hero h1 { font-weight: 600; font-size: clamp(48px, .6rem + 8vw, 148px); line-height: .92; letter-spacing: -0.058em; margin-left: -0.04em; }
.hero h1 .l { display: block; white-space: nowrap; }
.hero h1 .l + .l { font-weight: 300; }
.hero-row { margin-top: clamp(22px, 2.4vw, 34px); display: grid; gap: 18px; align-items: end; }
.hero-row .lede { color: var(--hero-ink-2); max-width: 40ch; }
@media (min-width: 900px) { .hero-row { grid-template-columns: minmax(0, 40ch) auto; justify-content: start; column-gap: 40px; } }

/* The hero card: the finished grocery list, drawn like the app's list (apps/frontend pages/Grocery.tsx). Solid paper, live. */
.gcard { position: absolute; z-index: 2; top: clamp(96px, 13vh, 132px); right: var(--gutter); width: min(340px, calc(100% - 2 * var(--gutter))); padding: 18px 18px 14px; border-radius: 20px;
  background: var(--raised); color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(22,22,21,.06), 0 24px 48px -28px rgba(22,22,21,.4);
  transform: translate3d(0, calc(var(--p) * -18vh), 0); }
.gc-over { font-size: 11.5px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; color: var(--ink-3); }
.gcard h2 { margin-top: 6px; font-size: 24px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.gc-chip { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--rule); background: var(--surface); font-size: 12px; font-weight: 600; }
.gc-dot, .tdot { width: 7px; height: 7px; border-radius: 50%; background: var(--t, #C15F3C); flex: none; display: inline-block; }
.gc-rows { margin-top: 12px; }
.gc-rows li + li { border-top: 1px solid var(--rule); }
.gc-rows label { display: flex; align-items: center; gap: 12px; min-height: 46px; cursor: pointer; }
.gc-rows input { appearance: none; margin: 0; width: 24px; height: 24px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--ink-3); display: grid; place-items: center; flex: none; cursor: pointer; }
.gc-rows input:checked { background: var(--accent); box-shadow: none; }
.gc-rows input:checked::after { content: ''; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.gc-rows .nm { flex: 1; font-size: 14.5px; font-weight: 500; }
.gc-rows input:checked ~ .nm { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.gc-rows .q { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gc-sum { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12.5px; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ── 2. Statement: static ───────────────────────────────────────────── */
.statement { background: var(--bg); padding-block: clamp(96px, 11vw, 160px) 0; }
.stmt { font-size: clamp(28px, .9rem + 2.8vw, 54px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 500; max-width: 24ch; }
.chip { display: inline-flex; align-items: center; gap: .35em; vertical-align: .08em; font-size: .56em; font-weight: 500; letter-spacing: -0.01em; line-height: 1; padding: .5em .85em .5em .55em; border-radius: 999px; white-space: nowrap; border: 1px solid var(--rule); }
.chip svg { width: 1.3em; height: 1.3em; fill: currentColor; color: var(--fg-2); }
.chip--in { background: var(--field); }
.chip--out { background: var(--raised); padding-left: .8em; }
.chip .tdot { width: .55em; height: .55em; }
.nw { white-space: nowrap; }

/* Shared section heads for the light sheets */
.sheet { position: relative; z-index: 2; background: var(--bg); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 4vw, 56px); max-width: 880px; }
.rise { --q: clamp(0, calc(var(--p) * 1.5), 1); opacity: calc(.15 + var(--q) * .85); transform: translate3d(0, calc((1 - var(--q)) * 16px), 0); }

/* ── 5. Pinned stage: the section stays, the photograph and the tool change ── */
.stage { position: relative; height: 300vh; background: var(--dark); color: var(--on-dark); }
.stage .stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; display: grid; align-items: center; }
.stage-grid { position: relative; display: grid; gap: 22px; height: 100%; padding-block: 88px 24px; grid-template-rows: auto minmax(0, 1fr); }
@media (min-width: 960px) { .stage-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: none; gap: 56px; align-items: center; padding-block: 72px 40px; } }
.stage h2 { max-width: 9ch; }
.stage .lede { margin-top: 18px; color: var(--on-dark-2); max-width: 32ch; }
.index { margin-top: 36px; display: grid; }
.index a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 58px; text-decoration: none; color: rgba(244, 244, 241, .42); border-top: 1px solid var(--dark-rule); font-size: 19px; font-weight: 500; letter-spacing: -0.02em; transition: color .4s var(--ease); }
.index a .k { font-size: 14.5px; font-weight: 400; letter-spacing: 0; }
.index a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.index a[aria-current="step"] { color: var(--on-dark); }
.index a[aria-current="step"]::after { transform: scaleX(1); }
@media (max-width: 959px) {
  .stage .lede { display: none; }
  .index { margin-top: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .index a { grid-template-columns: 1fr; min-height: 44px; font-size: 14px; border: 0; padding-bottom: 6px; }
  .index a .k { display: none; }
  .index a::after { bottom: 0; }
  .index a:not([aria-current="step"])::after { transform: scaleX(1); background: var(--dark-rule); }
}
.screen { position: relative; height: 100%; min-height: 0; border-radius: var(--r-media); overflow: hidden; isolation: isolate; background: var(--dark-2); }
@media (min-width: 960px) { .screen { height: min(78vh, 740px); } }
.screen .pic { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.screen .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.screen .pic.on { opacity: 1; }
.screen .pic.on img { transform: scale(1.01); }
.panel { position: absolute; z-index: 1; background: var(--raised); color: var(--fg); border: 1px solid var(--rule); box-shadow: var(--shadow); left: clamp(14px, 2.4vw, 28px); right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); max-width: 500px; border-radius: var(--r-card); padding: clamp(18px, 2vw, 26px);
  opacity: 0; transform: translate3d(0, 40px, 0); visibility: hidden; transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s linear .5s; }
.panel.on { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease) .12s, transform .8s var(--ease) .12s, visibility 0s; }
.panel .label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--fg-2); }
.panel .label .tdot { width: 8px; height: 8px; }
.merged .r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; min-height: 40px; font-size: 15px; padding-block: 8px; }
.merged .r + .r { border-top: 1px solid var(--rule); }
.merged small { margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.merged .to { font-weight: 600; font-variant-numeric: tabular-nums; }
.panel h3 { margin-top: 8px; font-size: clamp(20px, .9rem + .8vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; max-width: 24ch; }
.panel .body { margin-top: 14px; }
.scale { display: grid; gap: 2px; }
.scale .r { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: baseline; min-height: 40px; font-size: 15px; }
.scale .r + .r { border-top: 1px solid var(--rule); }
.scale .from { color: var(--fg-2); text-decoration: line-through; text-decoration-thickness: 1px; font-variant-numeric: tabular-nums; }
.scale .to { font-weight: 600; font-variant-numeric: tabular-nums; }
.sets { width: 100%; border-collapse: collapse; font-size: 15px; }
.sets th { text-align: left; font-weight: 500; color: var(--fg-2); font-size: 13px; padding: 0 0 8px; }
.sets td { padding: 10px 0; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.sets td:not(:first-child), .sets th:not(:first-child) { text-align: right; }
.pr { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: var(--on-accent); background: var(--accent); padding: 3px 8px; border-radius: 999px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 44px; font-size: 15px; }
.row + .row { border-top: 1px solid var(--rule); }
.row .v { color: var(--fg-2); font-variant-numeric: tabular-nums; }
.row.total span { font-weight: 600; color: var(--fg); }
.query { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; border-radius: 999px; background: var(--field); font-size: 15.5px; }
.why { margin-top: 12px; display: grid; gap: 4px; font-size: 14px; color: var(--fg-2); }
mark { background: none; color: var(--fg); font-weight: 600; }
.stage .anchor { position: absolute; left: 0; width: 1px; height: 1px; }

/* ── 6. Find it again: the search field over the evening photograph ─── */
.find { position: relative; overflow: clip; color: var(--on-dark); background: var(--dark); min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; padding-block: clamp(110px, 12vw, 170px); }
.find .media { transform: translate3d(0, calc((var(--p) - .5) * -6%), 0) scale(1.08); }
.find .media img { object-position: var(--find-pos, 50% 50%); transform: scaleX(var(--find-flip, 1)); }
.find .media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--find-tint, 0, 0, 0), .55), rgba(var(--find-tint, 0, 0, 0), 0) 62%), rgba(0, 0, 0, var(--find-scrim, .5)); }
.find .wrap { position: relative; }
.find h2 { max-width: 12ch; }
.find .search { background: var(--raised); color: var(--ink); border: 1px solid var(--rule); box-shadow: var(--shadow); --q: clamp(0, calc(var(--p) * 1.8), 1); margin-top: clamp(36px, 4vw, 56px); max-width: 980px; display: flex; align-items: center; gap: 18px; min-height: clamp(72px, 7.4vw, 108px); padding: 0 clamp(20px, 3vw, 36px); border-radius: 999px;
  font-size: clamp(19px, .8rem + 1.9vw, 40px); font-weight: 400; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden;
  transform: scale(calc(.94 + var(--q) * .06)); transform-origin: left center; opacity: calc(.3 + var(--q) * .7); }
.find .search > span { overflow: hidden; text-overflow: ellipsis; }
.find .search svg { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; color: var(--ink-2); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -0.12em; margin-left: 3px; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1.1s steps(1) infinite; } @keyframes blink { 50% { opacity: 0; } } }
.results { margin-top: 16px; max-width: 760px; display: grid; gap: 8px; }
.results li { background: var(--raised); color: var(--ink); border: 1px solid var(--rule); --q: clamp(0, calc(var(--p) * 2.4 - var(--k) * .22 - .3), 1); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 72px; padding: 12px 22px; border-radius: var(--r-card);
  opacity: var(--q); transform: translate3d(0, calc((1 - var(--q)) * 40px), 0); }
.results b { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.results small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.results mark { color: var(--ink); }
.results .topic { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; }

/* ── 7. Price: the yearly plan leads, the other two stack beside it ──── */
.price { padding-block: clamp(96px, 11vw, 160px) clamp(64px, 8vw, 112px); }
.terms { display: grid; gap: 14px; }
@media (min-width: 900px) { .terms { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr 1fr; gap: 16px; } .term--lead { grid-row: span 2; } }
.term { --q: clamp(0, calc(var(--p) * 2 - var(--k) * .22), 1); position: relative; border-radius: var(--r-card); padding: 26px 28px; display: grid; align-content: space-between; gap: 28px; background: var(--card); border: 1px solid var(--rule); overflow: hidden; isolation: isolate;
  opacity: calc(.1 + var(--q) * .9); transform: translate3d(0, calc((1 - var(--q)) * 70px), 0); }
.term h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.term .note2 { margin-top: 4px; font-size: 14.5px; color: var(--fg-2); }
.term .amt { font-size: clamp(48px, 2rem + 2.6vw, 76px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.term .amt small { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--fg-2); }
.term--lead { min-height: 360px; color: var(--on-dark); background: var(--dark); border: 0; }
.term--lead .note2, .term--lead .amt small { color: var(--on-dark-2); }
.term .foot-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.btn--quiet { background: var(--field); color: var(--fg); }
.btn--quiet:hover { filter: none; background: var(--rule); }
.term--lead .foot-row { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price .small { margin-top: 22px; font-size: 14.5px; color: var(--fg-2); }

.faq-wrap { margin-top: clamp(80px, 9vw, 140px); display: grid; gap: 20px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.faq-wrap h2 { font-size: clamp(34px, 1rem + 2.6vw, 60px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.faq details + details { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 16px; min-height: 68px; font-size: clamp(17px, .9rem + .4vw, 21px); font-weight: 500; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--fg-2); transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--fg-2); max-width: 60ch; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { position: relative; z-index: 3; background: var(--dark); color: var(--on-dark); overflow: clip; padding-top: clamp(56px, 7vw, 96px); }
.foot-top { position: relative; display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.foot-top p { font-size: clamp(28px, 1rem + 2.4vw, 52px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; max-width: 16ch; }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin-top: 18px; }
.foot ul a { display: inline-block; padding: 12px 12px 12px 0; margin-right: 12px; color: var(--on-dark-2); font-size: 15px; text-decoration: none; }
.foot ul a:hover { color: var(--on-dark); }
.wordmark { position: relative; display: block; margin: clamp(24px, 4vw, 48px) 0 -0.22em; font-weight: 800; font-size: clamp(140px, 38vw, 620px); line-height: .8; letter-spacing: -0.075em; text-align: center; color: var(--dark-2);
  transform: translate3d(0, calc((1 - var(--p)) * 14%), 0); }
.copy { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 22px; font-size: 13.5px; color: var(--on-dark-2); border-top: 1px solid var(--dark-rule); }

/* ── Scroll timelines ─────────────────────────────────────────────────── */
@keyframes track { from { --p: 0; } to { --p: 1; } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-track] { animation: track linear both; animation-timeline: view(); }
    [data-track="exit"] { animation-range: exit 0% exit 100%; }
    [data-track="contain"] { animation-range: contain 0% contain 100%; }
    [data-track="enter"] { animation-range: entry 0% cover 50%; }
    [data-track="cover"] { animation-range: cover 0% cover 100%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-track] { --p: 1 !important; }
  .hero, .find, .foot { --p: .5 !important; }
  .hero .media, .hero-in, .gcard, .find .media, .wordmark, .nav { transform: none !important; }
  .screen .pic img, .screen .pic.on img { transform: none; transition: none; }
  .panel, .panel.on { transform: none; transition: opacity .2s linear, visibility 0s; }
  .btn:active { transform: none; }
  .faq summary svg, .index a, .index a::after, .nav { transition: none; }
}

/* ── Phone widths ──────────────────────────────────────────────────────── */
@media (max-width: 759px) {
  .hero .media img { object-position: var(--hero-pos-m, 70% 50%); }
  .hero h1 .l { white-space: normal; }
  .gcard { position: relative; top: auto; right: auto; width: auto; margin: 0 var(--gutter) 28px; transform: none; order: 2; }
  .hero { align-content: end; }
  .hero-in { order: 1; padding-top: 300px; padding-bottom: 28px; }
  .hero-row .btn { justify-self: start; }
  .stage { height: 280vh; }
  .stage h2 { font-size: 44px; }
  .panel p.d { display: none; }
  .results li { padding: 12px 16px; }
  .find .media img { object-position: var(--find-pos-m, 40% 50%); }
}


/* SITE: additions for the published site (not in the prototype). */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.badge { display: inline-flex; border-radius: 9px; line-height: 0; }
.badge img { display: block; max-width: none; }
.foot-cta { display: grid; gap: 20px; justify-items: start; }
.foot-cta .badges { margin-top: 0; }
@media (min-width: 900px) { .foot-cta { justify-items: end; } }
.langs { display: flex; gap: 4px 14px; flex-wrap: wrap; }
.langs a { color: var(--on-dark-2); text-decoration: none; padding: 12px 0; margin: -12px 0; }
.langs a:hover, .langs a[aria-current="page"] { color: var(--on-dark); }
.langs a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }


/* SITE: the 404 page. */
.nf { background: var(--dark); color: var(--on-dark); }
.nf-main { min-height: 100svh; display: grid; align-items: center; padding-block: 120px 64px; }
.nf-grid { display: grid; gap: 48px; }
.nf-block { display: grid; gap: 16px; justify-items: start; }
.nf-block .lede { color: var(--on-dark-2); }
.nf-h { font-weight: 600; font-size: clamp(28px, 1rem + 2.4vw, 52px); letter-spacing: -0.045em; line-height: 1; }

/* SITE: inline style attributes from the prototype, hoisted for the CSP. */
.s-ff7916 { position:absolute !important; }
.s-e80582 { --t:#C15F3C !important; }
.s-a65867 { --t:#C79A3E !important; }
.s-f59d30 { --t:#7D9A81 !important; }
.s-94be05 { width:34px !important; height:34px !important; }
.s-11c646 { --i:0 !important; }
.s-9918e7 { --i:1 !important; }
.s-8e390c { --i:2 !important; }
.s-f61af3 { --i:3 !important; }
.s-a4a1c4 { top:0 !important; }
.s-593263 { top:30% !important; }
.s-962d1a { top:58% !important; }
.s-875220 { object-position:60% 40% !important; }
.s-6eb37c { object-position:var(--pic1-pos, 50% 30%) !important; }
.s-6ed6c5 { object-position:var(--pic2-pos, 50% 40%) !important; }
.s-1c9fa8 { --k:0 !important; }
.s-73cafa { --k:1 !important; }
.s-404955 { --k:2 !important; }
.s-9a2767 { margin:-11.71px -11.71px -11.71px -11.71px !important; }
.s-89823f { margin:-7.25px -0.00px -7.25px -0.00px !important; }