/* ========================================================================
   TeachFi brand palette
   - Brand colors per branding-guidelines:
     #005f83 deep teal · #c8d3e6 light blue-grey
   - Typography: Outfit (close geometric sans replacement for Urbanpolis)
   ======================================================================== */
:root,
:root[data-theme="dark"] {
  /* Core */
  --bg:        #001824;   /* near-black teal */
  --bg-alt:    #002738;
  --panel:     #00334a;
  --line:      #0a4763;
  --text:      #e9f0f5;
  --muted:     #87a3b6;
  --brand:     #4ad6ff;   /* bright cyan-teal — readable on dark */
  --brand-2:   #7ee0ff;
  --brand-deep:#005f83;

  /* Semantic tokens */
  --nav-bg: rgba(0, 24, 36, 0.65);
  --surface-1: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-3: rgba(255, 255, 255, 0.08);
  --surface-4: rgba(255, 255, 255, 0.12);
  --card-grad-end: #001a26;
  --brand-text-from: #ffffff;
  --brand-text-to: #b8d6e4;
  --shadow-card: 0 30px 80px rgba(0, 15, 25, .55);
  --bullet-line: rgba(255, 255, 255, .05);
  --role-line: rgba(255, 255, 255, .07);
  --hover-border: #0e5b7e;
  --glow-1: rgba(74, 214, 255, .18);
  --glow-2: rgba(126, 224, 255, .12);

  /* Logo source per theme */
  --logo-src: url("../logo/teachfi-white.png");

  --radius: 14px;
  --maxw: 1120px;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  /* Core — driven directly by brand guide */
  --bg:        #ffffff;
  --bg-alt:    #f1f5fb;
  --panel:     #ffffff;
  --line:      #d8e0ec;
  --text:      #002738;
  --muted:     #5a7187;
  --brand:     #005f83;   /* official deep teal */
  --brand-2:   #00a3c4;   /* lighter accent in same family */
  --brand-deep:#003a52;

  --nav-bg: rgba(255, 255, 255, 0.78);
  --surface-1: rgba(0, 95, 131, 0.04);
  --surface-2: rgba(0, 95, 131, 0.08);
  --surface-3: rgba(0, 95, 131, 0.14);
  --surface-4: rgba(0, 95, 131, 0.20);
  --card-grad-end: #eaf1f9;
  --brand-text-from: #002738;
  --brand-text-to: #5a7187;
  --shadow-card: 0 24px 60px rgba(0, 60, 90, .12);
  --bullet-line: rgba(0, 39, 56, .08);
  --role-line: rgba(0, 39, 56, .10);
  --hover-border: #a8c0d4;
  --glow-1: rgba(0, 95, 131, .12);
  --glow-2: rgba(200, 211, 230, .55);

  --logo-src: url("../logo/teachfi-color.png");

  color-scheme: light;
}

html { transition: background-color .25s ease, color .25s ease; }
body, .site-nav, .card, .pilot-text, .advantages li, .stats, .steps li,
.hero-card, .nav-links, .lang-switch, .btn-ghost {
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }

/* Accessibility helpers */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 12px;
  padding: 12px 18px; background: var(--brand); color: #fff;
  border-radius: 8px; font-weight: 700; z-index: 1000;
  transition: top .2s;
}
.skip-link:focus { top: 12px; outline: 2px solid var(--text); }

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Print + PDF mode */
@media print {
  html { scroll-behavior: auto; }
  .site-nav { position: static !important; box-shadow: none !important; }
  .nav-cta, .nav-toggle, .mobile-nav, .theme-toggle, .skip-link { display: none !important; }
  .hero { padding: 32px 0 24px !important; }
  .section { padding: 32px 0 !important; page-break-inside: avoid; }
  .section-title { page-break-after: avoid; }
  .card, .year, .member, .post-card, .module-link { page-break-inside: avoid; }
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .testimonials, .personas, .posts, .press-grid, .curriculum, .team { grid-template-columns: repeat(2, 1fr) !important; }
  a { color: inherit !important; text-decoration: none !important; }
}
:root[data-print="1"] .site-nav { position: static !important; }
:root[data-print="1"] .nav-cta, :root[data-print="1"] .nav-toggle, :root[data-print="1"] .mobile-nav, :root[data-print="1"] .theme-toggle, :root[data-print="1"] .skip-link { display: none !important; }
:root[data-print="1"] .lang-switch { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .card:hover, .year:hover, .member:hover, .contact-card:hover,
  .btn:hover, .theme-toggle:hover { transform: none; }
}

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

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--surface-3);
}
.site-nav::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(20, 241, 149, 0.4),
    rgba(153, 69, 255, 0.4),
    transparent);
  opacity: 0.6;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 112px; gap: 32px;
}

