/* landing.css — Florida Driver site-wide styling.
   Theme: dark navy with warm off-white text and Florida-orange accent.
   Used by the homepage, /quiz, /signs, /privacy, /terms, and per-question
   SEO landing pages. */

:root {
  --bg: #0A1018;
  --bg-elev: #131C2A;
  --bg-soft: #0F1721;
  --line: #1E2A3D;
  --line-soft: #2A3A52;

  --ink: #F5F1E8;
  --ink-soft: #B8C2D0;
  --muted: #6B7A8E;

  --orange: #F25C1A;
  --orange-deep: #C8410D;
  --orange-soft: #FF8047;

  --yellow: #FFC93C;
  --teal: #1FBF9E;
  --pink: #FF5C9C;

  --paper: #FFFCF3;

  --display: "Fraunces", "Times New Roman", serif;
  --body: "Manrope", system-ui, sans-serif;

  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}

/* Subtle grain on dark bg */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

/* Ambient orange glow background */
body::after {
  content: "";
  position: fixed;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(242, 92, 26, 0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Global hide utility — toggled by app.js / landing.js */
.hidden { display: none !important; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.display { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 50; }
.display em { font-style: italic; font-weight: 400; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
}

/* ===== NAV ===== */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 16, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100px;
}
.logo img { height: 100%; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { transition: color 0.2s; position: relative; }
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -32px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-orange {
  background: var(--orange);
  color: var(--paper);
  box-shadow: 0 6px 20px -8px rgba(242, 92, 26, 0.6);
}
.btn-orange:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(242, 92, 26, 0.7);
}
.btn-light { background: var(--paper); color: var(--bg); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px rgba(255, 252, 243, 0.3); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-soft); }
.btn-ghost:hover { background: var(--bg-elev); border-color: var(--orange); color: var(--orange); }
.btn-dark { background: var(--bg); color: var(--ink); border: 1px solid var(--line-soft); }
.btn-dark:hover { background: var(--bg-elev); border-color: var(--orange); color: var(--orange); }

/* ===== HERO (full-width landscape carousel + glow CTA) ===== */
.hero { padding: 0; position: relative; }

.fc-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 640;
  overflow: hidden;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  z-index: 2;
}

.fc-track { position: absolute; inset: 0; }

.fc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}
.fc-slide.active { opacity: 1; pointer-events: auto; }
.fc-slide svg { width: 100%; height: 100%; display: block; }

/* Dark vignette for legibility of overlay text and CTA */
.fc-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 16, 24, 0.65) 0%, rgba(10, 16, 24, 0.3) 38%, transparent 60%),
    linear-gradient(0deg,  rgba(10, 16, 24, 0.55) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

/* Top-left text overlay */
.fc-overlay {
  position: absolute;
  top: clamp(28px, 5%, 64px);
  left: clamp(28px, 5%, 72px);
  z-index: 3;
  max-width: min(560px, 50%);
  pointer-events: none;
}
.fc-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(10, 16, 24, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 232, 0.15);
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}
.fc-pill {
  background: var(--teal); color: var(--bg);
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.fc-headline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 60;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
.fc-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--orange-soft);
  background: linear-gradient(180deg, transparent 65%, rgba(242, 92, 26, 0.35) 65%);
  padding: 0 4px;
}
.fc-caption {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(10, 16, 24, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 241, 232, 0.15);
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-block;
  letter-spacing: 0.01em;
}

/* Glowing CTA — sits in the center of the bottom third of the stage */
.fc-cta-glow {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 24px 44px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  color: var(--paper);
  background: linear-gradient(135deg, #F25C1A 0%, #FF8047 100%);
  border: 1.5px solid rgba(255, 175, 110, 0.6);
  border-radius: 22px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 200, 130, 0.25) inset,
    0 18px 50px -12px rgba(242, 92, 26, 0.7),
    0 0 80px -10px rgba(255, 128, 71, 0.6);
  animation: fcCtaPulse 2.4s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.fc-cta-glow:hover { transform: translateX(-50%) translateY(-3px) scale(1.02); }
.fc-cta-glow .fc-cta-arrow {
  font-weight: 400;
  font-family: var(--body);
  transition: transform 0.2s;
}
.fc-cta-glow:hover .fc-cta-arrow { transform: translateX(4px); }
.fc-cta-aura {
  position: absolute;
  inset: -10px;
  border-radius: 32px;
  background: radial-gradient(circle, rgba(255, 128, 71, 0.4) 0%, transparent 70%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
  animation: fcAuraPulse 2.4s ease-in-out infinite;
}
@keyframes fcCtaPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255, 200, 130, 0.25) inset, 0 18px 50px -12px rgba(242, 92, 26, 0.7), 0 0 80px -10px rgba(255, 128, 71, 0.6); }
  50%      { box-shadow: 0 0 0 1px rgba(255, 200, 130, 0.4)  inset, 0 22px 60px -10px rgba(242, 92, 26, 0.85), 0 0 110px -8px rgba(255, 128, 71, 0.85); }
}
@keyframes fcAuraPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

