/* Future-Proof landing. Mobile first. */
:root {
  --canvas: #F2F6F3;
  --paper: #FFFFFF;
  --ink: #123F33;
  --ink-2: #4A6A60;
  --leaf: #1F5C4A;
  --mint: #A8E6C9;
  --mint-2: #DDF4E8;
  --sun: #FFC145;
  --sun-d: #E3A21F;
  --sun-2: #FFEBB8;
  --sky: #CFE2FF;
  --sky-d: #5C8FE6;
  --coral: #FF8A73;
  --line: rgba(18, 63, 51, .12);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --gut: 20px;
  --stage-h: 58svh;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sky-d); outline-offset: 3px; border-radius: 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) var(--gut) 10px;
  background: color-mix(in srgb, var(--canvas) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand { display: flex; gap: 9px; align-items: center; text-decoration: none; color: var(--ink); font: 700 18px/1 var(--display); letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; }
.sound-toggle {
  display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); background: var(--paper);
  padding: 7px 13px 7px 10px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.sound-toggle svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .spk { fill: var(--ink); }
.sound-toggle .mute { display: none; }
.sound-toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sound-toggle[aria-pressed="true"] svg { stroke: var(--sun); }
.sound-toggle[aria-pressed="true"] .spk { fill: var(--sun); }

/* Buttons */
.cta {
  border: 0; background: var(--sun); color: var(--ink); font: 700 18px/1 var(--display); letter-spacing: -.01em;
  padding: 19px 28px; border-radius: 999px; box-shadow: 0 5px 0 var(--sun-d); transition: transform .12s, box-shadow .12s;
}
.cta:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--sun-d); }
.cta.wide { width: 100%; }
.cta[disabled] { opacity: .45; cursor: not-allowed; }
.listen {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; border: 0; background: none; padding: 6px 2px;
  font-size: 15px; font-weight: 600; color: var(--leaf);
}
.listen-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--mint-2); position: relative; flex: none; }
.listen-ico::before { content: ""; position: absolute; left: 11px; top: 9px; border: 6px solid transparent; border-left: 9px solid var(--leaf); border-right: 0; }
.listen-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--leaf); opacity: 0; animation: ripple 2.8s cubic-bezier(.2, .6, .3, 1) infinite; }
.listen.is-playing .listen-ico::after { animation: none; }
.listen.is-playing .listen-ico { background: var(--leaf); }
.listen.is-playing .listen-ico::before { border: 0; left: 10px; top: 10px; width: 10px; height: 10px; background: repeating-linear-gradient(90deg, var(--sun) 0 3px, transparent 3px 7px); animation: eq .7s infinite alternate; }
@keyframes eq { to { transform: scaleY(.45); } }

/* Story: hero + sticky phone + chapters */
.story { display: flex; flex-direction: column; }
.hero { padding: calc(84px + env(safe-area-inset-top)) var(--gut) 8px; }
.hero h1 { font-size: clamp(40px, 11vw, 78px); line-height: .98; font-weight: 800; letter-spacing: -.035em; max-width: 13ch; }
.lede { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 36ch; }
.cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-note { font-size: 14px; color: var(--ink-2); }

.stage {
  position: sticky; top: 0; z-index: 5; height: var(--stage-h); padding-top: calc(58px + env(safe-area-inset-top));
  display: grid; place-items: center; pointer-events: none;
  background: linear-gradient(var(--canvas) 86%, color-mix(in srgb, var(--canvas) 0%, transparent));
}
.stage-art { display: none; }

