/* ============================================================
   Blest Learning — Premium B2B
   Design tokens + system
   ============================================================ */

:root {
  /* Palette — Blest brand purple accents + clean neutrals */
  --ink: #1A1040;
  --ink-secondary: #6B5FA0;
  --ink-muted: #8B7FC4;
  --paper: #FFFFFF;
  --paper-nav: #F9F7FC;
  --paper-card: #F5F3FA;
  --white: #FFFFFF;
  --slate: #6B5FA0;
  --slate-2: #8B7FC4;
  --line: #E8E3F0;
  --line-2: #F0EDF5;

  /* Accent */
  --accent: #5B35C8;        /* primary accent for buttons, links, highlights */
  --accent-energy: #00C896; /* energy accent for arrows, underlines, borders */
  --accent-soft: rgba(91, 53, 200, 0.08);
  --accent-ink: #5B35C8;
  --accent-bright: #00C896;

  /* On-dark (navy is now #1A1040) */
  --on-navy: rgba(255, 255, 255, 0.92);
  --on-navy-dim: rgba(255, 255, 255, 0.70);
  --navy: #1A1040;
  --navy-700: #0F0820;
  --navy-600: #5B35C8;

  /* Type */
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Sans", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 80px);
  --section-y: clamp(72px, 10vw, 140px);

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(12,24,38,0.06), 0 2px 8px rgba(12,24,38,0.05);
  --shadow-md: 0 8px 30px rgba(12,24,38,0.10), 0 2px 8px rgba(12,24,38,0.06);
  --shadow-lg: 0 24px 70px rgba(12,24,38,0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(91, 53, 200, 0.2); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; margin: 0; letter-spacing: -0.01em; line-height: 1.08; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* Eyebrow / kicker */
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent-energy);
  display: inline-block;
}
.kicker.center::before { display: none; }

.eyebrow-light { color: rgba(255, 255, 255, 0.92); }
.eyebrow-light::before { background: rgba(255, 255, 255, 0.92); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
  line-height: 1;
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--accent); color: rgba(255, 255, 255, 0.92); border-radius: 6px; }
.btn-primary:hover { background: #4A2BA0; transform: translateY(-2px); }

.btn-accent { background: var(--accent); color: rgba(255, 255, 255, 0.92); border-radius: 6px; }
.btn-accent:hover { transform: translateY(-2px); background: #4A2BA0; }

.btn-ghost { background: transparent; color: var(--ink-secondary); border: none; }
.btn-ghost:hover { transform: translateY(-2px); }

.btn-ghost-light { background: transparent; color: rgba(255,255,255,0.92); border: none; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* Placeholder imagery */
.ph {
  position: relative;
  background-color: rgba(245,243,250,0.4);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(91,53,200,0.02) 0,
    rgba(91,53,200,0.02) 1px,
    transparent 1px,
    transparent 11px
  );
  border: 0.5px solid rgba(232,227,240,0.5);
  border-radius: 8px;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ink-secondary);
  background: rgba(255,255,255,0.85);
  padding: 4px 8px;
  border-radius: 3px;
  border: 0.5px solid var(--line);
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(2px);
}
.ph.on-dark {
  background-color: rgba(15,8,32,0.4);
  background-image: repeating-linear-gradient(-45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 11px);
  border-color: rgba(255,255,255,0.1);
}
.ph.on-dark::after { background: rgba(26,16,64,0.7); color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.12); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

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

/* Fallback when CSS transitions are frozen by the renderer */
html.reveal-off .reveal { opacity: 1 !important; transform: none !important; }
html.reveal-off * { transition: none !important; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
  background: var(--paper);
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom-color: rgba(232,227,240,0.6);
  box-shadow: 0 0.5px 0 rgba(0,0,0,0.05) inset;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  transition: height .4s var(--ease);
}
.nav.scrolled .nav-inner { height: 66px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); flex-shrink: 0; min-width: 200px; }
.brand-mark {
  height: 32px; width: auto; display: block; flex: none;
}
.brand small { font-family: var(--sans); font-size: 8px; letter-spacing: 0.15em; color: var(--ink-secondary); text-transform: uppercase; font-weight: 600; display: block; margin-top: 1px; }
.brand .brand-stack { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2px; flex-shrink: 1; margin: 0 auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-secondary); white-space: nowrap;
  padding: 8px 12px; border-radius: 6px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--accent); background: rgba(91,53,200,0.06); }