/* Carousel controls — top-right of the stage */
.fc-controls {
  position: absolute;
  top: clamp(24px, 4%, 48px);
  right: clamp(24px, 4%, 48px);
  z-index: 4;
  display: flex; align-items: center; gap: 10px;
}
.fc-dots {
  display: flex; gap: 6px;
  background: rgba(10, 16, 24, 0.55);
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.fc-dots .fcd {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(245, 241, 232, 0.35);
  cursor: pointer;
  transition: all 0.3s;
  border: none; padding: 0;
}
.fc-dots .fcd.active {
  background: var(--orange);
  width: 22px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(242, 92, 26, 0.6);
}
.fc-arrows { display: flex; gap: 6px; }
.fc-arrows button {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(10, 16, 24, 0.55);
  color: var(--ink);
  border: 1px solid rgba(245, 241, 232, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid; place-items: center;
  transition: all 0.2s;
}
.fc-arrows button:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

/* Inline expanded quiz panel — appears when CTA is clicked */
.fc-quiz-panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 80%;
  height: 80%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow:
    0 60px 120px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 128, 71, 0.25),
    0 0 80px -10px rgba(255, 128, 71, 0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1);
  overflow: hidden;
}
.fc-quiz-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.fc-quiz-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(245, 241, 232, 0.06);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 2;
}
.fc-quiz-close:hover { background: var(--orange); color: var(--paper); border-color: var(--orange); }
.fc-quiz-inner {
  position: absolute;
  inset: 0;
  padding: clamp(24px, 4vw, 56px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.fc-quiz-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  padding-right: 60px;
}
.fc-quiz-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--orange);
}
.fc-quiz-prompt {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 6px 0 22px;
}
.fc-quiz-signs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.fc-quiz-signs.hidden { display: none; }
.fc-quiz-signs .sign {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  min-width: 96px; max-width: 140px;
}
.fc-quiz-signs .sign img { width: 100%; height: 64px; object-fit: contain; }
.fc-quiz-signs .sign figcaption { font-size: 11.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.25; font-weight: 500; }
.fc-quiz-choices { display: grid; gap: 10px; }
.fc-quiz-choices .choice {
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  font-family: inherit;
  transition: all 0.2s;
}
.fc-quiz-choices .choice:hover { border-color: var(--orange); transform: translateY(-1px); }
.fc-quiz-choices .choice.correct { background: rgba(31, 191, 158, 0.12); border-color: var(--teal); }
.fc-quiz-choices .choice.wrong   { background: rgba(255, 92, 156, 0.10); border-color: var(--pink); }
.fc-quiz-choices .choice:disabled { cursor: default; }
.fc-quiz-feedback { margin: 14px 0; min-height: 1.5em; font-size: 14px; }
.fc-quiz-feedback.ok  { color: var(--teal); }
.fc-quiz-feedback.err { color: var(--pink); }
.fc-quiz-actions {
  display: flex; align-items: center; gap: 18px;
  margin-top: auto;
  padding-top: 18px;
  flex-wrap: wrap;
}
.fc-quiz-next {
  padding: 12px 26px;
  background: var(--orange);
  color: var(--paper);
  border: 0;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 20px -8px rgba(242, 92, 26, 0.6);
  transition: all 0.2s;
}
.fc-quiz-next:hover:not(:disabled) {
  background: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(242, 92, 26, 0.7);
}
.fc-quiz-next:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.fc-quiz-full {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.fc-quiz-full:hover { color: var(--orange); }

/* ===== MARQUEE ===== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.marquee-item .star { color: var(--orange); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== AVAILABLE NOW ===== */
.available { padding: 110px 0 60px; }

.section-head { margin-bottom: 50px; max-width: 720px; }
.section-head.center { margin: 0 auto 50px; text-align: center; }
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 14px;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; font-weight: 400; color: var(--orange); }
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 580px;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

