/* ============================================================
   AI-College — AI Architect landing page
   Palette per brand guidelines:
   Titanium Silver #C0C4C9 · Graphite #1F1F23 · Electric Blue #3B82F6
   Soft White #F8F9FB · White #FFFFFF
   ============================================================ */

/* Birzia (brand font, licensed) — weights: Light 300, Medium 400-500,
   Bold 600-700, Black 800-900. Falls back to Heebo if a file is missing. */
@font-face {
  font-family: 'Birzia';
  src: url('../assets/fonts/Birzia-Light.woff2') format('woff2'),
       url('../assets/fonts/Birzia-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Birzia';
  src: url('../assets/fonts/Birzia-Medium.woff2') format('woff2'),
       url('../assets/fonts/Birzia-Medium.woff') format('woff');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Birzia';
  src: url('../assets/fonts/Birzia-Bold.woff2') format('woff2'),
       url('../assets/fonts/Birzia-Bold.woff') format('woff');
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Birzia';
  src: url('../assets/fonts/Birzia-Black.woff2') format('woff2'),
       url('../assets/fonts/Birzia-Black.woff') format('woff');
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --graphite: #1f1f23;
  --graphite-deep: #17171b;
  --graphite-card: #26262c;
  --titanium: #c0c4c9;
  --steel-border: #e3e6ea;
  --soft-white: #f8f9fb;
  --white: #ffffff;
  --blue: #3b82f6;
  --blue-deep: #2f6fe0;
  --ink: #1f1f23;
  --ink-soft: #44454d;
  --muted: #7c7f88;
  --muted-dark: #9aa1ab;
  --line-dark: #33343b;
  --metal-text: linear-gradient(180deg, #f2f4f7 0%, #c0c4c9 42%, #868d97 58%, #dde1e6 100%);
  --radius: 12px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Birzia', 'Heebo', 'Segoe UI', Arial, sans-serif;
  background: var(--soft-white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; }
.center { text-align: center; }

/* Brand type everywhere — Birzia also for labels, numbers and meta lines.
   Only the terminal keeps a monospace face (it renders code). */
.mono { font-family: 'Birzia', 'Heebo', sans-serif; letter-spacing: .04em; }
.terminal, .terminal pre, .terminal code, .terminal .terminal-title {
  font-family: 'IBM Plex Mono', monospace;
}

/* ---------- type ---------- */

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; }

.section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  text-align: center;
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-sub {
  text-align: center;
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
}

.dark .section-sub { color: var(--muted-dark); }

.eyebrow {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--blue);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  padding: 15px 32px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 22px rgba(59, 130, 246, .35);
}
.btn-blue:hover { background: var(--blue-deep); }

.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-wide { width: 100%; text-align: center; }
.btn-header { padding: 11px 22px; font-size: 14.5px; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 23, 27, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.15;
}
.logo-mark { width: 44px; flex: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.logo-name {
  display: block;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .14em;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--titanium);
}
.logo-sub {
  display: block;
  font-size: 10.5px;
  color: var(--muted-dark);
  white-space: nowrap;
  letter-spacing: .02em;
}

.main-nav { display: flex; gap: 22px; margin-inline-start: auto; }
.main-nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: #d4d6db;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

/* ============================================================
   01 · HERO
   ============================================================ */

.hero {
  position: relative;
  background: var(--graphite-deep);
  color: #fff;
  padding: 84px 0 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -220px;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 900px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .22), transparent 70%);
  pointer-events: none;
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .7;
}

.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero .eyebrow { color: var(--muted-dark); }

.hero-title {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 900;
  letter-spacing: .01em;
  line-height: 1.05;
  background: linear-gradient(100deg,
    #f2f4f7 0%, #c0c4c9 30%, #868d97 44%,
    #ffffff 50%,
    #868d97 56%, #c0c4c9 70%, #dde1e6 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--titanium);
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, .55));
  direction: ltr;
  animation: title-shine 7s ease-in-out infinite;
}

@keyframes title-shine {
  0%, 55% { background-position: 100% 0; }
  85%, 100% { background-position: 0% 0; }
}

.hero-promise {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  margin: 18px 0 16px;
}

.hero-sub {
  max-width: 700px;
  margin: 0 auto 26px;
  font-size: clamp(15px, 1.7vw, 18px);
  color: #c8cbd2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--titanium);
  margin-bottom: 46px;
}
.meta-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

/* lead card */
.lead-card {
  background: var(--graphite-card);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  padding: 38px 42px;
  max-width: 980px;
  margin: 0 auto 84px;
  text-align: start;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}

.lead-card-text h2 { font-size: clamp(19px, 2vw, 24px); margin-bottom: 12px; }
.lead-card-text p { font-size: 15px; color: #c8cbd2; }

.lead-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }

.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--titanium);
}
.req { color: var(--blue); }

/* RTL: labels and placeholders sit on the right; typed LTR content
   (phone digits, email) still renders correctly via plaintext bidi */
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 15px;
  background: var(--graphite-deep);
  color: #fff;
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}
.lead-form input::placeholder { color: #82858e; direction: rtl; text-align: right; }
.lead-form input:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.lead-form input.field-error { border-color: #e8502e; }

.consent-error {
  color: #ff8a70;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.consent.consent-missing span { color: #ff8a70; }

.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #a9acb5;
  cursor: pointer;
}
.consent input { margin-top: 3px; accent-color: var(--blue); }
.consent a { color: #d4d6db; }

.form-success { margin-top: 12px; font-weight: 700; color: var(--blue); }

/* stats strip */
.stats-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .02);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 30px 12px;
  text-align: center;
  border-inline-start: 1px solid var(--line-dark);
}
.stat:first-child { border-inline-start: none; }

.stat-num {
  display: block;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  background: var(--metal-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--titanium);
}
.stat-label { font-size: 13.5px; color: var(--muted-dark); }

/* ============================================================
   02 · WHY NOW
   ============================================================ */

.why { background: var(--white); padding: 96px 0; }

.why-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.why-text h2 { font-size: clamp(25px, 2.8vw, 36px); margin-bottom: 20px; text-wrap: balance; }
.why-text p { margin-bottom: 18px; font-size: 16.5px; color: var(--ink-soft); }

.brand-line {
  font-weight: 800;
  color: var(--ink) !important;
  font-size: 18px !important;
  margin-bottom: 26px !important;
}

/* media figure (image slots) */
.media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel-border);
  background: var(--graphite);
  box-shadow: 0 24px 48px rgba(31, 31, 35, .14);
}
.media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.media figcaption {
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted-dark);
  background: var(--graphite);
  padding: 10px 16px;
}

/* ============================================================
   CLIENTS MARQUEE
   ============================================================ */

.clients {
  background: var(--white);
  border-top: 1px solid var(--steel-border);
  padding: 34px 0 40px;
}