/* Brand — uses the official TEACHFI wordmark */
.brand {
  display: flex; align-items: center;
  transition: opacity 0.2s;
}
.brand:hover { opacity: 0.8; }
.brand-logo {
  display: block;
  height: 84px; width: auto;
  content: var(--logo-src);
}
/* Hero showcase logo */
.hero-logo {
  display: block;
  height: 200px; width: auto;
  margin: 0 0 36px;
  content: var(--logo-src);
}
/* Footer logo */
.foot-logo {
  display: block;
  height: 60px; width: auto;
  margin-bottom: 12px;
  content: var(--logo-src);
}

/* Nav links */
.nav-links {
  display: flex; gap: 4px;
  padding: 6px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: 999px;
}
.nav-links a {
  position: relative;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 13.5px; font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface-2);
}
.nav-links a.is-active {
  color: var(--text);
  background: var(--surface-3);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav {
  display: none;
  position: fixed;
  top: 112px; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0,0,0,.25);
  padding: 20px 24px;
  z-index: 49;
  flex-direction: column; gap: 4px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 14px 16px;
  color: var(--text);
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
}
.mobile-nav a:hover {
  background: var(--surface-1);
  border-color: var(--surface-3);
}

/* Right cluster */
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* Theme toggle */
.theme-toggle {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  color: var(--muted);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.theme-toggle:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--surface-4);
  transform: rotate(-12deg);
}
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center;
  padding: 4px;
  background: var(--surface-1);
  border: 1px solid var(--surface-4);
  border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 6px 12px;
  color: var(--muted);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.active {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  box-shadow: 0 2px 10px var(--glow-1);
}
:root[data-theme="light"] .lang-switch a.active { color: #ffffff; }

/* Nav primary CTA */
.nav-cta .btn-primary {
  padding: 10px 18px;
  font-size: 13.5px;
  box-shadow:
    0 4px 14px var(--glow-1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.nav-cta .btn-primary:hover {
  box-shadow:
    0 6px 22px var(--glow-1),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; transition: transform .15s ease, background .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.01em;
}
:root[data-theme="dark"] .btn-primary { color: #001824; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--panel); }
.btn-lg { padding: 14px 22px; font-size: 15px; }

/* Hero */
.hero {
  padding: 96px 0 64px;
  background:
    radial-gradient(900px 500px at 80% -10%, var(--glow-1), transparent 60%),
    radial-gradient(700px 400px at 10% 10%, var(--glow-2), transparent 60%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--muted);
  background: var(--surface-1);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); }
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05; letter-spacing: -.02em;
  margin: 22px 0 18px; font-weight: 800;
}
.grad {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  margin-top: 56px;
  background: linear-gradient(180deg, var(--panel), var(--card-grad-end));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 560px;
  box-shadow: var(--shadow-card);
}
.hc-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-pill {
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.hc-balance { font-size: 28px; font-weight: 800; }
.hc-balance span { color: var(--muted); font-size: 14px; font-weight: 600; }
.hc-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px;
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.01em; margin: 8px 0 36px; font-weight: 800;
}
.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
  padding: 4px 10px; border: 1px solid var(--surface-3);
  border-radius: 999px; background: var(--surface-1);
}
.lead { color: var(--muted); font-size: 17px; margin: -16px 0 28px; max-width: 720px; }
.solve-line {
  margin-top: 28px; font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.closing { margin-top: 28px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.center { justify-content: center; }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--hover-border); }
.card h3 { margin: 14px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.card-lg { padding: 32px; }
.card-title { margin: 0 0 18px !important; font-size: 22px !important; }
.card.module-link {
  position: relative; padding-right: 40px;
  display: block; color: inherit;
}
.card.module-link:hover { border-color: var(--brand); }
.card.module-link h3 { color: var(--text); }
.card-arrow {
  position: absolute; right: 22px; bottom: 22px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  color: var(--brand);
  font-weight: 800;
  transition: transform .2s, background .2s, color .2s;
}
.card.module-link:hover .card-arrow {
  background: var(--brand); color: var(--bg);
  transform: translateX(4px);
}
.card.highlight {
  background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border-color: var(--surface-3);
}
.badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 16px;
}
.soon {
  display: inline-block; margin-left: 6px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--surface-3); color: var(--brand);
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; vertical-align: middle;
}
.bullet { list-style: none; padding: 0; margin: 0; }
.bullet li {
  position: relative; padding: 8px 0 8px 22px;
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
  border-bottom: 1px solid var(--bullet-line);
}
.bullet li:last-child { border-bottom: none; }
.bullet li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.role {
  padding: 14px 0; border-bottom: 1px solid var(--role-line);
  color: var(--muted); font-size: 14.5px; line-height: 1.6;
}
.role:last-child { border-bottom: none; }
.role strong { color: var(--text); margin-right: 4px; }
.ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--surface-3);
  color: var(--brand);
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.step-num {
  font-size: 38px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }

