/* ======================================
   QuizTime Manager Landing Page Styles
   Institutional redesign: flat grey-blue canvas, white bordered
   cards, serif display headings, square corners, no ambient motion.
   ====================================== */

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* CSS Variables */
:root {
  /* Primary — brand blue (#0B63CE) into deep navy (#073B82) */
  --primary-50: #ebf3fc;
  --primary-100: #d7e7f9;
  --primary-200: #aecff4;
  --primary-300: #7db2ec;
  --primary-400: #4a92e1;
  --primary-500: #1e78d8;
  --primary-600: #0b63ce;
  --primary-700: #0950a9;
  --primary-800: #073b82;
  --primary-900: #052c61;

  /* Success green — used sparingly for correctness signals */
  --success-100: #dcfce7;
  --success-500: #22c55e;
  --success-600: #16a34a;
  --success-700: #15803d;

  /* Cool neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Canvas & structure */
  --page-bg: #ecf1f6;       /* light grey-blue page canvas */
  --card: #ffffff;
  --line: #d3dde8;          /* standard hairline border */
  --line-strong: #b9c9da;
  --footer-bg: #0b1727;     /* blue-black */

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Source Serif 4', Georgia, 'Times New Roman', Times, serif;

  /* Radii — square by default; 2px only on small interactive elements */
  --radius-btn: 2px;

  --nav-height: 72px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background-color: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ======================================
   Buttons
   ====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.9375rem 2rem;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--primary-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-800);
}

.btn-secondary {
  background: var(--card);
  color: var(--primary-800);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--primary-600);
}

/* CTA-section variants (on dark background) */
.btn-cta {
  background: #fff;
  color: var(--primary-900);
}

.btn-cta:hover {
  background: var(--gray-100);
}

.btn-cta-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-cta-secondary:hover {
  border-color: #fff;
}

/* ======================================
   Navigation
   ====================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.navbar.scrolled {
  box-shadow: 0 1px 3px rgba(7, 59, 130, 0.08);
}

/* Status banners — active incidents flagged for the landing page sit above
   the nav; the navbar switches to sticky so the banners scroll away while
   the nav stays pinned. */
.status-banners {
  position: relative;
  z-index: 101;
}

.status-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: #fff;
  text-align: center;
}

.status-banner-outage { background: #b91c1c; }
.status-banner-degraded,
.status-banner-maintenance { background: #b45309; }
.status-banner-informational { background: var(--primary-700); }

.status-banner-link {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.status-banner-link:hover { opacity: 0.85; }

.has-status-banners .navbar { position: sticky; }
.has-status-banners .hero { padding-top: 4rem; }

.nav-container {
  max-width: 1160px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
}

.brand-icon {
  height: 1.75rem;
  width: auto;
  display: block;
}
.brand-accent { color: var(--primary-700); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links > a {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}

.nav-links > a:hover { color: var(--primary-700); }

.nav-btn {
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
}

.nav-btn-secondary {
  color: var(--primary-800) !important;
  border: 1px solid var(--line-strong);
}

.nav-btn-secondary:hover { border-color: var(--primary-600); }

.nav-btn-primary {
  background: var(--primary-700);
  color: #fff !important;
}

.nav-btn-primary:hover {
  background: var(--primary-800);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2.5px;
  background: var(--gray-700);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ======================================
   Hero
   ====================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 0;
  background: var(--page-bg);
}

.hero-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-800);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}

.qtm-blue {
  color: var(--primary-700);
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--gray-600);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-platform-note {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.platform-live {
  color: var(--gray-700);
  font-weight: 600;
}

.platform-note-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  opacity: 0.75;
}

.platform-note-icon:not(:first-child) {
  margin-left: 0.375rem;
}

.platform-dot {
  margin: 0 0.5rem;
  color: var(--gray-300);
}

.platform-soon { font-weight: 500; }

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  background: var(--card);
  padding: 1rem 1.75rem;
  border: 1px solid var(--line);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}

.stat-number {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary-800);
  line-height: 1.2;
}

.stat-unit {
  font-size: 0.875rem;
  font-weight: 700;
  margin-left: 1px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 2.25rem;
  background: var(--line);
}

/* Trust strip — quiet institutional signals under the hero */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
}

.trust-strip-item {
  white-space: nowrap;
}

/* Hero visual — phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  padding: 1rem 2.5rem;
}

/* The device keeps its rounded silhouette — it depicts hardware,
   not UI chrome. */
.device-mockup.phone-mockup {
  position: relative;
  width: 300px;
  background: var(--gray-900);
  border-radius: 2.25rem;
  padding: 0.625rem;
  box-shadow: 0 12px 32px rgba(7, 59, 130, 0.14);
}

.device-notch {
  position: absolute;
  top: 0.625rem;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 22px;
  background: var(--gray-900);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.device-screen {
  background: #f4f7fb;
  border-radius: 1.75rem;
  overflow: hidden;
  min-height: 480px;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.25rem 1rem 0.875rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--primary-900);
}