.clients-title {
  text-align: center;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 24px;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  width: max-content;
  padding-inline: 24px;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span,
.marquee-track img {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #a7aeb8;
  white-space: nowrap;
  filter: grayscale(1);
  transition: color .2s, filter .2s;
  height: 30px;
  display: flex;
  align-items: center;
}
.marquee-track span:hover,
.marquee-track img:hover { color: var(--graphite); filter: none; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SCROLL REVEAL + terminal caret (JS-driven, motion-safe)
   ============================================================ */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

.js .terminal .t-line { opacity: 0; }
.js .terminal .t-line.on { opacity: 1; transition: opacity .25s ease; }
.t-caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--blue);
  vertical-align: -2px;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .hero-title { animation: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .terminal .t-line { opacity: 1; }
  .t-caret { animation: none; }
}

/* ============================================================
   03 · CAPABILITIES + TOOLS + ROLES
   ============================================================ */

.capabilities { background: var(--soft-white); padding: 96px 0; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}

.cap-card {
  background: var(--white);
  border: 1px solid var(--steel-border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.cap-card h3 { font-size: 17px; margin-bottom: 8px; }
.cap-card p { font-size: 14px; color: var(--ink-soft); }

.tools-row { text-align: center; margin-bottom: 72px; }
.tools-label {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.tools-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tools-chips span {
  border: 1px solid var(--steel-border);
  background: var(--white);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  direction: ltr;
}

.roles-title { font-size: clamp(20px, 2.2vw, 26px); text-align: center; margin-bottom: 8px; }
.roles-note { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.role-card {
  background: var(--graphite);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
}
.role-card h4 { font-size: 15.5px; margin-bottom: 10px; color: var(--titanium); text-align: start; }
.role-card p { font-size: 14px; color: #c8cbd2; }

/* ============================================================
   04 · WHO IT'S FOR (dark)
   ============================================================ */

.dark { background: var(--graphite-deep); color: #fff; }

.fit { padding: 96px 0; }

.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto 22px;
}

.path-card {
  background: var(--graphite-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 32px 30px;
}
.path-tag { font-size: 12px; letter-spacing: .12em; color: var(--blue); margin-bottom: 12px; }
.path-card h3 { font-size: 20px; margin-bottom: 10px; }
.path-card p { font-size: 15px; color: #c8cbd2; }

.fit-req {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.fit-req-col {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.fit-req-col h4 { font-size: 16px; margin-bottom: 10px; color: var(--titanium); }
.fit-req-col p { font-size: 14.5px; color: #c8cbd2; }
.fit-req-no li {
  position: relative;
  padding-inline-start: 20px;
  font-size: 14.5px;
  color: #c8cbd2;
  margin-bottom: 8px;
}
.fit-req-no li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 8px;
  height: 2px;
  background: var(--muted-dark);
}

/* ============================================================
   05 · HOW YOU LEARN + lecturers band
   ============================================================ */

.learning { background: var(--white); padding: 96px 0 0; }

.learning-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-bottom: 88px;
}

.learning-text h2 { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 26px; }

.learning-list li {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--steel-border);
  font-size: 15px;
  color: var(--ink-soft);
}
.learning-list li:last-child { border-bottom: 1px solid var(--steel-border); }
.learning-list strong { font-size: 16px; color: var(--ink); }

.lecturers-band {
  background: var(--graphite);
  color: #fff;
  text-align: center;
  padding: 54px 0;
}
.lecturers-line {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  text-wrap: balance;
}
.lecturers-note { margin-top: 10px; font-size: 14px; color: var(--muted-dark); }

/* ============================================================
   06 · SYLLABUS (accordion)
   ============================================================ */

.syllabus { background: var(--soft-white); padding: 96px 0; }

.accordion { display: grid; gap: 10px; }

.acc-item {
  background: var(--white);
  border: 1px solid var(--steel-border);
  border-radius: 10px;
  overflow: hidden;
}
.acc-item.is-open { border-color: var(--titanium); }

.acc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 16px 20px;
  text-align: start;
}
.acc-head:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }

.acc-num { font-size: 13px; color: var(--blue); font-weight: 600; }
.acc-title { font-size: 16px; font-weight: 700; flex: 1; color: var(--ink); }
.acc-hours { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

.acc-toggle {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--titanium);
  border-radius: 50%;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), background .25s, border-color .25s;
}
.acc-toggle::before,
.acc-toggle::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.acc-toggle::before { width: 10px; height: 2px; }
.acc-toggle::after { width: 2px; height: 10px; }

.acc-item.is-open .acc-toggle {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(180deg);
}
.acc-item.is-open .acc-toggle::before { background: #fff; }
.acc-item.is-open .acc-toggle::after { display: none; }

/* smooth open: grid-rows 0fr→1fr + fade + slide */
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 62px 0 22px;
  color: var(--ink-soft);
  font-size: 14.5px;
  transition:
    grid-template-rows .45s cubic-bezier(.4, 0, .2, 1),
    opacity .35s ease,
    padding-bottom .45s cubic-bezier(.4, 0, .2, 1);
}
.acc-body > p {
  overflow: hidden;
  transform: translateY(-6px);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}
.acc-item.is-open .acc-body {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 18px;
}
.acc-item.is-open .acc-body > p { transform: none; }
.acc-item {
  transition: border-color .3s, box-shadow .3s;
}
.acc-item.is-open { box-shadow: 0 10px 30px rgba(59, 130, 246, .10); }

@media (prefers-reduced-motion: reduce) {
  .acc-body, .acc-body > p, .acc-toggle, .acc-item { transition: none; }
  .acc-item.is-open .acc-toggle { transform: none; }
}

.syllabus-total {
  max-width: 480px;
  margin: 34px auto 38px;
  display: grid;
  gap: 10px;
}
.total-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.total-dots { flex: 1; border-bottom: 1px dotted var(--titanium); }
.total-sum { font-weight: 600; color: var(--ink); font-size: 15px; }

/* ============================================================
   07 · FINAL PROJECT (dark) + terminal
   ============================================================ */

.project { padding: 96px 0; }

.project-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto 44px;
}

.project-steps { counter-reset: step; display: grid; gap: 0; }
.project-steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14.5px;
  color: #c8cbd2;
}
.project-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--blue);
  flex: none;
}
.project-steps .mono {
  color: var(--titanium);
  font-size: 13px;
  min-width: 150px;
  direction: ltr;
  text-align: start;
}

/* terminal mock */
.terminal {
  background: #101014;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #1a1a20;
  border-bottom: 1px solid var(--line-dark);
}
.t-dot { width: 10px; height: 10px; border-radius: 50%; background: #3a3b42; }
.terminal-title { margin-inline-start: 10px; font-size: 11.5px; color: var(--muted-dark); }
.terminal pre {
  padding: 18px 20px;
  font-size: 12.5px;
  line-height: 1.75;
  color: #b9c9e2;
  overflow-x: auto;
}
.terminal code { font-family: inherit; }

.project-key {
  text-align: center;
  font-size: clamp(19px, 2.4vw, 27px);
  font-weight: 800;
}

/* ============================================================
   08 · CERTIFICATION + simulator
   ============================================================ */

.certification { background: var(--white); padding: 96px 0; }

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  max-width: 1060px;
  margin: 44px auto 64px;
}

.cert-card {
  border: 1px solid var(--steel-border);
  border-radius: var(--radius);
  padding: 30px 30px;
  background: var(--soft-white);
}
.cert-tag { font-size: 11.5px; letter-spacing: .1em; color: var(--blue); margin-bottom: 12px; }
.cert-card h3 { font-size: 20px; text-align: start; }
.cert-spec { font-size: 12px; color: var(--muted); margin: 6px 0 14px; text-align: start; }
.cert-card > p:not(.cert-tag):not(.cert-spec) { font-size: 14.5px; color: var(--ink-soft); }

.cert-anthropic { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.cert-anthropic .cert-spec { color: var(--muted-dark); }
.cert-anthropic > p:not(.cert-tag):not(.cert-spec) { color: #c8cbd2; }

.cert-domains { margin: 18px 0 14px; display: grid; gap: 7px; }
.cert-domains li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--titanium);
  border-bottom: 1px dotted var(--line-dark);
  padding-bottom: 6px;
}
.cert-domains li span:last-child { color: var(--blue); font-weight: 600; }

.cert-note { font-size: 12.5px !important; color: var(--muted-dark) !important; }

.simulator {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
  border: 1px solid var(--steel-border);
  border-radius: var(--radius);
  padding: 38px 40px;
  background: var(--soft-white);
}
.sim-text h3 { font-size: 21px; margin-bottom: 10px; text-align: start; }
.sim-text p { font-size: 15px; color: var(--ink-soft); }

.sim-list { display: grid; gap: 10px; }
.sim-list li {
  position: relative;
  padding-inline-start: 24px;
  font-size: 15px;
  color: var(--ink-soft);
}
.sim-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--blue);
}

