/* Clean landing (design A): black / white / grey page, colour only inside media. */
:root {
  --bg: #F5F5F7; --card: #FFFFFF; --soft: #EDEDF0; --ink: #0B0B0C; --mute: #6E6E73; --line: #E2E2E6;
  --blue: #0A66FF; --r: 28px; --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", -apple-system, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 80px; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 650; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7.4vw, 96px); }
h2 { font-size: clamp(32px, 4.6vw, 58px); text-align: center; margin-bottom: 14px; }
h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 10px; }
.sub { color: var(--mute); font-size: 18px; max-width: 620px; }
.center { text-align: center; margin: 0 auto; }
.eyebrow { color: var(--mute); font-size: 14px; font-weight: 600; text-align: center; margin-bottom: 10px; }
.small { color: var(--mute); font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 17px; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease); }
.btn:active { transform: scale(.97); }
.btn s { font-weight: 500; opacity: .5; font-size: 15px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26262A; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.btn-ghost { background: var(--card); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #C9C9CF; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255,255,255,.18); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 15px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 64px; padding: 0 max(20px, calc((100vw - 1200px) / 2)); background: rgba(245,245,247,.78);
  backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.brand { font-weight: 750; letter-spacing: -.02em; font-size: 18px; }
.links { display: flex; gap: 28px; color: var(--mute); font-size: 15px; font-weight: 500; }
.links a:hover { color: var(--ink); }

/* Hero */
.hero { text-align: center; padding: 72px 20px 40px; overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--mute); margin-bottom: 26px; }
.pill b { background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; }
.hero .lead { color: var(--mute); font-size: clamp(18px, 1.6vw, 21px); max-width: 560px; margin: 22px auto 30px; }
.ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.meta { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--mute); font-size: 15px; }
.meta b { color: var(--ink); font-variant-numeric: tabular-nums; }
.meta li + li::before { content: "·"; margin-right: 22px; color: #B5B5BB; }

/* Hero entrance */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero .rise:nth-child(2) { animation-delay: .08s; } .hero .rise:nth-child(3) { animation-delay: .18s; }
.hero .rise:nth-child(4) { animation-delay: .28s; } .hero .rise:nth-child(5) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Coverflow */
.flow { position: relative; height: clamp(440px, 46vw, 600px); margin-top: 56px; perspective: 1400px; touch-action: pan-y; user-select: none;
  opacity: 0; animation: rise 1.1s .45s var(--ease) forwards; }
.reel { position: absolute; left: 50%; top: 0; width: clamp(230px, 21vw, 300px); aspect-ratio: 9 / 16; margin-left: calc(clamp(230px, 21vw, 300px) / -2);
  border-radius: 30px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 30px 60px -20px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.05);
  transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s var(--ease); will-change: transform; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .bar { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 3px; border-radius: 3px; background: rgba(0,0,0,.12); overflow: hidden; opacity: 0; transition: opacity .3s; }
.reel .bar i { display: block; height: 100%; width: 0; background: var(--ink); }
.reel.on .bar { opacity: 1; }
.flow-ui { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center;
  transition: transform .3s var(--ease), border-color .2s; }
.round:hover { border-color: #C9C9CF; transform: scale(1.05); }
.round svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dots { display: flex; gap: 8px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: #C9C9CF; cursor: pointer; transition: width .5s var(--ease), background .3s; }
.dots button.on { width: 26px; background: var(--ink); }
.flow-cap { color: var(--mute); font-size: 15px; margin-top: 14px; min-height: 24px; transition: opacity .3s; }

/* Scroll-fill paragraph */
.moment { max-width: 1000px; margin: 0 auto; padding: 110px 24px; }
.fill { font-size: clamp(28px, 4vw, 50px); font-weight: 750; letter-spacing: -.03em; line-height: 1.18; text-align: center; }
.fill span { color: #D2D2D7; transition: color .35s; }
.fill span.lit { color: var(--ink); }

/* Cards & layout */
.card { background: var(--card); border-radius: var(--r); padding: 36px; }
.wide { max-width: 1200px; margin: 0 auto 28px; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 64px); }
.wide > .sub { margin: 0 auto 30px; text-align: center; }
.block { max-width: 1200px; margin: 0 auto; padding: 90px 20px 20px; }
.block > h2 { margin-bottom: 34px; }
.block > h2 + .sub { margin-top: -18px; margin-bottom: 34px; }
.block > .grid3 + .sub { margin-top: 28px; }
.narrow { max-width: 820px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Quiz chips */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.chip { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 12px 18px; font: 500 15px/1.3 var(--font); color: var(--ink);
  cursor: pointer; text-align: left; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.chip:hover { border-color: #C9C9CF; transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.result { max-width: 720px; margin: 28px auto 0; }
.result .box { background: var(--bg); border-radius: 22px; padding: 26px 28px; animation: rise .6s var(--ease) both; }
.result h3 { font-size: 20px; }
.result ol { list-style: none; display: grid; gap: 8px; margin: 14px 0 20px; }
.result li { display: flex; gap: 14px; align-items: baseline; opacity: 0; animation: rise .5s var(--ease) forwards; }
.result li span { color: var(--mute); font-size: 13px; font-weight: 600; min-width: 74px; }
.result .hint { color: var(--mute); font-size: 15px; }

/* Steps */
.step { position: relative; overflow: hidden; min-height: 300px; }
.num { font-size: 64px; font-weight: 800; letter-spacing: -.05em; color: #E4E4E8; line-height: 1; display: block; margin-bottom: 18px; }
.step .ico { position: absolute; top: 34px; right: 30px; width: 46px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step .ico .draw { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1.2s .3s var(--ease); }
.step.in .ico .draw { stroke-dashoffset: 0; }
.step .ico .dot { fill: var(--ink); animation: pulse 2.4s infinite var(--ease); transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 50% { transform: scale(1.7); } }
.step p, .day p { color: var(--mute); }

/* Phone with scrolling pages */
.split { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
.split .eyebrow, .split h2 { text-align: left; }
.split .sub { margin-bottom: 20px; }
.ticks { list-style: none; display: grid; gap: 10px; margin: 6px 0 28px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.phone { justify-self: center; width: min(300px, 74vw); aspect-ratio: 9 / 19; background: #0B0B0C; border-radius: 48px; padding: 11px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.35); }
.screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; }
.pages { transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
.pages img { width: 100%; height: auto; }

/* Chats */
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 250px; }
.ctx { color: var(--mute); font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.msg { max-width: 88%; padding: 11px 15px; border-radius: 20px; font-size: 16px; line-height: 1.4; }
.msg.bad { align-self: flex-end; background: var(--soft); color: var(--mute); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.45); }
.msg.good { align-self: flex-end; background: var(--ink); color: #fff; min-height: 44px; min-width: 60px; }
.msg.good.typing::after { content: "▍"; animation: blink .8s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

/* Modules */
.mods { display: grid; gap: 12px; }
.mod { background: var(--card); border-radius: 24px; overflow: hidden; }
.mod summary { list-style: none; display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 22px; padding: 14px 26px 14px 14px; cursor: pointer; }
.mod summary::-webkit-details-marker { display: none; }
.mod .thumb { width: 96px; height: 64px; border-radius: 14px; background: var(--bg); overflow: hidden; }
.mod .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod .t { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.mod .t small { display: block; color: var(--mute); font-weight: 400; font-size: 15px; letter-spacing: 0; }
.mod .n { color: var(--mute); font-size: 14px; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.mod .n i { width: 28px; height: 28px; border-radius: 50%; background: var(--bg); position: relative; transition: transform .4s var(--ease); }
.mod .n i::before, .mod .n i::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); border-radius: 2px; }
.mod .n i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.mod[open] .n i::after { transform: rotate(0); }
.mod ol { list-style: none; padding: 4px 26px 22px 132px; display: grid; gap: 6px; color: var(--mute); }
.mod ol li span { color: var(--ink); font-weight: 600; margin-right: 10px; font-variant-numeric: tabular-nums; }

/* Bonuses */
.bonus .ico { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.bonus p { color: var(--mute); font-size: 16px; }
.bonus .tag { color: var(--mute); font-size: 12px; font-weight: 700; letter-spacing: .06em; float: right; }

/* For / not for, studies */
.big { font-size: 26px; font-weight: 800; letter-spacing: -.03em; margin: 18px 0; }
.studies { list-style: none; max-width: 820px; margin: 10px auto 0; display: grid; gap: 0; }
.studies li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--mute); }
.studies li b { color: var(--ink); }
.studies li i { display: block; font-size: 14px; font-style: normal; color: #9A9AA0; margin-top: 2px; }
.day .num { font-size: 44px; color: var(--ink); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 20px; padding: 0 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 650; font-size: 18px; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--mute); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mute); padding-bottom: 22px; margin-top: -6px; }

/* Final + footer */
.final { max-width: 1200px; margin: 90px auto 0; background: var(--ink); color: #fff; border-radius: 36px; text-align: center; padding: clamp(56px, 8vw, 110px) 24px; }
.final h2 { color: #fff; }
.final > p { color: #A1A1A6; font-size: 19px; margin: 0 auto 30px; max-width: 520px; }
.final .small { margin-top: 18px; color: #8E8E93; }
.foot { max-width: 1200px; margin: 0 auto; padding: 40px 20px 110px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.sticky { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; display: none;
  transform: translateY(140%); transition: transform .5s var(--ease); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.sticky.show { transform: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Tablet / phone */
@media (max-width: 900px) {
  .links { display: none; }
  .grid3, .grid2, .split { grid-template-columns: 1fr; }
  .split .eyebrow, .split h2 { text-align: center; }
  .split .copy { text-align: center; } .split .sub { margin: 0 auto 20px; } .ticks { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  .step { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { height: 58px; }
  .hero { padding-top: 48px; }
  .ctas .btn { width: 100%; }
  .meta li + li::before { display: none; }
  .meta { gap: 6px 16px; }
  .flow { height: 470px; margin-top: 40px; }
  .reel { width: 236px; margin-left: -118px; }
  .card { padding: 28px 22px; }
  .block { padding-top: 70px; }
  .moment { padding: 80px 22px; }
  .mod summary { grid-template-columns: 64px 1fr auto; gap: 14px; padding: 12px 16px 12px 12px; }
  .mod .thumb { width: 64px; height: 48px; }
  .mod .n b { display: none; }
  .mod ol { padding: 2px 20px 20px 20px; }
  .sticky { display: flex; }
  .final { border-radius: 28px; margin: 70px 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise, .reveal, .flow { opacity: 1; transform: none; }
  .fill span { color: var(--ink); }
}