/* Pilot block */
.pilot {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch;
}
.pilot-text {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
}
.pilot-text p { color: var(--muted); line-height: 1.7; margin: 0 0 14px; }
.pilot-text p:last-child { margin-bottom: 0; }

/* Advantages list */
.advantages {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.advantages li {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  font-size: 15px; line-height: 1.55; color: var(--text);
  display: flex; gap: 14px; align-items: flex-start;
}
.advantages li span {
  color: var(--brand); font-size: 18px; line-height: 1;
  margin-top: 2px;
}

/* Stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
}
.stats-pilot { grid-template-columns: repeat(2, 1fr); padding: 24px; }
.stats-pilot .stat-num { font-size: 32px; }
.stat { text-align: center; }
.stat-num {
  font-size: 36px; font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-lbl { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 300px at 50% 0%, var(--glow-1), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-wrap h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; }
.cta-wrap p { color: var(--muted); margin: 0 0 24px; }

/* Module screenshot showcase */
.module-screenshot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  max-width: 960px; margin: 0 auto;
}
.module-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

/* Curriculum (5-year program) */
.curriculum {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
@media (max-width: 1100px) {
  .curriculum { grid-template-columns: repeat(3, 1fr); }
}
.year {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.year:hover { transform: translateY(-3px); border-color: var(--hover-border); }
.year::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}
.year-num {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase; margin-bottom: 6px;
}
.year-grade {
  font-size: 22px; font-weight: 800; margin: 0 0 4px;
  letter-spacing: -.01em;
}
.year-title {
  font-size: 14px; color: var(--muted); font-weight: 600;
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--bullet-line);
}
.year p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Team grid */
.team {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.member {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s, border-color .2s;
}
.member:hover { transform: translateY(-3px); border-color: var(--hover-border); }
.member-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 20px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px var(--glow-1);
}
.member h3 { margin: 0 0 4px; font-size: 17px; }
.member-role {
  font-size: 13px; color: var(--brand); font-weight: 700;
  letter-spacing: .03em; margin-bottom: 12px;
}
.member p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Roadmap */
.roadmap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  position: relative;
}
.roadmap::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: 28px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  opacity: .35;
}
.phase {
  position: relative; padding: 0 14px; text-align: center;
}
.phase-dot {
  width: 56px; height: 56px; border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--bg);
  border: 2px solid var(--brand);
  display: grid; place-items: center;
  font-weight: 800; color: var(--brand);
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--bg), 0 8px 24px var(--glow-1);
}
.phase h3 { margin: 0 0 8px; font-size: 18px; }
.phase p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Contact block */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 28px;
}
.contact-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.contact-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--surface-3);
  color: var(--brand); font-size: 18px; flex-shrink: 0;
}
.contact-card .label { font-size: 12px; color: var(--muted); display: block; }
.contact-card .value { font-size: 15px; font-weight: 600; color: var(--text); }

/* Mission quote */
.mission-quote {
  background: linear-gradient(135deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--surface-3);
  border-radius: var(--radius);
  padding: 48px 56px;
  position: relative;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.005em;
  color: var(--text);
}
.mission-quote::before {
  content: "“"; position: absolute;
  top: -10px; left: 24px;
  font-size: 120px; line-height: 1;
  color: var(--brand); opacity: .35;
  font-family: Georgia, serif;
}
.mission-quote cite {
  display: block; margin-top: 18px;
  font-size: 14px; font-weight: 700; font-style: normal;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}