/* ============================================================
   10 · STANDARD band
   ============================================================ */

.standard { text-align: center; padding: 64px 0; }
.standard-line { font-size: clamp(21px, 2.8vw, 32px); font-weight: 800; text-wrap: balance; }
.standard-sub { margin-top: 10px; font-size: 15px; color: var(--muted-dark); }

/* ============================================================
   11 · FAQ
   ============================================================ */

.faq { background: var(--soft-white); padding: 96px 0; }
.faq .acc-item.is-open .acc-body { padding-bottom: 20px; }

/* ============================================================
   12 · CLOSING CTA
   ============================================================ */

.apply { padding: 96px 0 72px; text-align: center; }

.apply-title { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 14px; }
.apply-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 16px;
  color: #c8cbd2;
}

.apply-form { max-width: 640px; margin: 0 auto; text-align: start; }
.apply-form .lead-fields { grid-template-columns: 1fr 1fr; }
.apply-form .consent { justify-content: flex-start; }

.apply-brand {
  margin-top: 44px;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--titanium);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--graphite-deep);
  color: var(--muted-dark);
  border-top: 1px solid var(--line-dark);
  padding: 22px 0;
  font-size: 13px;
}

/* ---------- legal pages (privacy / terms / accessibility) ---------- */

.legal-page {
  background: var(--white);
  min-height: 70vh;
  padding: 60px 0 90px;
}
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.legal-updated { color: var(--muted); font-size: 13.5px; margin-bottom: 30px; }
.legal-draft {
  background: #fff7e6;
  border: 1px solid #f0dca8;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: #8a6d00;
  margin-bottom: 34px;
}
.legal-page h2 { font-size: 19px; margin: 30px 0 10px; }
.legal-page p, .legal-page li { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.legal-page ul { list-style: disc; padding-inline-start: 22px; }
.legal-back { display: inline-block; margin-top: 36px; font-weight: 600; color: var(--blue); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--muted-dark); }
.footer-links a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    background: var(--graphite-deep);
    border-bottom: 1px solid var(--line-dark);
    padding: 18px 24px;
    gap: 14px;
  }
  .btn-header { display: none; }
}

@media (max-width: 900px) {
  .lead-card { grid-template-columns: 1fr; padding: 28px 24px; }
  .why-inner, .learning-inner, .project-inner, .cert-grid, .simulator { grid-template-columns: 1fr; }
  .learning-inner .media { order: 2; }
  .cap-grid, .roles-grid { grid-template-columns: 1fr 1fr; }
  .paths-grid, .fit-req { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat { border-inline-start: none; border-top: 1px solid var(--line-dark); }
  .stat:nth-child(-n+2) { border-top: none; }
  .logo-sub { display: none; }
}

@media (max-width: 560px) {
  .cap-grid, .roles-grid, .lead-fields, .apply-form .lead-fields { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .acc-hours { display: none; }
  .acc-body { padding: 0 22px; }
  .acc-item.is-open .acc-body { padding-bottom: 18px; }
  .footer-inner { justify-content: center; text-align: center; }
}

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