/* ════════════════════════════════════════════════════════════
   Lexorate — Marketing Homepage (self-contained)
   Ported from docs/design_handoff_homepage (tokens.css + home.css)
   This stylesheet is the ONLY CSS the marketing page loads.
   ════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  /* Brand palette (from My_Tutor.svg) */
  --lex-blue:      #1B99D4;
  --lex-blue-deep: #1380B6;
  --lex-blue-soft: #E1EFF8;
  --lex-teal:      #0B7077;
  --lex-teal-deep: #074A50;
  --lex-mint:      #BDDAD7;
  --lex-mint-soft: #DCEDEB;
  --lex-cream:     #F1F8F8;
  --lex-coral:     #FC6620;
  --lex-coral-soft:#FFE3D3;
  --lex-yellow:    #FFBA49;
  --lex-yellow-soft:#FFEFD3;
  --lex-green:     #20AD96;
  --lex-green-soft:#D5EFEA;
  --lex-purple:    #7361C9;
  --lex-purple-soft:#E6E1FA;
  --lex-red:       #E5484D;
  --lex-red-soft:  #FCE4E4;

  /* Skill metrics — distinct from exercise & feedback hues */
  --skill-acc:   #4F52C9;
  --skill-flu:   #D24D8C;
  --skill-comp:  #586A85;
  --skill-pros:  #0E9AA8;

  /* Ink */
  --ink:        #14242E;
  --ink-2:      #3A4853;
  --ink-3:      #6B7884;
  --ink-4:      #9BA6B0;
  --hairline:   rgba(11, 74, 80, 0.10);
  --hairline-2: rgba(11, 74, 80, 0.05);

  /* Surfaces */
  --bg:         #F1F8F8;
  --bg-deep:    #E6F0F0;
  --surface:    #FFFFFF;

  /* Effects */
  --shadow-card:  0 1px 0 rgba(11,74,80,0.04), 0 8px 24px -12px rgba(11,74,80,0.18);
  --shadow-soft:  0 1px 0 rgba(11,74,80,0.04), 0 4px 14px -8px rgba(11,74,80,0.14);
  --shadow-lift:  0 1px 0 rgba(11,74,80,0.06), 0 20px 40px -20px rgba(11,74,80,0.28);

  /* Type */
  --display: 'Sora', system-ui, sans-serif;
  --body:    'Manrope', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Radii */
  --r-card:   20px;
  --r-btn:    14px;
  --r-chip:   999px;

  /* Marketing-page additions (from home.css) */
  --accent: var(--lex-coral);
  --accent-deep: #ED5314;
  --accent-soft: var(--lex-coral-soft);
  --accent-shadow: rgba(252,102,32,0.45);
  --maxw: 1180px;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.025em; line-height: 1.06; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Shared atoms ─────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--lex-teal);
  display: inline-flex; align-items: center; gap: 9px;
}
.kicker::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: var(--accent);
}
.kicker.center { justify-content: center; }
.eyebrow { /* mono label without rule */
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.sec-head { max-width: 660px; }
.sec-head h2 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-top: 16px;
  text-wrap: balance;
}
.sec-head p { margin-top: 16px; font-size: clamp(16px,1.4vw,18px); color: var(--ink-2); max-width: 560px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center p { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px; letter-spacing: -0.005em;
  border-radius: var(--r-btn); padding: 15px 24px; cursor: pointer; border: 0;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 10px 22px -10px var(--accent-shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 16px 30px -12px var(--accent-shadow); }
.btn-teal { background: var(--lex-teal-deep); color: #fff; box-shadow: 0 10px 22px -10px rgba(7,74,80,0.5); }
.btn-teal:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(7,74,80,0.55); }
.btn-ghost { background: rgba(255,255,255,0.7); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hairline); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(11,74,80,0.18); transform: translateY(-2px); }
.btn-ghost-dark { background: rgba(255,255,255,0.10); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28); }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.18); }
.btn-lg { padding: 17px 30px; font-size: 16.5px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
}

