*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:#15172b;background:#fff;max-width:480px;margin:0 auto;min-height:100vh}
main{padding:calc(28px + env(safe-area-inset-top)) 24px 240px}
.k{font-size:12px;letter-spacing:3px;font-weight:700;color:#3b3fd8}.h{font-size:30px;font-weight:800;margin-top:6px}.sub{color:#6b6d85;margin-top:4px;font-size:14px}
.seg{border-radius:14px;padding:14px 16px;margin-bottom:10px;font-size:17px;font-weight:500;line-height:1.35;display:flex;gap:12px;background:#f1f1f6;color:#9a9cb0;cursor:pointer;scroll-margin-top:24px;scroll-margin-bottom:220px}
button.seg{width:100%;border:0;font:inherit;text-align:left;cursor:pointer}button.seg.cur{color:#fff}
.seg b{font-size:13px;min-width:18px;color:#b0b0c0}.seg.cur{background:#3b3fd8;color:#fff}.seg.cur b{color:#d6d3ff}.seg.done{background:#eeedff;color:#15172b}.seg.done b{color:#3b3fd8}
.seg.hide .tx{filter:blur(6px)}
.card{background:#f6f6fb;border-radius:16px;padding:16px}.tip{font-size:14px;color:#6b6d85;margin-top:14px}
.acts{position:fixed;left:0;right:0;bottom:calc(96px + env(safe-area-inset-bottom));max-width:480px;margin:0 auto;padding:0 24px;display:flex;gap:12px}
.pill{flex:1;border:0;border-radius:14px;height:54px;font:600 16px Inter,system-ui,sans-serif;background:#f1f1f6;color:#15172b;cursor:pointer}.pill.p{background:#3b3fd8;color:#fff}
.nav{position:fixed;bottom:0;left:0;right:0;max-width:480px;margin:0 auto;height:calc(80px + env(safe-area-inset-bottom));border-top:1px solid #eee;background:#fff;display:flex;justify-content:space-around;padding-top:16px}
.nav a{font-size:12px;font-weight:600;color:#b0b0c0;text-decoration:none}.nav a.on{color:#3b3fd8}
.stack{display:flex;flex-direction:column;gap:10px;margin-top:16px}.stack .pill{width:100%;flex:none}
.seg.pulse{box-shadow:0 0 0 3px #3b3fd8}
.acts.trio .pill{font-size:14px;padding:0 6px}
.mic{margin:22px auto 0;width:96px;height:96px;border-radius:50%;background:#3b3fd8;box-shadow:0 0 0 14px #eeedff;display:flex;align-items:center;justify-content:center;color:#fff;font-size:34px;border:0;cursor:pointer}
.mic.live{animation:p 1s infinite}@keyframes p{50%{box-shadow:0 0 0 22px #eeedff}}
.c{text-align:center;color:#6b6d85;font-size:13px;margin-top:22px}
textarea{width:100%;margin-top:16px;border:1px solid #e3e3ee;border-radius:14px;padding:12px;font:16px Inter,system-ui,sans-serif;min-height:80px;resize:none}
.w{display:inline-block;padding:4px 8px;border-radius:8px;margin:3px 2px;font-size:16px;font-weight:600}.ok{background:#e3f6ea;color:#1d7a46}.miss{background:#f1f1f6;color:#8a8ca0;text-decoration:line-through}
.big{font-size:34px;font-weight:800;color:#3b3fd8}.row{display:flex;justify-content:space-between;margin-top:18px}.missl{font-size:13px;color:#6b6d85;font-weight:600;padding-top:10px;text-align:right;max-width:55%}
.stats{display:flex;gap:10px;margin-top:20px}.stats .card{flex:1}.stats .card.p{background:#3b3fd8;color:#fff}.n{font-size:32px;font-weight:800}
.days{display:flex;gap:6px;margin-top:14px}.days div{flex:1;height:38px;border-radius:10px;background:#f1f1f6;color:#9a9cb0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}.days .on{background:#3b3fd8;color:#fff}
.bar{height:8px;border-radius:4px;background:#f1f1f6;margin-top:6px}.bar i{display:block;height:8px;border-radius:4px;background:#3b3fd8}
.mr{margin-bottom:14px}.mr div:first-child{display:flex;justify-content:space-between;font-size:14px;font-weight:600}.mr span:last-child{color:#3b3fd8}
@font-face{font-family:Inter;font-style:normal;font-weight:400 800;font-display:swap;src:url(fonts/inter-latin-var.woff2) format("woff2")}
.ql{font-weight:700;font-size:14px;margin:18px 0 8px}.qc{border:0;border-radius:16px;padding:7px 14px;background:#f1f1f6;font:600 13px Inter,system-ui,sans-serif;color:#15172b;margin:0 6px 6px 0;cursor:pointer}.qc.nw{background:#eeedff;color:#3b3fd8}
.card.sm{padding:12px 14px}.n2{font-size:22px;font-weight:800}.mr em{font-style:normal;font-weight:500;font-size:12px;color:#9a9cb0;margin-left:6px}

.pub{text-align:center;font-size:12px;color:#9a9cb0;margin:16px 0 8px;line-height:1.5}.pub a{color:#9a9cb0}
.tip a,.legal a{color:#3b3fd8}.pill:disabled{opacity:.6}
.legal{max-width:680px;margin:0 auto;padding:24px 20px 60px;font:15px/1.6 Inter,system-ui,sans-serif;color:#15172b}.legal h1{font-size:26px}.legal h2{font-size:17px;margin-top:24px}

.perfect{color:#1d7a46}
/* Dark mode: text accent #a5a8ff on #0f1020 (≈8:1); white on filled #3b3fd8 (≈7:1). No red. */
@media (prefers-color-scheme:dark){
:root{color-scheme:dark}
body{background:#0f1020;color:#ececf6}
.k,.seg.done b,.nav a.on,.big,.mr span:last-child,.qc.nw,.tip a,.legal a{color:#a5a8ff}
.sub,.tip,.c,.missl{color:#a9abc4}
.seg{background:#1b1d33;color:#9a9cb6}.seg b{color:#8a8ca4}
.seg.cur{background:#3b3fd8;color:#fff}.seg.cur b{color:#d6d3ff}
.seg.done{background:#24264a;color:#ececf6}
.card{background:#1b1d33}
.pill,.qc{background:#24263f;color:#ececf6}.pill.p{background:#3b3fd8;color:#fff}
.nav{background:#0f1020;border-top-color:#24263f}.nav a{color:#8e90aa}
.mic{box-shadow:0 0 0 14px #24264a}@keyframes p{50%{box-shadow:0 0 0 22px #24264a}}
textarea{background:#1b1d33;color:#ececf6;border-color:#33354f}
.ok{background:#173323;color:#86dca6}.perfect{color:#86dca6}
.miss{background:#24263f;color:#9a9cb6}
.days div,.bar{background:#24263f}.days div{color:#8e90aa}
.mr em,.pub,.pub a{color:#8e90aa}
.legal{color:#ececf6}
}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid2 .pill{height:auto;min-height:54px;padding:8px 10px;font-size:15px}
.lock{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;background:#eeedff;color:#3b3fd8;border-radius:6px;padding:2px 6px;margin-left:4px;vertical-align:middle}
.feat{padding:8px 0;border-bottom:1px solid #ececf4}.feat:last-child{border:0}.feat b{color:#3b3fd8}
.seg2{display:flex;flex-wrap:wrap}.inp{width:100%;box-sizing:border-box;border:1px solid #e3e3ee;border-radius:12px;padding:12px;font:16px Inter,system-ui,sans-serif;background:#fff;color:#15172b}
.blank{border:0;border-bottom:2px solid #3b3fd8;background:#eeedff;border-radius:6px 6px 0 0;font:600 16px Inter,system-ui,sans-serif;color:#15172b;padding:2px 4px;text-align:center}.blank.good{background:#e3f6ea;border-color:#1d7a46}.blank.bad{background:#f1f1f6;border-color:#9a9cb0}.blank.bad::placeholder{color:#8a8ca0;text-decoration:line-through}
.fc{display:flex;align-items:flex-end;justify-content:space-between;height:120px}.fc div{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;font-size:12px}.fc b{width:60%;background:#3b3fd8;border-radius:6px 6px 0 0;display:block}.fc em{font-style:normal;color:#9a9cb0;font-size:11px}
.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.cal i{display:block;aspect-ratio:1;border-radius:6px;background:#f1f1f6}.cal i.on{background:#3b3fd8}
code{font-size:13px}
@media (prefers-color-scheme:dark){.lock{background:#24264a;color:#a5a8ff}.feat{border-color:#24263f}.feat b{color:#a5a8ff}.inp{background:#1b1d33;color:#ececf6;border-color:#33354f}
.blank{background:#24264a;color:#ececf6;border-color:#a5a8ff}.blank.good{background:#173323;border-color:#86dca6}.blank.bad{background:#24263f;border-color:#8e90aa}.blank.bad::placeholder{color:#9a9cb6}
.fc em{color:#8e90aa}.cal i{background:#24263f}.cal i.on,.fc b{background:#5b5ff0}}
.legal ul{padding-left:20px}.legal li{margin:6px 0}
.plan{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:2px solid #ececf4;border-radius:14px;margin-bottom:8px;cursor:pointer;font-size:15px}.plan.on{border-color:#3b3fd8;background:#f6f6ff}.plan input{accent-color:#3b3fd8;margin-top:3px}
@media (prefers-color-scheme:dark){.plan{border-color:#24263f}.plan.on{border-color:#a5a8ff;background:#1b1d33}}
/* features5: indigo matches (no green/red), phrases, listen, badges, heatmap, study card */
.ok,.blank.good{background:#eeedff;color:#3b3fd8}.blank.good{border-color:#3b3fd8}.perfect{color:#3b3fd8}
.phs{margin-top:14px;gap:0}.qc.curp{outline:2px solid #3b3fd8}.qc:disabled{opacity:.45;cursor:default}
.lbl{font-size:12px;font-weight:700;color:#6b6d85;margin-bottom:6px;letter-spacing:1px}.lbl2{font-size:12px;font-weight:800;letter-spacing:2px;color:#3b3fd8}
.spacer{height:40px}.tag{font-size:12px;color:#6b6d85;margin-top:8px}
.lplay{margin:0;width:56px;height:56px;font-size:20px;box-shadow:0 0 0 8px #eeedff}.ltime{display:flex;justify-content:space-between;font-size:12px;color:#6b6d85;margin-top:6px}
.ltext{font-size:16px;font-weight:500;margin-top:14px;line-height:1.7}.ltext span{border-radius:6px;padding:1px 3px}.ltext .hl{background:#3b3fd8;color:#fff}
.sp{margin-top:14px;gap:6px;flex-wrap:nowrap}.sp .qc{flex:1;margin:0}
.bd{font-size:11px;font-weight:700;border-radius:6px;padding:2px 8px;margin-right:4px}.b0,.b1{background:#f1f1f6;color:#646680}.b2{background:#eeedff;color:#3b3fd8}.b3{background:#3b3fd8;color:#fff}
.mr span:last-child .bd.b3{color:#fff}.lock.free{background:#f1f1f6;color:#646680}a.lock{text-decoration:none}
.cal i.wi,.hmk i.wi{background:#a5a8ff}.cal i.fut{background:transparent;border:1px dashed #e3e3ee}
.hmk{display:flex;gap:14px;font-size:12px;color:#6b6d85;margin-top:8px}.hmk span{display:flex;align-items:center;gap:5px}.hmk i{width:12px;height:12px;border-radius:3px;background:#f1f1f6;display:inline-block}.hmk i.on{background:#3b3fd8}
.studyc{border:2px solid #eeedff;background:#fff}
@media (prefers-color-scheme:dark){
.ok,.blank.good{background:#24264a;color:#a5a8ff}.blank.good{border-color:#a5a8ff}.perfect{color:#a5a8ff}
.qc.curp{outline-color:#a5a8ff}.lbl,.tag,.ltime,.hmk{color:#a9abc4}.lbl2{color:#a5a8ff}
.lplay{box-shadow:0 0 0 8px #24264a}.ltext .hl{background:#5b5ff0;color:#fff}
.b0,.b1,.lock.free{background:#24263f;color:#a9abc4}.b2{background:#24264a;color:#a5a8ff}.b3{background:#5b5ff0;color:#fff}
.cal i.wi,.hmk i.wi{background:#3a3d8a}.hmk i{background:#24263f}.hmk i.on{background:#5b5ff0}.cal i.fut{border-color:#33354f}
.studyc{border-color:#24264a;background:#1b1d33}}
.r{display:flex;justify-content:space-between;align-items:center;gap:8px}
button.feat,.chb,.bkcta{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #ececf4;font:inherit;color:inherit;cursor:pointer;padding:10px 0}
.chb{border:0;padding:6px 0;margin-top:6px}.chb:disabled{cursor:default}.feat.off{opacity:.55;cursor:default}
.bkcta{background:#f6f6fb;border:0;border-radius:16px;padding:14px 16px;margin-top:16px}
.bktext p,.bkres p{margin:6px 0;line-height:1.7}.bktext b,.bkres b{color:#3b3fd8;font-size:12px}.bktext.hide .tx{filter:blur(6px)}
@media (prefers-color-scheme:dark){button.feat{border-color:#24263f}.bkcta{background:#1b1d33}.bktext b,.bkres b{color:#a5a8ff}}
@media (prefers-color-scheme:dark){.qc.nw{background:#2e3170;color:#c9cbff}}
/* review-oct17 a11y: light-mode contrast ≥3:1 for secondary text, 40px tap targets, focus rings */
@media (prefers-color-scheme:light){.nav a{color:#6b6d85}.seg{color:#646680}.seg b{color:#646680}.days div{color:#6b6d85}.mr em,.fc em,.pub,.pub a{color:#6b6d85}}
.qc{min-height:40px}a.lock{padding:8px 10px;margin:-6px 0}.nav a{padding:6px 12px;min-height:32px}
:focus-visible{outline:3px solid #3b3fd8;outline-offset:2px}@media (prefers-color-scheme:dark){:focus-visible{outline-color:#a5a8ff}}
.onb{border:1px solid #e3e3ee}.onbl{margin:10px 0 8px;padding-left:20px;font-size:14px;line-height:1.5}.onbl li{margin-bottom:6px}.onbl b{color:#3b3fd8}
@media (prefers-color-scheme:dark){.onb{border-color:#33354f}.onbl b{color:#a5a8ff}}
.blank{min-height:34px}
/* founding-tester card + beta note: indigo on white, no red */
.fcard{background:#fff;border:2px solid #3b3fd8}.fct{color:#3b3fd8;font-size:15px}.fcb{font-size:15px;font-weight:600;line-height:1.4;margin-top:6px}
.fx{background:none;border:0;font-size:16px;color:#6b6d85;cursor:pointer;min-width:44px;min-height:44px;margin:-12px -12px -12px 0}
.fform{display:flex;gap:8px;margin-top:10px}.fform .inp{flex:1;min-width:0}.fform .pill{flex:0 0 auto;padding:0 16px;height:46px}
.frm{display:inline-block;margin-top:8px;font-size:13px;color:#3b3fd8;padding:6px 0}.bnote{border:2px solid #eeedff;background:#fff}
@media (prefers-color-scheme:dark){.fcard{background:#1b1d33;border-color:#a5a8ff}.fct,.frm{color:#a5a8ff}.fx{color:#a9abc4}.bnote{background:#1b1d33;border-color:#24264a}}
/* social icon links: monochrome glyphs in currentColor, grey -> indigo on hover/focus, 44px targets. No brand colors, no red. */
.soc{display:flex;justify-content:center;gap:4px;margin:6px 0}.soc a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:#6b6d85;text-decoration:none}
.soc a:hover,.soc a:focus-visible{color:#3b3fd8}
@media (prefers-color-scheme:dark){.soc a{color:#8e90aa}.soc a:hover,.soc a:focus-visible{color:#a5a8ff}}
/* founders: optional updates opt-in (unchecked by default), 44px row, indigo accent, no red */
.fopt{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:6px;font-size:14px;color:#4b4d66;cursor:pointer}
.fopt input{width:22px;height:22px;margin:0;flex:none;accent-color:#3b3fd8;cursor:pointer}
@media (prefers-color-scheme:dark){.fopt{color:#c9cbe0}.fopt input{accent-color:#a5a8ff}}

/* Daily review reminder (Settings row, offer card, notices). Indigo on white, no red. */
.rset{margin-top:14px}.rrow{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px}
.tgl{position:relative;width:52px;height:32px;flex:none;border:0;border-radius:16px;background:#d9dae6;cursor:pointer;padding:0;transition:background .15s}
.tgl i{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .15s}
.tgl[aria-checked=true]{background:#3b3fd8}.tgl[aria-checked=true] i{left:23px}
.tgl:focus-visible,.rlink:focus-visible{outline:3px solid #a5a8ff;outline-offset:2px}
.rk{font-size:11px;letter-spacing:2px;font-weight:700;color:#6b6d85;margin:14px 0 6px}
.rnote{font-size:14px;color:#4b4d66;margin-top:14px;line-height:1.45}.rnote b{color:#15172b}.rnote .onbl{margin:8px 0 0;padding-left:20px}
.rlink{display:inline-flex;align-items:center;min-height:44px;margin-top:6px;color:#3b3fd8;font-weight:600;font-size:14px;text-decoration:none}
.rcard{border:2px solid #3b3fd8;background:#fff}.rct{color:#3b3fd8;font-size:15px}.rcb{font-size:14px;color:#15172b;margin:6px 0 10px;line-height:1.45}
.rbtns{display:flex;gap:10px;margin-top:10px}.rbtns .pill{height:48px}
@media (prefers-color-scheme:dark){.tgl{background:#3a3c58}.tgl[aria-checked=true]{background:#6d70f0}.rk{color:#a9abc4}.rnote{color:#c9cbe0}.rnote b{color:#ececf6}
.rlink,.rct{color:#a5a8ff}.rcard{background:#15172b;border-color:#a5a8ff}.rcb{color:#ececf6}}
.rnote .onbl b{color:#3b3fd8}@media (prefers-color-scheme:dark){.rnote .onbl b{color:#a5a8ff}}
/* Accessibility: honor reduced motion; give the reminder switch a 44px-tall tap area without changing how it looks. */
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.tgl::after{content:"";position:absolute;top:-6px;bottom:-6px;left:-4px;right:-4px}
/* Tap targets >=44px without visual change: chips get an invisible 2px hit margin top and bottom; tiny chips are at least 44px wide;
   About text links get vertical padding offset by negative margin; keyboard focus ring around the Google sign-in button. */
.qc{position:relative;min-width:44px}.qc::after{content:"";position:absolute;left:0;right:0;top:-2px;bottom:-2px}
#feedback,#report{display:inline-block;padding:14px 0;margin:-14px 0}
#gbtn:focus-within{outline:3px solid #3b3fd8;outline-offset:3px;border-radius:22px}
@media (prefers-color-scheme:dark){#gbtn:focus-within{outline-color:#a5a8ff}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