.mockup-lock {
  display: inline-flex;
  color: var(--primary-800);
}

.mockup-lock svg { width: 15px; height: 15px; }

.mockup-content {
  padding: 0.5rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.streak-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.875rem 1rem;
  text-align: center;
}

.streak-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.streak-pips {
  display: flex;
  justify-content: center;
  gap: 0.3125rem;
  margin-bottom: 0.5rem;
}

.pip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gray-200);
}

.pip.done { background: var(--success-500); }

.pip.current {
  background: var(--primary-600);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.streak-count {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--success-700);
}

.quiz-card-mock {
  background: #fff;
  border-radius: 2px;
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid var(--line);
}

.quiz-question {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.875rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.quiz-option {
  padding: 0.5rem;
  border-radius: 2px;
  border: 1px solid var(--gray-200);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.quiz-option.correct {
  background: var(--success-100);
  border-color: var(--success-500);
  color: var(--success-700);
}

/* Static annotation cards beside the phone */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.625rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
}

.floating-card svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary-700);
}

.card-1 { top: 8%; left: -3rem; }
.card-2 { top: 42%; right: -4.5rem; }
.card-3 { bottom: 8%; left: -3.5rem; }

/* ======================================
   Problem / Solution
   ====================================== */
.problem-solution {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0 5rem;
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.ps-card {
  padding: 2rem;
  align-self: stretch;
  background: #fff;
  border: 1px solid var(--line);
}

.ps-problem {
  border-top: 3px solid var(--gray-400);
}

.ps-solution {
  border-top: 3px solid var(--primary-700);
}

.ps-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ps-list li {
  position: relative;
  padding-left: 1.625rem;
  color: var(--gray-600);
  font-size: 0.9688rem;
}

.ps-problem .ps-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-weight: 700;
}

.ps-solution .ps-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-600);
  font-weight: 700;
}

.ps-arrow {
  color: var(--gray-400);
  display: flex;
}

/* ======================================
   Section headers
   ====================================== */
.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}

/* Overline label — quiet small caps instead of a pill badge */
.section-badge {
  display: inline-block;
  color: var(--primary-700);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.875rem;
}

.section-badge.badge-light {
  color: var(--primary-200);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0938rem;
  color: var(--gray-600);
}

/* ======================================
   How It Works
   ====================================== */
.how-it-works {
  background: var(--page-bg);
  padding: 5.5rem 0 0;
}

.steps-container {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: center;
  background: #fff;
  padding: 2rem 2.25rem;
  width: 100%;
  border: 1px solid var(--line);
}

.step-number {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-800);
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.375rem;
}

.step-content p {
  color: var(--gray-600);
  font-size: 0.9688rem;
}

.step-visual { flex-shrink: 0; }

.step-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.mockup-item .mockup-value {
  color: var(--primary-800);
  font-weight: 700;
}

.settings-mockup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}

.toggle {
  width: 34px;
  height: 20px;
  border-radius: 2px;
  background: var(--gray-300);
  position: relative;
  flex-shrink: 0;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 1px;
  background: #fff;
}

.toggle.on { background: var(--primary-700); }
.toggle.on::after { transform: translateX(14px); }

.step-connector {
  color: var(--gray-300);
  padding: 0.375rem 0;
}

/* ======================================
   Enforcement callout
   ====================================== */
.enforcement {
  background: var(--page-bg);
  padding: 3.5rem 0 5.5rem;
}

.enforcement-card {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  background: var(--primary-900);
  color: #fff;
  padding: 2.5rem 2.75rem;
}

.enforcement-icon {
  flex-shrink: 0;
  color: #fff;
  display: flex;
}

.enforcement-icon svg {
  width: 44px;
  height: 44px;
}

.enforcement-text h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: #fff;
}

.enforcement-text p {
  color: var(--primary-100);
  font-size: 1rem;
}

/* ======================================
   Features
   ====================================== */
.features {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.875rem 1.75rem;
  transition: border-color 0.15s ease;
}

.feature-card:hover {
  border-color: var(--primary-400);
}

.feature-card.feature-highlight {
  border-top: 3px solid var(--primary-700);
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--primary-700);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.0938rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.feature-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-700);
  text-decoration: none;
}

.feature-link:hover {
  color: var(--primary-800);
  text-decoration: underline;
}

.feature-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--primary-300);
  color: var(--primary-800);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1875rem 0.5625rem;
  border-radius: var(--radius-btn);
}

/* ======================================
   Magic Builder spotlight
   ====================================== */
.magic-builder {
  background: var(--primary-800);
  color: #fff;
  padding: 5.5rem 0;
}

.mb-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.mb-content .section-title {
  color: #fff;
  text-align: left;
}

.mb-content > p {
  color: var(--primary-100);
  font-size: 1.0625rem;
  margin-bottom: 1.5rem;
}

.mb-prompt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.mb-prompt-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--primary-200);
}

.mb-prompt-icon svg { width: 20px; height: 20px; }