.available-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.available-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.available-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  border-color: var(--line-soft);
}
.available-card.primary {
  background: linear-gradient(135deg, var(--orange) 0%, #FF3F88 100%);
  color: var(--paper);
  border-color: transparent;
}
.available-card.primary::after {
  content: "";
  position: absolute;
  right: -50px; bottom: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}
.av-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31, 191, 158, 0.15);
  border: 1px solid rgba(31, 191, 158, 0.4);
  color: var(--teal);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
  margin-bottom: 24px;
}
.available-card.primary .av-pill {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--paper);
}
.av-pill .glow {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 191, 158, 0.3);
  animation: pulse 1.8s ease infinite;
}
.available-card.primary .av-pill .glow {
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(31, 191, 158, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(31, 191, 158, 0); }
}
.available-card h3 {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.available-card.primary h3 { color: var(--paper); }
.available-card h3 em { font-style: italic; color: var(--orange); }
.available-card.primary h3 em { color: var(--yellow); }
.available-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 380px;
}
.available-card.primary p { color: rgba(255, 252, 243, 0.85); }
.av-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.available-card.primary .av-detail { border-top-color: rgba(255, 255, 255, 0.2); }
.av-detail .item .num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.available-card.primary .av-detail .item .num { color: var(--paper); }
.av-detail .item .lab {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}
.available-card.primary .av-detail .item .lab { color: rgba(255, 252, 243, 0.7); }
.available-card .btn { margin-top: auto; align-self: flex-start; }

/* ===== INTERACTIVE QUIZ DEMO ===== */
.demo {
  padding: 60px 0 110px;
}
.demo-card {
  background: var(--bg-elev);
  border-radius: var(--r-xl);
  padding: 50px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
  max-width: 760px;
  margin: 0 auto;
}
.demo-card .ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.demo-card h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 28px;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.demo-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.demo-opt {
  text-align: left;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.2s;
  cursor: pointer;
}
.demo-opt:hover { border-color: var(--orange); transform: translateY(-1px); }
.demo-opt .letter {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg);
  border: 1.5px solid var(--line-soft);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-soft);
  flex: 0 0 auto;
}
.demo-opt.correct { background: rgba(31, 191, 158, 0.12); border-color: var(--teal); }
.demo-opt.correct .letter { background: var(--teal); color: var(--bg); border-color: var(--teal); }
.demo-opt.wrong { background: rgba(255, 92, 156, 0.1); border-color: var(--pink); }
.demo-opt.wrong .letter { background: var(--pink); color: var(--bg); border-color: var(--pink); }

.demo-explain {
  background: rgba(31, 191, 158, 0.08);
  border-left: 3px solid var(--teal);
  padding: 16px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  display: none;
}
.demo-explain.show { display: block; }
.demo-explain strong { color: var(--teal); }
.demo-explain em { color: var(--ink); font-style: italic; }

.demo-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 14px;
}
.demo-foot .meta { font-size: 13px; color: var(--muted); }

/* ===== WHY ===== */
.why {
  padding: 110px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.why::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.4;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.why-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.why-card .icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--paper);
}
.why-card.c1 .icon { background: var(--teal); }
.why-card.c2 .icon { background: var(--orange); }
.why-card.c3 .icon { background: var(--yellow); color: var(--bg); }
.why-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.why-card h3 em { font-style: italic; color: var(--orange); }
.why-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ===== APP COMING SOON ===== */
.app-section {
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.app-bg {
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  background-image: url('/assets-on-s3/images/app-backdrop.png');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}
.app-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(10, 16, 24, 0.4) 60%, transparent 100%);
}
.app-section .container { position: relative; z-index: 2; }

.app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-left .coming-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 201, 60, 0.15);
  border: 1px solid rgba(255, 201, 60, 0.4);
  color: var(--yellow);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.app-left .coming-pill .glow {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-y 1.8s ease infinite;
}
@keyframes pulse-y {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 201, 60, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(255, 201, 60, 0); }
}

.app-left h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 18px;
  color: var(--ink);
}
.app-left h2 em { font-style: italic; color: var(--orange); }
.app-left p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 28px;
  max-width: 460px;
}