.nav-links a.nav-link-flagship {
  background: rgba(91,53,200,0.08);
  border: 1px solid rgba(91,53,200,0.2);
  border-radius: 6px;
  padding: 8px 14px;
  color: var(--accent);
  font-weight: 600;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a.nav-link-flagship:hover {
  background: rgba(91,53,200,0.15);
  border-color: rgba(91,53,200,0.4);
  color: var(--accent);
}
.nav-links a.nav-link-ai {
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 6px;
  padding: 8px 14px;
  color: #b45309;
  font-weight: 600;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a.nav-link-ai:hover {
  background: rgba(245,158,11,0.18);
  border-color: rgba(245,158,11,0.5);
  color: #92400e;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  gap: 2px;
  background: rgba(245,243,250,0.6);
  padding: 3px;
  border-radius: 6px;
  border: 0.5px solid rgba(232,227,240,0.5);
}
.lang-btn {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 11px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-secondary);
  cursor: pointer;
  border-radius: 4px;
  transition: all .2s var(--ease);
}
.lang-btn:hover {
  color: var(--accent);
}
.lang-btn.active {
  background: rgba(255,255,255,0.8);
  color: var(--accent);
  border-color: rgba(91,53,200,0.2);
}
.nav.scrolled .lang-toggle {
  background: rgba(255,255,255,0.7);
  border-color: rgba(232,227,240,0.5);
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; }

.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; transition: .3s var(--ease); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: block; }
  .lang-toggle { margin-right: auto; }
  .brand { min-width: 0; flex-shrink: 1; }
  .brand small { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(64px, 10vw, 120px); padding-bottom: var(--section-y); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 74px); line-height: 1.02; letter-spacing: -0.025em; margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-secondary); max-width: 30em; margin-top: 26px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; }
.hero-meta .stat { }
.hero-meta .stat b { font-family: var(--serif); font-size: clamp(42px, 5.6vw, 58px); font-weight: 600; display: block; color: var(--ink); letter-spacing: -0.01em; }
.hero-meta .stat b span { font-size: clamp(42px, 5.6vw, 58px); }
.hero-meta .stat > span { font-size: 13px; color: var(--slate-2); letter-spacing: 0.01em; }
.hero-meta .stat .sep { }

/* Hero visual */
.hero-visual { position: relative; }
.hero-visual .ph { aspect-ratio: 4 / 5; }
.hero-card {
  position: absolute; left: -28px; bottom: 34px;
  background: rgba(255, 255, 255, 0.98); border: 0.5px solid rgba(232,227,240,0.8);
  border-radius: 8px; padding: 18px 20px;
  width: 248px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.hero-card .hc-top { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.hero-card .hc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-energy); }
.hero-card .hc-val { font-family: var(--serif); font-size: 34px; font-weight: 600; margin-top: 8px; letter-spacing: -0.02em; }
.hero-card .hc-label { font-size: 13px; color: var(--ink-secondary); margin-top: 2px; }
.hero-card .hc-bar { height: 6px; border-radius: 3px; background: var(--paper-2); margin-top: 14px; overflow: hidden; }
.hero-card .hc-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px; transition: width 1.6s var(--ease); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .hero-card { left: auto; right: 12px; }
}

/* Trust strip */
.trust { border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); background: rgba(249,247,252,0.5); }
.trust-inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); padding-block: 26px; flex-wrap: wrap; }
.trust-label { font-family: var(--sans); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-secondary); white-space: nowrap; font-weight: 600; }
.trust-logos { display: flex; align-items: center; gap: clamp(22px, 4vw, 52px); flex-wrap: wrap; flex: 1; }
.trust-logo { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink-secondary); letter-spacing: -0.01em; opacity: 0.8; transition: opacity .3s; }
.trust-logo:hover { opacity: 1; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section { padding-block: var(--section-y); }
.section.alt { background: var(--white); }
.section.navy { background: var(--navy); color: rgba(255,255,255,0.92); }
.section.navy h2, .section.navy h3 { color: rgba(255,255,255,0.92); }

.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 4vw, 50px); margin-top: 20px; letter-spacing: -0.02em; }
.sec-head p { color: var(--ink-secondary); font-size: clamp(17px, 1.4vw, 19px); margin-top: 20px; line-height: 1.6; }
.section.navy .sec-head p { color: rgba(255,255,255,0.75); }