/* FAQ accordion */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer;
  padding: 22px 26px;
  font-size: 16px; font-weight: 600;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px;
  background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
  color: var(--muted);
  transition: transform .2s, color .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--brand);
}
.faq .answer {
  padding: 0 26px 24px;
  color: var(--muted); font-size: 15px; line-height: 1.7;
}

/* Testimonials */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.testimonial {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s, border-color .2s;
}
.testimonial:hover { transform: translateY(-3px); border-color: var(--hover-border); }
.testimonial-quote {
  font-size: 15px; line-height: 1.65; color: var(--text);
  flex: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--bullet-line);
  padding-top: 16px;
}
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 14px;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; }
.testimonial-role { font-size: 12px; color: var(--muted); }
.stars {
  color: var(--brand); font-size: 14px; letter-spacing: 2px;
}

/* Personas */
.personas {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.persona {
  background: linear-gradient(180deg, var(--surface-1), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, border-color .2s;
}
.persona:hover { transform: translateY(-3px); border-color: var(--brand); }
.persona-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px var(--glow-1);
}
.persona-icon svg { width: 26px; height: 26px; }
.persona h3 { margin: 0 0 8px; font-size: 20px; }
.persona p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.persona ul { list-style: none; padding: 0; margin: 0; }
.persona li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 14px; color: var(--text);
}
.persona li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px; border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* Lead form */
.lead-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  max-width: 640px; margin: 28px auto 0;
  text-align: left;
}
.lead-form .full { grid-column: 1 / -1; }
.lead-form label {
  display: block; font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 6px;
}
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%; padding: 14px 16px;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form input:focus,
.lead-form textarea:focus,
.lead-form select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--glow-1);
}
.lead-form textarea { min-height: 120px; resize: vertical; }
.lead-form button { width: 100%; }

/* Architecture diagram visual */
.arch {
  display: grid; gap: 14px;
  margin-top: 24px;
}
.arch-layer {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  position: relative;
}
.arch-layer::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: var(--radius) 0 0 var(--radius);
}
.arch-layer h3 {
  margin: 0 0 6px; font-size: 16px;
  color: var(--brand); letter-spacing: .04em; text-transform: uppercase;
}
.arch-layer p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.arch-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.arch-tag {
  font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-1); border: 1px solid var(--surface-3);
  color: var(--text);
}

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.post-date { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.post-more { color: var(--brand); font-weight: 700; font-size: 14px; }

/* Press kit */
.press-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.press-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.swatch-row { display: flex; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.swatch {
  flex: 1; min-width: 110px;
  padding: 18px 16px; border-radius: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: #fff; line-height: 1.4;
  border: 1px solid var(--surface-3);
}
.swatch small { display: block; opacity: .85; font-weight: 500; margin-top: 4px; }

/* Footer */
.site-foot {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px; font-size: 14px; color: var(--muted);
}
.foot-wrap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot-col h4 {
  margin: 0 0 14px; font-size: 13px; font-weight: 800;
  color: var(--text); text-transform: uppercase; letter-spacing: .08em;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.foot-links { display: flex; gap: 22px; }

/* Social icons */
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface-1);
  border: 1px solid var(--surface-3);
  color: var(--muted);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
.socials a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-wrap { height: 88px; gap: 16px; }
  .brand-logo { height: 64px; }
  .mobile-nav { top: 88px; }
  .testimonials, .personas, .posts, .press-grid {
    grid-template-columns: 1fr;
  }
  .lead-form { grid-template-columns: 1fr; }
  .foot-wrap { grid-template-columns: 1fr 1fr; }
  .mission-quote { padding: 40px 32px; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .pilot { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr; }
  .hero-logo { height: 140px; }
  .curriculum, .team, .roadmap, .contact-grid { grid-template-columns: 1fr; }
  .roadmap::before { display: none; }
}
@media (max-width: 540px) {
  .nav-cta .btn-primary { display: none; }
  .nav-wrap { height: 72px; }
  .brand-logo { height: 48px; }
  .hero-logo { height: 96px; margin-bottom: 24px; }
  .foot-logo { height: 44px; }
  .mobile-nav { top: 72px; }
  .foot-wrap { grid-template-columns: 1fr; gap: 28px; }
}
