/* ==========================================================================
   Dayscripts — styles
   Sections: tokens · base · buttons · nav · hero · story · sections ·
             steps · product · quiz · faq · closing · footer · legal · motion
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --muted-dark: #86868b;
  --line: #d2d2d7;
  --line-dark: #333336;
  --gray-bg: #f5f5f7;
  --white: #fff;
  --accent: #2997ff;
  --accent-ink: #0066cc;
  --warn: #b25000;

  --safe-top: env(safe-area-inset-top, 0px);
  --nav-h: 52px;
  --nav-total: calc(var(--nav-h) + var(--safe-top));
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1080px;
  --gutter: max(20px, min(5vw, 40px));

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.4, .64, 1);

  /* type scale */
  --fs-hero: clamp(44px, 8.4vw, 96px);
  --fs-h2: clamp(36px, 5.6vw, 64px);
  --fs-caption: clamp(30px, 4.6vw, 52px);
  --fs-lede: clamp(17px, 1.8vw, 21px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-total) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
strong { font-weight: 600; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: calc(12px + var(--safe-top)); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }

.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted-dark); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  border: 0; border-radius: 980px; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), transform .35s var(--ease-spring), box-shadow .3s var(--ease);
}
.btn--primary { background: var(--white); color: var(--black); }
.btn--primary:hover { background: #e8e8ed; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 255, 255, .12); }
.btn--primary:active { transform: scale(.97); }
.section--light .btn--primary,
.section--gray .btn--primary { background: var(--ink); color: var(--white); }
.section--light .btn--primary:hover,
.section--gray .btn--primary:hover { background: #000; box-shadow: 0 10px 28px rgba(0, 0, 0, .18); }
.btn--sm { font-size: 14px; padding: 7px 15px; }
.btn--lg { font-size: 17px; padding: 15px 30px; }
.btn--block { width: 100%; }

/* ---------- Nav (persistent CTA) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-total); padding-top: var(--safe-top);
  background: rgba(22, 22, 23, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #f5f5f7;
}
.nav__inner {
  height: var(--nav-h); max-width: var(--container); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav__logo { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; flex: none; }
.nav__links { display: flex; gap: 28px; font-size: 13px; }
.nav__links a { position: relative; text-decoration: none; color: rgba(245, 245, 247, .72); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__price { font-size: 13px; color: rgba(245, 245, 247, .7); font-variant-numeric: tabular-nums; }

@media (max-width: 760px) { .nav__links { display: none; } }
@media (max-width: 360px) { .nav__price { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-total) + 48px) var(--gutter) 120px;
  color: #f5f5f7; background: radial-gradient(120% 80% at 50% 110%, #1c1c1e 0%, #000 60%);
}
.hero__inner { max-width: 980px; }
.hero__eyebrow { animation: rise 1s var(--ease) .1s both; }
.hero__title {
  font-size: var(--fs-hero); line-height: 1.04; font-weight: 600; letter-spacing: -0.045em;
  animation: rise 1.1s var(--ease) .2s both;
}
.hero__title-dim {
  background: linear-gradient(90deg, #a1a1a6, #f5f5f7 45%, #a1a1a6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin: 28px auto 0; max-width: 620px;
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted-dark);
  animation: rise 1.1s var(--ease) .35s both;
}
.hero__actions {
  margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: rise 1.1s var(--ease) .5s both;
}
.hero__price { font-size: 14px; color: var(--muted-dark); }

.trust {
  list-style: none; margin: 48px auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  font-size: 13px; color: #a1a1a6; animation: rise 1.1s var(--ease) .65s both;
}
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6e6e73; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 28px; height: 56px; display: flex; justify-content: center;
}
.hero__scroll-line {
  width: 1px; height: 100%; background: linear-gradient(transparent, #f5f5f7);
  animation: scrollcue 2.2s var(--ease) infinite; transform-origin: top;
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes scrollcue {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Scroll story ---------- */
.story { position: relative; height: 700vh; background: var(--black); color: #f5f5f7; }
.story__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: 1fr auto; padding-top: var(--nav-total);
}
.story__glow {
  position: absolute; left: 50%; top: 42%; width: min(900px, 140vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(120, 140, 255, .16), rgba(120, 140, 255, .05) 45%, transparent 70%);
}

.story__object {
  --tablet-x: 0px;    /* horizontal offset of tablet while separated */
  --label-x: 130px;   /* ingredient labels relative to center */
  position: relative; width: 100%; height: 100%; min-height: 300px;
}
.story__object > * { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; }

/* Bottle */
.bottle { width: clamp(150px, 26vh, 240px); transform: translate(-50%, -50%); opacity: 0; }
.bottle__svg { position: relative; z-index: 1; width: 100%; height: auto; overflow: visible; }
.bottle__shadow {
  position: absolute; left: 50%; bottom: -4%; width: 90%; height: 8%;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .14), transparent);
  filter: blur(4px);
}
#bottleCap { transform-box: fill-box; transform-origin: 50% 100%; }
.lbl { fill: #f5f5f7; font-family: var(--font); }
.lbl--brand { font-size: 19px; font-weight: 700; letter-spacing: .18em; }
.lbl--name { font-size: 15px; font-weight: 400; letter-spacing: .02em; fill: #a1a1a6; }
.lbl--meta { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; fill: #6e6e73; }

/* Tablet */
.tablet { width: 0; height: 0; opacity: 0; }
.tablet__layer { position: absolute; left: 0; top: 0; }
.tablet__disc {
  position: absolute; left: 0; top: 0; display: block;
  width: clamp(130px, 18vh, 180px); aspect-ratio: 1 / .42; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(120% 140% at 35% 25%, #ffffff 0%, #ececf0 55%, #c9c9ce 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 9px 0 -1px #b4b4ba,
    0 9px 0 0 #9b9ba1,
    0 30px 50px rgba(0, 0, 0, .55);
}
.tablet__layer[data-layer="0"] .tablet__disc { background: radial-gradient(120% 140% at 35% 25%, #ffffff 0%, #eef3ff 55%, #c6cfe0 100%); }
.tablet__layer[data-layer="2"] .tablet__disc { background: radial-gradient(120% 140% at 35% 25%, #ffffff 0%, #f6f1ea 55%, #d6cec2 100%); }
.tablet__layer[data-layer="0"] { z-index: 3; }
.tablet__layer[data-layer="1"] { z-index: 2; }
.tablet__layer[data-layer="2"] { z-index: 1; }
.tablet__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scaleY(.45);
  font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
  color: rgba(0, 0, 0, .07); text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}

/* Ingredient labels */
.ingredients { margin: 0; padding: 0; list-style: none; width: 0; height: 0; }
.ingredient {
  position: absolute; left: var(--label-x); top: 0; width: 220px;
  transform: translateY(-50%); opacity: 0;
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline;
  padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .25);
}
.ingredient__dose { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.ingredient__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.ingredient__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted-dark); }

/* Month ring */
.month { --ring: min(36vh, 72vw, 340px); width: var(--ring); height: var(--ring); transform: translate(-50%, -50%); opacity: 0; }
.month__ring { position: absolute; inset: 0; }
.month__dot {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--ring) * .072); aspect-ratio: 1; margin: calc(var(--ring) * -.036);
  border-radius: 50%; background: #1d1d1f; box-shadow: inset 0 0 0 1px #2c2c2e;
  transform: rotate(calc(var(--i) * 12deg)) translateY(calc(var(--ring) / -2 + var(--ring) * .04));
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.month__dot.is-on { background: radial-gradient(circle at 35% 30%, #fff, #d4d4d9); box-shadow: 0 0 14px rgba(255, 255, 255, .22); }
.month__center {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.month__num { font-size: calc(var(--ring) * .26); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.month__label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }

/* Captions */
.story__captions {
  position: relative; height: 210px; margin: 0 auto 7vh; width: 100%; max-width: 760px;
}
.caption {
  position: absolute; inset: 0 var(--gutter); text-align: center;
  opacity: 0; transform: translateY(16px); pointer-events: none;
}
.caption__title { font-size: var(--fs-caption); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.caption__body { margin: 16px auto 0; max-width: 540px; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.4; color: var(--muted-dark); }

/* Chapter progress: vertical rail on desktop, segmented bar on mobile */
.chapters {
  position: absolute; right: max(28px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px;
}
.chapter { width: 2px; height: 28px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.chapter span {
  display: block; width: 100%; height: 100%; background: #f5f5f7;
  transform-origin: top; transform: scaleY(var(--f, 0));
}

@media (max-width: 760px) {
  .story__object { --tablet-x: -78px; --label-x: 4px; }
  .ingredient { width: 170px; padding-left: 10px; }
  .ingredient__name { font-size: 18px; }
  .ingredient__note { font-size: 12px; }
  .story__captions { height: 200px; margin-bottom: 5vh; }
  .chapters {
    top: calc(var(--nav-total) + 10px); right: auto; left: var(--gutter); width: calc(100% - var(--gutter) * 2);
    transform: none; flex-direction: row; gap: 4px;
  }
  .chapter { flex: 1; height: 2px; width: auto; }
  .chapter span { transform-origin: left; transform: scaleX(var(--f, 0)); }
}

/* ---------- Generic sections ---------- */
.section { padding-block: clamp(96px, 14vw, 160px); }
.section--light { background: var(--white); }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--black); color: #f5f5f7; }
.section__title { font-size: var(--fs-h2); line-height: 1.06; font-weight: 600; letter-spacing: -0.04em; max-width: 820px; }
.section__title--light { color: #f5f5f7; }
.section__lede { margin-top: 20px; font-size: var(--fs-lede); color: var(--muted-dark); max-width: 620px; }

/* ---------- How it works ---------- */
.steps {
  list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step {
  background: var(--gray-bg); border-radius: var(--radius); padding: 36px 30px 40px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.js .step.is-visible:hover, .step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, .06); }
.step__num { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 48px; }
.step__title { font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; }
.step__body { color: var(--ink-2); }

.assurance { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.assurance__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.assurance__item p { color: var(--ink-2); font-size: 15px; }
.assurance__icon {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; margin-top: 1px;
}

@media (max-width: 900px) {
  .steps, .assurance { grid-template-columns: 1fr; }
  .step__num { margin-bottom: 24px; }
}

/* ---------- Product card ---------- */
.product {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
  background: var(--white); border-radius: 30px;
}
.product__visual {
  background: radial-gradient(90% 90% at 50% 40%, #2a2a2c 0%, #000 75%);
  display: grid; place-items: center; min-height: 460px; padding: 40px;
}
.product__bottle { display: flex; flex-direction: column; align-items: center; transform: rotate(-6deg); transition: transform .9s var(--ease); }
.product:hover .product__bottle { transform: rotate(-2deg) translateY(-6px); }
.product__cap {
  width: 104px; height: 46px; border-radius: 10px;
  background: linear-gradient(90deg, #0a0a0a, #3a3a3c 35%, #1c1c1e 55%, #000);
}
.product__body {
  margin-top: 4px; width: 150px; height: 220px; border-radius: 28px;
  background: linear-gradient(90deg, #b9b9bd, #ececef 18%, #fff 42%, #e3e3e6 70%, #9d9da2);
  display: flex; align-items: center; box-shadow: 0 50px 80px rgba(0, 0, 0, .5);
}
.product__label {
  width: 100%; background: #111; color: #f5f5f7; text-align: center; padding: 22px 0;
  font-size: 15px; font-weight: 700; letter-spacing: .18em;
}
.product__label small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .04em; color: #a1a1a6; margin-top: 4px; }

.product__info { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; min-width: 0; }
.product__name { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }
.product__price { margin: 10px 0 28px; font-size: 48px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.product__per { font-size: 19px; font-weight: 400; color: var(--muted); letter-spacing: -0.01em; margin-left: 2px; }
.product__specs { margin: 0 0 32px; }
.product__specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.product__specs div:last-child { border-bottom: 1px solid var(--line); }
.product__specs dt { color: var(--muted); }
.product__specs dd { margin: 0; color: var(--ink); }
.product__warnings { margin-top: 24px; display: grid; gap: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.product__warnings a { color: var(--accent-ink); }
.warning {
  padding: 12px 14px; border-radius: 10px; background: #fff6ec; color: #5c3400;
  border: 1px solid #f4dcc0;
}
.warning strong { color: var(--warn); }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product__visual { min-height: 320px; }
  .product__specs div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Quiz ---------- */
.quiz {
  margin-top: 48px; background: #161617; border: 1px solid #262628; border-radius: 28px;
  padding: clamp(22px, 4vw, 44px); min-height: 420px; display: flex; flex-direction: column;
}
.quiz__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.quiz__progress { flex: 1; height: 4px; background: #2c2c2e; border-radius: 4px; overflow: hidden; }
.quiz__bar { display: block; height: 100%; width: 0; background: #f5f5f7; border-radius: 4px; transition: width .5s var(--ease); }
.quiz__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.quiz__price-label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.quiz__price-value { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.quiz__price-value small { font-size: 14px; font-weight: 400; color: var(--muted-dark); }

.quiz__body { flex: 1; display: flex; flex-direction: column; }
.quiz__step { animation: quizIn .5s var(--ease) both; display: flex; flex-direction: column; flex: 1; }
@keyframes quizIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.quiz__count { font-size: 13px; color: var(--muted-dark); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.quiz__q { font-size: clamp(24px, 3.2vw, 32px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 28px; outline: none; }
.quiz__options { display: grid; gap: 12px; }
.quiz__option {
  font: inherit; text-align: left; cursor: pointer;
  padding: 18px 22px; border-radius: 16px; border: 1px solid #333336; background: transparent; color: #f5f5f7;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: border-color .2s, background-color .2s, transform .3s var(--ease-spring);
}
.quiz__option:hover { border-color: #6e6e73; background: #1d1d1f; }
.quiz__option:active { transform: scale(.985); }
.quiz__option[aria-pressed="true"] { border-color: #f5f5f7; background: #1d1d1f; }
.quiz__option::after { content: "→"; color: var(--muted-dark); transition: transform .2s; }
.quiz__option:hover::after { transform: translateX(3px); color: #f5f5f7; }
.quiz__nav { margin-top: auto; padding-top: 24px; }
.quiz__back { font: inherit; font-size: 15px; background: none; border: 0; color: var(--muted-dark); cursor: pointer; padding: 6px 0; }
.quiz__back:hover { color: #f5f5f7; }

.quiz__result { text-align: center; padding-top: 4px; }
.quiz__result-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.quiz__result-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; outline: none; }
.quiz__result-title .price { white-space: nowrap; }
.quiz__summary { list-style: none; margin: 24px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 560px; }
.quiz__summary li { font-size: 13px; padding: 7px 13px; border-radius: 980px; background: #232325; color: #d2d2d7; }
.quiz__inside { margin-top: 20px; color: var(--muted-dark); font-size: 15px; }
.quiz__result .btn { margin-top: 28px; }
.quiz__fine { margin: 18px auto 0; max-width: 480px; font-size: 13px; color: var(--muted-dark); }
.quiz__restart { margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(19px, 2vw, 22px); font-weight: 600; letter-spacing: -0.02em;
  transition: color .2s;
}
.faq__item summary:hover { color: #000; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .35s var(--ease), margin .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: 0 44px 26px 0; color: var(--ink-2); display: grid; gap: 12px; }
.faq__a a { color: var(--accent-ink); }
.faq__item[open] .faq__a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Closing ---------- */
.closing { background: var(--black); color: #f5f5f7; text-align: center; padding-block: clamp(110px, 16vw, 180px); }
.closing__title { font-size: var(--fs-h2); line-height: 1.06; font-weight: 600; letter-spacing: -0.04em; max-width: 820px; margin: 0 auto; }
.closing__sub { margin: 20px 0 36px; font-size: var(--fs-lede); color: var(--muted-dark); }

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-bg); color: var(--muted); font-size: 12px; line-height: 1.5;
  padding-block: 36px calc(44px + env(safe-area-inset-bottom, 0px));
}
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.footer__logo { font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }
.footer__email { color: var(--ink-2); text-decoration: none; font-size: 13px; }
.footer__email:hover { text-decoration: underline; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: var(--ink-2); text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current="page"] { text-decoration: underline; }
.footer__legal { margin-top: 20px; max-width: 820px; }
.footer__copy { margin-top: 12px; }

/* ---------- Legal pages ---------- */
.legal { background: var(--white); min-height: 100vh; padding-block: calc(var(--nav-total) + 64px) 120px; }
.legal__crumb { display: inline-block; font-size: 14px; color: var(--accent-ink); text-decoration: none; margin-bottom: 28px; }
.legal__crumb:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.07; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 12px; }
.legal__meta { color: var(--muted); margin-bottom: 32px; font-size: 15px; }
.legal__notice { background: var(--gray-bg); border-radius: var(--radius-sm); padding: 16px 20px; font-size: 15px; color: var(--ink-2); margin-bottom: 40px; }
.legal__toc { margin: 0 0 40px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; }
.legal__toc p { font-weight: 600; margin-bottom: 8px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.legal h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin: 44px 0 12px; }
.legal p, .legal li { color: var(--ink-2); max-width: 68ch; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0 0; }
.legal a { color: var(--accent-ink); }
.legal .warning { margin-top: 14px; max-width: 68ch; }
.legal__back { display: inline-block; margin-top: 56px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .assurance .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3), .js .assurance .reveal:nth-child(3) { transition-delay: .16s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Without JavaScript: show content statically ---------- */
.quiz__static { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.quiz__static .quiz__q { font-size: 20px; margin-bottom: 10px; }
.quiz__static ul { margin: 0; padding-left: 18px; color: #a1a1a6; display: grid; gap: 4px; }
.quiz__static-result { margin-top: 36px; padding-top: 28px; border-top: 1px solid #2c2c2e; display: grid; justify-items: start; gap: 20px; }
.quiz__static-result .quiz__result-title { font-size: clamp(22px, 3vw, 30px); }

html:not(.js) .story { height: auto; }
html:not(.js) .story__stage { position: relative; height: auto; display: block; padding-block: calc(var(--nav-total) + 64px) 64px; }
html:not(.js) .story__object, html:not(.js) .chapters, html:not(.js) .story__glow { display: none; }
html:not(.js) .story__captions { height: auto; margin: 0 auto; display: grid; gap: 56px; }
html:not(.js) .caption { position: static; opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding-block: 80px; }
  .section__title, .closing__title { font-size: 34px; letter-spacing: -0.035em; }
  .section__lede, .closing__sub { font-size: 17px; }
  .hero { padding-bottom: 96px; }
  .hero__sub { margin-top: 20px; }
  .hero__actions { margin-top: 32px; }
  .trust { margin-top: 36px; gap: 8px 18px; font-size: 12px; }
  .caption__body { font-size: 16px; margin-top: 12px; }
  .steps { margin-top: 40px; gap: 14px; }
  .step { padding: 26px 22px 28px; }
  .step__title { font-size: 21px; }
  .assurance { gap: 14px; margin-top: 14px; }
  .assurance__item { padding: 18px; }
  .product { margin-top: 40px; border-radius: 24px; }
  .product__visual { min-height: 260px; }
  .product__price { font-size: 42px; margin-bottom: 22px; }
  .quiz { margin-top: 36px; padding: 20px; border-radius: 22px; min-height: 0; }
  .quiz__head { margin-bottom: 26px; gap: 16px; }
  .quiz__q { font-size: 22px; margin-bottom: 20px; }
  .quiz__option { padding: 16px 18px; }
  .quiz__result .btn, .quiz__static-result .btn { width: 100%; }
  .faq { margin-top: 36px; }
  .faq__item summary { padding: 20px 36px 20px 0; font-size: 18px; }
  .faq__a { padding-right: 0; font-size: 16px; }
  .closing { padding-block: 96px; }
  .footer__top { align-items: flex-start; flex-direction: column; }
}