/* ============================================================
   CHALLENGES
   ============================================================ */
.challenge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5px; background: rgba(232,227,240,0.4); border: 0.5px solid rgba(232,227,240,0.6); border-radius: 8px; overflow: hidden; margin-top: clamp(40px, 5vw, 64px); }
.challenge {
  background: rgba(255, 255, 255, 0.99); padding: clamp(26px, 3vw, 38px);
  transition: background .4s var(--ease);
  position: relative;
}
.challenge:hover { background: rgba(245,243,250,0.7); }
.challenge .num { font-family: var(--sans); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; font-weight: 600; }
.challenge h3 { font-size: 19px; margin-top: 16px; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.challenge p { color: var(--ink-secondary); font-size: 15px; margin-top: 10px; line-height: 1.55; }
@media (max-width: 820px) { .challenge-grid { grid-template-columns: 1fr; } }

.challenge-foot { margin-top: 36px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 16px; color: var(--ink-secondary); }
.challenge-foot b { color: var(--ink); font-weight: 600; }

/* ============================================================
   APPROACH
   ============================================================ */
.approach-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; margin-top: clamp(40px, 5vw, 60px); }
.approach-visual { position: sticky; top: 110px; }
.approach-visual .ph { aspect-ratio: 3 / 4; }
.approach-list { display: flex; flex-direction: column; gap: 0; }
.approach-item { padding: 28px 0; border-bottom: 0.5px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.approach-item:first-child { padding-top: 0; }
.approach-item:last-child { border-bottom: none; }
.approach-item .idx { font-family: var(--serif); font-size: 28px; font-weight: 400; color: var(--accent); line-height: 1; font-style: italic; }
.approach-item h3 { font-size: 20px; font-family: var(--sans); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.approach-item p { color: var(--ink-secondary); font-size: 16px; margin-top: 9px; line-height: 1.55; }
@media (max-width: 820px) { .approach-grid { grid-template-columns: 1fr; } .approach-visual { position: static; max-width: 420px; } }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 26px); margin-top: clamp(40px, 5vw, 60px); }
.program {
  background: rgba(255,255,255,0.99); border: 0.5px solid rgba(232,227,240,0.5); border-radius: 8px;
  padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
  position: relative; overflow: hidden;
}
.section.alt .program { background: rgba(255,255,255,0.99); }
.program:hover { transform: translateY(-2px); border-color: rgba(91,53,200,0.15); }
.program .p-tag { font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.program h3 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 14px; color: var(--ink); }
.program p { color: var(--ink-secondary); font-size: 15px; margin-top: 12px; line-height: 1.55; flex: 1; }
.program .p-aud { margin-top: 20px; padding-top: 16px; border-top: 0.5px solid var(--line); font-size: 13px; color: var(--ink-secondary); display: flex; align-items: baseline; gap: 8px; }
.program .p-aud b { font-family: var(--sans); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-secondary); font-weight: 600; white-space: nowrap; }
.program .p-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--accent); }
.program .p-link .arrow { transition: transform .35s var(--ease); }
.program:hover .p-link .arrow { transform: translateX(4px); }
.program .p-num { position: absolute; top: 26px; right: 30px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-muted); }
@media (max-width: 720px) { .programs-grid { grid-template-columns: 1fr; } }

/* Programs transition line */
.programs-bridge {
  margin-top: clamp(40px, 5vw, 60px);
  font-size: 15px;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.programs-bridge em { font-style: italic; font-weight: 500; }
.programs-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
}
.programs-bridge-link .arrow { transition: transform .35s var(--ease); }
.programs-bridge-link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   FAST-TRACK
   ============================================================ */
.section.fast-track {
  background: var(--navy);
  color: rgba(255,255,255,0.92);
}
.section.fast-track h2,
.section.fast-track h3 {
  color: rgba(255,255,255,0.92);
}

.ft-intro { max-width: 800px; margin-bottom: clamp(50px, 6vw, 80px); }
.ft-intro .kicker { color: rgba(255,255,255,0.92); }
.ft-intro .kicker::before { background: var(--accent-energy); }
.ft-intro h2 {
  font-size: clamp(40px, 5vw, 56px);
  margin-top: 20px;
  letter-spacing: -0.02em;
}
.ft-tagline {
  font-size: clamp(18px, 1.8vw, 22px);
  color: rgba(255,255,255,0.75);
  margin-top: 16px;
  line-height: 1.5;
}

