/* ==========================================================================
   Aloudo — Design system & styles
   ========================================================================== */

:root {
  --bg: #05070c;
  --bg-alt: #080b12;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --text: #edf1f7;
  --text-2: #a3adbd;
  --text-3: #6f798b;

  --jade: #3ee0a1;
  --cyan: #5ccbff;
  --violet: #a493ff;
  --amber: #f7c46c;
  --grad: linear-gradient(120deg, #3ee0a1 0%, #5ccbff 55%, #a493ff 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
p, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(62, 224, 161, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: #fff; color: #000; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Background decoration ---------- */
.bg-deco { position: absolute; inset: 0 0 auto 0; height: 1500px; pointer-events: none; z-index: -1; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 65% 45% at 50% 0%, #000 25%, transparent 75%);
          mask-image: radial-gradient(ellipse 65% 45% at 50% 0%, #000 25%, transparent 75%);
  opacity: .7;
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.bg-glow--1 {
  width: 900px; height: 520px; left: 50%; top: -260px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(62, 224, 161, .38), transparent);
}
.bg-glow--2 {
  width: 620px; height: 460px; left: 58%; top: 420px;
  background: radial-gradient(closest-side, rgba(92, 203, 255, .18), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 16px; }
.btn--primary {
  background: #fff; color: #05070c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 30px -10px rgba(62, 224, 161, .55);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 14px 40px -10px rgba(62, 224, 161, .8);
}
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.btn .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--jade); font-weight: 500; font-size: 14.5px; }
.text-link .i { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover .i { transform: translateX(3px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(5, 7, 12, .78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
          backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav__inner { height: 68px; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-weight: 700; font-size: 18.5px; letter-spacing: -.03em; }
.brand__tag {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .04em;
  padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text-2);
}

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--text); background: rgba(255, 255, 255, .045); }

.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02); }
.lang button {
  border: 0; background: transparent; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--text-3);
  transition: background .2s, color .2s;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text); }

.nav__toggle {
  display: none; width: 40px; height: 40px; place-items: center;
  border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 255, 255, .03);
}
.nav__toggle .i-close { display: none; }
.nav.is-open .nav__toggle .i-open { display: none; }
.nav.is-open .nav__toggle .i-close { display: block; }

.mobile-menu { display: none; }

@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-grid; }
  .mobile-menu {
    display: block; overflow: hidden; max-height: 0;
    transition: max-height .4s var(--ease);
  }
  .nav.is-open .mobile-menu { max-height: 520px; border-top: 1px solid var(--line); }
  .mobile-menu nav { display: flex; flex-direction: column; padding: 12px 0 20px; }
  .mobile-menu a:not(.btn) { padding: 12px 4px; font-size: 16px; color: var(--text-2); border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; }
}
@media (max-width: 560px) {
  .nav__cta { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--jade);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 2px;
  background: currentColor; box-shadow: 0 0 12px currentColor;
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.1; letter-spacing: -.035em; margin-top: 18px;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--text-2); margin-top: 18px; max-width: 640px; text-wrap: pretty; }
.lead a { color: var(--text); border-bottom: 1px solid var(--line-2); }

.hero__title em, .h2 em, .mission__quote em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; margin-right: -.06em;
}

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 140px) 0; position: relative; }
.section--tight-top { padding-top: clamp(24px, 4vw, 48px); }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  padding: 28px;
  transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card--spot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(62, 224, 161, .09), transparent 45%);
  opacity: 0; transition: opacity .35s;
}
.card--spot:hover::after { opacity: 1; }
.card h3 { font-size: 19px; margin-top: 20px; }
.card p { color: var(--text-2); margin-top: 10px; font-size: 15px; }

.icon-tile {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(62, 224, 161, .14), rgba(62, 224, 161, .04));
  border: 1px solid rgba(62, 224, 161, .22);
  color: var(--jade);
}
.icon-tile--amber {
  background: linear-gradient(180deg, rgba(247, 196, 108, .14), rgba(247, 196, 108, .03));
  border-color: rgba(247, 196, 108, .22); color: var(--amber);
}

