:root {
  --brand: #0f172a;
  --brand-mid: #243557;
  --brand-soft: #eef2ff;
  --accent: #4f46e5;
  --accent-light: #818cf8;
  --accent-glow: rgba(79, 70, 229, 0.12);
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --success: #059669;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.08);
  --radius: 20px;
  --radius-lg: 28px;
  --header-h: 76px;
  --header-bg: #243557;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; max-width: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-x: hidden;
  max-width: 100%;
}
body.nav-open { overflow: hidden; }
main { max-width: 100%; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; max-width: 100%; }
.section { padding: 96px 0; }
.section-sm { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--brand);
}
.section-head p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #1e293b;
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: #cbd5e1; }
.btn-light { background: #fff; color: var(--brand); border: 1px solid rgba(255,255,255,0.2); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 8px 32px rgba(15, 23, 42, 0.25); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.brand img {
  height: 46px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  display: block;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-desktop a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.15s, background 0.15s;
}
.nav-desktop a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.site-header .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}
.site-header .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}
.site-header .btn-primary {
  background: #fff;
  color: var(--header-bg);
  box-shadow: none;
}
.site-header .btn-primary:hover { background: #f1f5f9; }
.menu-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 999;
  background: var(--bg);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow: auto;
  border-left: 1px solid var(--border);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 998;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 80px;
  overflow: hidden;
  background: var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -20%, var(--accent-glow), transparent 70%),
    radial-gradient(ellipse 40% 30% at 90% 10%, rgba(36, 53, 87, 0.04), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--brand);
}
.hero-copy h1 span {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead {
  margin: 0 0 32px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.trust-pill i { color: var(--accent); font-size: 11px; }

/* Hero phone — real app preview (matches student dashboard) */
.hero-visual { max-width: 320px; margin-inline: auto; }
.hero-visual-caption {
  margin: 20px 0 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  font-weight: 500;
  max-width: 300px;
  margin-inline: auto;
}
.phone-mock {
  position: relative;
  width: 100%;
  aspect-ratio: 9/19.5;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0f172a;
  border-radius: 999px;
  z-index: 5;
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.app-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  --ui-brand: #243557;
  --ui-brand-2: #31457a;
  --ui-brand-soft: #eef2ff;
  --ui-text: #172033;
  --ui-muted: #6d7890;
  --ui-border: #e8edf5;
}
.ap-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 38px 10px 8px;
  background: linear-gradient(135deg, #243557 0%, #31457a 100%);
  flex-shrink: 0;
}
.ap-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.ap-brand img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.ap-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.ap-prep-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 8px 0;
  padding: 7px 9px;
  border: 1px solid var(--ui-border);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 4px 14px rgba(35,50,90,0.06);
  text-align: left;
  flex-shrink: 0;
  max-width: calc(100% - 16px);
  min-width: 0;
  box-sizing: border-box;
}
.ap-prep-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--ui-brand-soft);
  color: var(--ui-brand);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}
.ap-prep-text { flex: 1; min-width: 0; }
.ap-prep-text small {
  display: block;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ui-muted);
}
.ap-prep-text strong {
  display: block;
  font-size: 10px;
  font-weight: 900;
  color: var(--ui-text);
}
.ap-prep-change {
  font-size: 9px;
  color: var(--ui-brand);
  flex-shrink: 0;
}
.ap-scroll {
  flex: 1;
  overflow: hidden;
  padding: 6px 8px 4px;
  background: #fff;
}
.ap-greet {
  border-radius: 16px;
  padding: 12px 11px;
  margin-bottom: 8px;
  background: linear-gradient(145deg, #1e293b 0%, #243557 45%, #3d5a9e 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36,53,87,0.22);
  position: relative;
  overflow: hidden;
}
.ap-greet::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  right: -20px;
  top: -30px;
}
.ap-greet > * { position: relative; z-index: 1; }
.ap-greet h2 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.ap-greet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.ap-greet-pills span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 7px;
  font-weight: 800;
}
.ap-greet p {
  margin: 8px 0 0;
  font-size: 8px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}