.ft-body { max-width: 920px; }

.ft-copy {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  margin-bottom: clamp(36px, 4vw, 54px);
}
.ft-copy p { margin-bottom: 18px; }
.ft-copy p:last-child { margin-bottom: 0; }
.ft-copy strong { color: var(--accent-energy); font-weight: 600; }

/* Two-column layout for "Built for two kinds of leaders" */
.ft-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  margin-bottom: clamp(32px, 4vw, 54px);
}
.ft-col h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  margin-bottom: 12px;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
}
.ft-col p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.ft-two-col-footer {
  font-style: italic;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-bottom: clamp(44px, 5vw, 70px);
}

/* Highlighted promise block */
.ft-promise {
  padding: clamp(30px, 3.5vw, 44px) 0;
  border-top: 0.5px solid rgba(255,255,255,0.12);
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
  text-align: center;
  margin-bottom: clamp(44px, 5vw, 70px);
}
.ft-promise-main {
  font-size: clamp(24px, 2.8vw, 32px);
  font-family: var(--serif);
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}
.ft-promise-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-top: 12px;
  margin-bottom: 0;
}

/* Delivers list */
.ft-delivers {
  margin-bottom: clamp(44px, 5vw, 70px);
}
.ft-delivers h3 {
  font-size: 17px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.01em;
  font-weight: 600;
}
.ft-delivers ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-delivers li {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  padding-left: 22px;
  position: relative;
}
.ft-delivers li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-energy);
  font-weight: 500;
  font-size: 14px;
}

/* CTA block */
.ft-cta {
  text-align: center;
  padding-top: clamp(30px, 3.5vw, 44px);
}
.ft-cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  display: block;
  margin-bottom: 18px;
  font-style: italic;
}
.ft-cta-btn {
  display: inline-flex;
  cursor: pointer;
}
.ft-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 820px) {
  .ft-two-col { grid-template-columns: 1fr; }
}

/* ============================================================
   AI ENGLISH
   ============================================================ */
.section.ai-english {
  background: #1e1b4b;
  color: rgba(255,255,255,0.92);
}
.section.ai-english h2 { color: rgba(255,255,255,0.92); font-size: clamp(30px, 3.8vw, 48px); letter-spacing: -0.02em; margin-top: 0; }

.ai-english-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.ai-english-copy { display: flex; flex-direction: column; align-items: flex-start; }

.ai-badge {
  display: inline-flex;
  align-items: center;
  background: #F59E0B;
  color: #1c1003;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.ai-english-kicker {
  color: rgba(199, 210, 254, 0.9);
  margin-bottom: 18px;
  display: inline-flex;
}
.ai-english-kicker::before { background: rgba(199, 210, 254, 0.5); }

.ai-english-desc {
  color: rgba(255,255,255,0.72);
  font-size: clamp(16px, 1.4vw, 18px);
  margin-top: 20px;
  line-height: 1.6;
  max-width: 30em;
}

.ai-english-features {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.ai-english-features li {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.5;
  padding-left: 22px;
  position: relative;
}
.ai-english-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-size: 13px;
  font-weight: 600;
}

