/* Lumi v4 "Warm Glow". One stylesheet for every landing page (built by scripts/build-pages.mjs).
   Tokens follow the Figma brand guide: Linen page, Glow (champagne brass) as the single accent,
   Sage support, Smoke for glass and the deep band. Themes: .t-reach (Apricot pop), .t-ritual (Sage lead),
   .t-train (dark, data-forward). Radius rule: pills for buttons and chips, 12px inputs, 28px media and panels. */
[hidden] { display: none !important; }
:root {
  color-scheme: light dark;
  --bg: #F6EEE3;          /* linen 100 */
  --surface: #FBF7F1;     /* linen 50 */
  --mist: #EDE1D1;        /* linen 200 */
  --line: #E0CFBA;        /* linen 300 */
  --ink: #2A2723;         /* smoke 800 */
  --muted: #574D42;       /* stone 700 */
  --accent: #8F6B44;      /* glow 700: accent text on light */
  --accent-ui: #C9A27A;   /* glow 500: icons, rules */
  --accent-soft: rgb(201 162 122 / .16);
  --btn: #2A2723;
  --btn-hover: #3A3631;
  --on-btn: #FBF7F1;
  --halo: rgb(232 185 127 / .55);
  --deep: #1C1A17;        /* smoke 900 */
  --on-deep: #F6EEE3;
  --on-deep-2: #E0CFBA;
  --deep-accent: #E8C49B; /* glow 300 */
  --support: #6E7256;     /* sage 500 */
  --err: #B5543C;
  --shadow: rgb(42 39 35 / .18);
  --display: "Outfit", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --h-weight: 300;
}
@media (prefers-color-scheme: dark) {
  :root:not(.t-light) {
    --bg: #1C1A17; --surface: #2A2723; --mist: #3A3631; --line: #3A3631;
    --ink: #F6EEE3; --muted: #E0CFBA; --accent: #E8C49B; --accent-ui: #E8C49B; --accent-soft: rgb(232 196 155 / .14);
    --btn: #E8C49B; --btn-hover: #F2D6B4; --on-btn: #1C1A17; --deep: #131210; --support: #A9AD8F; --shadow: rgb(0 0 0 / .5); --err: #E08A70;
  }
}
/* 18-24: brighter page, Apricot for buttons and stickers */
.t-reach { --bg: #FBF7F1; --surface: #FFFFFF; --mist: #F6EEE3; --accent: #A65A35; --accent-ui: #E9A178; --accent-soft: rgb(233 161 120 / .18);
  --btn: #E9A178; --btn-hover: #F2B48A; --on-btn: #1C1A17; --halo: rgb(233 161 120 / .55); --deep-accent: #F2B48A; --h-weight: 600; }
@media (prefers-color-scheme: dark) { .t-reach:not(.t-light) { --bg: #1C1A17; --surface: #2A2723; --mist: #3A3631; --accent: #F2B48A; --accent-ui: #F2B48A; --btn: #E9A178; --btn-hover: #F2B48A; --on-btn: #1C1A17; } }
/* 25-34 track A: Sage promoted to lead support */
.t-ritual { --accent-ui: #6E7256; --accent-soft: rgb(110 114 86 / .14); }
@media (prefers-color-scheme: dark) { .t-ritual:not(.t-light) { --accent-ui: #A9AD8F; --accent-soft: rgb(169 173 143 / .16); } }
/* 25-34 men: always dark, Glow accent, Sage for "good" */
:root.t-train { color-scheme: dark; --bg: #1C1A17; --surface: #2A2723; --mist: #3A3631; --line: #3A3631; --ink: #FBF7F1; --muted: #E0CFBA;
  --accent: #E8C49B; --accent-ui: #C9A27A; --accent-soft: rgb(201 162 122 / .16); --btn: #C9A27A; --btn-hover: #E8C49B; --on-btn: #1C1A17;
  --deep: #131210; --support: #A9AD8F; --shadow: rgb(0 0 0 / .55); --err: #E08A70; --h-weight: 600; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent-ui); outline-offset: 3px; border-radius: 8px; }
.page { overflow-x: clip; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
.display { font-family: var(--display); font-weight: var(--h-weight); letter-spacing: -0.025em; text-wrap: balance; }
.h1 { font-size: clamp(44px, 5.8vw, 76px); line-height: 1.02; }
.h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; font-weight: max(400, var(--h-weight)); }
.h3 { font-family: var(--display); font-weight: max(400, var(--h-weight)); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.2; letter-spacing: -0.015em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); max-width: 32em; text-wrap: pretty; }
.body { color: var(--muted); max-width: 34em; text-wrap: pretty; }
.fine { font-size: 13.5px; color: var(--muted); }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.wm { display: inline-block; aspect-ratio: 1768 / 444; height: 22px; background: currentColor; -webkit-mask: url(../img/lumi-wordmark.svg) center / contain no-repeat; mask: url(../img/lumi-wordmark.svg) center / contain no-repeat; }
.ph { line-height: 1; }

/* buttons: one primary (smoked glass pill with the warm halo), one text link */
.btn { appearance: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--btn); color: var(--on-btn); font: 600 17px/1 var(--body); text-decoration: none; box-shadow: 0 0 28px -4px var(--halo); transition: transform .35s var(--ease), background-color .2s, box-shadow .35s var(--ease); }
.btn:hover { background: var(--btn-hover); color: var(--on-btn); transform: translateY(-2px); box-shadow: 0 0 40px 0 var(--halo); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ph { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover .ph { transform: translateX(3px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { cursor: progress; transform: none; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; }
.link:hover { color: var(--accent); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nav-logo { color: var(--ink); display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--ink); }
/* the nav CTA waits until the hero's own button has scrolled away, so two CTAs never share the screen */
.nav-cta { opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .2s; }
.nav-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: -68px 0 0 40%; background: radial-gradient(55% 55% at 60% 45%, var(--accent-soft), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; padding-block: 32px 72px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; min-height: calc(100dvh - 68px); padding-block: 24px 48px; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 8px; }
.hero-fig { position: relative; justify-self: center; width: min(100%, calc(min(78dvh, 720px) * 4 / 5)); }
.frame { position: relative; border-radius: 28px; overflow: hidden; background: var(--mist); box-shadow: 0 0 60px -10px var(--halo), 0 40px 80px -40px var(--shadow); }
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.hero-fig .frame { aspect-ratio: 4 / 5; }
.sticker { position: absolute; top: 18px; right: 18px; z-index: 2; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .12em; padding: 10px 16px; border-radius: 999px; background: var(--btn); color: var(--on-btn); box-shadow: 0 0 24px -2px var(--halo); }

/* scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .rv.in { opacity: 1; transform: none; }
  .rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
  .hero .frame { animation: rise 1.1s .15s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

.sec { padding-block: clamp(72px, 10vw, 128px); }
.sec-head { display: flex; flex-direction: column; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }

/* benefits bento */
.bento { display: grid; gap: 20px; }
@media (min-width: 960px) { .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); } .b1 { grid-column: 1 / 8; } .b2 { grid-column: 8 / 13; grid-row: 1 / 3; } .minis { grid-column: 1 / 8; } }
.cell { position: relative; border-radius: 28px; overflow: hidden; min-width: 0; }
.b1 { background: var(--mist); padding: clamp(24px, 3vw, 40px); display: grid; gap: 28px; }
@media (min-width: 700px) { .b1 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; } }
.cell-copy { display: flex; flex-direction: column; gap: 12px; }
.readout { background: var(--surface); border-radius: 20px; padding: 8px 20px; box-shadow: 0 20px 40px -24px var(--shadow); }
.r-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding-block: 14px; }
.r-row + .r-row { border-top: 1px solid var(--line); }
.r-ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ui); font-size: 18px; }
.r-txt b { display: block; font-weight: 600; font-size: 15.5px; }
.r-txt span { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }
.r-val { font-family: var(--display); font-weight: 400; font-size: 20px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r-val.good { color: var(--support); }
@media (prefers-reduced-motion: no-preference) {
  .readout .r-row { opacity: 0; transform: translateX(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .rv.in .readout .r-row { opacity: 1; transform: none; }
  .rv.in .readout .r-row:nth-child(2) { transition-delay: .15s; } .rv.in .readout .r-row:nth-child(3) { transition-delay: .3s; }
}
.b2 { min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; color: #FBF7F1; box-shadow: 0 0 50px -14px var(--halo); }
.b2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.b2:hover img { transform: scale(1.04); }
.b2::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(28 26 23 / .9)); }
.b2 .cell-copy { position: relative; z-index: 1; padding: clamp(24px, 3vw, 36px); }
.b2 .body { color: #EDE1D1; }
.minis { display: grid; gap: 20px; }
@media (min-width: 700px) { .minis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mini { border-radius: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.mini .ph { font-size: 24px; color: var(--accent-ui); margin-bottom: 4px; }
.mini b { font-family: var(--display); font-weight: 500; font-size: 18px; }
.mini span { font-size: 15px; color: var(--muted); }

/* how it works: the deep band with a sticky photo */
.how-band { background: var(--deep); color: var(--on-deep); }
.how-band .eyebrow { color: var(--deep-accent); }
.how-band .body { color: var(--on-deep-2); }
.how { display: grid; gap: 40px; }
@media (min-width: 960px) { .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.how-stick { display: none; }
.how .sec-head { margin-bottom: 0; }
@media (min-width: 960px) {
  .how-left { position: sticky; top: 100px; height: calc(100dvh - 140px); max-height: 820px; display: flex; flex-direction: column; gap: 28px; }
  .how-stick { display: block; flex: 1; min-height: 0; }
}
.shots { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #2A2723; box-shadow: 0 0 60px -12px var(--halo); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.shot.on { opacity: 1; transform: none; }
.steps { display: flex; flex-direction: column; }
@media (min-width: 960px) { .step { min-height: 70dvh; display: flex; flex-direction: column; justify-content: center; } .step:first-child { min-height: 58dvh; } }
.step { padding-block: 24px; }
.step-in { display: flex; flex-direction: column; gap: 14px; transition: opacity .6s var(--ease); }
@media (min-width: 960px) { .step-in { opacity: .32; } .step.on .step-in { opacity: 1; } }
.step-k { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; color: var(--deep-accent); }
.step-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--deep-accent); font-size: 15px; letter-spacing: 0; }
.step-t { color: var(--on-deep-2); letter-spacing: .08em; }
.step-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; margin-bottom: 8px; }
@media (min-width: 960px) { .step-img { display: none; } }

/* resonance */
.reso-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .reso-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } }
.reso-fig .frame { aspect-ratio: 4 / 5; }
.reso-copy { display: flex; flex-direction: column; gap: 22px; }
.tally { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-weight: 500; }
.tally s { text-decoration-color: var(--accent-ui); text-decoration-thickness: 2px; }
.quotes { display: grid; gap: 16px; padding-top: 6px; }
@media (min-width: 560px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { border-radius: 22px; padding: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.quote p { font-family: var(--display); font-size: 18px; line-height: 1.35; }
.quote footer { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.quote footer em { font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }

/* what Lumi reads */
.reads { display: grid; gap: 20px; }
@media (min-width: 860px) { .reads { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.group { border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.group.tint { background: var(--mist); border-color: transparent; }
.group-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.group-h .ph { font-size: 22px; color: var(--accent-ui); }
.m-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding-block: 13px; }
.m-row + .m-row { border-top: 1px solid var(--line); }
.m-row b { font-weight: 600; }
.m-row span { grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); }
.grade { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--accent-soft); color: var(--accent); }
.grade.solid { background: color-mix(in srgb, var(--support) 18%, transparent); color: var(--support); }
.privacy { margin-top: 20px; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 999px; border: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.privacy .ph { font-size: 22px; color: var(--accent-ui); flex: none; }

/* reserve */
.res { background: radial-gradient(60% 60% at 85% 20%, var(--accent-soft), transparent 70%); }
.res-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .res-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; } }
.res-copy { display: flex; flex-direction: column; gap: 22px; }
.perks { display: flex; flex-direction: column; gap: 16px; padding-top: 6px; }
.perk { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.perk .ph { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ui); font-size: 19px; }
.perk b { display: block; font-weight: 600; }
.perk span { color: var(--muted); font-size: 15.5px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 0 60px -20px var(--halo), 0 40px 80px -40px var(--shadow); display: flex; flex-direction: column; gap: 20px; }
.or { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.label { font-weight: 600; font-size: 15px; }
.input { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid color-mix(in srgb, var(--muted) 40%, var(--line)); background: var(--bg); color: var(--ink); font: 400 17px var(--body); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--accent-ui); box-shadow: 0 0 0 4px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--err); }
.err { font-size: 14px; color: var(--err); display: flex; align-items: center; gap: 6px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 15px; background: color-mix(in srgb, var(--err) 10%, var(--surface)); color: var(--ink); }
.alert .ph { color: var(--err); font-size: 20px; flex: none; margin-top: 1px; }
.alert.info { background: var(--mist); }
.alert.info .ph { color: var(--accent-ui); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; color: var(--muted); text-align: center; }
.loading-bar { position: relative; overflow: hidden; }
.loading-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .3) 50%, transparent 80%); animation: shimmer 1.1s linear infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.cap { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 520px; }
.cap .input { flex: 1 1 220px; min-height: 56px; border-radius: 999px; padding: 0 22px; background: var(--surface); }
.cap .btn { flex: 1 0 auto; }
@media (min-width: 520px) { .cap .btn { flex: none; } }
.cap .err, .cap .fine { flex-basis: 100%; padding-inline: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* faq */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; } }
.faq-head { display: flex; flex-direction: column; gap: 16px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ph { font-size: 20px; color: var(--accent-ui); transition: transform .4s var(--ease); flex: none; }
.qa[open] summary .ph { transform: rotate(45deg); }
.qa p { padding-bottom: 22px; color: var(--muted); max-width: 40em; }

.foot { border-top: 1px solid var(--line); padding-block: 40px 48px; }
.foot-in { display: flex; flex-direction: column; gap: 14px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* reserve sheet */
.sheet { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; pointer-events: none; visibility: hidden; transition: visibility 0s .6s; }
.scrim { position: absolute; inset: 0; background: rgb(28 26 23 / .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease); }
.panel { position: relative; width: min(100%, 500px); height: 100%; overflow-y: auto; background: var(--surface); padding: 24px clamp(20px, 3vw, 36px) 32px; display: flex; flex-direction: column; gap: 22px; transform: translateX(104%); transition: transform .6s var(--ease); box-shadow: -30px 0 80px -30px var(--shadow); }
.sheet.open { pointer-events: auto; visibility: visible; transition: none; }
.sheet.open .scrim { opacity: 1; }
.sheet.open .panel { transform: none; }
@media (max-width: 640px) {
  .sheet { align-items: flex-end; }
  .panel { width: 100%; height: auto; max-height: 94dvh; border-radius: 28px 28px 0 0; transform: translateY(104%); padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .panel::before { content: ""; align-self: center; width: 40px; height: 5px; border-radius: 999px; background: var(--line); margin-bottom: -6px; }
}
@media (prefers-reduced-motion: reduce) { .panel, .scrim { transition: none; } }
.instant .panel, .instant .scrim, .instant .sheet { transition: none; }
.panel-top { display: flex; align-items: center; justify-content: space-between; }
.x { appearance: none; border: 0; background: var(--mist); color: var(--ink); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; font-size: 18px; transition: transform .3s var(--ease); }
.x:hover { transform: rotate(90deg); }
.order { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border-radius: 20px; background: var(--mist); }
.order img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; object-position: 60% 30%; }
.order b { display: block; font-weight: 600; }
.order span { font-size: 14px; color: var(--muted); }
.order .price { font-family: var(--display); font-weight: 500; font-size: 22px; }
.done { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
#done-title:focus { outline: none; }
.done-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--on-btn); font-size: 30px; box-shadow: 0 0 28px -2px var(--halo); }
@media (prefers-reduced-motion: no-preference) { .done-mark { animation: pop .7s var(--ease) both; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.next { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 20px; background: var(--mist); }
.next ol { display: flex; flex-direction: column; gap: 12px; }
.next li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; font-size: 15px; }
.next li .ph { color: var(--accent-ui); font-size: 20px; }
.ask { width: 100%; display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.legend { font-weight: 600; font-size: 15px; padding: 0; }
.fs { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--muted) 35%, var(--line)); font-size: 15px; font-weight: 500; background: var(--surface); transition: background-color .2s, border-color .2s, color .2s; }
.opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.opt input:focus-visible + span { outline: 3px solid var(--accent-ui); outline-offset: 2px; }
.btn-quiet { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--muted) 35%, var(--line)); background: transparent; color: var(--ink); font: 600 16px var(--body); text-decoration: none; }
.btn-quiet:hover { background: var(--mist); color: var(--ink); }
.row-gap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pitch-perks { display: flex; flex-direction: column; gap: 14px; }