.ap-card {
  background: #fff;
  border: 1px solid var(--ui-border);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(35,50,90,0.05);
}
.ap-card-head {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
  min-width: 0;
}
.ap-card-head > div:first-child {
  min-width: 0;
  flex: 1 1 auto;
}
.ap-card-head h3 {
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  color: var(--ui-text);
  display: flex;
  align-items: center;
  gap: 5px;
}
.ap-card-head h3 i { color: var(--ui-brand); font-size: 9px; }
.ap-card-head p {
  margin: 2px 0 0;
  font-size: 7px;
  color: var(--ui-muted);
  font-weight: 700;
}
.ap-badge {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
  align-self: flex-start;
}
.ap-badge.blue { background: #eff6ff; color: #2563eb; }
.ap-readiness {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.ap-ring {
  position: relative;
  width: 72px;
  height: 72px;
}
.ap-ring svg { width: 72px; height: 72px; }
.ap-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ap-ring-center b {
  font-size: 16px;
  font-weight: 900;
  color: var(--ui-text);
  line-height: 1;
}
.ap-ring-center small {
  font-size: 8px;
  font-weight: 800;
  color: var(--ui-muted);
}
.ap-mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.ap-mini-stats div {
  padding: 5px 6px;
  border-radius: 9px;
  background: var(--ui-brand-soft);
  border: 1px solid var(--ui-border);
}
.ap-mini-stats small {
  display: block;
  font-size: 6px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ui-muted);
}
.ap-mini-stats b {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: var(--ui-text);
  margin-top: 1px;
}
.ap-mission {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 55%);
  border-color: #fed7aa;
}
.ap-mission-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ap-mission-list li {
  display: flex;
  gap: 6px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.4;
  padding: 5px 0;
  border-bottom: 1px solid rgba(254,215,170,0.45);
  color: var(--ui-text);
}
.ap-mission-list li:last-child { border: 0; }
.ap-mission-list li.done { color: #166534; }
.ap-mission-list li span:first-child { flex-shrink: 0; width: 10px; }
.ap-gains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 8px 0;
}
.ap-gains div {
  text-align: center;
  padding: 5px 3px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #fed7aa;
}
.ap-gains small {
  display: block;
  font-size: 6px;
  font-weight: 800;
  color: var(--ui-muted);
}
.ap-gains b {
  display: block;
  font-size: 9px;
  font-weight: 900;
  color: var(--ui-text);
}
.ap-btn.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--ui-brand), var(--ui-brand-2));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(36,53,87,0.2);
}
.ap-mobnav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 5px 4px 8px;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--ui-border);
  box-shadow: 0 -4px 16px rgba(35,50,90,0.08);
  flex-shrink: 0;
}
.ap-mobnav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 2px;
  border-radius: 10px;
  font-size: 7px;
  font-weight: 700;
  color: var(--ui-muted);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.ap-mobnav span i { font-size: 12px; }
.ap-mobnav span.active {
  color: var(--ui-brand);
  background: var(--ui-brand-soft);
}