/* ---------- Avatars & mini UI ---------- */
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
  background: #1b2130; color: var(--text); border: 1px solid var(--line-2);
}
.avatar--sm { width: 26px; height: 26px; font-size: 11.5px; }
.avatar--amber { background: rgba(247, 196, 108, .16); color: var(--amber); border-color: rgba(247, 196, 108, .3); }
.avatar--jade { background: rgba(62, 224, 161, .16); color: var(--jade); border-color: rgba(62, 224, 161, .35); }
.avatar--jade .i { width: 15px; height: 15px; }
.avatar--brand { background: none; border: 0; }
.avatar--brand svg { width: 100%; height: 100%; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: clamp(128px, 15vw, 176px) 0 0; text-align: center; }
.hero__copy { display: flex; flex-direction: column; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03);
  font-size: 13.5px; color: var(--text-2);
  transition: border-color .2s, background .2s, color .2s;
}
.pill:hover { border-color: rgba(62, 224, 161, .45); background: rgba(62, 224, 161, .06); color: var(--text); }
.pill__tag { padding: 3px 10px; border-radius: 999px; background: rgba(62, 224, 161, .15); color: var(--jade); font-size: 12px; font-weight: 600; }
.pill .i { width: 14px; height: 14px; }

.hero__title {
  margin-top: 28px;
  font-size: clamp(2.7rem, 7.4vw, 5.75rem);
  line-height: 1.04; letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 26px; max-width: 680px;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem); color: var(--text-2);
  text-wrap: pretty;
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin-top: 30px; font-size: 14px; color: var(--text-3);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .i { width: 15px; height: 15px; color: var(--jade); }

.hero__visual { position: relative; margin-top: clamp(56px, 7vw, 84px); }
.hero__visual::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: -40px; height: 200px;
  background: radial-gradient(closest-side, rgba(62, 224, 161, .22), transparent);
  filter: blur(40px); z-index: -1;
}

/* ---------- Product preview window (lesson demo) ---------- */
.app {
  position: relative; max-width: 1120px; margin: 0 auto; text-align: left;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0d121c 0%, #090c13 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, .5),
    0 50px 120px -30px rgba(0, 0, 0, .85),
    0 0 140px -50px rgba(62, 224, 161, .45);
  overflow: hidden; font-size: 14px;
}
.app::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
}
.app__bar {
  display: flex; align-items: center; gap: 16px;
  height: 46px; padding: 0 16px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.app__dots { display: flex; gap: 7px; }
.app__dots i { width: 11px; height: 11px; border-radius: 50%; background: #262c38; }
.app__url {
  flex: 1; max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .04);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3);
  white-space: nowrap; overflow: hidden;
}
.app__url .i { width: 12px; height: 12px; }
.app__streak { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--amber); }
.app__streak .i { width: 15px; height: 15px; fill: rgba(247, 196, 108, .25); }

.app__body { display: grid; grid-template-columns: 212px minmax(0, 1fr) 300px; min-height: 470px; }

/* Sidebar */
.app__side { display: flex; flex-direction: column; gap: 16px; padding: 18px 14px; border-right: 1px solid var(--line); }
.lvl { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.lvl__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lvl__badge {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px; color: #05070c; background: var(--grad);
}
.lvl b { display: block; font-size: 13px; font-weight: 600; }
.lvl small { display: block; font-size: 11.5px; color: var(--text-3); }
.bar { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad); }
.units { display: flex; flex-direction: column; gap: 2px; }
.units li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.units__dot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line-2); }
.units__dot .i { width: 10px; height: 10px; stroke-width: 3.5; }
.units li.is-done { color: var(--text-2); }
.units li.is-done .units__dot { background: rgba(62, 224, 161, .15); border-color: rgba(62, 224, 161, .5); color: var(--jade); }
.units li.is-current { background: rgba(255, 255, 255, .06); color: var(--text); font-weight: 500; }
.units li.is-current .units__dot { border-color: var(--jade); box-shadow: inset 0 0 0 3px #0c111a, inset 0 0 0 10px var(--jade); }
.usage { margin-top: auto; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.usage small { display: block; font-size: 11px; color: var(--text-3); }
.usage b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 10px; }
.usage .usage__meta { margin-top: 8px; color: var(--amber); }

/* Main column */
.app__main { display: flex; flex-direction: column; gap: 16px; padding: 18px 22px 20px; min-width: 0; }
.lesson-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lesson-head small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.lesson-head b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.accent-toggle { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); flex: none; }
.accent-toggle span { padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--text-3); }
.accent-toggle .is-on { background: rgba(255, 255, 255, .1); color: var(--text); }

