/* Landing page only; the shared blog stylesheet is intentionally separate.
   Concept: the page is one week of a chat thread. Day stamps are the section
   dividers, bubbles carry the story, margin notes explain the mechanism. */
@font-face{font-family:"Inter Tight";src:url(/fonts/inter-tight.woff2) format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(/fonts/instrument-serif.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(/fonts/instrument-serif-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"DM Mono";src:url(/fonts/dm-mono.woff2) format("woff2");font-weight:400;font-display:swap}

:root{
  --paper:#f3efe7;--ink:#161b18;--tutor:#fff;--me:#dcf1c8;--mute:#434943;--line:#d8d1c2;
  --lemon:#eef95a;--red:#c8371f;--night:#161b18;--focus:#2346d8;
  --sans:"Inter Tight",system-ui,-apple-system,"Segoe UI",sans-serif;
  --serif:"Instrument Serif",Georgia,"Times New Roman",serif;
  --mono:"DM Mono",ui-monospace,Menlo,monospace;
  --tail:10px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
p,h1,h2{text-wrap:pretty}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,p{margin:0}
a{color:inherit}
button,a,summary{touch-action:manipulation}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:8px}
.skip{position:absolute;top:12px;left:12px;transform:translateY(-200%);background:var(--ink);color:var(--paper);padding:12px 16px;z-index:20;border-radius:8px}
.skip:focus{transform:none}
.wrap{width:min(1240px,100% - 80px);margin-inline:auto}

/* nav */
.top{position:sticky;top:0;z-index:10;background:var(--paper);box-shadow:0 1px 0 var(--line)}
.nav{height:76px;display:flex;align-items:center;justify-content:space-between}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.brand{display:inline-flex;align-items:center;min-height:44px;font-size:30px;font-weight:800;letter-spacing:-.06em;text-decoration:none;line-height:1}
.nav nav{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:500}
.nav nav a:not(.btn){text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.nav nav a:not(.btn):hover{text-decoration:underline;text-underline-offset:5px}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:12px;background:var(--ink);color:var(--paper);text-decoration:none;font-weight:600;font-size:17px;border-radius:999px;padding:0 26px;min-height:56px;transition:transform .15s ease,background .15s ease}
.btn:hover{background:#2a322d}
.btn:active{transform:scale(.98)}
.btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.btn-sm{min-height:44px;padding:0 18px;font-size:15px}
.btn-lg{min-height:64px;padding:0 32px;font-size:19px}
.micro{font-size:15px;line-height:1.5;color:var(--mute);margin-top:14px}

/* type scale */
.t-xl{font-size:clamp(34px,4.9vw,70px);line-height:1.02;letter-spacing:-.035em;font-weight:600}
.t-lg{font-size:clamp(24px,2.7vw,38px);line-height:1.12;letter-spacing:-.014em;font-weight:600}
.t-md{font-size:clamp(19px,1.6vw,23px);line-height:1.38;letter-spacing:-.004em;font-weight:500}
.fr{font-family:var(--serif);font-weight:400;letter-spacing:-.01em}
.tutor .fr{font-style:italic}
.fr.t-xl{font-size:clamp(40px,5.8vw,84px);line-height:1;letter-spacing:-.02em}
.fr.t-lg{font-size:clamp(30px,3.4vw,48px);line-height:1.05}
.attempt{font-weight:500;color:#2c322d}
.gloss{font-size:16px;color:var(--mute);margin-top:6px}
s{text-decoration:line-through;text-decoration-color:var(--red);text-decoration-thickness:.075em;color:#55574f}
mark{background:var(--lemon);color:inherit;padding:0 .06em;border-radius:.08em}

/* hero: the headline answers a wall of learners' reasons */
.wall-hero{position:relative;height:clamp(700px,54vw,820px);margin-top:8px}
.reasons{list-style:none;margin:0;padding:0}
.r{position:absolute;background:var(--me);border-radius:26px;border-bottom-right-radius:6px;padding:14px 22px;font-size:clamp(17px,1.4vw,20px);font-weight:500;color:#26302a;letter-spacing:-.012em;line-height:1.25;max-width:360px}
.r::after{content:"";position:absolute;bottom:0;right:-10px;width:18px;height:18px;background:inherit;clip-path:polygon(0 0,100% 100%,0 100%)}
.r1{left:0;top:28px;max-width:min(330px,28%)}
.r2{left:33%;top:0;max-width:min(300px,25%)}
.r3{right:0;top:36px}
.r4{left:0;top:42%;max-width:min(240px,21%)}
.r5{right:0;top:47%;max-width:min(240px,21%)}
.r6{left:0;bottom:44px;max-width:min(300px,25%)}
.r7{right:0;bottom:30px;max-width:min(300px,25%)}
.r8{left:34%;bottom:0;max-width:min(340px,30%)}
.hero-card{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);width:min(620px,52%);background:#fff;border-radius:34px;border-bottom-left-radius:6px;padding:40px 44px 34px;box-shadow:0 12px 28px -20px rgba(22,27,24,.2)}
.hero-card::after{content:"";position:absolute;bottom:0;left:-10px;width:18px;height:18px;background:#fff;clip-path:polygon(100% 0,100% 100%,0 100%)}
.hero-card h1{font-size:clamp(40px,4.3vw,66px);line-height:.98;letter-spacing:-.045em;font-weight:600}
.hero-card h1 em{font-family:var(--serif);font-weight:400;letter-spacing:-.02em;font-size:1.08em}
.lede{font-size:clamp(18px,1.4vw,20px);line-height:1.45;margin-top:20px;color:#2c322d}
.cta-row{margin-top:26px}
.js .r{opacity:0;transform:translateY(10px) scale(.98);transition:opacity .5s ease,transform .6s cubic-bezier(.2,.75,.25,1)}
.js .r.in{opacity:1;transform:none}
.js .r1{transition-delay:0ms}.js .r2{transition-delay:70ms}.js .r3{transition-delay:140ms}.js .r4{transition-delay:210ms}.js .r5{transition-delay:280ms}.js .r6{transition-delay:350ms}.js .r7{transition-delay:420ms}.js .r8{transition-delay:490ms}

/* thread */
.stamp{display:flex;align-items:center;gap:18px;font:14px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin:72px 0 24px}
.stamp::before,.stamp::after{content:"";flex:1;height:1px;background:var(--line)}
.msg{display:flex;margin:12px 0}
.msg.me{justify-content:flex-end}
.day .me .t-lg{font-size:clamp(23px,2.2vw,31px);font-weight:500;line-height:1.22}
.bubble{position:relative;background:var(--tutor);border-radius:30px;padding:22px 30px 22px;max-width:min(860px,88%);width:fit-content;margin:0}
.bubble>*+*{margin-top:12px}
.bubble .attempt{font-weight:500;color:#2c322d}
.gloss{margin-top:6px}
.msg.tutor .bubble{border-bottom-left-radius:6px}
.msg.me .bubble{background:var(--me);border-bottom-right-radius:6px}
.msg.tutor .bubble::after,.msg.me .bubble::after{content:"";position:absolute;bottom:0;width:18px;height:18px;background:inherit}
.msg.tutor .bubble::after{left:calc(-1 * var(--tail));clip-path:polygon(100% 0,100% 100%,0 100%)}
.msg.me .bubble::after{right:calc(-1 * var(--tail));clip-path:polygon(0 0,100% 100%,0 100%)}
.msg.wide .bubble{max-width:100%;width:100%}

.ladder{display:flex;gap:6px;margin-top:20px;max-width:440px}
.ladder span{flex:1;text-align:center;font:600 15px/1 var(--sans);padding:11px 0;border-radius:999px;border:1.5px solid var(--line);color:var(--mute)}
.ladder .done{background:var(--me);border-color:var(--me);color:var(--ink)}
.ladder .now{border-color:var(--ink);color:var(--ink)}

/* the week: each day leads with its value proposition; the chat is the proof */
.week{padding-top:40px}
.week-title{font-size:clamp(34px,4vw,60px);line-height:1;letter-spacing:-.04em;font-weight:600;max-width:900px;margin:40px 0 8px}
.day{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px;align-items:start;padding:72px 0;border-top:1px solid var(--line)}
.day:first-of-type{border-top:0}
.vp{position:sticky;top:112px}
.vp h3{font-size:clamp(34px,3.7vw,56px);line-height:1;letter-spacing:-.04em;font-weight:650}
.vp p{font-size:18px;line-height:1.5;color:#2c322d;margin-top:16px;max-width:440px}
.chat .stamp{margin:0 0 18px}
.who-tag{display:inline-block;font-weight:600;font-size:16px;background:var(--me);border-radius:999px;padding:7px 16px;margin:0 0 14px}
.day:nth-of-type(even) .vp{order:2}
.day:nth-of-type(even){grid-template-columns:minmax(0,7fr) minmax(0,5fr)}

/* the out-loud beat */
.bubble.dark{background:var(--night);color:var(--paper)}
.say{padding:34px 40px 30px;container-type:inline-size}
.say-fr{font-size:clamp(28px,3vw,42px);color:#d9dccf}
.resp{font-weight:750;font-size:clamp(30px,11.2cqi,146px);line-height:.86;letter-spacing:-.055em;color:var(--lemon);margin-top:10px;white-space:nowrap}
.resp span,.resp b{transition:color .12s ease}
.resp b{font-weight:800}
.resp .now{color:#fff}
.say-row{display:flex;align-items:center;gap:18px;margin-top:24px}
.play{width:60px;height:60px;border-radius:50%;border:0;background:var(--lemon);color:var(--ink);display:grid;place-items:center;cursor:pointer;flex:none;transition:transform .15s ease}
.play:hover{transform:scale(1.05)}
.play svg{width:22px;height:22px;fill:currentColor}
.play[aria-pressed="true"]{background:#fff}
.say-meta{font-size:16px;color:#e4e6dc}
.bubble.voice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:14px;min-width:min(420px,88%)}
.bubble.voice>*+*{margin-top:0}
.bubble.voice p{grid-column:1/-1;margin-top:10px}
.voice-dot{width:44px;height:44px;border-radius:50%;background:var(--ink);display:grid;place-items:center}
.voice-dot svg{width:20px;height:20px;fill:none;stroke:var(--me);stroke-width:2;stroke-linecap:round}
.wave{width:100%;min-width:0;height:32px;display:block}
.wave path{stroke:var(--ink);stroke-width:3.4;stroke-linecap:round;opacity:.75}
.voice-len{font:14px var(--mono);color:var(--mute)}

/* FAQ as a thread: the tutor asks, questions are tappable quick replies */
.faq,.closing{max-width:860px}
.chips{display:flex;flex-direction:column;align-items:flex-end;gap:10px;margin-top:18px}
.qa{width:100%}
.qa summary{margin-left:auto}
.qa .answer{margin-right:auto}
.qa summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:16px;background:transparent;border:2px solid #9fcf7c;border-radius:999px;font-size:clamp(18px,1.5vw,21px);font-weight:550;letter-spacing:-.01em;padding:12px 16px 12px 24px;min-height:56px;max-width:100%;transition:background .15s ease}
.qa summary::-webkit-details-marker{display:none}
.qa summary::after{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:#9fcf7c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161b18' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;transition:transform .2s ease}
.qa summary:hover{background:#e8f5dc}
.qa[open] summary{background:var(--me);border-color:var(--me);border-bottom-right-radius:6px}
.qa[open] summary::after{transform:rotate(45deg)}
.qa .answer{align-self:flex-start;margin-left:0;border-bottom-left-radius:6px;margin-top:10px;font-size:18px;line-height:1.5;max-width:min(720px,88%);padding:18px 26px}

/* closing: the reply box is the call to action */
.closing{padding-bottom:40px}
.composer{display:flex;align-items:center;gap:16px;margin-top:22px;margin-left:auto;width:fit-content;max-width:100%;background:var(--me);border-radius:999px;border-bottom-right-radius:6px;padding:10px 10px 10px 30px;text-decoration:none;min-height:80px;transition:box-shadow .15s ease}
.composer:hover .send{background:#2a322d}
.composer .ph{flex:1;min-width:0;font-size:clamp(20px,1.9vw,26px);font-weight:550;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.composer .send{display:inline-flex;align-items:center;gap:12px;background:var(--ink);color:var(--paper);border-radius:999px;padding:0 28px;min-height:60px;font-weight:600;font-size:18px;white-space:nowrap}
.composer .send svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.close-micro{text-align:right}

/* footer */
.footer{border-top:1px solid var(--line);margin-top:72px;padding:30px 0 44px;font-size:14px;color:var(--mute)}
.footer .wrap{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.footer .brand{font-size:24px;color:var(--ink)}
.footer nav{margin-left:auto;display:flex;gap:22px}
.footer a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.footer a:hover{text-decoration:underline;text-underline-offset:5px}

/* arrival motion: bubbles land once, like messages; no idle motion */
.js .msg,.js .vp,.js .qa,.js .composer{opacity:0;transform:translateY(16px);transition:opacity .45s ease,transform .6s cubic-bezier(.2,.75,.25,1)}
.js .msg.in,.js .vp.in,.js .qa.in,.js .composer.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .r{opacity:1;transform:none;transition:none}
  .js .msg,.js .vp,.js .qa,.js .composer{opacity:1;transform:none;transition:none}
  .resp span,.resp b,.btn,.play{transition:none}
}

@media (max-width:980px){
  .wall-hero{height:auto;display:flex;flex-direction:column;gap:22px;padding:18px 0 8px}
  .reasons{display:flex;flex-wrap:nowrap;gap:8px;order:1;overflow-x:auto;scroll-snap-type:x proximity;margin:0 -40px;padding:4px 40px 6px;scrollbar-width:none;-webkit-mask:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);mask:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}
  .reasons::-webkit-scrollbar{display:none}
  .r::after{display:none}
  .hero-card::after{display:none}
  .r{position:static;font-size:16px;padding:9px 16px;max-width:none;white-space:nowrap;flex:none;scroll-snap-align:start;border-radius:999px}
  .hero-card{position:relative;left:auto;top:auto;transform:none;width:auto;order:2;padding:30px 28px 26px}
  .r1,.r2,.r4,.r5{max-width:none}
  .day,.day:nth-of-type(even){grid-template-columns:1fr;row-gap:24px;padding:56px 0}
  .day:nth-of-type(even) .vp{order:0}
  .vp{position:static}
    }
@media (max-width:640px){
  .wrap{width:calc(100% - 32px)}
  .nav{height:64px}
  .nav nav a.hide-sm{display:none}
  .brand{font-size:26px}
  .stamp{margin:56px 0 16px;font-size:13px;gap:12px}
  .bubble{padding:16px 20px;border-radius:24px;max-width:92%}
  .say{padding:26px 22px 22px}
  .qa summary{padding:10px 12px 10px 18px}
  .qa .answer{padding:16px 20px;max-width:92%}
  .composer{flex-direction:column;align-items:stretch;border-radius:28px;padding:18px 12px 12px;gap:14px}
  .composer .ph{padding:0 10px;white-space:normal}
  .composer .send{justify-content:center}
  .close-micro{text-align:left}
  .btn-lg{min-height:60px;font-size:18px}
  .footer nav{margin-left:0}
  .reasons{flex-wrap:wrap;overflow:visible;margin:0;padding:0;-webkit-mask:none;mask:none;gap:6px}
  .r{font-size:14px;padding:7px 13px;white-space:normal;flex:0 1 auto;max-width:100%}
  .r2,.r5,.r8{display:none}
  .r7{order:4}
  .r3{order:1}.r4{order:2}.r1{order:3}
  .week{padding-top:8px}
  .week-title{margin-top:24px}
  .day:first-of-type{padding-top:28px}
  .hero-card .lede{font-size:17px}
  .hero-card .btn{padding:0 20px;font-size:16px;white-space:nowrap}
  .wall-hero{gap:16px}
  .hero-card{padding:26px 22px 22px;border-radius:26px}
}
@media (max-width:360px){
  .r1{display:none}
  .hero-card{padding:22px 20px 20px}
  .hero-card .lede{font-size:16px;margin-top:14px}
  .cta-row{margin-top:18px}
}

/* Audio starts with a usable native player; enhancement only replaces its control. */
.play[hidden],#say-audio[hidden],.audio-fallback[hidden]{display:none}
#say-audio{display:block;width:100%;max-width:100%;margin-top:20px}
.audio-status:empty{display:none}
.audio-status{font-size:16px;line-height:1.45;color:var(--paper);margin-top:16px}
.audio-fallback{display:inline-flex;align-items:center;min-height:44px;color:var(--lemon);font-size:16px;text-underline-offset:4px}
.play:disabled{cursor:wait}
@media(max-width:640px){
  .r6,.r8{display:none}
  .week-title{font-size:29px;line-height:1.12;font-weight:500;max-width:300px;margin-bottom:16px}
  .closing{padding-bottom:16px}
  .footer{margin-top:32px;padding:20px 0 24px}
  .footer .wrap{gap:12px 24px}
}

/* Keep the question list quiet and aligned, with answers on the tutor's side. */
.qa summary{width:min(660px,100%);justify-content:space-between;border:1px solid var(--line);font-size:19px;font-weight:500;border-radius:18px;padding:14px 20px}
.qa summary::after{width:22px;height:22px;background-color:transparent;background-size:14px}
.qa[open] summary{border-color:var(--me)}
.vp h3{letter-spacing:-.025em;line-height:1.06}
.day:nth-of-type(3),.day:nth-of-type(6){padding-block:56px}
.day:nth-of-type(3) .t-md,.day:nth-of-type(6) .t-md{font-size:20px;font-weight:400}
.day:nth-of-type(3) .bubble,.day:nth-of-type(6) .bubble{padding:18px 24px}
@media(max-width:640px){
  .r2{margin-left:auto}
  .reasons{flex-direction:column;align-items:flex-start;gap:8px}
  .r1{max-width:85%}
  .vp h3{font-size:32px;line-height:1.08;letter-spacing:-.025em}
  .vp p{font-size:17px;line-height:1.5}
  .day,.day:nth-of-type(3),.day:nth-of-type(6){padding-block:44px}
  .qa summary{font-size:18px;padding:12px 16px}
  .day:nth-of-type(3) .bubble,.day:nth-of-type(6) .bubble{padding:16px 20px}
}

/* The page speaks on a sand card; the chat below it is proof. The learner tag
   is a chat header, not a message, so it never borrows the bubble fill. */
:root{--sand:#e7e0cf}
.vp{background:var(--sand);padding:40px 40px 44px;border-radius:10px}
.vp h3{color:var(--ink)}
.who-tag{display:flex;align-items:center;gap:10px;background:none;border-radius:0;padding:0;margin:0 0 14px;font:500 15px/1.3 var(--sans);color:#3d433d}
.who-tag::before{content:"Learner";flex:none;font:500 12px/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--paper);background:var(--ink);padding:5px 8px;border-radius:4px}
@media (max-width:640px){
  .vp{padding:28px 24px 30px}
}

.tutor-voice{background:var(--tutor)}
.tutor-voice .voice-dot{background:var(--ink);color:var(--paper)}
.tutor-voice .voice-dot svg{width:16px;height:16px;fill:currentColor;stroke:none}
.tutor-voice p.gloss{grid-column:1/-1;margin-top:8px;font-size:14px}
.ladder-note{font-size:14px!important;color:#434943;margin-top:10px!important}
.faq{border-top:1px solid var(--line)}
@media (max-width:640px){
  .reasons{align-items:flex-end}
  .r{border-bottom-right-radius:6px}
}

/* Round-5 polish: readable spacing at small sizes; quieter value props so the hero stays loudest. */
.r{letter-spacing:0}
.bubble i{letter-spacing:0;padding-right:.06em}
.micro{text-wrap:balance}
.vp h3{font-size:clamp(30px,3vw,46px)}
.ladder span{color:#434943;border-color:#b3ab98}
.ladder .done{color:var(--ink)}
.ipa{margin-top:10px;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans","DejaVu Sans",sans-serif;font-size:17px;letter-spacing:.02em;color:#e4e6dc}
.ipa span[aria-hidden]{font-family:var(--mono)}
.ipa span[aria-hidden]{font-size:11px;letter-spacing:.1em;border:1px solid #6b7068;border-radius:4px;padding:2px 5px;margin-right:8px}
.composer{position:relative}
.composer::after{content:"";position:absolute;bottom:0;right:-10px;width:18px;height:18px;background:var(--me);clip-path:polygon(0 0,100% 100%,0 100%)}
.footer small{font-size:14px}
@media (max-width:640px){
  .r{max-width:86%}
  .vp h3{font-size:28px}
  .composer{border-bottom-right-radius:6px}
}

/* Desktop hero: reasons recede behind the card (lower contrast, not blur, so they stay readable). */
@media (min-width:981px){
  .r{background:#e6eed8;color:#3a423c;font-weight:400}
  .r3,.r5,.r7{right:var(--tail)}
  .r2{max-width:min(320px,25%)}
  .r7{max-width:min(330px,26%)}
  .hero-card{box-shadow:0 30px 60px -28px rgba(22,27,24,.28),0 2px 6px rgba(22,27,24,.04)}
}

/* Review round 8: keep tails inside the content edge; FAQ answer bubble gets a tail; quieter learner tag. */
.msg.me .bubble,.composer{margin-right:var(--tail)}
.qa summary{margin-right:var(--tail)}
.qa[open] summary{position:relative}
.qa[open] summary::before{content:"";position:absolute;bottom:-1px;right:-11px;width:18px;height:18px;background:var(--me);clip-path:polygon(0 0,100% 100%,0 100%)}
.who-tag::before{color:var(--ink);background:transparent;box-shadow:inset 0 0 0 1px #8b918b}
.week-title{letter-spacing:-.03em}