/* Notify form */
.notify-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5);
  max-width: 480px;
}
.notify-toggle {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 99px;
  width: fit-content;
  border: 1px solid var(--line);
}
.notify-toggle button {
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
  border: none;
  background: transparent;
  cursor: pointer;
}
.notify-toggle button.active { background: var(--orange); color: var(--paper); }
.notify-row {
  display: flex;
  gap: 8px;
}
.notify-row input {
  flex: 1;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.notify-row input::placeholder { color: var(--muted); }
.notify-row input:focus { border-color: var(--orange); }
.notify-row button {
  background: var(--orange);
  color: var(--paper);
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.notify-row button:hover { background: var(--orange-deep); }
.notify-fine {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.notify-success {
  display: none;
  padding: 12px 14px;
  background: rgba(31, 191, 158, 0.12);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* Phone mockup */
.phone-wrap {
  position: relative;
  height: 580px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-glow {
  position: absolute;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(242, 92, 26, 0.4) 0%, transparent 65%);
  filter: blur(60px);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
  background: #000;
  border-radius: 42px;
  padding: 12px;
  box-shadow:
    0 60px 100px -30px rgba(0, 0, 0, 0.8),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
}
.phone-screen {
  background: var(--paper);
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 88px; height: 24px;
  background: #000;
  border-radius: 99px;
  z-index: 4;
}
.app-status {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  color: #0E1B2B;
}
.app-header {
  padding: 16px 22px 10px;
  border-bottom: 1px solid #E2D7BE;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0E1B2B;
}
.app-header .back { font-size: 16px; color: #2A3A4D; }
.app-header .progress { font-size: 11px; color: #2A3A4D; font-weight: 600; }
.app-progress-bar {
  height: 4px; background: #E2D7BE;
  margin: 8px 22px; border-radius: 99px; overflow: hidden;
}
.app-progress-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #FF3F88);
  border-radius: 99px;
}
.app-q { padding: 16px 22px; }
.app-q .qnum {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
  font-weight: 700;
  margin-bottom: 6px;
}
.app-q .qtext {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 14px;
  color: #0E1B2B;
}
.app-options { padding: 0 18px; display: flex; flex-direction: column; gap: 8px; }
.app-opt {
  background: #FBF6E9;
  border: 1.5px solid #E2D7BE;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #0E1B2B;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-opt .letter {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid #E2D7BE;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #2A3A4D;
}
.app-opt.correct { background: rgba(14, 143, 118, 0.1); border-color: #0E8F76; }
.app-opt.correct .letter { background: #0E8F76; color: var(--paper); border-color: #0E8F76; }
.app-opt.correct::after { content: "✓"; margin-left: auto; color: #0E8F76; font-weight: 700; }
.app-foot {
  margin-top: auto;
  padding: 14px 18px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #E2D7BE;
}
.app-foot button {
  flex: 1;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
}
.app-foot .skip { background: #FBF6E9; color: #2A3A4D; }
.app-foot .next { background: #0E1B2B; color: var(--paper); }

.phone-badge {
  position: absolute;
  top: 24px; right: -10px;
  z-index: 5;
  background: var(--yellow);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 30px -8px rgba(255, 201, 60, 0.5);
  transform: rotate(8deg);
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-badge .glow {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bg);
}

/* ===== FINAL CTA ===== */
.final-cta { padding: 110px 0 80px; }
.cta-card {
  background: linear-gradient(135deg, var(--orange) 0%, #FF3F88 100%);
  border-radius: var(--r-xl);
  padding: 80px 60px;
  text-align: center;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
  opacity: 0.5;
}
.cta-card::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
}
.cta-card .container { position: relative; z-index: 2; max-width: 760px; }
.cta-card h2 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  color: var(--paper);
}
.cta-card h2 em {
  font-style: italic;
  font-weight: 300;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: var(--yellow);
}
.cta-card p { margin-top: 16px; font-size: 17px; opacity: 0.92; }
.cta-card .hero-actions { justify-content: center; margin-top: 32px; margin-bottom: 0; }
.cta-card .btn-dark { background: var(--bg); color: var(--paper); border-color: transparent; }
.cta-card .btn-dark:hover { background: rgba(10, 16, 24, 0.85); color: var(--paper); }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: 70px 0 36px;
  position: relative;
  z-index: 2;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
footer .logo { height: 48px; }
footer .foot-tag {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.foot-col h5 {
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 16px;
  font-weight: 600;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--orange); }
.foot-bot {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-corp {
  color: var(--orange);
  border-bottom: 1px solid rgba(242, 92, 26, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.footer-corp:hover { color: var(--orange-soft); border-color: rgba(255, 128, 71, 0.7); }
.foot-disclaim {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .available-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; gap: 50px; }
  .phone-wrap { height: 540px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .fc-stage { aspect-ratio: 4 / 3; }
  .fc-overlay { max-width: 70%; }
}
@media (max-width: 640px) {
  .nav-row { height: 84px; }
  .logo { height: 58px; }   /* ~190px wide; leaves room for the orange CTA at 375px */
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .available, .demo, .why, .app-section, .final-cta { padding: 70px 0; }
  .demo-options { grid-template-columns: 1fr; }
  .demo-card, .available-card { padding: 30px 24px; }
  .cta-card { padding: 50px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .phone { width: 250px; height: 510px; }
  .notify-row { flex-direction: column; }
  .notify-row button { width: 100%; }
  .fc-stage { aspect-ratio: 3 / 4; }
  .fc-overlay { max-width: calc(100% - 56px); top: 22px; left: 22px; }
  .fc-cta-glow { padding: 16px 26px; bottom: 9%; }
  .fc-controls { top: 18px; right: 18px; }
  .fc-quiz-panel { width: 92%; height: 86%; }
  .fc-quiz-inner { padding: 22px 18px; }
}

.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.d-1 { animation-delay: 0.05s; }
.d-2 { animation-delay: 0.15s; }
.d-3 { animation-delay: 0.25s; }
.d-4 { animation-delay: 0.35s; }


/* ============================================================
   PER-QUESTION SEO LANDING PAGE (/:slug routes)
   Replaces the hero on per-question SEO pages with a server-rendered
   question card so Googlebot sees the actual Q&A as the page content.
   ============================================================ */
.qp-hero {
  position: relative;
  padding: 80px 0 60px;
}
.qp-inner { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.qp-back {
  display: inline-flex; align-items: center;
  color: var(--ink-soft); font-size: 14px; font-weight: 600;
  margin-bottom: 24px; transition: color 0.2s;
}
.qp-back:hover { color: var(--orange); }
.qp-eyebrow {
  display: inline-block;
  color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(242, 92, 26, 0.35);
  border-radius: 999px; margin-bottom: 18px;
}
.qp-prompt {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 46px); font-weight: 500;
  line-height: 1.08; color: var(--ink);
  margin-bottom: 30px; letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.qp-signs {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px;
}
.qp-sign {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 130px;
}
.qp-sign img { width: 100%; height: 80px; object-fit: contain; }
.qp-sign figcaption {
  font-size: 12px; color: var(--ink-soft); text-align: center; line-height: 1.3;
}
.qp-choices {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.qp-choice {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft);
  border: 2px solid var(--line);
  border-radius: 14px; padding: 16px 18px;
  font-size: 15.5px; color: var(--ink);
}
.qp-choice-correct {
  background: rgba(31, 191, 158, 0.12);
  border-color: var(--teal);
}
.qp-letter {
  flex: 0 0 28px; height: 28px; border-radius: 8px;
  background: var(--bg); color: var(--ink-soft);
  border: 1.5px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}
.qp-choice-correct .qp-letter {
  background: var(--teal); color: var(--bg); border-color: var(--teal);
}
.qp-text { flex: 1; }
.qp-check {
  color: var(--teal); font-weight: 700; font-size: 18px; margin-left: 8px;
}
.qp-answer-block {
  background: rgba(242, 92, 26, 0.08);
  border-left: 3px solid var(--orange);
  border-radius: 10px; padding: 20px 22px;
  margin-bottom: 30px;
}
.qp-answer-eyebrow {
  color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 8px;
}
.qp-answer {
  font-family: var(--display);
  font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 12px;
  line-height: 1.3; letter-spacing: -0.015em;
}
.qp-explanation {
  font-size: 15.5px; color: var(--ink-soft); line-height: 1.55;
}
.qp-cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
}
.qp-cta-primary {
  background: var(--orange); color: var(--paper);
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 20px -8px rgba(242, 92, 26, 0.6);
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}
.qp-cta-primary:hover { background: var(--orange-deep); transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(242, 92, 26, 0.7); }
.qp-cta-secondary {
  color: var(--ink-soft); font-weight: 500; font-size: 14px;
  padding: 14px 4px; border-bottom: 1px solid rgba(245, 241, 232, 0.2);
  transition: color 0.2s, border-color 0.2s;
}
.qp-cta-secondary:hover { color: var(--orange); border-color: rgba(242, 92, 26, 0.6); }

@media (max-width: 800px) {
  .qp-hero { padding: 60px 0 40px; }
  .qp-choices { grid-template-columns: 1fr; }
  .qp-prompt { font-size: 28px; }
}


/* ============================================================
   /signs — Florida road sign + pavement marking study guide
   ============================================================ */
.signs-page { max-width: 1240px; margin: 0 auto; padding: 60px 28px; }
.signs-section {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-bottom: 24px;
}
.signs-section h2 {
  font-family: var(--display);
  color: var(--ink); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 22px;
}
.signs-section h2 .count {
  font-style: italic; font-weight: 300; color: var(--orange);
  font-size: 0.78em; margin-left: 6px;
}
.signs-section .grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px;
}
.signs-section figure {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 12px;
  text-align: center; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.signs-section figure:hover {
  transform: translateY(-3px); border-color: var(--orange);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}
.signs-section figure img {
  width: 100%; height: 80px; object-fit: contain;
  background: var(--paper); border-radius: 8px; padding: 6px;
}
.signs-section figcaption {
  font-size: 12.5px; color: var(--ink-soft); margin-top: 10px;
  line-height: 1.35; font-weight: 500;
}

/* Pavement markings — a denser visual grid alongside the regular sign sections */
.fd-pavement-section { margin-bottom: 24px; }
.fd-pavement-section .pm-header {
  display: flex; align-items: baseline; gap: 14px;
  flex-wrap: wrap; margin-bottom: 22px;
}
.fd-pavement-section .pm-header h2 {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink); margin: 0;
}
.fd-pavement-section .pm-header .fd-count {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 18px; color: var(--orange);
}
.fd-pavement-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.fd-pavement-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.fd-pavement-card:hover {
  transform: translateY(-3px); border-color: var(--orange);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.55);
}
.fd-pavement-img {
  aspect-ratio: 106 / 82;
  border-radius: 10px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line);
}
.fd-pavement-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.fd-pavement-label {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  line-height: 1.35; letter-spacing: -0.005em; min-height: 36px;
}

@media (max-width: 1024px) {
  .fd-pavement-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .fd-pavement-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .signs-page { padding: 40px 20px; }
  .signs-section { padding: 22px; }
}


/* ============================================================
   /privacy and /terms — legal documents
   ============================================================ */
.docs-content {
  max-width: 760px; margin: 0 auto; padding: 80px 28px;
  color: var(--ink-soft);
}
.docs-content article {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 44px;
  line-height: 1.7;
}
.docs-content h2 {
  font-family: var(--display);
  color: var(--ink); font-size: 22px; font-weight: 500;
  margin: 36px 0 14px; letter-spacing: -0.02em;
}
.docs-content h2:first-of-type { margin-top: 8px; }
.docs-content p { margin-bottom: 14px; font-size: 15px; }
.docs-content ul { margin: 12px 0 16px 24px; }
.docs-content li { margin-bottom: 6px; font-size: 15px; }
.docs-content a {
  color: var(--orange);
  border-bottom: 1px solid rgba(242, 92, 26, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.docs-content a:hover { color: var(--orange-soft); border-color: rgba(255, 128, 71, 0.7); }
.docs-content strong { color: var(--ink); }

.page-header {
  text-align: center; max-width: 720px; margin: 0 auto 36px;
}
.page-eyebrow {
  display: inline-block; color: var(--orange);
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px; border: 1px solid rgba(242, 92, 26, 0.35);
  border-radius: 999px; margin-bottom: 18px;
}
.page-header h1 {
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 50px); font-weight: 500;
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 14px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.page-header h1 em { font-style: italic; color: var(--orange); }
.page-lede {
  font-size: 16px; color: var(--ink-soft); line-height: 1.55;
}

@media (max-width: 700px) {
  .docs-content { padding: 60px 18px; }
  .docs-content article { padding: 26px 22px; }
}