.convo { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.bubble { display: flex; gap: 10px; align-items: flex-start; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.bubble__body {
  max-width: 80%; padding: 10px 14px 12px;
  border-radius: 4px 16px 16px 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05);
}
.bubble__body small { display: block; font-size: 11px; font-weight: 500; color: var(--text-3); margin-bottom: 2px; }
.bubble__body p { font-size: 14px; line-height: 1.5; }
.bubble--you { justify-content: flex-end; }
.bubble--you .bubble__body {
  min-width: 220px; border-radius: 16px 4px 16px 16px;
  border-color: rgba(62, 224, 161, .25); background: rgba(62, 224, 161, .08);
}
.avatar--cyan { background: rgba(92, 203, 255, .16); color: var(--cyan); border-color: rgba(92, 203, 255, .35); }

.playline { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.play { width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--text); color: var(--bg); }
.play .i { width: 11px; height: 11px; fill: currentColor; stroke: none; margin-left: 2px; }
.dur { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

.wave { display: inline-flex; align-items: center; gap: 2.5px; height: 22px; }
.wave i { width: 3px; height: 40%; border-radius: 3px; background: var(--text-3); }
.wave i:nth-child(3n) { height: 70%; }
.wave i:nth-child(4n + 1) { height: 95%; }
.wave i:nth-child(5n + 2) { height: 55%; }
.wave i:nth-child(7n) { height: 30%; }
.wave i:nth-child(6n + 3) { height: 80%; }
.wave i:nth-child(2n) { animation-delay: -.3s; }
.wave i:nth-child(3n) { animation-delay: -.6s; }
.wave i:nth-child(5n) { animation-delay: -.15s; }
.bubble--them .wave i { background: var(--cyan); opacity: .75; }
.wave--live { display: none; }
.wave--live i { background: var(--jade); }
@keyframes wave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

.convo__prompt { display: flex; align-items: center; gap: 8px; padding: 0 4px; font-size: 12.5px; color: var(--text-2); transition: opacity .4s; }
.convo__prompt .i { width: 14px; height: 14px; color: var(--jade); }
.transcript { font-size: 14px; line-height: 1.55; }
.w { border-radius: 4px; transition: opacity .25s, color .3s; }

.mic-row { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.mic { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--grad); color: #05070c; }
.mic .i { width: 20px; height: 20px; stroke-width: 2.2; }
.mic__label { font-size: 13px; color: var(--text-2); }
.mic__rec { display: none; color: var(--jade); font-weight: 500; }
.xp {
  margin-left: auto; padding: 5px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  color: var(--amber); background: rgba(247, 196, 108, .12);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
@keyframes micPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(62, 224, 161, .25), 0 0 0 10px rgba(62, 224, 161, .08); }
  50% { box-shadow: 0 0 0 8px rgba(62, 224, 161, .15), 0 0 0 18px rgba(62, 224, 161, .05); }
}

/* Tutor panel */
.app__tutor {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 18px; border-left: 1px solid var(--line); background: rgba(255, 255, 255, .015);
}
.tutor__head { display: flex; align-items: center; justify-content: space-between; }
.tutor__head > span:first-child { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.tutor__head .i { width: 15px; height: 15px; color: var(--jade); }
.tag {
  padding: 3px 8px; border-radius: 6px;
  font-family: var(--font-mono); font-size: 10.5px;
  color: var(--amber); background: rgba(247, 196, 108, .12); border: 1px solid rgba(247, 196, 108, .25);
}
.tutor__empty {
  position: absolute; inset: 56px 18px 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  font-size: 12.5px; color: var(--text-3); text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.dots3 { display: inline-flex; gap: 4px; }
.dots3 i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: blink 1.2s infinite; }
.dots3 i:nth-child(2) { animation-delay: .2s; }
.dots3 i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.tutor__content { display: flex; flex-direction: column; gap: 10px; transition: opacity .3s; }
.tsec { padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2); }
.tsec small { display: block; margin-bottom: 5px; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.tsec p { font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.score { display: flex; align-items: baseline; gap: 3px; margin-bottom: 8px; }
.score b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.score span { font-size: 12px; color: var(--text-3); }
.note { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.chip { padding: 1px 7px; border-radius: 5px; font-family: var(--font-mono); font-size: 11px; }
.chip--warn { background: rgba(247, 196, 108, .14); color: var(--amber); }
.fix s { color: #ff8f8f; text-decoration-thickness: 1.5px; }
.fix b, .tsec--vi b { color: var(--jade); font-weight: 600; }
.tsec--vi { border-color: rgba(92, 203, 255, .25); background: rgba(92, 203, 255, .05); }
.tsec .better { font-style: italic; color: var(--text); }

/* Demo stages — set by JS; the static HTML shows the final "done" stage */
.app[data-stage="idle"] .bubble--them,
.app[data-stage="idle"] .convo__prompt,
.app:is([data-stage="idle"], [data-stage="jake"]) .bubble--you { opacity: 0; transform: translateY(8px); }
.app[data-stage="jake"] .bubble--them .wave i,
.app[data-stage="rec"] .wave--live i { animation: wave .9s ease-in-out infinite; }
.app[data-stage="rec"] .wave--live { display: inline-flex; }
.app[data-stage="rec"] .transcript { display: none; }
.app[data-stage="text"] .w:not(.is-shown) { opacity: 0; }
.app:is([data-stage="feedback"], [data-stage="done"]) .w--fix { color: #ff8f8f; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.app:is([data-stage="feedback"], [data-stage="done"]) .w--warn { color: var(--amber); text-decoration: underline wavy; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.app[data-stage="rec"] .mic { animation: micPulse 1.2s ease-in-out infinite; }
.app[data-stage="rec"] .mic__idle { display: none; }
.app[data-stage="rec"] .mic__rec { display: inline; }
.app:not([data-stage="done"]) .xp { opacity: 0; transform: translateY(6px) scale(.9); }
.app:is([data-stage="idle"], [data-stage="jake"], [data-stage="rec"], [data-stage="text"]) .tutor__empty { opacity: 1; }
.app:is([data-stage="idle"], [data-stage="jake"], [data-stage="rec"], [data-stage="text"]) .tutor__content { opacity: 0; }
.app[data-stage="feedback"] .tsec { animation: fadeUp .5s var(--ease) both; }
.app[data-stage="feedback"] .tsec:nth-child(2) { animation-delay: .3s; }
.app[data-stage="feedback"] .tsec:nth-child(3) { animation-delay: .6s; }
.app[data-stage="feedback"] .tsec:nth-child(4) { animation-delay: .9s; }

@media (max-width: 1040px) {
  .app__body { grid-template-columns: minmax(0, 1fr) 280px; }
  .app__side { display: none; }
}
@media (max-width: 760px) {
  .app__body { grid-template-columns: 1fr; }
  .app__tutor { border-left: 0; border-top: 1px solid var(--line); }
  .app__url { display: none; }
  .app__streak { margin-left: auto; }
  .app__main { padding: 16px; }
  .lesson-head b { font-size: 15px; }
  .bubble__body { max-width: 88%; }
  .bubble--you .bubble__body { min-width: 0; }
}

/* ---------- Doc types marquee ---------- */
.doc-types { margin-top: clamp(56px, 7vw, 80px); }
.doc-types__label { font-size: 13.5px; color: var(--text-3); }
.marquee {
  margin-top: 18px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 10px; width: max-content; flex-wrap: nowrap; }
.marquee.is-ready .marquee__track { animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  font-size: 13.5px; color: var(--text-2); white-space: nowrap;
}
.marquee__track .lv { padding: 2px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; background: rgba(62, 224, 161, .12); color: var(--jade); }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }

/* ---------- Stats ---------- */
.stats-wrap { padding-top: clamp(72px, 9vw, 112px); }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
}
.stat { display: flex; flex-direction: column; gap: 6px; padding: 30px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-size: clamp(2.1rem, 3.6vw, 2.9rem); font-weight: 600; letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #8f9aad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 14px; color: var(--text-2); }
@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .stat { padding: 22px 18px; }
}

/* ==========================================================================
   BENTO
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento .card { padding: 0; display: flex; flex-direction: column; }
.bento .card__text { padding: 28px 28px 0; }
.bento .card__visual { flex: 1; display: flex; align-items: flex-end; padding: 24px 28px 28px; }
.bento__a { grid-column: span 4; }
.bento__b { grid-column: span 2; }
.bento__c, .bento__d, .bento__e { grid-column: span 2; }
.bento__f { grid-column: span 6; flex-direction: row !important; align-items: stretch; }
.bento__f .card__text { flex: 0 0 34%; padding-bottom: 28px; }
.bento__f .card__visual { align-items: center; }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__a, .bento__f { grid-column: span 2; }
  .bento__b, .bento__c, .bento__d, .bento__e { grid-column: span 1; }
  .bento__f { flex-direction: column !important; }
  .bento__f .card__text { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; }
}

/* A — learning path */
.levels { width: 100%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.level { padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.level b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.level small { display: block; margin-bottom: 12px; font-size: 11px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.level.is-done b { color: var(--jade); }
.level.is-current { border-color: rgba(62, 224, 161, .35); background: rgba(62, 224, 161, .05); }
.dots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.dots i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.dots i.on { background: var(--jade); opacity: .85; }
.dots i.cur { background: var(--jade); box-shadow: 0 0 0 2px rgba(62, 224, 161, .35), 0 0 12px rgba(62, 224, 161, .7); animation: pulseDot 1.6s ease-in-out infinite; }
@keyframes pulseDot { 50% { opacity: .45; } }
@media (max-width: 640px) {
  .levels { gap: 6px; }
  .level { padding: 8px; }
  .level small { display: none; }
  .level b { font-size: 14px; margin-bottom: 8px; }
  .dots { grid-template-columns: repeat(3, 1fr); gap: 3px; }
}

/* B — mini chat */
.mini-chat { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.mc { max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.mc--ai { border: 1px solid rgba(62, 224, 161, .2); background: rgba(62, 224, 161, .07); border-top-left-radius: 4px; }
.mc--me { align-self: flex-end; background: rgba(255, 255, 255, .07); border-top-right-radius: 4px; }

/* C — pronunciation */
.pron { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.pron li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.pron__w { font-size: 14px; font-weight: 500; }
.pron__ipa { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.pron__s { margin-left: auto; padding: 2px 7px; border-radius: 6px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; background: rgba(62, 224, 161, .12); color: var(--jade); }
.pron__s--warn { background: rgba(247, 196, 108, .14); color: var(--amber); }

/* D — accents */
.accents { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.accent { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.accent__tag { padding: 2px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; background: rgba(92, 203, 255, .12); color: var(--cyan); }
.accent__tag--uk { background: rgba(164, 147, 255, .14); color: var(--violet); }
.wave--sm { flex: 1; height: 18px; }
.accent .wave i { animation: wave 1.3s ease-in-out infinite; }
.accent + .accent .wave i { animation-duration: 1.7s; }
.accent__ipa { font-family: var(--font-mono); font-size: 12px; color: var(--text-2); white-space: nowrap; }

/* E — Vietnamese explanation */
.vi-card { width: 100%; padding: 14px; border-radius: 12px; border: 1px solid rgba(92, 203, 255, .22); background: rgba(92, 203, 255, .05); }
.vi-card b { font-size: 14px; }
.vi-card p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.vi-card__ex span { color: var(--jade); font-weight: 500; }

/* F — progress */
.progress-vis { gap: 32px; }
.heat { flex: none; display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 11px); grid-auto-columns: 11px; gap: 3px; }
.heat i { border-radius: 3px; background: rgba(255, 255, 255, .06); }
.heat i[data-l="1"] { background: rgba(62, 224, 161, .22); }
.heat i[data-l="2"] { background: rgba(62, 224, 161, .45); }
.heat i[data-l="3"] { background: rgba(62, 224, 161, .7); }
.heat i[data-l="4"] { background: var(--jade); }
.skills { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 12px; }
.skills li { display: grid; grid-template-columns: 84px 1fr 28px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); }
.skills b { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text); text-align: right; }
@media (max-width: 980px) { .progress-vis { flex-wrap: wrap; } }
@media (max-width: 640px) { .heat { grid-template-rows: repeat(7, 8px); grid-auto-columns: 8px; gap: 2px; } }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.how__step {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.how__step::before {
  content: ""; position: absolute; top: -1px; left: 26px; right: 26px; height: 1px;
  background: var(--grad); opacity: .6;
}
.how__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.how__num { font-family: var(--font-mono); font-size: 13px; color: var(--jade); }
.how__tag {
  font-size: 12px; color: var(--text-2);
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2);
}
.how__step h3 { font-size: 19px; margin-top: 18px; }
.how__step p { color: var(--text-2); font-size: 14.5px; margin-top: 8px; }
@media (max-width: 1000px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .how { grid-template-columns: 1fr; } }

/* ==========================================================================
   USE CASES (tabs)
   ========================================================================== */
.tabs__list {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02);
  margin-bottom: 28px;
}
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 0; border-radius: 10px; background: transparent;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: background .2s, color .2s;
}
.tab .i { width: 16px; height: 16px; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: rgba(255, 255, 255, .08); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tab[aria-selected="true"] .i { color: var(--jade); }

.tabs__panel { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.uc {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.uc__copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); letter-spacing: -.03em; }
.uc__copy > p { color: var(--text-2); margin-top: 14px; }
.soon {
  display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0; background: rgba(247, 196, 108, .14); color: var(--amber);
}

.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.checks .i {
  width: 20px; height: 20px; padding: 4px; margin-top: 1px; border-radius: 50%; stroke-width: 3;
  background: rgba(62, 224, 161, .14); color: var(--jade);
}

.chat {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(0, 0, 0, .3);
}
.msg { display: flex; gap: 10px; align-items: flex-start; }
.msg p { font-size: 14px; line-height: 1.55; }
.msg--user { flex-direction: row-reverse; }
.msg--user p {
  max-width: 82%; padding: 10px 14px; border-radius: 14px 4px 14px 14px;
  background: rgba(255, 255, 255, .07); color: var(--text);
}
.msg--agent > div {
  flex: 1; padding: 12px 14px; border-radius: 4px 14px 14px 14px;
  border: 1px solid rgba(62, 224, 161, .18); background: rgba(62, 224, 161, .045); color: var(--text);
}
.chat__table {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--line-2); font-size: 12.5px;
}
.chat__table span { color: var(--text-3); }
.chat__table b { font-family: var(--font-mono); font-weight: 500; font-size: 12px; text-align: right; }
.chat__table .amber { color: var(--amber); }
.chat__table .jade { color: var(--jade); }

@media (max-width: 900px) {
  .uc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tabs__list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .tab { justify-content: center; padding: 10px 8px; font-size: 13.5px; }
}

/* ==========================================================================
   TECHNOLOGY
   ========================================================================== */
.arch {
  display: grid; grid-template-columns: 1fr 28px 1.5fr 28px 1fr 28px 1fr; align-items: center;
  padding: clamp(20px, 3vw, 32px); margin-bottom: 20px;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(62, 224, 161, .07), transparent 70%),
    rgba(255, 255, 255, .015);
}
.arch__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.arch__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); text-align: center; }
.arch__box {
  display: flex; flex-direction: column; gap: 6px; padding: 12px;
  border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25);
}
.arch__box > span {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px;
  background: rgba(255, 255, 255, .03); font-size: 13px; color: var(--text-2);
}
.arch__box .i { width: 15px; height: 15px; color: var(--text-3); }
.arch__box--core {
  position: relative; padding: 14px;
  border-color: transparent;
  background:
    linear-gradient(#0a0f17, #0a0f17) padding-box,
    linear-gradient(135deg, rgba(62, 224, 161, .6), rgba(92, 203, 255, .3), rgba(164, 147, 255, .6)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 60px -20px rgba(62, 224, 161, .45);
}
.arch__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.arch__grid span {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px;
  background: rgba(255, 255, 255, .04); font-size: 12.5px;
}
.arch__grid b { font-weight: 500; }
.arch__grid .i { width: 14px; height: 14px; color: var(--jade); }
.arch__model {
  display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px;
  border-radius: 10px; border: 1px solid rgba(247, 196, 108, .3);
  background: linear-gradient(135deg, rgba(247, 196, 108, .1), rgba(240, 138, 93, .06));
}
.arch__model .i { width: 22px; height: 22px; color: var(--amber); }
.arch__model b { display: block; font-size: 15px; }
.arch__model small { display: block; font-size: 12px; color: var(--text-2); }
.arch__link {
  position: relative; height: 2px; align-self: center;
  background: repeating-linear-gradient(90deg, rgba(62, 224, 161, .7) 0 6px, transparent 6px 12px);
  background-size: 24px 2px;
  animation: flow 1s linear infinite;
  margin-top: 22px;
}
.arch__link::after {
  content: ""; position: absolute; right: -2px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-top: 2px solid var(--jade); border-right: 2px solid var(--jade); transform: rotate(45deg);
}
@keyframes flow { to { background-position: 24px 0; } }

@media (max-width: 1000px) {
  .arch { grid-template-columns: 1fr; gap: 0; }
  .arch__link {
    width: 2px; height: 32px; justify-self: center; margin: 6px 0;
    background: repeating-linear-gradient(180deg, rgba(62, 224, 161, .7) 0 6px, transparent 6px 12px);
    background-size: 2px 24px; animation-name: flowY;
  }
  .arch__link::after { right: auto; left: 50%; top: auto; bottom: -2px; margin: 0 0 0 -3.5px; transform: rotate(135deg); }
  .arch__box:not(.arch__box--core) { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .arch__box:not(.arch__box--core) > span { flex: 1 1 auto; justify-content: center; }
}
@keyframes flowY { to { background-position: 0 24px; } }

.pillars { margin-top: 0; }

/* ==========================================================================
   SECURITY
   ========================================================================== */
.security { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.security__head { margin-bottom: 0; position: sticky; top: 110px; }
.compliance { margin-top: 32px; }
.compliance__label { font-size: 13px; color: var(--text-3); }
.compliance ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.compliance li {
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--text-2); background: rgba(255, 255, 255, .02);
}
.sec-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .015);
}
.sec-item { padding: 28px; border-bottom: 1px solid var(--line); }
.sec-item:nth-child(odd) { border-right: 1px solid var(--line); }
.sec-item:nth-last-child(-n + 2) { border-bottom: 0; }
.sec-item .i { width: 22px; height: 22px; color: var(--jade); }
.sec-item h3 { font-size: 16.5px; margin-top: 16px; }
.sec-item p { color: var(--text-2); font-size: 14.5px; margin-top: 6px; }
@media (max-width: 900px) {
  .security { grid-template-columns: 1fr; }
  .security__head { position: static; }
}
@media (max-width: 560px) {
  .sec-grid { grid-template-columns: 1fr; }
  .sec-item:nth-child(odd) { border-right: 0; }
  .sec-item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}
.plan h3 { font-size: 18px; }
.plan__desc { color: var(--text-2); font-size: 14.5px; margin-top: 8px; min-height: 46px; }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.plan__price b { font-size: 2.6rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.plan__price span { color: var(--text-3); font-size: 14px; }
.plan .checks { margin: 24px 0 28px; flex: 1; }
.plan .checks li { font-size: 14.5px; color: var(--text-2); }
.plan .btn { width: 100%; }
.plan--featured {
  border-color: transparent;
  background:
    linear-gradient(180deg, #0d141d, #0a0e15) padding-box,
    linear-gradient(160deg, rgba(62, 224, 161, .7), rgba(92, 203, 255, .25) 40%, rgba(164, 147, 255, .5)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(62, 224, 161, .35);
}
.plan__badge {
  position: absolute; top: 18px; right: 18px;
  font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(62, 224, 161, .14); color: var(--jade);
}
.plans__note { text-align: center; color: var(--text-3); font-size: 13.5px; margin-top: 28px; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan__desc { min-height: 0; }
}

/* ==========================================================================
   COMPANY
   ========================================================================== */
.mission {
  position: relative; overflow: hidden;
  padding: clamp(32px, 6vw, 72px); border-radius: 28px;
  border: 1px solid var(--line);
  background:
    radial-gradient(800px 400px at 0% 0%, rgba(62, 224, 161, .1), transparent 60%),
    radial-gradient(600px 400px at 100% 100%, rgba(164, 147, 255, .1), transparent 60%),
    rgba(255, 255, 255, .015);
}
.mission__quote {
  margin-top: 22px; max-width: 920px;
  font-size: clamp(1.7rem, 3.8vw, 3rem); font-weight: 500; line-height: 1.18; letter-spacing: -.035em;
  text-wrap: balance;
}
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: clamp(32px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line);
}
.facts dt { font-size: 13px; color: var(--text-3); }
.facts dd { font-size: 16px; font-weight: 500; margin-top: 4px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.timeline {
  margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255, 255, 255, .015);
}
.timeline__title { font-size: 18px; margin-bottom: 28px; }
.timeline ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.timeline ol::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: linear-gradient(90deg, var(--jade), var(--cyan) 60%, var(--line-2) 80%);
}
.timeline li { position: relative; padding-top: 30px; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--jade);
}
.timeline li.is-now ~ li::before { border-color: var(--line-2); }
.timeline li.is-now::before { background: var(--jade); box-shadow: 0 0 0 5px rgba(62, 224, 161, .18), 0 0 20px rgba(62, 224, 161, .6); }
.timeline time { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.timeline b { display: block; font-size: 15px; font-weight: 600; margin-top: 6px; }
.timeline p { font-size: 13.5px; color: var(--text-2); margin-top: 6px; }
@media (max-width: 900px) {
  .timeline ol { grid-template-columns: 1fr; gap: 26px; padding-left: 30px; }
  .timeline ol::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--jade), var(--cyan) 60%, var(--line-2) 80%); }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -30px; top: 2px; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__head { margin-bottom: 0; position: sticky; top: 110px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 500; letter-spacing: -.015em;
  transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: #fff; }
.faq__list summary .i {
  width: 30px; height: 30px; padding: 7px; border-radius: 50%; flex: none;
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: transform .3s var(--ease), background .2s, color .2s;
}
.faq__list details[open] summary .i { transform: rotate(45deg); background: rgba(62, 224, 161, .12); color: var(--jade); border-color: rgba(62, 224, 161, .3); }
.faq__list details p { color: var(--text-2); padding: 0 50px 24px 0; font-size: 15.5px; }
.faq__list details[open] p { animation: fadeUp .4s var(--ease); }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq__list details p { padding-right: 0; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px);
  padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  border: 1px solid transparent;
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(62, 224, 161, .14), transparent 60%),
    radial-gradient(600px 400px at 100% 0%, rgba(92, 203, 255, .1), transparent 60%),
    linear-gradient(#080c13, #080c13) padding-box,
    linear-gradient(140deg, rgba(62, 224, 161, .5), rgba(255, 255, 255, .06) 40%, rgba(164, 147, 255, .4)) border-box;
}
.contact__list { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: 15px; }
.contact__list .i { width: 18px; height: 18px; color: var(--jade); }
.contact__list a:hover { color: var(--text); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3adbd' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field select option { background: #0b0f17; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: rgba(62, 224, 161, .6); box-shadow: 0 0 0 4px rgba(62, 224, 161, .12); background: rgba(0, 0, 0, .5);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: rgba(255, 125, 125, .7); }
.form__submit { margin-top: 4px; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.form__status { font-size: 14px; min-height: 1px; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--jade); }
.form__status.is-error { color: #ff8f8f; }
.form__fine { font-size: 12.5px; color: var(--text-3); }
.form__fine a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; margin-top: 40px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer__brand p { color: var(--text-3); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.footer__mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.footer__mail .i { width: 16px; height: 16px; color: var(--jade); }
.footer__mail:hover { color: var(--text); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 14px; letter-spacing: 0; }
.footer__cols a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--text-3); transition: color .2s; }
.footer__cols a:hover { color: var(--text); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--text-3);
}
.footer__status { display: inline-flex; align-items: center; gap: 8px; }
.footer__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 10px var(--jade); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal { padding: 140px 0 80px; }
.legal__inner { max-width: 760px; margin-inline: auto; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -.04em; margin-top: 16px; }
.legal .legal__meta { color: var(--text-3); font-size: 14px; margin-top: 12px; }
.legal__note {
  margin-top: 28px; padding: 14px 16px; border-radius: 12px; font-size: 14px;
  border: 1px solid rgba(247, 196, 108, .3); background: rgba(247, 196, 108, .06); color: var(--text-2);
}
.legal h2 { font-size: 21px; margin-top: 44px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--text-2); font-size: 15.5px; margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--jade); }
.legal-nav .nav__inner { justify-content: space-between; }