.btn-amber {
  background: #F59E0B;
  color: #1c1003;
  border-radius: 6px;
  margin-top: 36px;
  border-color: #F59E0B;
}
.btn-amber:hover { background: #D97706; border-color: #D97706; transform: translateY(-2px); }
.btn-amber .arrow { color: #1c1003; }

/* AI Chat visual */
.ai-visual { display: flex; flex-direction: column; gap: 14px; }

.ai-chat {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg { display: flex; gap: 10px; align-items: flex-end; }
.chat-msg-user { justify-content: flex-end; }
.chat-msg-ai { justify-content: flex-start; }

.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-bubble-user {
  background: rgba(91, 53, 200, 0.45);
  border: 0.5px solid rgba(91, 53, 200, 0.35);
  color: rgba(255,255,255,0.92);
  border-bottom-right-radius: 4px;
}
.chat-bubble-ai {
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  border-bottom-left-radius: 4px;
}

.chat-ai-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B35C8, #00C896);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  flex: none;
}

.chat-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(199, 210, 254, 0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Level bar */
.ai-level-bar {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px 20px;
}
.ai-level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.ai-level-title {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ai-level-val {
  font-family: var(--serif);
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}
.ai-level-arrow { color: #F59E0B; }
.ai-level-track {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.ai-level-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #5B35C8 0%, #F59E0B 100%);
  border-radius: 3px;
  transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ai-visual.in .ai-level-fill { width: 68%; }
.ai-level-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
}
.ai-level-steps span {
  font-family: var(--sans);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.ai-level-steps .ai-level-current { color: #F59E0B; }
.ai-level-steps .ai-level-next { color: rgba(255,255,255,0.55); }

@media (max-width: 820px) {
  .ai-english-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESULTS (navy)
   ============================================================ */
.results-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(44px, 5vw, 64px); }
.result-stat { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 22px; }
.result-stat .rv { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 54px); font-weight: 400; color: rgba(255,255,255,0.92); letter-spacing: -0.02em; line-height: 1; }
.result-stat .rv .suffix { color: var(--accent-energy); }
.result-stat .rl { color: rgba(255,255,255,0.75); font-size: 14px; margin-top: 10px; line-height: 1.4; }
@media (max-width: 820px) { .results-top { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.results-outcomes { margin-top: clamp(54px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.outcome-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.outcome-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 0.5px solid rgba(255,255,255,0.1); font-size: 16px; color: rgba(255,255,255,0.85); }
.outcome-list li:last-child { border-bottom: none; }
.outcome-list .chk { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--accent-energy); color: var(--accent-energy); display: grid; place-items: center; margin-top: 2px; }
.outcome-list .chk svg { width: 11px; height: 11px; }
.results-quote { }
.results-quote .ph { aspect-ratio: 4/3; margin-bottom: 26px; }
.results-quote blockquote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; color: rgba(255,255,255,0.92); letter-spacing: -0.01em; margin: 0; font-style: italic; }
.results-quote .qmeta { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.75); font-size: 13px; }
.results-quote .qmeta .ln { width: 20px; height: 1px; background: var(--accent-energy); }
@media (max-width: 820px) { .results-outcomes { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-copy .lead { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); font-weight: 400; }
.about-copy p.body { color: var(--ink-secondary); font-size: 16px; margin-top: 20px; line-height: 1.6; }
.about-feat { margin-top: 28px; display: flex; gap: 12px; align-items: flex-start; padding: 20px; background: rgba(245,243,250,0.5); border: 0.5px solid rgba(232,227,240,0.6); border-left: 3px solid var(--accent-energy); border-radius: 8px; }
.about-feat .af-ic { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); line-height: 1; flex: none; }
.about-feat h4 { font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--ink); }
.about-feat p { color: var(--ink-secondary); font-size: 14px; margin-top: 4px; line-height: 1.5; }
.about-visual { position: relative; }
.about-visual .ph { aspect-ratio: 5/6; }
.about-visual .ph.small { position: absolute; right: -24px; bottom: -28px; width: 46%; aspect-ratio: 1/1; box-shadow: var(--shadow-lg); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-visual { max-width: 440px; } .about-visual .ph.small { width: 40%; } }

/* ============================================================
   FINAL CTA + FORM
   ============================================================ */
.cta { background: var(--navy); color: rgba(255,255,255,0.92); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: none; pointer-events: none; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; }
.cta-copy h2 { font-size: clamp(28px, 3.5vw, 48px); color: rgba(255,255,255,0.92); letter-spacing: -0.02em; margin-top: 18px; font-weight: 500; }
.cta-copy p { color: rgba(255,255,255,0.75); font-size: 16px; margin-top: 18px; line-height: 1.55; max-width: 26em; }
.cta-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cta-points li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,0.85); font-size: 15px; }
.cta-points .chk { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-energy); color: var(--navy); display: grid; place-items: center; }
.cta-points .chk svg { width: 11px; height: 11px; }

/* Form card */
.form-card { background: rgba(255, 255, 255, 0.99); border-radius: 8px; padding: clamp(28px, 3vw, 40px); box-shadow: 0 1px 3px rgba(0,0,0,0.03); border: 0.5px solid rgba(232,227,240,0.5); color: var(--ink); }
.form-card h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.form-card .fc-sub { color: var(--ink-secondary); font-size: 14px; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-secondary); letter-spacing: 0.01em; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 0.5px solid rgba(232,227,240,0.5); border-radius: 6px;
  background: rgba(245,243,250,0.3); transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.95); box-shadow: 0 0 0 3px rgba(91,53,200,0.06); }
