/* ==========================================================================
   YKItie — YKI prep landing page
   ========================================================================== */

:root {
  --navy: #081a36;
  --navy-2: #0e2650;
  --ink: #0f1b2d;
  --muted: #5a6a82;
  --line: #e3e8f1;
  --snow: #f5f7fb;
  --white: #ffffff;
  --blue: #1f5fe0;
  --blue-2: #4f86ff;
  --yellow: #fecc02;
  --teal: #12b5a5;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #ef4444;

  --c-words: #3b6cf6;
  --c-read: #12b5a5;
  --c-listen: #8b5cf6;
  --c-speak: #f59e0b;

  --radius: 20px;
  --shadow-lg: 0 40px 80px -20px rgba(8, 26, 54, .35), 0 18px 36px -18px rgba(8, 26, 54, .3);
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ---------- Buttons & store badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  background: var(--yellow); color: var(--navy);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(254, 204, 2, .7); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; min-width: 186px;
  border-radius: 14px; background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .2s, background .2s;
}
.store:hover { transform: translateY(-2px); background: #111; }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.store small { font-size: 11px; opacity: .8; letter-spacing: .02em; }
.store strong { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.stores.light .store { background: var(--navy); border-color: transparent; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 26, 54, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; }
.logo-accent { color: var(--yellow); }
footer .logo-accent { color: var(--blue); }
.nav-links { display: flex; gap: 30px; color: rgba(255, 255, 255, .78); font-size: 15px; }
.nav-links a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% -10%, #1d3f86 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 110%, #0b4d5a 0%, transparent 60%),
              var(--navy);
  color: #fff;
  padding: 72px 0 96px;
  margin-top: -68px; padding-top: 140px;
}
.aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, rgba(18, 181, 165, .35) 60deg, rgba(79, 134, 255, .3) 120deg, rgba(139, 92, 246, .28) 170deg, transparent 220deg);
  filter: blur(70px); opacity: .7; pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translateX(8%) rotate(8deg); } }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.lang-toggle {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 26px;
}
.lang-toggle button {
  display: inline-flex; align-items: center; gap: 8px;
  border: 0; background: transparent; color: rgba(255, 255, 255, .75);
  font: 600 14px var(--font-body); padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: background .25s, color .25s;
}
.lang-toggle button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.flag.fi { background: linear-gradient(90deg, transparent 30%, #003580 30%, #003580 48%, transparent 48%), linear-gradient(0deg, #fff 38%, #003580 38%, #003580 62%, #fff 62%); }
.flag.sv { background: linear-gradient(90deg, transparent 30%, #fecc02 30%, #fecc02 48%, transparent 48%), linear-gradient(0deg, #006aa7 38%, #fecc02 38%, #fecc02 62%, #006aa7 62%); }

.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; }
.hero h1 .hl { color: var(--yellow); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em;
  background: var(--yellow); opacity: .35; border-radius: 4px;
}
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .78); margin: 22px 0 32px; max-width: 540px; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .6); text-transform: uppercase; letter-spacing: .08em; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.float {
  position: absolute; z-index: 3;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .45);
  font-size: 13px; display: flex; align-items: center; gap: 10px;
  animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 15px; }
.float small { color: var(--muted); }
.float .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex: none; }
.float.f1 { top: 6%; left: -8%; }
.float.f2 { top: 62%; right: -8%; animation-delay: -2s; }
.float.f3 { bottom: 4%; left: -10%; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.eyebrow-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Lesson anatomy */
.lesson-bar {
  display: grid; grid-template-columns: 8fr 7fr 7fr 8fr; gap: 6px;
  margin-bottom: 18px; height: 64px;
}
.lesson-bar div {
  border-radius: 14px; color: #fff; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 15px;
}
.lesson-bar div small { opacity: .85; font-weight: 500; }
.lesson-bar .words { background: var(--c-words); }
.lesson-bar .read { background: var(--c-read); }
.lesson-bar .listen { background: var(--c-listen); }
.lesson-bar .speak { background: var(--c-speak); }
.lesson-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 56px; font-variant-numeric: tabular-nums; }