/* Phone */
.phone {
  --pw: min(calc((var(--stage-h) - 72px) * .47), 78vw);
  width: var(--pw); aspect-ratio: 9 / 19; border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .028);
  background: var(--ink); box-shadow: 0 30px 60px -20px rgba(18, 63, 51, .45), inset 0 0 0 1.5px #2d5a4d;
  position: relative;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .125);
  background: var(--canvas); container-type: inline-size;
}
.island { position: absolute; z-index: 9; top: 2.2cqw; left: 50%; translate: -50%; width: 28cqw; height: 7.5cqw; border-radius: 9cqw; background: var(--ink); }
.screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; font-size: 5.2cqw; line-height: 1.3; }
.screen.on { opacity: 1; visibility: visible; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 3.6cqw 8cqw 0; height: 11cqw; font-size: 3.8cqw; }
.sb i { width: 7cqw; height: 3.2cqw; border-radius: 1cqw; border: .5cqw solid var(--ink); position: relative; }
.sb i::after { content: ""; position: absolute; inset: .5cqw; right: 1.6cqw; background: var(--ink); border-radius: .4cqw; }
.pad { padding: 3cqw 5.5cqw 0; }
.q { font: 700 8.6cqw/1.1 var(--display); letter-spacing: -.02em; margin: 2cqw 0 4.6cqw; }
.caret { display: inline-block; width: .5cqw; height: 4.6cqw; background: var(--leaf); vertical-align: -.8cqw; margin-left: .3cqw; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Screen: hero */
.feed { position: absolute; inset: 11cqw 0 0; overflow: hidden; padding: 0 5.85cqw; transition: filter .6s, opacity .6s; }
.feed-track { animation: feedscroll 2.2s linear infinite; }
@keyframes feedscroll { to { transform: translateY(-50%); } }
.post { background: var(--paper); border-radius: 4.68cqw; padding: 4.68cqw; margin-bottom: 4.68cqw; display: grid; grid-template-columns: 10.53cqw 1fr; gap: 2.34cqw 3.51cqw; }
.post .av { grid-row: span 2; width: 10.53cqw; height: 10.53cqw; border-radius: 50%; background: #c9d3ce; }
.post .ln { height: 3.04cqw; border-radius: 2.34cqw; background: #d3dbd7; align-self: center; }
.post .ph { grid-column: 1 / -1; height: 39.78cqw; border-radius: 3.51cqw; background: linear-gradient(135deg, #e2e7ea, #cfd6db); }
.post .c2 { background: #f1dcd6; } .post .ph.c2 { background: linear-gradient(135deg, #f6e0d9, #e9c7bd); }
.post .c3 { background: #d8dff0; } .post .ph.c3 { background: linear-gradient(135deg, #e0e6f5, #c9d3ee); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.home { position: absolute; inset: 11cqw 0 0; padding: 3.51cqw 7.02cqw; opacity: 0; transform: translateY(16.38cqw); transition: opacity .6s, transform .7s cubic-bezier(.2, .9, .25, 1.15); }
.home-top { display: flex; justify-content: space-between; align-items: center; margin: 2.34cqw 0 5.85cqw; }
.hi { font: 700 7.49cqw/1.1 var(--display); }
.streak { display: inline-flex; align-items: center; gap: 1.17cqw; background: var(--sun-2); padding: 1.64cqw 3.51cqw; border-radius: 10.53cqw; font-weight: 700; font-size: 4.68cqw; }
.streak svg { width: 4.68cqw; height: 4.68cqw; fill: #E8792B; }
.today { background: var(--ink); color: var(--paper); border-radius: 7.02cqw; padding: 5.85cqw; position: relative; overflow: hidden; }
.today img { width: 53.82cqw; margin: -2.34cqw auto 1.17cqw; }
.t-k { font-size: 4.21cqw; color: var(--mint); font-weight: 600; }
.t-h { font: 700 7.25cqw/1.12 var(--display); margin: 1.75cqw 0 3.51cqw; letter-spacing: -.01em; }
.t-m { display: flex; gap: 2.34cqw; font-size: 3.98cqw; }
.t-m span { background: rgba(255, 255, 255, .12); padding: 1.17cqw 3.04cqw; border-radius: 10.53cqw; }
.t-btn { display: block; margin-top: 4.68cqw; background: var(--sun); color: var(--ink); text-align: center; font: 700 5.38cqw/1 var(--display); padding: 4.68cqw; border-radius: 10.53cqw; box-shadow: 0 1.4cqw 0 var(--sun-d); }
.week { display: flex; gap: 2.34cqw; justify-content: center; margin-top: 7.02cqw; }
.week span { width: 10.53cqw; height: 2.57cqw; border-radius: 2.34cqw; background: #dbe5df; }
.week .on { background: var(--leaf); } .week .now { background: var(--sun); }
[data-screen="hero"].s1 .feed { filter: blur(1.4cqw); opacity: .35; }
[data-screen="hero"].s1 .feed-track { animation-play-state: paused; }
[data-screen="hero"].s1 .home { opacity: 1; transform: none; }

/* Screen: lessons */
.player { position: absolute; inset: 11cqw 0 0; padding: 2.34cqw 5.85cqw; display: flex; flex-direction: column; }
.pl-top { display: flex; align-items: center; gap: 3.51cqw; font-size: 3.98cqw; color: var(--ink-2); }
.x { width: 4.68cqw; height: 4.68cqw; position: relative; }
.x::before, .x::after { content: ""; position: absolute; left: 50%; top: 0; width: 0.7cqw; height: 100%; background: var(--ink-2); rotate: 45deg; }
.x::after { rotate: -45deg; }
.pl-bar { flex: 1; height: 2.34cqw; border-radius: 2.34cqw; background: #dbe5df; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 8%; background: var(--leaf); border-radius: 2.34cqw; transition: width 2.6s linear; }
.scene { position: relative; margin-top: 4.68cqw; height: 93.6cqw; border-radius: 7.02cqw; background: radial-gradient(circle at 50% 40%, var(--paper), var(--mint-2)); overflow: hidden; }
.sc { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 2.34cqw; opacity: 0; transform: scale(.85) rotate(-4deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .25, 1.2); }
.sc img { width: 60.84cqw; }
.sc p { font: 700 5.85cqw/1 var(--display); }
.subs { position: relative; height: 15.21cqw; margin-top: 4.68cqw; font-size: 4.91cqw; text-align: center; color: var(--ink-2); }
.subs span { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.chapters-dots { display: flex; gap: 1.87cqw; justify-content: center; margin: 1.17cqw 0 4.68cqw; }
.chapters-dots i { width: 2.34cqw; height: 2.34cqw; border-radius: 50%; background: #cfdcd5; transition: background .3s; }
.exercise { margin-top: auto; margin-bottom: 7.02cqw; background: var(--paper); border-radius: 5.85cqw; padding: 5.26cqw; border: 0.58cqw solid var(--line); opacity: .45; filter: saturate(0); transform: translateY(3.51cqw); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .25, 1.15); }
.ex-k { font-size: 3.98cqw; font-weight: 700; color: var(--leaf); }
.ex-p { margin: 2.34cqw 0 4.09cqw; font-size: 4.91cqw; min-height: 12.87cqw; }
.ex-btn { display: block; text-align: center; background: var(--ink); color: var(--paper); font: 700 4.91cqw/1 var(--display); padding: 4.21cqw; border-radius: 10.53cqw; }
[data-screen="lessons"].s1 .sc1, [data-screen="lessons"].s2 .sc2, [data-screen="lessons"].s3 .sc3 { opacity: 1; transform: none; }
[data-screen="lessons"].s1 .subs .s1, [data-screen="lessons"].s2 .subs .s2, [data-screen="lessons"].s3 .subs .s3 { opacity: 1; }
[data-screen="lessons"].s1 .chapters-dots i:nth-child(-n+1),
[data-screen="lessons"].s2 .chapters-dots i:nth-child(-n+2),
[data-screen="lessons"].s3 .chapters-dots i:nth-child(-n+3),
[data-screen="lessons"].s4 .chapters-dots i { background: var(--leaf); }
[data-screen="lessons"].s1 .pl-bar i { width: 30%; }
[data-screen="lessons"].s2 .pl-bar i { width: 55%; }
[data-screen="lessons"].s3 .pl-bar i { width: 80%; }
[data-screen="lessons"].s4 .pl-bar i { width: 96%; }
[data-screen="lessons"].s4 .sc3 { opacity: .25; transform: none; }
[data-screen="lessons"].s4 .exercise { opacity: 1; filter: none; transform: none; box-shadow: 0 3.51cqw 9.36cqw -3.51cqw rgba(18,63,51,.3); }
.exercise { transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .25, 1.15), filter .5s; }

/* Screen: job */
.search { display: flex; align-items: center; gap: 2.81cqw; background: var(--paper); border: 0.7cqw solid var(--leaf); border-radius: 4.68cqw; padding: 3.98cqw 4.68cqw; font-size: 5.38cqw; min-height: 15.21cqw; }
.search svg { width: 5.62cqw; height: 5.62cqw; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; flex: none; }
.sugg { list-style: none; margin: 2.34cqw 0 0; padding: 0; background: var(--paper); border-radius: 4.68cqw; overflow: hidden; max-height: 0; transition: max-height .5s; }
.sugg li { padding: 3.74cqw 4.68cqw; border-bottom: 0.35cqw solid var(--line); font-size: 4.91cqw; transition: background .3s; }
.building { display: flex; gap: 3.04cqw; align-items: center; margin-top: 5.85cqw; font-size: 4.45cqw; color: var(--ink-2); opacity: 0; transition: opacity .4s; }
.spin { width: 5.15cqw; height: 5.15cqw; border-radius: 50%; border: 0.82cqw solid var(--mint); border-top-color: var(--leaf); animation: spin .8s linear infinite; }
@keyframes spin { to { rotate: 1turn; } }
.path { list-style: none; margin: 4.68cqw 0 0; padding: 0; }
.path li { display: flex; align-items: center; gap: 3.51cqw; background: var(--paper); border-radius: 4.68cqw; padding: 3.51cqw 4.21cqw; margin-bottom: 2.57cqw; font-size: 4.56cqw; line-height: 1.2; opacity: 0; transform: translateX(11.7cqw); transition: opacity .45s, transform .55s cubic-bezier(.2, .9, .25, 1.15); }
.path b { flex: none; display: grid; place-items: center; width: 8.19cqw; height: 8.19cqw; border-radius: 50%; background: var(--mint-2); color: var(--leaf); font: 700 4.21cqw/1 var(--display); }
.path li:first-child b { background: var(--sun); color: var(--ink); }
[data-screen="job"].s2 .sugg { max-height: 58.5cqw; }
[data-screen="job"].s3 .sugg .pick { background: var(--mint-2); font-weight: 700; }
[data-screen="job"].s4 .sugg { max-height: 0; }
[data-screen="job"].s4 .building { opacity: 1; }
[data-screen="job"].s5 .building { opacity: 0; }
[data-screen="job"].s5 .path li { opacity: 1; transform: none; }
.path li:nth-child(2) { transition-delay: .12s; } .path li:nth-child(3) { transition-delay: .24s; }
.path li:nth-child(4) { transition-delay: .36s; } .path li:nth-child(5) { transition-delay: .48s; }
[data-screen="job"].s5 .path { margin-top: -7.02cqw; }

/* Screen: fluency */
.wk { font-size: 4.45cqw; color: var(--ink-2); margin-top: -2.34cqw; }
.radar { width: 100%; margin: 1.17cqw 0 0; overflow: visible; }
.radar .rings polygon { fill: none; stroke: #cfdcd5; stroke-width: 1; }
.radar .rings line { stroke: #dbe5df; stroke-width: 1; }
.radar .area { fill: rgba(168, 230, 201, .65); stroke: var(--leaf); stroke-width: 2.5; stroke-linejoin: round; }
.radar .labels text { font: 600 10.5px var(--body); fill: var(--ink); text-anchor: middle; }
.lv { list-style: none; margin: 1.17cqw 0 0; padding: 0; }
.lv li { display: flex; justify-content: space-between; align-items: center; padding: 2.81cqw 0; border-bottom: 0.35cqw solid var(--line); font-size: 4.56cqw; }
.lv b { font-size: 3.98cqw; background: var(--mint-2); color: var(--leaf); padding: 1.17cqw 3.04cqw; border-radius: 10.53cqw; transition: background .3s; }
.lv b.up { background: var(--sun); color: var(--ink); }

/* Screen: career */
.ci { margin-top: 4.68cqw; background: var(--paper); border-radius: 5.85cqw; padding: 5.38cqw; opacity: 0; transform: translateY(9.36cqw); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .25, 1.15); }
.ci-h { display: flex; justify-content: space-between; align-items: center; font: 700 6.55cqw/1 var(--display); }
.ex { font: 600 3.51cqw/1 var(--body); background: var(--sky); color: #2a4f8f; padding: 1.4cqw 2.81cqw; border-radius: 10.53cqw; }
.ci-k { font-size: 3.86cqw; color: var(--ink-2); margin: 4.21cqw 0 2.34cqw; }
.bar { display: grid; grid-template-columns: 22.23cqw 1fr 11.7cqw; align-items: center; gap: 2.34cqw; font-size: 4.09cqw; margin-bottom: 2.34cqw; }
.bar i { height: 4.21cqw; border-radius: 3.51cqw; background: #eef2f0; position: relative; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); border-radius: 3.51cqw; background: linear-gradient(90deg, var(--sun), var(--coral)); transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar b { font: 700 4.91cqw/1 var(--display); text-align: right; }
.tasks { margin-top: 3.51cqw; display: grid; gap: 2.34cqw; font-size: 4.09cqw; line-height: 1.3; }
.tasks p { display: flex; gap: 2.34cqw; align-items: flex-start; }
.dot { flex: none; width: 3.04cqw; height: 3.04cqw; border-radius: 50%; margin-top: 1.17cqw; }
.dot.c { background: var(--coral); } .dot.g { background: var(--leaf); }
.next { display: flex; flex-wrap: wrap; gap: 2.34cqw; }
.next span { font-size: 3.98cqw; background: var(--mint-2); color: var(--leaf); padding: 1.87cqw 3.51cqw; border-radius: 10.53cqw; font-weight: 600; }
[data-screen="career"].s1 .ci { opacity: 1; transform: none; }
[data-screen="career"].s2 .bar i::after { transform: scaleX(1); }
[data-screen="career"].s2 .bar + .bar i::after { transition-delay: .35s; }

/* Screen: news */
.cap { background: var(--paper); border-radius: 5.85cqw; padding: 5.15cqw; margin-bottom: 3.51cqw; opacity: 0; transform: translateY(11.7cqw) scale(.96); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .25, 1.15); }
.tag { display: inline-block; font-size: 3.74cqw; font-weight: 700; background: var(--sky); color: #2a4f8f; padding: 1.17cqw 3.04cqw; border-radius: 10.53cqw; }
.tag.t2 { background: var(--sun-2); color: #8a5a00; } .tag.t3 { background: var(--mint-2); color: var(--leaf); }
.ch { font: 700 5.73cqw/1.15 var(--display); margin: 2.57cqw 0 1.87cqw; letter-spacing: -.01em; }
.cm { font-size: 4.21cqw; color: var(--ink-2); }
[data-screen="news"].s1 .c1, [data-screen="news"].s2 .c2, [data-screen="news"].s3 .c3, [data-screen="news"].s4 .c4 { opacity: 1; transform: none; }
[data-screen="news"].s4 .c1, [data-screen="news"].s4 .c2, [data-screen="news"].s4 .c3 { opacity: 1; transform: none; }
.tag.t4 { background: #FFE0D8; color: #a2402b; }
[data-screen="news"].s2 .c1, [data-screen="news"].s3 .c1, [data-screen="news"].s3 .c2 { opacity: 1; transform: none; }

/* Screen: rhythm */
.lbl { font-size: 3.9cqw; font-weight: 600; color: var(--ink-2); margin: 4cqw 0 2.4cqw; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.8cqw; }
.days span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font: 700 4.8cqw/1 var(--display); transition: background .3s, color .3s; }
[data-screen="rhythm"].s1 .days span:nth-child(-n+5) { background: var(--leaf); color: var(--paper); }
.days span:nth-child(2) { transition-delay: .1s; } .days span:nth-child(3) { transition-delay: .2s; }
.days span:nth-child(4) { transition-delay: .3s; } .days span:nth-child(5) { transition-delay: .4s; }
.per { margin-top: 3cqw; font-size: 4.4cqw; color: var(--ink-2); opacity: 0; transition: opacity .4s .5s; }
.per b { color: var(--ink); }
[data-screen="rhythm"].s1 .per { opacity: 1; }
.clock { background: var(--paper); border-radius: 6cqw; padding: 3cqw 0; display: grid; text-align: center; font: 700 7cqw/1.7 var(--display); }
.clock .dim { color: #b9c8c1; font-size: 5.2cqw; }
.clock .sel { background: var(--mint-2); margin: 0 4.6cqw; border-radius: 3.6cqw; }
.save { display: block; margin-top: 6cqw; text-align: center; background: var(--ink); color: var(--paper); font: 700 5cqw/1 var(--display); padding: 4.4cqw; border-radius: 9cqw; }
.set { transition: opacity .5s; }
.lock { position: absolute; inset: 0; z-index: 4; padding-top: 22cqw; text-align: center; color: var(--paper);
  background: radial-gradient(120% 70% at 50% 100%, #2c7a62 0%, transparent 70%), linear-gradient(170deg, #1d5446, #0f3329);
  opacity: 0; transition: opacity .6s; }
.l-date { font-size: 4.4cqw; opacity: .85; }
.l-time { font: 600 26cqw/1 var(--display); letter-spacing: -.03em; margin-top: 1cqw; }
.notif { margin: 12cqw 4.6cqw 0; display: grid; grid-template-columns: 10.5cqw 1fr auto; gap: 3.4cqw; align-items: center; text-align: left; background: rgba(255, 255, 255, .9); color: var(--ink); backdrop-filter: blur(8px); border-radius: 5.8cqw; padding: 4cqw; box-shadow: 0 4cqw 10cqw -4cqw rgba(0, 0, 0, .4); font-size: 4cqw; line-height: 1.25; transform: translateY(14cqw) scale(.94); opacity: 0; transition: transform .7s .35s cubic-bezier(.2, .9, .25, 1.15), opacity .5s .35s; }
.notif svg { width: 10.5cqw; height: 10.5cqw; }
.notif b { font-size: 4.3cqw; }
.notif p { color: var(--ink-2); }
.notif > span { align-self: start; color: var(--ink-2); font-size: 3.4cqw; }
[data-screen="rhythm"].s2 .lock { opacity: 1; }
[data-screen="rhythm"].s2 .notif { opacity: 1; transform: none; }

/* Chapters */
.chapters { position: relative; z-index: 1; }
.chapter { min-height: calc(100svh - var(--stage-h) + 14svh); padding: 4px var(--gut) 10svh; display: flex; flex-direction: column; justify-content: flex-start; }
.chapter h2 { font-size: clamp(30px, 8.4vw, 52px); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; }
.chapter p { margin-top: 14px; font-size: 17.5px; color: var(--ink-2); max-width: 38ch; }
.chapter.on h2 { color: var(--ink); }

/* How */
.how, .pricing, .faq, .final { padding: 84px var(--gut); }
.how h2, .pricing h2, .faq h2 { font-size: clamp(32px, 8.6vw, 56px); line-height: 1; letter-spacing: -.03em; max-width: 16ch; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: var(--paper); border-radius: 28px; padding: 24px; display: grid; grid-template-columns: 92px 1fr; gap: 4px 14px; align-items: center; counter-increment: s; position: relative; }
.steps img { grid-row: span 2; width: 112px; margin: -10px; max-width: none; }
.steps h3 { font-size: 22px; letter-spacing: -.02em; }
.steps h3::before { content: counter(s) ". "; color: var(--leaf); }
.steps p { font-size: 15.5px; color: var(--ink-2); }

/* Pricing */
.pricing { background: var(--ink); color: var(--paper); border-radius: 36px 36px 0 0; }
.pricing h2 { color: var(--paper); }
.plans { display: grid; gap: 14px; margin-top: 34px; }
.plan { border-radius: 28px; padding: 26px; background: rgba(255, 255, 255, .07); }
.plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.plan.pro { background: var(--paper); color: var(--ink); }
.founding { font: 700 13px/1 var(--body); background: var(--sun); color: var(--ink); padding: 6px 10px; border-radius: 999px; }
.price { margin-top: 10px; font-size: 16px; }
.price b { font: 800 46px/1 var(--display); letter-spacing: -.03em; margin-right: 4px; }
.price span { display: block; font-size: 14px; opacity: .7; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan .price { margin-top: 6px; }
.plan-incl { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 16px; }
.plan-incl li { display: flex; gap: 10px; }
.plan li::before, .plan-incl li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='%23123F33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.plan-note { margin-top: 18px; font-size: 15px; opacity: .75; }

/* FAQ */
.faq { background: var(--ink); color: var(--paper); padding-top: 24px; }
.faq h2 { color: var(--paper); margin-bottom: 18px; }
.faq details { border-top: 1px solid rgba(255, 255, 255, .14); }
.faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 600 18px/1.3 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--mint); border-bottom: 2px solid var(--mint); translate: 0 -70%; rotate: 45deg; transition: rotate .25s; }
.faq details[open] summary::after { rotate: -135deg; translate: 0 -20%; }
.faq details p { padding: 0 0 20px; color: rgba(255, 255, 255, .75); max-width: 60ch; }

/* Final */
.final { text-align: center; display: grid; justify-items: center; padding-bottom: 64px; }
.final img { width: 180px; margin-bottom: 8px; }
.final h2 { font-size: clamp(34px, 9vw, 64px); line-height: 1; letter-spacing: -.035em; max-width: 14ch; margin-bottom: 28px; }
.foot { padding: 28px var(--gut) calc(170px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot a { color: var(--ink); }

/* Narration player */
.dock {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); margin: 0 auto; max-width: 560px;
  display: grid; gap: 8px; pointer-events: none;
}
.dock > * { pointer-events: auto; }
.np {
  position: relative; display: grid; grid-template-columns: 44px 1fr 36px; gap: 10px; align-items: center; padding: 8px; border-radius: 22px;
  background: var(--ink); color: var(--paper); box-shadow: 0 16px 40px -12px rgba(18, 63, 51, .55); overflow: hidden;
  animation: rise .35s cubic-bezier(.2, .9, .25, 1.1);
}
.np[hidden] { display: none; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.dock-bar { display: flex; gap: 8px; align-items: center; transform: translateY(170%); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.2, .9, .25, 1.1), opacity .25s; }
.dock.show-bar .dock-bar { transform: none; opacity: 1; pointer-events: auto; }
.dock-cta { flex: 1; padding: 17px 18px; font-size: 17px; box-shadow: 0 4px 0 var(--sun-d), 0 14px 30px -12px rgba(18, 63, 51, .45); }
.dock-play {
  flex: none; display: inline-flex; align-items: center; gap: 9px; height: 55px; padding: 0 18px 0 9px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 700 16px/1 var(--display); box-shadow: 0 14px 30px -12px rgba(18, 63, 51, .6);
}
.dock-ico { width: 38px; height: 38px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; position: relative; }
.dock-ico svg { width: 17px; height: 17px; fill: var(--ink); margin-left: 2px; position: relative; animation: nudge 2.4s ease-in-out infinite; }
.dock-ico::before, .dock-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sun); animation: ripple 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.dock-ico::after { animation-delay: 1.2s; }
@keyframes ripple { from { transform: scale(1); opacity: .95; } to { transform: scale(1.85); opacity: 0; } }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 80% { transform: scale(1.18); } 90% { transform: scale(.94); } }
.dock.playing .dock-play { display: none; }
.np-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sun); display: grid; place-items: center; }
.np-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.np-btn .play { display: none; fill: var(--ink); }
.np.paused .np-btn .pause { display: none; } .np.paused .np-btn .play { display: block; }
.np-x { width: 36px; height: 36px; background: rgba(255, 255, 255, .1); }
.np-x svg { stroke: var(--paper); width: 16px; height: 16px; }
.np-cap { font-size: 14.5px; line-height: 1.35; min-height: 2.7em; display: flex; align-items: center; }
.np-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--mint); transform-origin: left; transform: scaleX(0); }

/* Onboarding */
.ob { position: fixed; inset: 0; z-index: 60; background: var(--canvas); display: flex; flex-direction: column; animation: obin .35s cubic-bezier(.2, .9, .25, 1); }
.ob[hidden] { display: none; }
@keyframes obin { from { opacity: 0; transform: translateY(24px); } }
.ob-head { display: grid; grid-template-columns: 44px 1fr 44px; gap: 12px; align-items: center; padding: max(12px, env(safe-area-inset-top)) 12px 8px; }
.ob-back, .ob-close { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.ob-back svg, .ob-close svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ob-back[disabled] { visibility: hidden; }
.ob-prog { height: 10px; border-radius: 9px; background: #dbe5df; overflow: hidden; }
.ob-prog i { display: block; height: 100%; width: 0; background: var(--leaf); border-radius: 9px; transition: width .45s cubic-bezier(.2, .9, .25, 1); }
.ob-body { flex: 1; overflow-y: auto; padding: 18px var(--gut) 24px; max-width: 560px; width: 100%; margin: 0 auto; -webkit-overflow-scrolling: touch; }
.ob-foot { padding: 12px var(--gut) max(16px, env(safe-area-inset-bottom)); max-width: 560px; width: 100%; margin: 0 auto; }
.ob-step { animation: stepin .4s cubic-bezier(.2, .9, .25, 1); }
@keyframes stepin { from { opacity: 0; transform: translateX(18px); } }
.ob h2 { font-size: clamp(28px, 7.6vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.ob .sub { margin-top: 10px; color: var(--ink-2); font-size: 16px; }
.opts { display: grid; gap: 10px; margin-top: 22px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opt { display: flex; align-items: center; gap: 14px; text-align: left; width: 100%; padding: 16px 18px; background: var(--paper); border: 2px solid transparent; border-radius: 20px; font-size: 16.5px; font-weight: 600; box-shadow: 0 2px 0 var(--line); transition: border-color .15s, background .15s, transform .1s; }
.opt:active { transform: scale(.98); }
.opt[aria-pressed="true"], .opt[aria-checked="true"] { border-color: var(--leaf); background: var(--mint-2); }
.opt .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--canvas); font-size: 20px; }
.opt .ic svg { width: 22px; height: 22px; fill: none; stroke: var(--leaf); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.opt small { display: block; font-weight: 400; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.opt.big { flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; }
.opt.big b { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.field { display: block; margin-top: 18px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.input { width: 100%; font: 500 17px var(--body); color: var(--ink); padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: var(--paper); }
.input:focus { outline: none; border-color: var(--leaf); }
.joblist { list-style: none; margin: 10px 0 0; padding: 0; background: var(--paper); border-radius: 16px; overflow: hidden; }
.joblist li button { width: 100%; text-align: left; border: 0; background: none; padding: 14px 18px; font-size: 16px; border-bottom: 1px solid var(--line); }
.joblist li:last-child button { border-bottom: 0; }
.joblist li button:hover, .joblist li button:focus-visible { background: var(--mint-2); }
.chosen { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--mint-2); border-radius: 16px; padding: 14px 18px; font-weight: 700; }
.chosen button { border: 0; background: none; color: var(--leaf); font-weight: 600; text-decoration: underline; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.seg button { border: 2px solid transparent; background: var(--paper); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; box-shadow: 0 2px 0 var(--line); }
.seg button[aria-pressed="true"] { border-color: var(--leaf); background: var(--mint-2); }
.card { background: var(--paper); border-radius: 24px; padding: 22px; margin-top: 20px; }
.card .ci-h { font-size: 22px; }
.card .ex { font-size: 12px; padding: 5px 9px; }
.card .ci-k { font-size: 14px; margin: 14px 0 8px; }
.card .bar { grid-template-columns: 82px 1fr 46px; font-size: 14px; gap: 10px; margin-bottom: 10px; }
.card .bar i { height: 12px; }
.card .bar b { font-size: 18px; }
.card .bar i::after { transform: scaleX(1); animation: grow 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.card .tasks { font-size: 14.5px; gap: 8px; margin-top: 14px; }
.card .dot { width: 10px; height: 10px; margin-top: 5px; }
.note { font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.flu { margin-top: 18px; display: grid; gap: 18px; }
.flu-q p { font-weight: 700; font-size: 16px; }
.flu-q small { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 8px; font-weight: 400; }
.mini-radar { width: 190px; margin: 6px auto 0; display: block; }
.mini-radar .rings polygon { fill: none; stroke: #cfdcd5; } .mini-radar .rings line { stroke: #dbe5df; }
.mini-radar .area { fill: rgba(168, 230, 201, .7); stroke: var(--leaf); stroke-width: 2.5; stroke-linejoin: round; transition: all .3s; }
.mini-radar text { font: 600 10px var(--body); fill: var(--ink); text-anchor: middle; }
.plan-sum { display: grid; gap: 10px; margin-top: 20px; }
.plan-sum div { display: flex; gap: 14px; align-items: center; background: var(--paper); border-radius: 18px; padding: 14px 16px; font-size: 15.5px; opacity: 0; animation: rise .5s cubic-bezier(.2, .9, .25, 1.1) forwards; }
.plan-sum div:nth-child(2) { animation-delay: .12s; } .plan-sum div:nth-child(3) { animation-delay: .24s; } .plan-sum div:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.plan-sum b { font-family: var(--display); }
.plan-sum .k { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-2); }
.plan-sum .k svg { width: 20px; height: 20px; fill: none; stroke: var(--leaf); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-art { width: 150px; margin: 0 auto 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.check input { width: 22px; height: 22px; accent-color: var(--leaf); flex: none; margin: 0; }
.err { color: #b3402b; font-size: 14px; margin-top: 8px; min-height: 1.2em; }
.done { text-align: center; padding-top: 6vh; }
.done h2 { margin-top: 10px; }
.share { margin-top: 22px; display: grid; gap: 10px; }
.ghost { border: 2px solid var(--ink); background: none; border-radius: 999px; padding: 15px 22px; font: 700 16px/1 var(--display); }

/* Desktop */
@media (min-width: 900px) {
  :root { --gut: 48px; --stage-h: 100svh; }
  .story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: 1240px; margin: 0 auto; }
  .hero { grid-column: 1; grid-row: 1; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 110px; padding-bottom: 60px; }
  .chapters { grid-column: 1; grid-row: 2; }
  .stage { grid-column: 2; grid-row: 1 / span 2; align-self: start; padding-top: 40px; background: none; }
  .phone { --pw: min(calc((100svh - 140px) * .47), 340px); }
  .stage-art { display: block; position: absolute; width: 190px; right: 4%; bottom: 8%; z-index: -1; transform: rotate(8deg); opacity: .95; }
  .chapter { min-height: 100svh; justify-content: center; padding-bottom: 0; }
  .chapter h2 { font-size: 54px; }
  .chapter p { font-size: 19px; }
  .chapter { opacity: .28; transition: opacity .5s; }
  .chapter.on { opacity: 1; }
  .how, .pricing, .faq, .final { padding-left: max(48px, calc((100vw - 1144px) / 2)); padding-right: max(48px, calc((100vw - 1144px) / 2)); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps li { grid-template-columns: 1fr; padding: 30px; align-content: start; }
  .steps img { width: 120px; grid-row: auto; margin-bottom: 14px; }
  .plans { grid-template-columns: 1fr 1fr; gap: 18px; max-width: 900px; }
  .plan { padding: 34px; }
  .faq { columns: 1; }
  .faq details { max-width: 820px; }
  .pricing { border-radius: 48px 48px 0 0; }
  .ob-body { padding-top: 32px; }
  .np { left: 50%; right: auto; width: 520px; translate: -50%; }
}

/* Short phones */
@media (max-width: 899px) and (max-height: 700px) {
  :root { --stage-h: 54svh; }
  .hero h1 { font-size: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.ex-ph { color: var(--ink-2); }
[data-screen="lessons"].s4 .ex-ph { display: none; }
.ci2 { margin-top: 3.5cqw; background: var(--paper); border-radius: 5.8cqw; padding: 1cqw 5.2cqw 3.6cqw; opacity: 0; transform: translateY(8cqw); transition: opacity .5s .5s, transform .6s .5s cubic-bezier(.2, .9, .25, 1.15); }
.mini { display: flex; gap: 2.6cqw; align-items: center; font-size: 4cqw; padding: 1.6cqw 0; }
.mini i { flex: none; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; border: .7cqw solid #cfdcd5; }
.mini i.ok { border-color: var(--leaf); background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
[data-screen="career"].s1 .ci2 { opacity: 1; transform: none; }

/* fluency scale: one row of four */
.flu .seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--paper); border-radius: 14px; padding: 4px; box-shadow: 0 2px 0 var(--line); flex-wrap: nowrap; }
.flu .seg button { box-shadow: none; border-radius: 10px; padding: 10px 2px; font-size: 13px; line-height: 1.15; background: transparent; }
.flu .seg button[aria-pressed="true"] { background: var(--mint-2); border-color: var(--leaf); }