.mb-prompt-text {
  font-weight: 600;
  font-size: 1.0313rem;
  color: #fff;
  font-style: italic;
}

.mb-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.mb-steps li {
  position: relative;
  padding-left: 1.375rem;
  color: var(--primary-100);
  font-size: 0.9844rem;
}

.mb-steps li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary-300);
}

.mb-note {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.mb-pipeline {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.75rem;
}

.mb-pipeline-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 0.875rem 1.125rem;
}

.mb-pipe-num {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-100);
  color: var(--primary-800);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mb-pipeline-step div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mb-pipeline-step strong {
  color: var(--gray-900);
  font-size: 0.9375rem;
}

.mb-pipeline-step span:not(.mb-pipe-num):not(.mb-pipe-status) {
  color: var(--gray-500);
  font-size: 0.8125rem;
}

.mb-pipe-status {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: var(--radius-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mb-pipe-status.done {
  background: var(--success-100);
  color: var(--success-700);
}

.mb-pipe-status.ready {
  background: var(--primary-100);
  color: var(--primary-800);
}

.mb-pipeline-line {
  width: 1px;
  height: 1.125rem;
  background: rgba(255, 255, 255, 0.3);
  margin-left: 2.25rem;
}

/* ======================================
   Roadmap / Coming Soon
   ====================================== */
.roadmap {
  background: var(--page-bg);
  padding: 5.5rem 0;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.roadmap-card {
  background: #fff;
  border: 1px dashed var(--line-strong);
  padding: 1.875rem 1.75rem;
  text-align: center;
}

.roadmap-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.875rem;
}

.roadmap-card h3 {
  font-size: 1.0938rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.roadmap-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.roadmap-status {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-800);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-btn);
}

.roadmap-signup {
  max-width: 30rem;
  margin: 0 auto;
  text-align: center;
}

.roadmap-signup > p {
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.625rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1.125rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.15s ease;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--primary-600);
}

.newsletter-message {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 1.5rem;
}

.newsletter-message.success { color: var(--success-600); }
.newsletter-message.error { color: #dc2626; }

/* ======================================
   FAQ
   ====================================== */
.faq {
  background: var(--page-bg);
  padding: 5.5rem 0;
}

.faq-grid {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item[open] {
  border-color: var(--primary-400);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.125rem 3rem 1.125rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
  position: relative;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.375rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--primary-700);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.9688rem;
}

.faq-item a {
  color: var(--primary-700);
  font-weight: 600;
}

/* ======================================
   Final CTA
   ====================================== */
.final-cta {
  background: var(--primary-900);
  color: #fff;
  padding: 5.5rem 0;
}

.cta-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-content > p {
  color: var(--primary-100);
  font-size: 1.0938rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--primary-200);
}

/* ======================================
   Footer
   ====================================== */
.footer {
  background: var(--footer-bg);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo .brand-accent { color: var(--primary-300); }

.footer-brand p {
  font-size: 0.9375rem;
  max-width: 20rem;
}

.footer-company-note {
  margin-top: 1rem;
  font-size: 0.8438rem;
  color: var(--gray-500);
  max-width: 20rem;
}

.footer-company-note a {
  color: var(--gray-400);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-company-note a:hover { color: #fff; }

.footer-links h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* ======================================
   Responsive
   ====================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 4.5rem;
    text-align: center;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }

  .hero-visual { order: 2; }
  .card-1 { left: 0; }
  .card-2 { right: 0; }
  .card-3 { left: 0.5rem; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .mb-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mb-content .section-title { text-align: left; }

  .roadmap-grid { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.5rem 1.5rem;
    display: none;
  }

  .nav-links.open { display: flex; }

  .nav-links > a {
    padding: 0.875rem 0.25rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-links .nav-btn {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
    display: flex;
    border-bottom: none;
  }

  .mobile-menu-btn { display: flex; }

  .hero { padding: calc(var(--nav-height) + 2.5rem) 0 0; }
  .hero-container { padding-bottom: 4.5rem; }

  /* With banners the navbar is sticky (in flow), so anchor the mobile menu
     to the navbar itself instead of the viewport and drop the fixed-nav
     hero offset. */
  .has-status-banners .nav-links { position: absolute; top: var(--nav-height); }
  .has-status-banners .hero { padding-top: 2.5rem; }

  .hero-stats {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 0.75rem;
    padding: 1rem;
  }

  .trust-strip-inner { gap: 0.375rem 1.5rem; }

  .ps-grid { grid-template-columns: 1fr; }
  .ps-arrow { transform: rotate(90deg); justify-content: center; }

  .step-card {
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
  }

  .step-visual { display: none; }

  .enforcement-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .enforcement-icon { justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .device-mockup.phone-mockup { width: 260px; }
  .device-screen { min-height: 430px; }

  .floating-card { font-size: 0.75rem; padding: 0.5rem 0.75rem; }
  .card-1 { left: -0.5rem; }
  .card-2 { right: -0.5rem; }
  .card-3 { left: -0.25rem; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  .cta-buttons { flex-direction: column; align-items: stretch; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