/* Compare */
.compare-grid { display: grid; gap: 24px; }
.compare-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
}
.compare-card.old { background: var(--bg-soft); }
.compare-card.new {
  border-color: rgba(79, 70, 229, 0.2);
  background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%);
  box-shadow: var(--shadow);
}
.compare-card h3 { margin: 0 0 20px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.compare-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
}
.compare-list li i { width: 20px; text-align: center; font-size: 14px; }
.compare-card.old .compare-list li i { color: #ef4444; }
.compare-card.new .compare-list li { color: var(--text); }
.compare-card.new .compare-list li i { color: var(--success); }

/* Features */
.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 18px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.feature-more { display: none; }
.feature-grid.expanded .feature-more { display: block; }
.feature-toggle-wrap { text-align: center; margin-top: 32px; }
.feature-toggle-wrap .btn i { transition: transform 0.2s; }
.feature-grid.expanded + .feature-toggle-wrap .btn i { transform: rotate(180deg); }

/* Question demo */
.q-demo {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-lg);
}
.q-demo-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.q-tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.q-tag.hot { background: #fff7ed; color: #c2410c; }
.q-tag.green { background: #ecfdf5; color: #047857; }
.q-tag:not(.hot):not(.green) { background: var(--bg-muted); color: var(--muted); }
.q-demo h3 { margin: 0 0 20px; font-size: 19px; line-height: 1.5; font-weight: 700; color: var(--brand); }
.q-option {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 15px;
  background: var(--bg-soft);
  transition: border-color 0.15s;
}
.q-option:hover { border-color: var(--accent-light); }
.q-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.q-stat { padding: 0; }
.q-stat small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.q-stat b { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--brand); }
.q-demo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

/* Timeline */
.timeline { display: grid; gap: 0; max-width: 640px; margin: 0 auto; }
.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 32px;
  position: relative;
}
.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-num {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  position: relative;
  z-index: 1;
}
.timeline-step h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.timeline-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* Exams */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
  width: 100%;
}
@media (min-width: 640px) {
  .exam-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
.exam-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 0;
  padding: 12px 10px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.35;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.exam-chip:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--accent);
}
.exam-chip-primary {
  grid-column: 1 / -1;
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.exam-chip-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

.exam-showcase {
  display: grid;
  gap: 28px;
  max-width: 720px;
}
.exam-category h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}
.exam-category h3 i {
  color: var(--brand-mid);
  font-size: 15px;
}
.exam-category .exam-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}
.exam-category-actions {
  display: grid;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.exam-category-actions .exam-chip-primary {
  grid-column: auto;
}
.exam-grid-dynamic {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.exam-chip-meta {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}
.exam-empty-note {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Guides band */
.guides-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-soft) 0%, var(--brand-soft) 100%);
  max-width: 100%;
  box-sizing: border-box;
}
.guides-band h2 {
  margin: 12px 0 8px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.guides-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* App preview grid */
.preview-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.preview-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.preview-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.preview-card h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
}
.preview-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.preview-mock {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-bar { display: flex; gap: 5px; margin-bottom: 4px; }
.mock-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.mock-bar span:first-child { background: #fca5a5; }
.mock-bar span:nth-child(2) { background: #fcd34d; }
.mock-bar span:nth-child(3) { background: #86efac; }
.mock-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.mock-score {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.03em;
  line-height: 1;
}
.mock-score small { font-size: 14px; font-weight: 600; color: var(--muted); }
.mock-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.mock-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  font-size: 12px;
}
.mock-row strong { color: var(--brand); font-weight: 700; }
.mock-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}
.mock-chip.green { background: #ecfdf5; color: #059669; }
.mock-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}
.mock-tabs span {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
}
.mock-tabs span.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.mock-q {
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--brand);
}
.mock-q.sm { font-size: 11px; }
.mock-opt {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.mock-opt.selected {
  border-color: var(--accent-light);
  background: var(--brand-soft);
  color: var(--accent);
  font-weight: 700;
}
.mock-nav {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}
.mock-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  background: var(--bg-muted);
  color: var(--muted);
}
.mock-tags span.hot { background: #fff7ed; color: #c2410c; }
.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: auto;
}
.mock-stats div {
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-align: center;
}
.mock-stats small {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-stats b { font-size: 12px; color: var(--brand); }
.mock-timer {
  padding: 8px 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #b91c1c;
}
.mock-timer i { margin-right: 4px; }
.mock-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mock-palette span {
  width: 26px; height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
}
.mock-palette span.done { background: #ecfdf5; border-color: #bbf7d0; color: #059669; }
.mock-palette span.cur { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Info cards */
.love-grid, .security-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.info-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: box-shadow 0.2s;
}
.info-card:hover { box-shadow: var(--shadow-sm); }
.info-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-card h3 i { color: var(--accent); font-size: 16px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* GPS & Digital Twin panels */
.gps-panel {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}
.gps-copy h2,
.gps-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand);
}
.gps-benefits {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.gps-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.5;
}
.gps-benefits li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}
.gps-mock,
.twin-mock {
  border-radius: var(--radius);
  background: linear-gradient(145deg, #1e293b 0%, #243557 50%, #3d5a9e 100%);
  color: #fff;
  padding: 18px 16px;
  box-shadow: var(--shadow-lg);
  max-width: 100%;
  box-sizing: border-box;
}
.gps-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}
.gps-mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}
.gps-status {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gps-status.on { background: rgba(52, 211, 153, 0.2); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.35); }
.gps-mock-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.gps-mock-label strong { font-size: 18px; font-weight: 900; }
.gps-mock-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  margin-bottom: 16px;
}
.gps-mock-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #6ee7b7);
}
.gps-mock-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.gps-step {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 0;
}
.gps-step > span:first-child {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.12);
}
.gps-step b { display: block; font-size: 13px; font-weight: 800; }
.gps-step small { display: block; font-size: 11px; opacity: 0.78; margin-top: 2px; line-height: 1.4; }
.gps-step.done { opacity: 0.75; }
.gps-step.done > span:first-child { background: rgba(52, 211, 153, 0.25); color: #6ee7b7; }
.gps-step.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.gps-step.active > span:first-child { background: #fff; color: var(--brand-mid); }
.gps-step .fa-check { color: #6ee7b7; font-size: 12px; }
.gps-mock-foot {
  margin: 14px 0 0;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 8px;
}
.twin-mock-head {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.twin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.twin-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.twin-tag.strong { background: rgba(52, 211, 153, 0.15); color: #a7f3d0; }
.twin-tag.weak { background: rgba(251, 191, 36, 0.15); color: #fde68a; }
.twin-tag.neutral { background: rgba(255, 255, 255, 0.1); color: #e2e8f0; }
.twin-bars { display: grid; gap: 10px; margin-bottom: 12px; }
.twin-bars small { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; opacity: 0.75; margin-bottom: 4px; }
.twin-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.twin-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #818cf8, #c7d2fe);
}
.twin-mock-note {
  margin: 0;
  font-size: 11px;
  opacity: 0.8;
  font-weight: 600;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: grid; gap: 8px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item.open { border-color: var(--accent-light); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.faq-q i { color: var(--muted); font-size: 12px; transition: transform 0.2s; }
.faq-a {
  display: none;
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--accent); }

/* CTA band */
.cta-band {
  padding: 40px 16px;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--brand);
  color: #fff;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
@media (min-width: 640px) {
  .cta-band { padding: 64px 40px; }
}
.cta-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.cta-band p { margin: 0 auto 28px; max-width: 480px; opacity: 0.88; font-size: 17px; line-height: 1.6; }
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.cta-actions .btn {
  width: 100%;
  white-space: normal;
  justify-content: center;
}
@media (min-width: 640px) {
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: none;
    width: auto;
  }
  .cta-actions .btn { width: auto; }
}
.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* Contact */
.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}
.contact-card h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.contact-card a, .contact-card p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 500; }
.contact-card a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  padding: 72px 0 32px;
  background: var(--brand);
  color: rgba(255,255,255,0.85);
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-bottom: 48px;
}
.footer-grid h4 {
  margin: 0 0 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
}
.footer-grid a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-legal-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

/* Utilities */
.hide-mobile { display: none; }
.text-muted { color: var(--muted); line-height: 1.7; margin: 0 0 20px; }

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; max-width: 360px; }

@media (max-width: 899px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 1100px) {
  .nav-desktop a { padding: 8px 14px; font-size: 14px; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-desktop a { padding: 8px 10px; font-size: 13px; }
  .menu-toggle { display: none; }
  .hide-mobile { display: inline-flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-visual { max-width: 310px; margin-inline: 0; margin-left: auto; }
  .hero-visual-caption { text-align: left; margin-inline: 0; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .gps-panel { grid-template-columns: 1fr 1fr; padding: 36px 32px; }
  .gps-panel-reverse .gps-copy { order: 1; }
  .gps-panel-reverse .twin-mock { order: 2; }
  .q-stats { grid-template-columns: repeat(4, 1fr); }
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