.skills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill {
  background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.skill .icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.skill .icon svg { width: 24px; height: 24px; }
.skill h3 { font-size: 22px; margin-bottom: 8px; }
.skill p { color: var(--muted); font-size: 15px; }
.skill .min { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 14px; display: block; }

/* Screens gallery */
.screens { background: var(--snow); overflow: hidden; }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; justify-items: center;
}
.gallery figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.gallery figure:nth-child(even) { margin-top: 60px; }
.gallery figcaption { text-align: center; max-width: 250px; }
.gallery figcaption b { display: block; font-family: var(--font-display); font-size: 19px; }
.gallery figcaption span { color: var(--muted); font-size: 14px; }

/* Roadmap */
.roadmap .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.road-visual { display: flex; justify-content: center; position: relative; }
.road-visual::before {
  content: ""; position: absolute; inset: 8% 4%; border-radius: 40px;
  background: linear-gradient(140deg, #e8efff, #e6f8f5); z-index: -1;
}
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--blue), var(--teal), var(--yellow)); }
.timeline li { position: relative; padding-left: 80px; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .lvl {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 18px;
  background: #fff; border: 2px solid var(--line); color: var(--navy);
}
.timeline li:last-child .lvl { background: var(--navy); color: var(--yellow); border-color: var(--navy); }
.timeline .when { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.timeline h3 { font-size: 22px; margin: 4px 0 6px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* YKI section */
.yki { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.yki::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px;
  background: radial-gradient(circle, rgba(79, 134, 255, .35), transparent 65%);
}
.yki .section-head p { color: rgba(255, 255, 255, .7); }
.yki .eyebrow-tag { color: var(--yellow); }
.yki-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.yki-card {
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); padding: 28px 24px;
}
.yki-card .num { font-family: var(--font-display); font-size: 15px; color: var(--yellow); font-weight: 700; }
.yki-card h3 { font-size: 22px; margin: 10px 0 8px; }
.yki-card p { color: rgba(255, 255, 255, .68); font-size: 15px; }
.yki-band {
  position: relative; margin-top: 28px; padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(110deg, var(--blue), #2a4fb8 60%, #3b2f8f);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.yki-band h3 { font-size: 24px; }
.yki-band p { color: rgba(255, 255, 255, .8); font-size: 15px; margin-top: 4px; }
.levels { display: flex; gap: 6px; }
.levels span {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; background: rgba(255, 255, 255, .12); font-size: 15px;
}
.levels span.target { background: var(--yellow); color: var(--navy); }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-list summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--blue); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); margin-top: 12px; }

/* CTA */
.cta { padding: 0 0 110px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 32px; padding: 72px 56px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(254, 204, 2, .35), transparent 60%),
              radial-gradient(600px 400px at 0% 100%, rgba(18, 181, 165, .35), transparent 60%),
              var(--navy);
  color: #fff; text-align: center;
}
.cta-box h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; }
.cta-box p { color: rgba(255, 255, 255, .75); font-size: 18px; margin: 16px auto 32px; max-width: 560px; }
.cta-box .stores { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer .logo { color: var(--navy); font-size: 18px; }
footer .logo-mark { width: 28px; height: 28px; }
footer nav { display: flex; gap: 22px; }
footer nav a:hover { color: var(--ink); }

/* Waitlist dialog */
.waitlist {
  width: min(460px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto;
  border: 0; border-radius: 28px; padding: 0; color: var(--ink); background: #fff;
  box-shadow: 0 40px 80px -20px rgba(8, 26, 54, .55);
}
.waitlist::backdrop { background: rgba(8, 26, 54, .6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.waitlist[open] { animation: pop .28s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.wl-body { padding: 36px 32px 30px; }
.wl-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: var(--snow); color: var(--muted); font-size: 15px; cursor: pointer;
}
.wl-close:hover { background: var(--line); color: var(--ink); }
.wl-badge { display: inline-block; background: #fff4d6; color: #8a5a00; font-weight: 700; font-size: 12px; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; }
.waitlist h2 { font-size: 28px; font-weight: 800; margin: 14px 0 8px; }
.wl-lede { color: var(--muted); font-size: 15px; }
#wl-form { display: grid; gap: 16px; margin-top: 22px; }
.wl-field span, .wl-seg legend { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.wl-field input {
  width: 100%; font: 16px var(--font-body); padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--snow); color: var(--ink);
}
.wl-field input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 224, .12); }
.wl-field input[aria-invalid="true"] { border-color: var(--red); }
.wl-seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wl-seg legend { grid-column: 1 / -1; }
.wl-seg label { cursor: pointer; }
.wl-seg input { position: absolute; opacity: 0; pointer-events: none; }
.wl-seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px;
  transition: border-color .15s, background .15s;
}
.wl-seg input:checked + span { border-color: var(--navy); background: #eef3ff; }
.wl-seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31, 95, 224, .2); }
.wl-seg .flag { display: inline-block; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.wl-consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.wl-consent a { color: var(--blue); text-decoration: underline; }
.wl-error { color: var(--red); font-size: 13.5px; font-weight: 600; margin: -4px 0 0; }
.wl-submit { width: 100%; justify-content: center; padding: 15px; font-size: 16px; background: var(--navy); color: #fff; border: 0; cursor: pointer; font-family: var(--font-body); }
.wl-submit:disabled { opacity: .6; cursor: progress; }
.wl-privacy a { color: var(--blue); text-decoration: underline; }
.wl-privacy { margin-top: 14px; font-size: 12.5px; color: var(--muted); background: var(--snow); padding: 12px 14px; border-radius: 12px; }
.wl-done { text-align: center; padding-top: 48px; }
.wl-done .wl-lede { margin-bottom: 24px; }
.wl-check { width: 68px; height: 68px; margin: 0 auto; border-radius: 50%; background: #dcfce7; color: var(--green); display: grid; place-items: center; font-size: 32px; font-weight: 800; }
.notify-link {
  margin-top: 22px; background: none; border: 0; color: rgba(255, 255, 255, .8); font: 15px var(--font-body); cursor: pointer;
}
.notify-link:hover { color: #fff; }
.notify-link u { text-underline-offset: 3px; }
@media (max-width: 640px) { .wl-body { padding: 32px 22px 24px; } .waitlist h2 { font-size: 24px; } }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 14px;
  font-weight: 600; font-size: 15px; max-width: calc(100% - 32px); text-align: center;
  box-shadow: 0 18px 40px -12px rgba(8, 26, 54, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora, .float, .mic::before, .mic::after { animation: none !important; }
}

/* Pricing */
.pricing { background: var(--snow); }
.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 1000px; margin-inline: auto; align-items: stretch; }
.plan {
  position: relative; background: #fff; border-radius: 28px; padding: 40px 36px 32px;
  border: 2px solid var(--navy); box-shadow: 0 30px 60px -30px rgba(8, 26, 54, .35);
  display: flex; flex-direction: column;
}
.trial-badge {
  position: absolute; top: -16px; left: 36px;
  background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; letter-spacing: .02em;
  box-shadow: 0 8px 18px -8px rgba(254, 204, 2, .9);
}
.plan h3 { font-size: 26px; }
.plan-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 4px; margin-top: 24px; font-family: var(--font-display); color: var(--navy); }
.price .cur { font-size: 30px; font-weight: 700; align-self: flex-start; margin-top: 10px; }
.price .amt { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.price .per { font-family: var(--font-body); font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.per-day { color: var(--muted); font-size: 15px; margin-top: 6px; }
.per-day strong { color: var(--green); }
.features { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 12px; }
.features li { position: relative; padding-left: 32px; font-size: 15px; }
.features li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  background: #dcfce7; color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.plan-btn { justify-content: center; margin-top: auto; padding: 15px 20px; font-size: 16px; background: var(--navy); color: #fff; }
.plan-btn:hover { box-shadow: 0 10px 24px -10px rgba(8, 26, 54, .7); }
.fine { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }

.coffee {
  border-radius: 28px; padding: 40px 36px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(500px 300px at 100% 0%, rgba(254, 204, 2, .25), transparent 60%),
              linear-gradient(160deg, #2b1a0e, #4a2c17 55%, #6b3e1d);
  display: flex; flex-direction: column;
}
.coffee::after { content: "☕"; position: absolute; right: -10px; bottom: -30px; font-size: 180px; opacity: .08; transform: rotate(-12deg); }
.coffee h3 { font-size: 28px; }
.coffee > p { color: rgba(255, 255, 255, .75); margin-top: 10px; font-size: 15px; }
.vs { display: grid; gap: 14px; margin: 30px 0 22px; position: relative; z-index: 1; }
.vs-row {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
}
.vs-row.us { background: #fff; color: var(--ink); border-color: #fff; }
.vs-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 22px; flex: none; }
.vs-ico.logo-ico { background: none; }
.vs-ico.logo-ico svg { width: 44px; height: 44px; }
.vs-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.vs-main b { font-size: 15px; }
.vs-main small { font-size: 12.5px; opacity: .7; }
.vs-bar { display: block; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); margin-top: 8px; overflow: hidden; }
.vs-bar i { display: block; height: 100%; border-radius: 6px; background: #c08457; }
.vs-row.us .vs-bar { background: #eef1f7; }
.vs-row.us .vs-bar i { background: var(--green); }
.vs-row strong { font-family: var(--font-display); font-size: 26px; font-weight: 800; }
.vs-row:not(.us) strong { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(255, 255, 255, .5); }
.vs-note { margin-top: auto; font-size: 14px; color: rgba(255, 255, 255, .7); position: relative; z-index: 1; }

@media (max-width: 900px) {
  .price-wrap { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  .plan, .coffee { padding: 36px 22px 26px; border-radius: 24px; }
  .trial-badge { left: 22px; }
  .price .amt { font-size: 64px; }
  .coffee h3 { font-size: 24px; }
  .vs-row { padding: 12px; gap: 10px; }
  .vs-ico, .vs-ico.logo-ico svg { width: 36px; height: 36px; font-size: 18px; }
  .vs-row strong { font-size: 21px; }
}
@media (max-width: 400px) {
  .vs-ico { display: none; }
}

/* ==========================================================================
   Phone mockups — designed at 320px wide, scaled with `zoom`
   ========================================================================== */
.phone {
  --pz: 1;
  zoom: var(--pz);
  width: 320px; height: 680px; flex: none;
  border-radius: 52px; padding: 11px;
  background: linear-gradient(145deg, #2a2d34, #0b0c0f 40%, #1c1e23);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #3a3d45, inset 0 0 0 4px #0b0c0f;
  position: relative;
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 70px; border-radius: 0 3px 3px 0; background: #22252b;
}
.phone.sm { --pz: .82; }
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 42px; background: #f4f6fb; color: #0f1b2d;
  font-family: var(--font-body); font-size: 13px; line-height: 1.4;
  display: flex; flex-direction: column;
}
.screen::before { /* dynamic island */
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 10;
}
.sb { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0; height: 46px; font-weight: 600; font-size: 14px; flex: none; }
.sb-i { display: flex; gap: 5px; align-items: center; }
.sb-i i { width: 16px; height: 10px; background: linear-gradient(90deg, currentColor 20%, transparent 20% 27%, currentColor 27% 47%, transparent 47% 54%, currentColor 54% 74%, transparent 74% 81%, currentColor 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sb-i b { width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .9; }
.sb-i b::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.pad { padding: 8px 18px 0; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.home-ind { position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%); width: 110px; height: 4px; border-radius: 4px; background: #0f1b2d; opacity: .85; z-index: 5; }
.screen.dark .home-ind { background: #fff; }

.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.app-top .x { width: 30px; height: 30px; border-radius: 50%; background: #e6eaf2; display: grid; place-items: center; font-size: 14px; color: #5a6a82; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 11.5px; background: #e8eefc; color: var(--blue); }
.mini-progress { flex: 1; height: 7px; border-radius: 6px; background: #e3e8f1; margin: 0 12px; overflow: hidden; }
.mini-progress span { display: block; height: 100%; border-radius: 6px; }
.p-eyebrow { font-size: 11px; color: #5a6a82; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.app-title { font-family: var(--font-display); font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.app-btn {
  margin-top: auto; margin-bottom: 26px; border: 0; width: 100%;
  padding: 15px; border-radius: 16px; background: var(--navy); color: #fff;
  font: 600 15px var(--font-body); display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* Home */
.streak { background: #fff4d6; color: #a15c00; font-weight: 700; padding: 6px 11px; border-radius: 12px; font-size: 14px; }
.lesson-card {
  margin-top: 14px; border-radius: 22px; padding: 18px; color: #fff;
  background: linear-gradient(135deg, #1f5fe0, #3a3fb8 70%, #5b34b5);
  display: flex; gap: 16px; align-items: center; position: relative; overflow: hidden;
}
.lesson-card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ring {
  --p: 60; width: 78px; height: 78px; border-radius: 50%; flex: none;
  background: conic-gradient(var(--yellow) calc(var(--p) * 1%), rgba(255,255,255,.2) 0);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #2c4cc9; }
.ring span { position: relative; text-align: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1; }
.ring small { display: block; font-size: 9.5px; font-family: var(--font-body); font-weight: 500; opacity: .8; margin-top: 2px; }
.lesson-card .tag { font-size: 11px; opacity: .8; font-weight: 600; }
.lesson-card h5 { margin: 3px 0 2px; font-family: var(--font-display); font-size: 17px; line-height: 1.2; }
.lesson-card .sub { font-size: 11.5px; opacity: .75; }
.segs { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.segs li { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 11px 13px; font-weight: 600; font-size: 14px; border: 1.5px solid transparent; }
.segs .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.segs .ic svg { width: 18px; height: 18px; }
.segs li div { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.segs li small { font-weight: 500; color: #5a6a82; font-size: 11.5px; }
.segs .st { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.segs .done .st { background: #dcfce7; color: var(--green); }
.segs .now { border-color: var(--c-listen); box-shadow: 0 6px 16px -8px rgba(139, 92, 246, .6); }
.segs .now .st { background: var(--c-listen); color: #fff; font-size: 9px; }
.segs .todo .st { border: 2px solid #dde3ee; }
.tabbar {
  display: flex; justify-content: space-around; padding: 10px 10px 26px; background: #fff;
  border-top: 1px solid #e9edf4; flex: none;
}
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10px; font-weight: 600; color: #98a3b5; }
.tabbar span.on { color: var(--blue); }
.tabbar svg { width: 22px; height: 22px; }

/* Flashcards */
.card-stack { position: relative; flex: 1; margin: 10px 4px 18px; }
.card-stack .ghost { position: absolute; inset: 0; border-radius: 26px; background: #fff; box-shadow: 0 6px 20px -10px rgba(15,27,45,.25); }
.card-stack .ghost.g1 { transform: translateY(14px) scale(.92); opacity: .5; }
.card-stack .ghost.g2 { transform: translateY(7px) scale(.96); opacity: .8; }
.fcard {
  position: absolute; inset: 0; background: #fff; border-radius: 26px; padding: 22px 20px;
  box-shadow: 0 18px 34px -16px rgba(15,27,45,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.fcard .art { width: 86px; height: 86px; border-radius: 26px; background: linear-gradient(135deg, #e8efff, #f3e8ff); display: grid; place-items: center; font-size: 44px; margin: 6px 0 14px; }
.fcard .word { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.fcard .ipa { color: #5a6a82; font-size: 13px; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.fcard .ipa i { width: 26px; height: 26px; border-radius: 50%; background: #e8eefc; color: var(--blue); display: grid; place-items: center; font-style: normal; font-size: 11px; }
.fcard hr { width: 100%; border: 0; border-top: 1.5px dashed #e3e8f1; margin: 16px 0; }
.fcard .tr { font-size: 19px; font-weight: 700; color: var(--blue); }
.fcard .ex { margin-top: 10px; font-size: 13.5px; color: #24324a; }
.fcard .ex b { color: var(--c-words); }
.fcard .ex-tr { font-size: 12px; color: #8090a8; margin-top: 3px; }
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 30px; }
.grades span { border-radius: 14px; padding: 9px 0; text-align: center; font-weight: 700; font-size: 12.5px; display: flex; flex-direction: column; }
.grades small { font-weight: 500; font-size: 10.5px; opacity: .75; }
.grades .again { background: #fee2e2; color: #b91c1c; }
.grades .hard { background: #ffedd5; color: #c2410c; }
.grades .good { background: #dcfce7; color: #15803d; }
.grades .easy { background: #dbeafe; color: #1d4ed8; }

/* Reading */
.article { background: #fff; border-radius: 22px; padding: 18px; position: relative; }
.article h6 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; }
.article p { font-size: 13.5px; line-height: 1.6; color: #24324a; }
.article mark { background: #d7f5f1; color: #0b6e64; padding: 0 3px; border-radius: 4px; font-weight: 600; }
.pop {
  position: absolute; left: 34px; top: 116px; z-index: 3;
  background: var(--navy); color: #fff; padding: 9px 12px; border-radius: 12px; font-size: 12px;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.5);
}
.pop b { display: block; font-size: 13px; }
.pop::after { content: ""; position: absolute; left: 24px; bottom: -6px; width: 12px; height: 12px; background: var(--navy); transform: rotate(45deg); }
.pop .add { display: inline-block; margin-top: 5px; color: var(--yellow); font-weight: 600; font-size: 11px; }
.q { margin-top: 12px; }
.q h6 { font-size: 13.5px; margin: 0 0 9px; font-weight: 700; }
.opt { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #e3e8f1; border-radius: 14px; padding: 10px 12px; font-weight: 600; font-size: 13px; margin-bottom: 7px; }
.opt i { width: 22px; height: 22px; border-radius: 7px; background: #eef1f7; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #5a6a82; }
.opt.ok { border-color: var(--green); background: #f0fdf4; }
.opt.ok i { background: var(--green); color: #fff; }
.opt.ok::after { content: "✓"; margin-left: auto; color: var(--green); font-weight: 800; }

/* Listening */
.audio-card {
  border-radius: 24px; padding: 18px; color: #fff;
  background: linear-gradient(150deg, #6d4ae8, #8b5cf6 50%, #b06ce8);
  position: relative; overflow: hidden;
}
.audio-card::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -50px; top: -60px; background: rgba(255,255,255,.12); }
.audio-card .meta { font-size: 11px; opacity: .85; font-weight: 600; }
.audio-card h6 { font-family: var(--font-display); font-size: 19px; margin: 4px 0 14px; line-height: 1.2; position: relative; z-index: 1; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 54px; }
.wave i { flex: 1; border-radius: 3px; background: rgba(255,255,255,.4); }
.wave i.on { background: #fff; }
.times { display: flex; justify-content: space-between; font-size: 11px; opacity: .85; margin-top: 6px; font-variant-numeric: tabular-nums; }
.controls { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.controls span { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.18); padding: 6px 10px; border-radius: 10px; }
.controls .play { width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #6d4ae8; display: grid; place-items: center; padding: 0; }
.controls .play svg { width: 22px; height: 22px; }
.transcript-toggle { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; }
.switch { width: 36px; height: 21px; border-radius: 20px; background: #dde3ee; position: relative; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }

/* Speaking (dark) */
.screen.dark { background: radial-gradient(120% 70% at 50% 100%, #3a2a0a 0%, transparent 60%), linear-gradient(180deg, #0b1630, #0a1226); color: #fff; }
.screen.dark .app-top .x { background: rgba(255,255,255,.1); color: #c9d3e5; }
.screen.dark .chip { background: rgba(245,158,11,.18); color: #fbbf24; }
.bubble { border-radius: 18px; padding: 12px 14px; font-size: 13.5px; max-width: 88%; margin-bottom: 10px; }
.bubble.tutor { background: rgba(255,255,255,.09); border-top-left-radius: 6px; }
.bubble.tutor .who { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #9fb0cc; margin-bottom: 5px; font-weight: 600; }
.bubble.tutor .who i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue-2)); }
.bubble.me { background: #f59e0b; color: #1d1300; align-self: flex-end; border-top-right-radius: 6px; font-weight: 500; }
.bubble.me u { text-decoration: none; border-bottom: 2px dotted #7c2d12; }
.scores { display: flex; gap: 8px; margin: 4px 0 0; }
.score { flex: 1; background: rgba(255,255,255,.07); border-radius: 14px; padding: 10px; text-align: center; }
.score b { display: block; font-family: var(--font-display); font-size: 21px; }
.score small { font-size: 10.5px; color: #9fb0cc; }
.score.hi b { color: #4ade80; }
.score.mid b { color: #fbbf24; }
.mic-wrap { margin-top: auto; margin-bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mic-wrap small { color: #9fb0cc; font-size: 11.5px; }
.mic { width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, #fbbf24, #f59e0b); display: grid; place-items: center; color: #1d1300; position: relative; }
.mic svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.mic::before, .mic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(251,191,36,.6); animation: ping 2.4s ease-out infinite; }
.mic::after { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.livewave { display: flex; gap: 3px; height: 22px; align-items: center; }
.livewave i { width: 3px; border-radius: 2px; background: #fbbf24; animation: eq 1s ease-in-out infinite; }
@keyframes eq { 50% { transform: scaleY(.35); } }

/* Progress */
.cefr { background: #fff; border-radius: 22px; padding: 16px; margin-top: 12px; }
.cefr-rail { display: flex; align-items: center; margin: 12px 0 6px; }
.cefr-rail .node { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 12.5px; flex: none; background: #eef1f7; color: #8090a8; }
.cefr-rail .node.done { background: var(--blue); color: #fff; }
.cefr-rail .node.cur { background: #fff; color: var(--blue); box-shadow: 0 0 0 2.5px var(--blue); }
.cefr-rail .node.goal { background: var(--navy); color: var(--yellow); }
.cefr-rail .bar { flex: 1; height: 5px; background: #eef1f7; margin: 0 4px; border-radius: 4px; overflow: hidden; }
.cefr-rail .bar span { display: block; height: 100%; background: var(--blue); }
.cefr .row { display: flex; justify-content: space-between; font-size: 11.5px; color: #5a6a82; }
.ready { background: #fff; border-radius: 22px; padding: 16px; margin-top: 10px; }
.ready h6, .cefr h6 { margin: 0; font-size: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.ready h6 span, .cefr h6 span { font-size: 11.5px; color: var(--blue); font-weight: 600; }
.rbar { margin-top: 11px; }
.rbar div { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.rbar div span { color: #5a6a82; font-weight: 500; }
.rbar p { height: 7px; border-radius: 6px; background: #eef1f7; overflow: hidden; }
.rbar p i { display: block; height: 100%; border-radius: 6px; }
.heat { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; margin-top: 10px; }
.heat i { aspect-ratio: 1; border-radius: 3px; background: #eef1f7; }
.heat i.l1 { background: #c7d7fb; } .heat i.l2 { background: #7fa3f5; } .heat i.l3 { background: var(--blue); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .gallery { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .gallery figure:nth-child(even) { margin-top: 0; }
  .skills, .yki-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero .container, .roadmap .container { grid-template-columns: 1fr; }
  .hero { padding-bottom: 72px; }
  .hero-copy { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .stores, .hero-stats { justify-content: center; }
  .road-visual { order: 2; }
  section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .skills, .yki-grid { grid-template-columns: 1fr; }
  .lesson-bar { grid-template-columns: 1fr 1fr; height: auto; }
  .lesson-bar div { height: 52px; }
  .lesson-scale { display: none; }
  .lesson-bar { margin-bottom: 40px; }
  .gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px;
    padding: 0 16px 20px; margin: 0 -16px; justify-content: flex-start;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery figure { scroll-snap-align: center; }
  .phone.sm { --pz: .78; }
  .hero .phone { --pz: .86; }
  .float { font-size: 12px; padding: 9px 12px; }
  .float.f1 { left: 0; top: -14px; }
  .float.f2 { right: 0; }
  .float.f3 { display: none; }
  .cta-box { padding: 56px 24px; border-radius: 24px; }
  .yki-band { padding: 24px; }
  .hero-stats { gap: 20px; flex-wrap: nowrap; }
  .hero-stats strong { font-size: 23px; }
  .hero-stats span { font-size: 11px; }
  .store { min-width: 0; flex: 1 1 150px; justify-content: center; padding: 10px 12px; gap: 9px; }
  .store strong { font-size: 16px; }
  .store svg { width: 22px; height: 22px; }
  footer .container { flex-direction: column; text-align: center; }
}