/* ════════════ NAV ════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(241,248,248,0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.nav.scrolled { border-color: var(--hairline); box-shadow: var(--shadow-soft); background: rgba(241,248,248,0.9); }
.nav__in { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(150deg, var(--lex-teal) 0%, var(--lex-teal-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -7px rgba(7,74,80,0.55);
}
.brand .mark svg { width: 20px; height: 20px; }
.brand .wm { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.03em; color: var(--lex-teal-deep); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav__links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2); padding: 9px 13px; border-radius: 10px;
  white-space: nowrap; transition: background .14s, color .14s;
}
.nav__links a:hover { background: rgba(11,74,80,0.06); color: var(--ink); }
.nav__right { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; }
.lang {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); padding: 8px 12px; border-radius: 10px; cursor: pointer;
  background: transparent; border: 0; font-family: inherit;
}
.lang:hover { background: rgba(11,74,80,0.06); }
.nav__login { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 10px 14px; border-radius: 10px; white-space: nowrap; }
.brand .wm { white-space: nowrap; }
.nav__login:hover { background: rgba(11,74,80,0.06); }
.nav__burger { display: none; }

/* nav primary CTA — smaller than .btn-lg (was an inline style in the handoff) */
.nav__cta { padding: 11px 18px; font-size: 14.5px; }

/* ── Language dropdown (replaces the handoff .lang button) ── */
.lang-menu { position: relative; }
.lang-menu > summary {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); padding: 8px 12px; border-radius: 10px; cursor: pointer;
  list-style: none;
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover { background: rgba(11,74,80,0.06); }
.lang-menu__list {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 200;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px;
  box-shadow: var(--shadow-lift); padding: 6px; min-width: 150px;
}
.lang-menu__list a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .14s, color .14s;
}
.lang-menu__list a:hover { background: rgba(11,74,80,0.06); }
.lang-menu__list a[aria-current="true"] { color: var(--lex-teal-deep); font-weight: 700; }