.field.error input, .field.error select, .field.error textarea { border-color: #d32f2f; background: #fdeaea; }
.field .err-msg { font-size: 11px; color: #d32f2f; display: none; font-weight: 500; }
.field.error .err-msg { display: block; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 18px; }
.form-note { font-size: 12px; color: var(--ink-secondary); margin-top: 12px; text-align: center; line-height: 1.45; }
.form-success { text-align: center; padding: 18px 6px; display: none; }
.form-success.show { display: block; animation: fadeUp .6s var(--ease); }
.form-success .fs-ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(0,200,150,0.12); color: var(--accent-energy); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.form-success p { color: var(--ink-secondary); margin-top: 8px; font-size: 14px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-block: clamp(52px, 6.5vw, 80px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand { color: rgba(255,255,255,0.92); }
.footer-about { color: rgba(255,255,255,0.70); font-size: 14px; margin-top: 16px; line-height: 1.55; max-width: 26em; }
.footer-col h5 { font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.92); font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.70); transition: color .2s; }
.footer-col a:hover { color: rgba(255,255,255,0.92); }
.footer-bottom { margin-top: clamp(40px, 5vw, 60px); padding-top: 24px; border-top: 0.5px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,0.65); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
#tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  width: 270px; background: rgba(255,255,255,0.98); border: 0.5px solid var(--line);
  border-radius: 8px; box-shadow: none;
  font-family: var(--sans); color: var(--ink);
  opacity: 0; transform: translateY(14px) scale(0.98); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
#tweaks-panel.visible { opacity: 1; transform: none; pointer-events: auto; }
#tweaks-panel .tw-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 0.5px solid var(--line); }
#tweaks-panel .tw-title { font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-secondary); font-weight: 600; }
#tweaks-panel .tw-close { background: none; border: none; cursor: pointer; color: var(--ink-secondary); font-size: 18px; line-height: 1; padding: 0 4px; }
#tweaks-panel .tw-close:hover { color: var(--ink); }
#tweaks-panel .tw-body { padding: 14px; display: flex; flex-direction: column; gap: 16px; }
#tweaks-panel .tw-label { font-size: 11px; font-weight: 600; color: var(--ink-secondary); margin-bottom: 8px; display: flex; justify-content: space-between; }
#tweaks-panel .tw-label em { font-family: var(--sans); font-style: normal; color: var(--accent); font-weight: 600; }
#tweaks-panel .tw-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
#tweaks-panel .tw-swatch {
  display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--ink-secondary);
  padding: 7px 9px; border: 0.5px solid var(--line); border-radius: 5px; background: rgba(237,232,248,0.3); cursor: pointer; text-align: left;
  transition: border-color .2s, background .2s;
}
#tweaks-panel .tw-swatch span { width: 12px; height: 12px; border-radius: 50%; flex: none; }
#tweaks-panel .tw-swatch.active { border-color: var(--accent); background: rgba(91,53,200,0.08); color: var(--accent); }
#tweaks-panel input[type="range"] { width: 100%; accent-color: var(--accent); }

#tweak-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 199;
  width: 44px; height: 44px; border-radius: 50%; border: 0.5px solid var(--line);
  background: rgba(255,255,255,0.98); box-shadow: none; cursor: pointer;
  display: grid; place-items: center; color: var(--accent);
  transition: transform .3s var(--ease);
}
#tweak-toggle:hover { transform: rotate(45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: var(--gutter); transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 18px; color: var(--ink); padding: 14px 0; border-bottom: 0.5px solid var(--line); font-weight: 500; }
.mobile-menu a.nav-link-flagship {
  font-family: var(--serif);
  font-size: 18px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 14px 0;
  color: var(--ink);
  font-weight: 500;
  display: block;
  margin-bottom: 0;
  border-bottom: 0.5px solid var(--line);
}
.mobile-menu a.nav-link-ai {
  font-family: var(--serif);
  font-size: 18px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 14px 0;
  color: #b45309;
  font-weight: 500;
  display: block;
  margin-bottom: 0;
  border-bottom: 0.5px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; justify-content: center; font-size: 14px; padding: 10px 18px; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 880px;
  margin-top: clamp(40px, 5vw, 60px);
  border-top: 0.5px solid var(--line);
}
.faq-item {
  border-bottom: 0.5px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
  margin-top: -2px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq-a {
  padding: 0 4px 24px;
  max-width: 760px;
}
.faq-a p {
  color: var(--ink-secondary);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
}
