@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #f6f3ee; --surface: #ffffff; --surface-2: #efebe4; --ink: #1c1e21; --muted: #5d636b; --line: #e3ded4;
  --accent: #c83c2a; --accent-ink: #ffffff; --dark: #1c1e21; --on-dark: #f6f3ee;
  --tone-facts: #2457c5; --tone-facts-soft: #e6eefc; --tone-vocab: #7a3fb8; --tone-vocab-soft: #f1e8fb;
  --tone-discover: #0b7c75; --tone-discover-soft: #dcf3f0; --tone-recul: #9a5800; --tone-recul-soft: #fcefd6;
  --tone-end: #be2d6c; --tone-end-soft: #fde5ef;
  --radius: 18px; --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141311; --surface: #1f1d1b; --surface-2: #2a2825; --ink: #f3f0eb; --muted: #aba69e; --line: #34312d;
    --accent: #ff8a73; --accent-ink: #2a0904; --dark: #0c0b0a; --on-dark: #f3f0eb;
    --tone-facts: #9db8ff; --tone-facts-soft: #1c2846; --tone-vocab: #d2acf6; --tone-vocab-soft: #2e2142;
    --tone-discover: #63d6c9; --tone-discover-soft: #11322f; --tone-recul: #f3c062; --tone-recul-soft: #3a2a12;
    --tone-end: #ff9cc5; --tone-end-soft: #3e1a2b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border: 2px solid var(--accent); transition: transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--tone-facts); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-soon { color: var(--muted); cursor: default; }
.btn-soon:hover { transform: none; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.brand b { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav { display: none; } .top-in .btn { margin-left: auto; } }

.hero { padding: 64px 0 72px; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .95rem; letter-spacing: .01em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.lead strong { color: var(--ink); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.note { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 36px; } }

.phone { justify-self: center; width: min(320px, 86vw); aspect-ratio: 9 / 18.5; background: var(--dark); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); }
.phone-screen { height: 100%; background: var(--bg); border-radius: 34px; padding: 20px 0 18px; display: flex; flex-direction: column; overflow: hidden; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 0 16px; margin-bottom: 18px; }
.app-brand { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: .95rem; letter-spacing: -.02em; }
.app-brand img { border-radius: 6px; }
.app-brand b { color: var(--accent); }
.app-icons { display: flex; gap: 8px; }
.app-icons i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); opacity: .55; }
.app-date { padding: 0 16px; margin: 0; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.app-title { padding: 0 16px; margin: 2px 0 12px; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.app-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 2px 16px 10px; scrollbar-width: none; }
.app-track::-webkit-scrollbar { display: none; }
.app-card { flex: 0 0 86%; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 12px; box-shadow: 0 8px 24px rgba(28,30,33,.07); display: flex; flex-direction: column; }
.app-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 10px; }
.app-chip { align-self: flex-start; font-size: .66rem; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; }
.app-chip.int { background: #ddf5eb; color: #1e7e55; }
.app-chip.accent { background: #fde4df; color: #c83c2a; }
.app-h { font-weight: 800; font-size: 1rem; line-height: 1.25; margin: 8px 0 4px; letter-spacing: -.01em; }
.app-p { color: var(--muted); font-size: .8rem; line-height: 1.4; margin: 0; }
.app-dots { display: flex; justify-content: center; gap: 6px; margin-top: auto; }
.app-dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .2s, background .2s; }
.app-dots i.on { width: 20px; background: var(--accent); }
@media (prefers-color-scheme: dark) { .app-chip.int { background: #12322a; color: #6fd6a6; } .app-chip.accent { background: #3d1f19; color: #ff8a73; } .app-card { box-shadow: none; } }


.tone-facts { --tone: var(--tone-facts); --tone-soft: var(--tone-facts-soft); }
.tone-vocab { --tone: var(--tone-vocab); --tone-soft: var(--tone-vocab-soft); }
.tone-discover { --tone: var(--tone-discover); --tone-soft: var(--tone-discover-soft); }
.tone-recul { --tone: var(--tone-recul); --tone-soft: var(--tone-recul-soft); }
.tone-end { --tone: var(--tone-end); --tone-soft: var(--tone-end-soft); }

.band { background: var(--dark); color: var(--on-dark); padding: 72px 0; }
.band h2 { max-width: 18em; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.point { border-top: 3px solid #e0533c; padding-top: 16px; }
.point p { color: color-mix(in srgb, var(--on-dark) 78%, transparent); }
.point .point-h { color: var(--on-dark); font-weight: 800; font-size: 1.1rem; margin-bottom: .4em; }
@media (max-width: 800px) { .grid3 { grid-template-columns: 1fr; } }

.section { padding: 80px 0; }
.section.alt { background: var(--surface-2); }
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { display: flex; gap: 16px; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.step-h { font-weight: 800; font-size: 1.1rem; margin-bottom: .3em; }
.steps p { color: var(--muted); }
.steps .step-h { color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.cards5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mini { border-radius: 16px; padding: 16px; border-top: 5px solid var(--tone); background: color-mix(in srgb, var(--tone-soft) 60%, var(--surface)); }
.mini p { font-size: .92rem; color: var(--muted); margin: 0; }
.mini .mini-h { color: var(--tone); font-weight: 800; font-size: 1rem; margin-bottom: .3em; }
@media (max-width: 900px) { .cards5 { grid-template-columns: repeat(2, 1fr); } .mini:last-child { grid-column: span 2; } }

.grid2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat p { color: var(--muted); margin: 0; }
.feat .feat-h { color: var(--ink); font-weight: 800; font-size: 1.08rem; margin-bottom: .4em; }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding-bottom: 6px; }

.cta-end img { margin: 0 auto 18px; border-radius: 16px; }
.cta-end p { color: var(--muted); font-size: 1.1rem; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }

.legal { padding: 56px 0 80px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.todo { background: #fff1b8; color: #5a4300; padding: 0 .3em; border-radius: 4px; }

.staging-banner { position: fixed; bottom: 12px; left: 12px; z-index: 20; background: #b4231a; color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