/* ════════════ HERO ════════════ */
.hero { position: relative; padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 7vw, 96px); overflow: hidden; }
.hero__bgwave { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.hero__copy { max-width: 580px; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; margin-top: 22px;
  letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance;
}
.hero h1 .uline { position: relative; white-space: nowrap; color: var(--accent); }
.hero h1 .uline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.12em;
  background: var(--accent); border-radius: 4px; opacity: 0.32;
}
.hero__lede { margin-top: 24px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-2); max-width: 500px; line-height: 1.6; }
.hero__cta { margin-top: 32px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.hero__trust { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.hero__avatars { display: flex; }
.hero__avatars span {
  width: 36px; height: 36px; border-radius: 50%; margin-left: -10px; border: 2.5px solid var(--bg);
  background: var(--av); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; font-family: var(--display);
}
.hero__avatars span:first-child { margin-left: 0; }
/* avg speaking score (sits right of the daily-challenge social proof) */
.hero__avg { display: flex; align-items: center; gap: 9px; padding-left: 14px; border-left: 1px solid var(--hairline); flex: 0 0 auto; }
.hero__avg .num { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--lex-teal); line-height: 1; }
.hero__avg .lbl { font-size: 11px; color: var(--ink-3); font-weight: 600; line-height: 1.2; max-width: 72px; }
.hero__trust-txt { font-size: 13.5px; color: var(--ink-3); line-height: 1.35; }
.hero__trust-txt strong { color: var(--ink); font-weight: 700; }
.hero__trust-txt .stars { color: var(--lex-yellow); letter-spacing: 1px; }

/* product shot stage */
.shot { position: relative; display: flex; justify-content: center; align-items: center; }

/* hero layout variants (tweakable) */
.hero[data-layout="left"] .hero__in { grid-template-columns: 0.98fr 1.02fr; }
.hero[data-layout="left"] .shot { order: -1; }
.hero[data-layout="center"] .hero__in { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.hero[data-layout="center"] .hero__copy { max-width: 720px; }
.hero[data-layout="center"] .kicker { justify-content: center; }
.hero[data-layout="center"] .hero__lede { max-width: 600px; margin-left: auto; margin-right: auto; }
.hero[data-layout="center"] .hero__cta,
.hero[data-layout="center"] .hero__trust { justify-content: center; }
.hero[data-layout="center"] .shot { margin-top: 44px; }
.hero[data-floats="off"] .float { display: none; }

/* ── Phone frame ── */
.phone {
  position: relative; width: 300px; flex: 0 0 auto;
  background: #0c1f25; border-radius: 44px; padding: 11px;
  box-shadow: 0 2px 0 rgba(255,255,255,0.06) inset, var(--shadow-lift), 0 50px 90px -40px rgba(11,74,80,0.5);
}
.phone__screen { background: var(--bg); border-radius: 34px; overflow: hidden; position: relative; aspect-ratio: 300 / 620; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 104px; height: 26px; background: #0c1f25; border-radius: 14px; z-index: 8; }
.phone__in { position: absolute; inset: 0; padding: 44px 16px 16px; display: flex; flex-direction: column; }

/* ── Browser frame ── */
.browser {
  width: 100%; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid var(--hairline); box-shadow: var(--shadow-lift), 0 50px 90px -50px rgba(11,74,80,0.4);
}
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #EAF2F2; border-bottom: 1px solid var(--hairline); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser__url {
  margin-left: 8px; flex: 1; max-width: 320px; background: #fff; border-radius: 8px; border: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); padding: 6px 12px; display: flex; align-items: center; gap: 7px;
}

/* result card (inside phone) */
.rcard { background: #fff; border-radius: 20px; border: 1px solid var(--hairline); box-shadow: var(--shadow-card); padding: 16px; }
.rcap { font-family: var(--mono); font-size: 9.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.score-row { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.score-meta .t { font-family: var(--display); font-weight: 700; font-size: 16px; }
.score-meta .s { font-size: 12px; color: var(--ink-3); margin-top: 3px; }
.countchips { display: flex; gap: 6px; margin-top: 14px; }
.countchips .c { flex: 1; border-radius: 11px; padding: 9px 6px; text-align: center; }
.countchips .c b { font-family: var(--display); font-size: 16px; display: block; }
.countchips .c span { font-size: 9.5px; font-weight: 600; }
.c.good { background: var(--lex-green-soft); color: #0F6855; }
.c.ok   { background: var(--lex-yellow-soft); color: #8A5A14; }
.c.bad  { background: var(--accent-soft); color: #A8430F; }

/* per-word transcript */
.transcript { font-size: 15px; line-height: 1.85; font-weight: 500; }
.w { padding: 2px 3px; border-radius: 5px; }
.w.good { color: #0F8068; background: rgba(32,173,150,0.12); }
.w.okk  { color: #B07A1F; background: rgba(255,186,73,0.20); }
.w.bad  { color: #B23439; background: rgba(229,72,77,0.12); }

/* floating chips around the shot */
.float {
  position: absolute; background: #fff; border-radius: 16px; border: 1px solid var(--hairline);
  box-shadow: var(--shadow-lift); padding: 13px 15px; display: flex; align-items: center; gap: 11px; z-index: 5;
}
.float .ic { width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; }
.float .ic svg { width: 20px; height: 20px; }
.float .ft { display: flex; flex-direction: column; }
.float .ft .l { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.float .ft .v { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.1; margin-top: 2px; }
.float--tl { top: 18px; left: -54px; }
.float--br { bottom: 56px; right: -48px; }
@media (max-width: 1240px) { .float--tl { left: -20px; } .float--br { right: -16px; } }

/* ════════════ TRUST / LOGOS ════════════ */
.logos { padding: 38px 0 12px; }
.logos__lab { text-align: center; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-4); }
.logos__row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 44px; }
.logo-ph { display: flex; align-items: center; gap: 10px; color: var(--ink-4); opacity: 0.85; }
.logo-ph .gl { width: 26px; height: 26px; border-radius: 7px; background: var(--ink-4); opacity: 0.5; flex: 0 0 auto; }
.logo-ph .nm { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }

/* ════════════ SECTION base ════════════ */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--white { background: var(--surface); }
.section--cream { background: var(--bg); }

/* ════════════ HOW IT WORKS ════════════ */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 26px 24px 24px; overflow: hidden; }
.step__n { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink-4); letter-spacing: 0.1em; }
.step__ic { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-top: 16px; }
.step__ic svg { width: 26px; height: 26px; color: #fff; }
.step h3 { font-size: 21px; font-weight: 700; margin-top: 18px; }
.step h3 .tr { font-style: italic; font-weight: 400; color: var(--ink-3); font-size: 15px; display: block; margin-top: 3px; font-family: var(--body); letter-spacing: 0; }
.step p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.step__demo { margin-top: 18px; border-radius: 13px; background: var(--bg); border: 1px solid var(--hairline-2); padding: 14px; min-height: 92px; }
.step .conn { position: absolute; top: 50px; right: -12px; z-index: 2; color: var(--ink-4); }

/* mini demos */
.mini-pass { font-size: 14px; font-weight: 700; line-height: 1.55; color: var(--ink); }
.mini-rec { display: flex; align-items: center; gap: 10px; }
.mini-mic { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; box-shadow: 0 8px 16px -8px var(--accent-shadow); }
.mini-mic svg { width: 20px; height: 20px; color: #fff; }
.mini-wave { display: flex; align-items: center; gap: 3px; height: 38px; flex: 1; }
.mini-wave i { width: 3.5px; border-radius: 3px; background: var(--lex-blue); animation: livebar 1.1s ease-in-out infinite; }
@keyframes livebar { 0%,100%{height:8px} 25%{height:30px} 50%{height:16px} 75%{height:38px} }

/* ════════════ FEATURE ROWS ════════════ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 9vw, 120px); }
.feature--flip .feature__media { order: -1; }
.feature__copy h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin-top: 16px; text-wrap: balance; }
.feature__copy > p { margin-top: 16px; font-size: 17px; color: var(--ink-2); max-width: 480px; }
.flist { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.flist .fi { display: flex; gap: 13px; align-items: flex-start; }
.flist .fi .tick { width: 24px; height: 24px; border-radius: 8px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; background: var(--lex-green-soft); margin-top: 1px; }
.flist .fi .tick svg { width: 14px; height: 14px; color: #0F8068; }
.flist .fi .tx b { font-weight: 700; display: block; font-size: 15.5px; }
.flist .fi .tx span { font-size: 14.5px; color: var(--ink-3); }

/* feature media cards */
.media-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); box-shadow: var(--shadow-lift); padding: 26px; }
.media-card.tint-blue { background: linear-gradient(160deg, var(--lex-blue-soft), #fff 70%); }
.media-card.tint-purple { background: linear-gradient(160deg, var(--lex-purple-soft), #fff 70%); }

/* skill grid (feature) */
.skillgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.skillc { background: #fff; border: 1px solid var(--hairline); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-soft); }
.skillc .nm { font-size: 13.5px; font-weight: 700; }
.skillc .nm .tr { font-style: italic; font-weight: 400; color: var(--ink-3); }
.skillc .val { font-family: var(--display); font-weight: 700; font-size: 30px; margin-top: 8px; line-height: 1; }
.skillc .bar { height: 7px; border-radius: 7px; background: var(--bg-deep); margin-top: 12px; overflow: hidden; }
.skillc .bar i { display: block; height: 100%; border-radius: 7px; }

/* transcript feature card */
.tcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tcard-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: var(--lex-teal); letter-spacing: 0.04em; text-transform: uppercase; }
.legend { display: flex; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.legend .lg { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.legend .lg i { width: 11px; height: 11px; border-radius: 4px; }

/* ════════════ TEACHERS BAND (teal) ════════════ */
.teachers { background: linear-gradient(165deg, #0B7077 0%, #074A50 64%, #063C41 100%); color: #fff; position: relative; overflow: hidden; }
.teachers .wrap { position: relative; z-index: 1; }
.teachers__bgwave { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; opacity: 0.12; z-index: 0; pointer-events: none; }
.teachers__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.teachers .kicker { color: #9FD9CF; }
.teachers .kicker::before { background: var(--lex-yellow); }
.teachers h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-top: 16px; text-wrap: balance; }
.teachers__lede { margin-top: 18px; font-size: 17.5px; line-height: 1.6; color: rgba(241,248,248,0.82); max-width: 440px; }
.tfeat { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.tfeat .ti { display: flex; gap: 14px; align-items: flex-start; }
.tfeat .ti .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tfeat .ti .ic svg { width: 21px; height: 21px; color: var(--lex-yellow); }
.tfeat .ti .tx b { display: block; font-weight: 700; font-size: 16px; }
.tfeat .ti .tx span { font-size: 14.5px; color: rgba(241,248,248,0.72); }
.teachers__cta { margin-top: 30px; }

/* teacher dashboard mini */
.dash { font-size: 13px; }
.dash__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--hairline); }
.dash__title { font-family: var(--display); font-weight: 700; font-size: 16px; }
.dash__body { padding: 18px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.dstat { background: var(--bg); border: 1px solid var(--hairline-2); border-radius: 13px; padding: 13px; }
.dstat .l { font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.dstat .v { font-family: var(--display); font-weight: 700; font-size: 22px; margin-top: 6px; }
.dstat .v small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.droster { padding: 0 18px 18px; }
.drow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline-2); }
.drow .av { width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 12px; color: #fff; }
.drow .nm { font-weight: 600; font-size: 13.5px; flex: 1; }
.drow .ring { font-family: var(--display); font-weight: 700; font-size: 14px; }
.drow .bar { width: 80px; height: 6px; border-radius: 6px; background: var(--bg-deep); overflow: hidden; }
.drow .bar i { display: block; height: 100%; border-radius: 6px; }

/* ════════════ COMPARISON ════════════ */
.matrix { margin-top: 52px; border-radius: 20px; overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-lift); background: #fff; }
.mrow { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1.25fr; }
.mrow > div { padding: 17px 18px; display: flex; flex-direction: column; justify-content: center; }
.mhead > div { min-height: 96px; align-items: center; text-align: center; background: var(--bg); border-bottom: 1px solid var(--hairline); }
.mhead .corner { background: #fff; align-items: flex-start; text-align: left; justify-content: center; }
.mhead .corner span { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.mhead .col-l { font-family: var(--display); font-weight: 600; font-size: 15.5px; }
.mhead .col-s { font-size: 11.5px; color: var(--ink-3); margin-top: 5px; }
.mcell { text-align: center; align-items: center; font-size: 13.5px; color: var(--ink-2); font-weight: 500; border-bottom: 1px solid var(--hairline-2); border-left: 1px solid var(--hairline-2); min-height: 76px; }
.mlabel { font-family: var(--display); font-weight: 600; font-size: 14.5px; border-bottom: 1px solid var(--hairline-2); }
.mlabel .rn { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--ink-4); letter-spacing: 0.04em; display: block; margin-bottom: 6px; }
.weak { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); }
.weak .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; }
.dot.red { background: var(--lex-red); } .dot.amber { background: var(--lex-yellow); } .dot.mute { background: var(--ink-4); }
.mcol-hero { background: linear-gradient(165deg, var(--accent) 0%, var(--accent-deep) 100%); color: #fff; position: relative; }
.mcol-hero.col-l, .mcol-hero .col-l { color: #fff; font-weight: 700; }
.mhead .mcol-hero { background: linear-gradient(0deg, rgba(11,36,46,0.32), rgba(11,36,46,0.32)), linear-gradient(165deg, var(--accent) 0%, var(--accent-deep) 100%); border-bottom: 1px solid rgba(255,255,255,0.22); padding-top: 30px; }
.mcell.mcol-hero { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.22); color: #fff; font-weight: 600; }
.mcol-hero .pos { display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.mcol-hero .pos svg { width: 16px; height: 16px; flex: 0 0 auto; }
.mbadge { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); background: var(--lex-teal-deep); color: #fff; font-family: var(--mono); font-size: 9px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 14px -6px rgba(7,74,80,0.6); }
.last { border-bottom: none !important; }

/* ════════════ STATS ════════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 12px; }
.statc { text-align: center; }
.statc .v { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5vw, 58px); letter-spacing: -0.03em; line-height: 1; background: linear-gradient(150deg, var(--lex-teal), var(--lex-blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.statc .l { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }

/* ════════════ CLOSING SUMMARY ════════════ */
.summary { max-width: 780px; margin: 0 auto; text-align: center; }
.summary .kicker { margin-bottom: 22px; }
.summary__txt { font-size: clamp(18px, 1.9vw, 22.5px); line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }
.summary__txt strong { color: var(--ink); font-weight: 700; }

/* ════════════ TESTIMONIAL ════════════ */
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote__mark { font-family: var(--display); font-size: 84px; line-height: 0.6; color: var(--accent); height: 40px; }
.quote__txt { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.32; letter-spacing: -0.02em; text-wrap: balance; }
.quote__by { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.quote__av { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(150deg, var(--lex-teal), var(--lex-teal-deep)); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; color: #fff; font-size: 17px; }
.quote__meta { text-align: left; }
.quote__meta .n { font-weight: 700; font-size: 15px; }
.quote__meta .r { font-size: 13.5px; color: var(--ink-3); }

/* ════════════ FAQ ════════════ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; font-family: var(--display); font-weight: 600; font-size: 18.5px; color: var(--ink); padding: 24px 44px 24px 0; cursor: pointer; position: relative; letter-spacing: -0.015em; }
.faq__q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px; transform: translateY(-50%); background: no-repeat center / contain; transition: transform .25s; }
.faq__q .ico { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); transition: transform .28s; color: var(--ink-3); }
.faq__item.open .faq__q .ico { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 40px 24px 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }

/* ════════════ FINAL CTA ════════════ */
.cta-band { background: linear-gradient(160deg, #0B7077 0%, #074A50 70%); color: #fff; position: relative; overflow: hidden; }
.cta-band__wave { position: absolute; inset: 0; opacity: 0.14; pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; text-align: center; padding-top: clamp(64px,8vw,104px); padding-bottom: clamp(64px,8vw,104px); }
.cta-band h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; text-wrap: balance; }
.cta-band p { margin: 18px auto 0; max-width: 520px; font-size: 18px; color: rgba(241,248,248,0.82); }
.cta-band__btns { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band__note { margin-top: 20px; font-size: 13.5px; color: rgba(241,248,248,0.62); }

/* store badges (App Store / Google Play) on the teal CTA band */
.btn-store {
  background: rgba(255,255,255,0.12); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
  padding: 17px 24px; border-radius: var(--r-btn);
}
.btn-store svg { width: 20px; height: 20px; }
.btn-store:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-store.is-disabled { opacity: 0.5; cursor: default; pointer-events: none; }
.btn-store.is-disabled:hover { transform: none; background: rgba(255,255,255,0.12); }

/* subtle "… or book a demo" line under the CTA buttons */
.cta-band__sub { margin-top: 16px; font-size: 14px; }
.cta-band__sub a { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }
.cta-band__sub a:hover { color: #fff; }

/* ════════════ FOOTER ════════════ */
.footer { background: #062E33; color: rgba(241,248,248,0.7); padding: 64px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand .wm { color: #fff; }
.footer__about { margin-top: 16px; font-size: 14px; line-height: 1.6; max-width: 280px; color: rgba(241,248,248,0.6); }
.footer__social { margin-top: 18px; display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .14s; }
.footer__social a:hover { background: rgba(255,255,255,0.16); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__col h4 { font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(241,248,248,0.5); }
.footer__col a { display: block; margin-top: 13px; font-size: 14.5px; color: rgba(241,248,248,0.78); transition: color .14s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.footer__bottom .legal { display: flex; gap: 22px; }
.footer__bottom a:hover { color: #fff; }

/* ════════════ Reveal on scroll ════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; }
  .shot { margin-top: 24px; }
  .feature, .teachers__grid { grid-template-columns: 1fr; gap: 32px; }
  .feature--flip .feature__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step .conn { display: none; }
  .stats { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .matrix { overflow-x: auto; }
  .mrow { grid-template-columns: 1.2fr 1fr 1fr 1fr 1.25fr; min-width: 720px; }
}
@media (max-width: 560px) {
  :root { --gutter: 22px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .float { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 14px; }
  /* Nav has no burger yet (handoff open item): with the in-page section links
     already hidden, keep brand + language + sign-in ("log in") + the primary
     CTA on one row by tightening gaps, padding and font-size so they fit a
     narrow viewport without overflowing. Both sign-in actions stay visible. */
  .nav__in { gap: 10px; }
  .nav__right { gap: 4px; }
  .nav__login { padding: 9px 10px; font-size: 13.5px; }
  .nav__cta { padding: 10px 13px; font-size: 13.5px; }
}
@media (max-width: 400px) {
  /* Smallest phones: drop the wordmark to the icon mark so the long localized
     CTA (e.g. cs "Vyzkoušet zdarma") never clips. */
  .brand .wm { display: none; }
  .lang-menu > summary { padding: 8px 9px; }
  /* Keep both sign-in actions on the row on the narrowest phones. */
  .nav__login { padding: 9px 8px; font-size: 13px; }
  .nav__cta { padding: 9px 11px; font-size: 13px; }
}

/* ═══════════════ GET-STARTED FUNNEL (/get-started) ═══════════════ */
.fn { min-height: 100vh; display: flex; flex-direction: column; background:
  radial-gradient(120% 80% at 50% -10%, var(--bg-deep) 0%, var(--bg) 60%); }
.fn__bar { display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); width: 100%; margin: 0 auto; padding: 22px var(--gutter); }
.fn__brand { text-decoration: none; }
.fn__brand .wm { font-family: var(--display); font-weight: 700; font-size: 21px;
  letter-spacing: -0.03em; color: var(--lex-teal-deep); }
.fn__back { font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  padding: 9px 13px; border-radius: 10px; }
.fn__back:hover { background: rgba(11,74,80,0.06); color: var(--ink); }
.fn__main { flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 24px var(--gutter) 64px; width: 100%; }
.fn__head { text-align: center; max-width: 560px; margin-bottom: 36px; }
.fn__head h1 { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.fn__head p { margin-top: 16px; font-size: 17px; color: var(--ink-2); line-height: 1.6; }

/* chooser */
.fn__choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  width: 100%; max-width: 880px; }
.fn-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  background: #fff; border-radius: 20px; padding: 28px 24px; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--hairline); transition: transform .15s, box-shadow .15s; position: relative; }
.fn-choice:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(11,74,80,0.18),
  0 18px 34px -16px rgba(7,74,80,0.35); }
.fn-choice__ic { font-size: 34px; line-height: 1; }
.fn-choice__t { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); margin-top: 4px; }
.fn-choice__b { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.fn-choice__go { position: absolute; top: 22px; right: 22px; color: var(--lex-teal-deep);
  font-size: 20px; opacity: 0; transition: opacity .15s, transform .15s; }
.fn-choice:hover .fn-choice__go { opacity: 1; transform: translateX(2px); }

/* card + form */
.fn-card { background: #fff; border-radius: 22px; padding: 32px; width: 100%; max-width: 480px;
  box-shadow: inset 0 0 0 1px var(--hairline), 0 20px 50px -28px rgba(7,74,80,0.30); }
.fn-field { display: block; margin-bottom: 18px; }
.fn-field__l { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.fn-input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 0; font-family: var(--body);
  font-size: 15.5px; color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--hairline); }
.fn-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--lex-teal-deep); background: #fff; }
.fn-input.is-error { box-shadow: inset 0 0 0 2px #B23439; }
.fn-field__err { display: block; margin-top: 6px; font-size: 13px; color: #B23439; font-weight: 600; }
.fn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fn-actions { margin-top: 26px; display: flex; justify-content: center; }
.fn-actions .btn { width: 100%; justify-content: center; }

/* done page */
.fn-check { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px;
  border-radius: 50%; background: var(--lex-teal-deep, #074A50); color: #fff; font-size: 32px; font-weight: 700;
  margin: 0 auto; }
.fn-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.fn-step { display: flex; align-items: flex-start; gap: 14px; }
.fn-step__n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-deep);
  color: var(--lex-teal-deep); font-family: var(--mono); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; }
.fn-step__t { font-size: 15.5px; color: var(--ink); line-height: 1.5; padding-top: 4px; }
.fn-code { margin-top: 26px; text-align: center; padding: 20px; border-radius: 16px;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--hairline); }
.fn-code__l { display: block; font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.fn-code__v { display: block; margin-top: 8px; font-family: var(--mono); font-weight: 700;
  font-size: 28px; letter-spacing: 0.08em; color: var(--lex-teal-deep); }

@media (max-width: 720px) {
  .fn__choices { grid-template-columns: 1fr; max-width: 480px; }
  .fn-card { padding: 24px; }
}
