/* DriverCalc - Apple & German Luxury Automotive (BMW / Mercedes-Benz) Inspired UI/UX */

/* ========================================================
   1. COLOR TOKENS & SYSTEM THEMES (100% COMPLETE DARK/LIGHT)
   ======================================================== */

:root,
[data-theme="light"] {
  color-scheme: light;

  /* Architectural Canvas & Cockpit Surfaces */
  --bg-page: #f6f7fa;
  --bg-page-gradient: radial-gradient(1200px circle at 50% -100px, rgba(0, 102, 204, 0.04), transparent 60%), #f6f7fa;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f0f2f6;
  --bg-input: #ffffff;
  --bg-card-glass: rgba(255, 255, 255, 0.95);

  /* High-Contrast Luxury Typography */
  --text-main: #0c0f17;
  --text-secondary: #4b5568;
  --text-muted: #718096;
  --text-placeholder: #a0aec0;

  /* Precision Hairline Borders */
  --border-color: rgba(12, 15, 23, 0.09);
  --border-strong: rgba(12, 15, 23, 0.22);
  --border-subtle: rgba(12, 15, 23, 0.05);

  /* BMW / Apple Precision Blue */
  --accent-color: #0066cc;
  --accent-hover: #0052a3;
  --accent-focus-ring: rgba(0, 102, 204, 0.22);
  --accent-subtle: rgba(0, 102, 204, 0.08);

  /* Glassmorphic Navigation */
  --header-bg: rgba(246, 247, 250, 0.82);
  --footer-bg: #eceef2;

  /* Elevation Shadows (Soft & Diffused, never muddy) */
  --shadow-card: 0 4px 20px -2px rgba(12, 15, 23, 0.05), 0 1px 3px rgba(12, 15, 23, 0.03);
  --shadow-elevated: 0 12px 36px -4px rgba(12, 15, 23, 0.08), 0 2px 6px rgba(12, 15, 23, 0.04);
  --shadow-modal: 0 24px 60px -8px rgba(12, 15, 23, 0.2), 0 4px 12px rgba(12, 15, 23, 0.08);

  /* Decision Telemetry Tokens - Light Mode (Monochrome Precision, Zero Red/Green) */
  --verdict-take-bg: #0c0f17;
  --verdict-take-border: #0c0f17;
  --verdict-take-text: #ffffff;

  --verdict-borderline-bg: #f0f2f6;
  --verdict-borderline-border: rgba(12, 15, 23, 0.2);
  --verdict-borderline-text: #0c0f17;

  --verdict-skip-bg: #ffffff;
  --verdict-skip-border: rgba(12, 15, 23, 0.25);
  --verdict-skip-text: #4b5568;

  --toggle-inactive: #d1d5db;
  --switch-track: rgba(120, 120, 128, 0.2);
  --switch-knob: #ffffff;
}

[data-theme="dark"] {
  color-scheme: dark;

  /* Pure OLED Pitch Black Canvas ("dark as black") */
  --bg-page: #000000;
  --bg-page-gradient: none;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #111111;
  --bg-subtle: #141414;
  --bg-input: #000000;
  --bg-card-glass: rgba(10, 10, 10, 0.95);

  /* High-Contrast Razor-Sharp Type */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-placeholder: #475569;

  /* Precision Metallic Hairline Borders */
  --border-color: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Apple Pro / BMW Electric Cyan-Blue */
  --accent-color: #0a84ff;
  --accent-hover: #389dff;
  --accent-focus-ring: rgba(10, 132, 255, 0.35);
  --accent-subtle: rgba(10, 132, 255, 0.16);

  /* Glassmorphic Navigation */
  --header-bg: rgba(0, 0, 0, 0.92);
  --footer-bg: #000000;

  /* Deep Atmospheric Shadows & Inset Highlights */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.98), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-modal: 0 32px 72px rgba(0, 0, 0, 1), inset 0 1px 0 rgba(255, 255, 255, 0.14);

  /* Decision Telemetry Tokens - Dark Mode (Monochrome Precision, Zero Red/Green) */
  --verdict-take-bg: #ffffff;
  --verdict-take-border: #ffffff;
  --verdict-take-text: #000000;

  --verdict-borderline-bg: #141414;
  --verdict-borderline-border: rgba(255, 255, 255, 0.2);
  --verdict-borderline-text: #ffffff;

  --verdict-skip-bg: #0a0a0a;
  --verdict-skip-border: rgba(255, 255, 255, 0.28);
  --verdict-skip-text: #94a3b8;

  --toggle-inactive: #222222;
  --switch-track: rgba(255, 255, 255, 0.22);
  --switch-knob: #ffffff;
}

[data-theme="dark"] body {
  background-color: #000000 !important;
  background-image: none !important;
}

/* Base Dimensions & Geometry (Pointy Architectural Radii) */
:root {
  --radius-card: 6px;
  --radius-control: 4px;
  --radius-sm: 3px;
  --radius-pill: 4px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Neue Haas Grotesk", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
}

/* ========================================================
   2. GLOBAL RESET & TYPOGRAPHIC DISCIPLINE
   ======================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  background-image: var(--bg-page-gradient);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  transition: background-color 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.18s ease;
}

/* Ensure native select popups follow dark mode 100% */
select {
  color-scheme: inherit;
}

select option {
  background-color: var(--bg-surface);
  color: var(--text-main);
  padding: 10px 14px;
}

/* Tabular figures for financial accuracy */
.tabular {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.01em;
}

a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* ========================================================
   3. LUXURY TOP BAR (APPLE / MERCEDES-BENZ)
   ======================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.site-nav a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
  padding: 4px 2px;
  position: relative;
}

.site-nav a:hover {
  color: var(--text-main);
}

.site-nav a[aria-current="page"] {
  color: var(--text-main);
  font-weight: 600;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Apple Segmented Theme Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-segmented-control {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3px;
  gap: 2px;
  user-select: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-segmented-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 28px;
}

.theme-segmented-btn:hover {
  color: var(--text-main);
}

.theme-segmented-btn.active {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .theme-segmented-btn.active {
  background: var(--bg-surface-elevated);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.theme-icon {
  display: inline-block;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 10px 16px 8px 16px;
  }
  .brand-zone {
    flex: 1;
  }
  .header-actions {
    margin-left: auto;
  }
  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 4px 6px 4px;
    margin-top: 4px;
    border-top: 1px solid var(--border-subtle);
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
  }
  .site-nav::-webkit-scrollbar {
    display: none;
  }
  .site-nav a {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
  }
  .site-nav a:hover,
  .site-nav a:active {
    background: var(--bg-surface-elevated);
    color: var(--text-main);
    border-color: var(--border-strong);
  }
  .site-nav a[aria-current="page"] {
    background: var(--text-main);
    color: var(--bg-page);
    border-color: var(--text-main);
    font-weight: 600;
  }
  [data-theme="dark"] .site-nav a[aria-current="page"] {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
  }
  .site-nav a[aria-current="page"]::after {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 8px 12px 6px 12px;
  }
  .site-nav {
    gap: 6px;
    padding-top: 5px;
  }
  .site-nav a {
    font-size: 12.5px;
    padding: 5px 12px;
    min-height: 32px;
  }
  .theme-label {
    display: none;
  }
  .theme-segmented-btn {
    padding: 6px 8px;
  }
}

/* Consent Banner */
.consent-banner {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 10px 20px;
}

.consent-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.consent-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.15s ease;
}

.consent-btn:hover {
  background: var(--border-color);
}

/* ========================================================
   4. APPLE PRO CINEMATIC HERO STAGE
   ======================================================== */

.main-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 20px 96px 20px;
  width: 100%;
  flex: 1;
}

.apple-hero-stage {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px auto;
  padding: 0 10px;
}

.hero-eyebrow-container {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  background: var(--accent-subtle);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.eyebrow-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-color);
}

.hero-master-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 16px;
  color: var(--text-main);
  text-wrap: balance;
}

/* Apple Pro Gradient Text on Dark */
[data-theme="dark"] .hero-master-title {
  background: linear-gradient(180deg, #ffffff 0%, #d1d5db 60%, #9ca3af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title-accent {
  display: block;
  font-weight: 700;
  color: var(--text-secondary);
}

[data-theme="dark"] .hero-title-accent {
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-master-sub {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 28px auto;
  text-wrap: balance;
}

@media (max-width: 540px) {
  .hero-master-sub {
    font-size: 15.5px;
  }
}

/* Preset Quick-Test Chips */
.hero-presets-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.presets-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.presets-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.preset-chip:hover {
  border-color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .preset-chip {
  background: var(--bg-surface);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .preset-chip:hover {
  background: var(--bg-subtle);
  border-color: var(--accent-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.preset-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.preset-data {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* ========================================================
   5. COCKPIT CONSOLE & LIVE REALITY HUD SPLIT STAGE
   ======================================================== */

.cockpit-split-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 64px;
}

@media (min-width: 980px) {
  .cockpit-split-stage {
    grid-template-columns: 1fr 380px;
    gap: 32px;
  }
}

.wizard-wrapper {
  width: 100%;
}

/* Apple Pro Reality HUD Companion */
.reality-hud-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 86px;
  transition: all 0.22s ease;
}

[data-theme="dark"] .reality-hud-card {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 18px;
  gap: 10px;
}

.hud-badge-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-main);
}

.hud-status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color);
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-color);
}

.hud-country-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.hud-comparison-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px 12px;
  margin-bottom: 20px;
}

.hud-column {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.hud-col-caption {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hud-metric-large {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
}

.hud-metric-sub {
  font-size: 10.5px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.3;
}

.hud-vs-divider {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  padding: 4px 6px;
  border-radius: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
}

.hud-deduction-ledger {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

.hud-ledger-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--verdict-skip-text);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
}

.hud-ledger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-secondary);
  padding: 4px 0;
}

.hud-ledger-row.highlight {
  color: var(--text-main);
  font-weight: 600;
  border-top: 1px dashed var(--border-color);
  margin-top: 4px;
  padding-top: 6px;
}

.hud-ledger-row .highlight {
  color: var(--verdict-skip-text);
}

.hud-takeaway-box {
  background: var(--verdict-take-bg);
  border: 1px solid var(--verdict-take-border);
  border-radius: 14px;
  padding: 14px 16px;
}

.hud-takeaway-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.hud-takeaway-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--verdict-take-text);
}

.hud-takeaway-rate {
  font-size: 16px;
  font-weight: 800;
  color: var(--verdict-take-text);
}

.hud-takeaway-note {
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.45;
  margin: 0;
}

/* Stepper Container */
.wizard-stepper-container {
  margin-bottom: 24px;
}

.wizard-progress-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 14px;
  box-shadow: var(--shadow-card);
}

.step-track-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
  text-align: left;
}

.step-track-node:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.step-track-node:hover {
  color: var(--text-main);
}

.node-circle {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
}

.step-track-node.active {
  color: var(--text-main);
}

.step-track-node.active .node-circle {
  background: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.4);
}

[data-theme="dark"] .step-track-node.active .node-circle {
  box-shadow: 0 2px 12px rgba(10, 132, 255, 0.5);
}

.step-track-node.completed .node-circle {
  background: var(--verdict-take-bg);
  color: var(--verdict-take-text);
  border-color: var(--verdict-take-border);
}

.step-track-line {
  width: 20px;
  height: 2px;
  background: var(--border-color);
  border-radius: 2px;
  transition: background 0.25s ease;
}

.step-track-line.active {
  background: var(--accent-color);
}

@media (max-width: 580px) {
  .node-text {
    display: none;
  }
  .step-track-node {
    justify-content: center;
  }
}

/* ========================================================
   6. UNIFIED LUXURY CARD ARCHITECTURE
   ======================================================== */

.wizard-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 34px 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (max-width: 520px) {
  .wizard-card {
    padding: 22px 18px;
    border-radius: var(--radius-card);
  }
}

.wizard-step-panel {
  display: none;
}

.wizard-step-panel.active {
  display: block;
  animation: appleFadeIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes appleFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wizard-step-intro {
  margin-bottom: 28px;
}

.wizard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  display: inline-block;
}

/* Explicit Target Element: #wizard-main-heading */
#wizard-main-heading,
.wizard-heading {
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.14;
  margin-bottom: 10px;
  color: var(--text-main);
  text-wrap: balance;
  transition: color 0.18s ease;
}

@media (max-width: 520px) {
  #wizard-main-heading,
  .wizard-heading {
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1.18;
  }
}

/* Step 2 Heading Sizing - Synced with #wizard-main-heading ("Is this offer worth it?") */
#step-2-panel .wizard-heading {
  font-size: clamp(1.85rem, 4.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.14;
  margin-bottom: 10px;
}

@media (max-width: 520px) {
  #step-2-panel .wizard-heading {
    font-size: 24px;
    letter-spacing: -0.03em;
    line-height: 1.18;
  }
}

.wizard-subtitle {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 4px;
}

.wizard-trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.trust-dot {
  color: var(--border-strong);
  user-select: none;
}

/* Clean Unboxed Metadata Trail */
.wizard-meta-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.wizard-kicker-item {
  font-weight: 600;
  color: var(--text-main);
}

.wizard-kicker-dot {
  color: var(--border-strong);
  user-select: none;
}

/* ========================================================
   7. AUTOMOTIVE COCKPIT FORM INPUTS & TOUCH TARGETS
   ======================================================== */

.wizard-fields-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 7px;
  letter-spacing: -0.015em;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.4;
}

.input-with-affix {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-control);
  background: var(--bg-input);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  overflow: hidden;
}

.input-with-affix:focus-within {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3.5px var(--accent-focus-ring);
}

.input-affix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 14.5px;
  font-family: var(--font-mono);
  user-select: none;
  font-weight: 500;
}

.input-affix-right {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.text-input {
  width: 100%;
  padding: 13px 16px;
  font-size: 16px; /* 16px prevents mobile iOS auto-zoom */
  font-family: var(--font-mono);
  border: none;
  background: transparent;
  color: var(--text-main);
  outline: none;
}

.text-input::placeholder {
  color: var(--text-placeholder);
}

.select-input {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-control);
  background: var(--bg-input);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.select-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3.5px var(--accent-focus-ring);
}

.select-large {
  min-height: 52px;
  font-size: 15.5px;
  font-weight: 500;
}

.label-with-error {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.inline-error {
  font-size: 12px;
  font-weight: 600;
  color: var(--verdict-skip-text);
}

.input-error-msg {
  background: var(--verdict-skip-bg);
  border: 1px solid var(--verdict-skip-border);
  color: var(--verdict-skip-text);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 10px;
}

/* ========================================================
   8. SLIDE 2: CLEAN ARCHITECTURAL HARMONY
   ======================================================== */

.trip-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 480px) {
  .trip-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Apple iOS-Style Tactile Toggle Switch */
.clean-toggle-section {
  padding: 4px 0;
}

.clean-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
  padding: 6px 0;
}

.clean-checkbox-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.apple-switch {
  position: relative;
  width: 46px;
  height: 28px;
  background: var(--switch-track);
  border-radius: 5px;
  transition: background-color 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  display: inline-block;
}

.apple-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: var(--switch-knob);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28), 0 0 1px rgba(0, 0, 0, 0.15);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-checkbox-row input[type="checkbox"]:checked + .apple-switch {
  background-color: var(--accent-color);
}

[data-theme="dark"] .clean-checkbox-row input[type="checkbox"]:checked + .apple-switch {
  background-color: var(--accent-color);
}

.clean-checkbox-row input[type="checkbox"]:checked + .apple-switch::after {
  transform: translateX(18px);
}

.clean-checkbox-row input[type="checkbox"]:focus-visible + .apple-switch {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.clean-checkbox-text {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.return-subgroup-clean {
  margin-top: 12px;
  padding-left: 60px;
}

@media (max-width: 480px) {
  .return-subgroup-clean {
    padding-left: 0;
  }
}

.return-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/* Architectural Hairline Divider */
.wizard-divider {
  height: 1px;
  background: var(--border-color);
  margin: 22px 0;
}

/* Operating Expenses Clean Console */
.costs-clean-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.costs-clean-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.costs-clean-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.mode-segmented {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 3px;
  gap: 2px;
}

.mode-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.mode-btn:hover {
  color: var(--text-main);
}

.mode-btn.active {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .mode-btn.active {
  background: var(--bg-surface-elevated);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.advanced-box-clean {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 18px;
}

.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 500px) {
  .advanced-grid {
    grid-template-columns: 1fr;
  }
}

.calc-summary-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.costs-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
}

.meta-dot {
  color: var(--border-strong);
  user-select: none;
}

.text-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  font-weight: 500;
  transition: color 0.15s ease;
}

.text-btn:hover {
  color: var(--accent-hover);
}

/* ========================================================
   9. APPLE & GERMAN AUTOMOTIVE BUTTONS
   ======================================================== */

.btn-wizard-primary, .btn-wizard-secondary {
  min-height: 50px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px 24px;
  border-radius: var(--radius-control);
  cursor: pointer;
  user-select: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.08s ease;
  line-height: 1.2;
}

.btn-wizard-primary {
  background: var(--accent-color);
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.28);
}

.btn-wizard-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.38);
}

[data-theme="dark"] .btn-wizard-primary {
  box-shadow: 0 2px 14px rgba(10, 132, 255, 0.45);
}

[data-theme="dark"] .btn-wizard-primary:hover {
  box-shadow: 0 4px 20px rgba(10, 132, 255, 0.6);
}

.btn-wizard-primary:active {
  transform: scale(0.985);
}

.btn-wizard-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-wizard-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-wizard-secondary:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.btn-wizard-secondary:active {
  transform: scale(0.985);
}

.btn-full-touch {
  width: 100%;
}

.wizard-actions-single {
  margin-top: 26px;
}

.wizard-actions-dual {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
  margin-top: 26px;
}

@media (max-width: 480px) {
  .wizard-actions-dual {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.wizard-actions-triple {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.wizard-actions-triple button:last-child {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .wizard-actions-triple {
    grid-template-columns: 1fr;
  }
  .wizard-actions-triple button:last-child {
    grid-column: span 1;
  }
}

/* ========================================================
   10. SLIDE 3: MERCEDES MBUX & BMW DIGITAL TELEMETRY
   ======================================================== */

.results-hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 18px;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.hero-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.hero-amount-display {
  margin: 6px 0 12px 0;
}

.hero-amount {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  display: inline-block;
}

@media (max-width: 400px) {
  .hero-amount {
    font-size: 34px;
  }
}

.verdict-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.verdict-desc-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.48;
  margin: 0;
}

.unprofitable-banner {
  background: var(--verdict-skip-bg);
  border: 1px solid var(--verdict-skip-border);
  color: var(--verdict-skip-text);
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  margin-top: 14px;
  line-height: 1.45;
}

/* Capital Retention Gauge */
.retention-container {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.retention-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.retention-bar-track {
  height: 14px;
  background: var(--border-strong);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  width: 100%;
}

.retention-segment-profit {
  background: var(--accent-color);
  height: 100%;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .retention-segment-profit {
  background: var(--accent-color);
}

.retention-segment-expense {
  background: var(--border-strong);
  height: 100%;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .retention-segment-expense {
  background: var(--border-strong);
}

.retention-legend-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.profit-dot {
  background: var(--accent-color);
}

.expense-dot {
  background: var(--border-strong);
}

/* Telemetry Grid (6 Metrics) */
.metrics-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 400px) {
  .metrics-summary-grid {
    grid-template-columns: 1fr;
  }
}

.metric-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  box-shadow: var(--shadow-card);
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-summary-card .metric-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

/* Itemized Vehicle Ledger */
.breakdown-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

.breakdown-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.breakdown-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--text-main);
  padding: 4px 0;
  border-bottom: 1px dotted var(--border-color);
}

.breakdown-row.total-row {
  border-bottom: none;
  border-top: 1.5px solid var(--border-color);
  padding-top: 10px;
  margin-top: 4px;
  font-weight: 700;
}

/* Tax Reference Card */
.tax-reference-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.tax-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tax-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.tax-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 3px 8px;
  border-radius: 3px;
}

.tax-grid-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 13px;
}

.tax-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 0;
}

.tax-lbl {
  color: var(--text-secondary);
}

.tax-footnote {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Semantic Value States & Hero Net Profit Mild Status Colors */
.positive {
  color: var(--text-main);
  font-weight: 700;
}

[data-theme="dark"] .positive {
  color: var(--text-main);
  font-weight: 700;
}

.negative {
  color: var(--text-secondary);
}

[data-theme="dark"] .negative {
  color: var(--text-secondary);
}

.neutral {
  color: var(--text-secondary);
}

/* Selected Hero Net Profit metric (#res-actual-net) - Mild green for profit, mild red for loss */
#res-actual-net.positive,
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > span#res-actual-net:nth-of-type(1).positive {
  color: #1b7f43;
}

#res-actual-net.negative,
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > span#res-actual-net:nth-of-type(1).negative {
  color: #cf222e;
}

#res-actual-net.neutral,
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > span#res-actual-net:nth-of-type(1).neutral {
  color: var(--text-main);
}

[data-theme="dark"] #res-actual-net.positive,
[data-theme="dark"] main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > span#res-actual-net:nth-of-type(1).positive {
  color: #34d399;
}

[data-theme="dark"] #res-actual-net.negative,
[data-theme="dark"] main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > span#res-actual-net:nth-of-type(1).negative {
  color: #f87171;
}

[data-theme="dark"] #res-actual-net.neutral,
[data-theme="dark"] main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > span#res-actual-net:nth-of-type(1).neutral {
  color: var(--text-main);
}

.verdict-take {
  background: var(--verdict-take-bg);
  border-color: var(--verdict-take-border);
  color: var(--verdict-take-text);
}

.verdict-borderline {
  background: var(--verdict-borderline-bg);
  border-color: var(--verdict-borderline-border);
  color: var(--verdict-borderline-text);
}

.verdict-skip {
  background: var(--verdict-skip-bg);
  border-color: var(--verdict-skip-border);
  color: var(--verdict-skip-text);
}

/* ========================================================
   11. MODAL (100% DARK SAFE WITH BACKDROP BLUR)
   ======================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

[data-theme="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.78);
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
  max-width: 500px;
  padding: 28px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-modal);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.modal-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: var(--border-color);
}

.btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

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

.btn-secondary {
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

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

.btn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ========================================================
   12. LUXURY LANDING PAGE SECTIONS & CORE CAPABILITIES
   ======================================================== */

/* Features Bento Grid (Apple / German Automotive Precision) */
.landing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 20px 0;
}

@media (max-width: 640px) {
  .landing-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--border-strong);
}

.feature-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-subtle);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.52;
  margin: 0;
}

/* Section Header Typography */
.section-badge-row,
.section-header-clean {
  margin-bottom: 8px;
}

.section-mini-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.section-card-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.section-card-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 18px 0;
}

/* Educational Reference Boxes (Formulas & Worked Example) */
.worked-example-box, .formula-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 28px;
  margin: 28px 0;
  box-shadow: var(--shadow-card);
}

@media (max-width: 520px) {
  .worked-example-box, .formula-box {
    padding: 20px;
    border-radius: 6px;
  }
}

.formula-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 680px) {
  .formula-list {
    grid-template-columns: 1fr;
  }
}

.formula-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.formula-code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-main);
  line-height: 1.45;
  word-break: break-word;
}

/* Case Study Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card-mini {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-num-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  background: var(--accent-subtle);
  color: var(--accent-color);
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}

.step-card-text {
  font-size: 13.5px;
  color: var(--text-main);
  line-height: 1.45;
}

.step-conclusion {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

/* Modern Accessible FAQ Accordion */
.faq-container-modern {
  margin: 36px 0 20px 0;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.faq-accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease;
}

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

.faq-accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  user-select: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  transition: background 0.15s ease;
}

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

.faq-accordion-summary:hover {
  background: var(--bg-subtle);
}

.faq-accordion-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item[open] .faq-accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.faq-accordion-body {
  padding: 0 20px 18px 20px;
  border-top: 1px solid var(--border-color);
  margin-top: 2px;
  padding-top: 14px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ========================================================
   13. FOOTER & TOAST
   ======================================================== */

.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--footer-bg);
  padding: 40px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: background 0.22s ease, border-color 0.22s ease;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--text-main);
}

.share-toast {
  background: var(--text-main);
  color: var(--bg-surface);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  text-align: center;
  margin-top: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: toastFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.ad-slot-placeholder {
  min-height: 90px;
  border: 1px dashed var(--border-color);
  background: var(--bg-subtle);
  border-radius: 14px;
  margin: 36px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 12px;
  text-align: center;
  user-select: none;
}

/* ========================================================
   14. APPLE & MERCEDES PRECISION STORYTELLING SECTIONS
   ======================================================== */

.section-center-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px auto;
  padding: 0 16px;
}

.section-pill-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-display-title {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 14px;
  text-wrap: balance;
}

[data-theme="dark"] .section-display-title {
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-display-sub {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  text-wrap: pretty;
  margin: 0 auto;
}

/* The Anatomy of a Loss-Leader Trip */
.trip-anatomy-stage {
  margin: 56px 0 36px 0;
  padding: 44px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .trip-anatomy-stage {
  background: radial-gradient(circle at 50% 0%, rgba(24, 24, 24, 0.6) 0%, #000000 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .trip-anatomy-stage {
    padding: 28px 18px;
    border-radius: 6px;
  }
}

.anatomy-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .anatomy-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .anatomy-timeline-grid {
    grid-template-columns: 1fr;
  }
}

.anatomy-step-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.anatomy-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.anatomy-step-card.highlight {
  border-color: var(--verdict-skip-border);
  background: var(--verdict-skip-bg);
}

.anatomy-step-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-block;
}

.anatomy-step-card.highlight .anatomy-step-badge {
  color: var(--verdict-skip-text);
}

.anatomy-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.anatomy-amount-kicker {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.anatomy-amount-kicker.negative {
  color: var(--verdict-skip-text);
}

.anatomy-card-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.anatomy-verdict-banner {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 18px 24px;
}

[data-theme="dark"] .anatomy-verdict-banner {
  background: var(--bg-surface-elevated);
  border-color: var(--border-color);
}

.verdict-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-align: center;
}

.banner-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.banner-value {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.banner-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========================================================
   15. APPLE PRO BENTO GRID (4 PILLARS)
   ======================================================== */

.apple-bento-stage {
  margin: 56px 0 36px 0;
}

.bento-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .bento-grid-4 {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-elevated);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-card.bento-wide {
    grid-column: span 1;
  }
}

.bento-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 8px;
  display: inline-block;
}

.bento-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 16px 0;
  max-width: 600px;
}

/* Route Deadhead Telemetry Visual */
.deadhead-visual {
  margin-top: 14px;
  padding: 16px 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 5px;
}

.visual-route-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.route-point {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-weight: 700;
  color: var(--text-main);
}

.route-point.start {
  color: var(--accent-color);
}

.route-point.drop {
  color: var(--text-secondary);
}

.route-point.hot {
  color: var(--accent-color);
}

.route-line {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
}

.route-line.forward {
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}

.route-line.return {
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  text-decoration: none;
}

/* Tax Rate Badge Row */
.tax-rate-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tax-code-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 3px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* Bento Spec Strip */
.bento-spec-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.spec-col {
  display: flex;
  flex-direction: column;
}

.spec-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
  font-family: var(--font-mono);
}

.spec-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* Privacy Sandbox Card */
.privacy-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

@media (max-width: 640px) {
  .privacy-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.privacy-status-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
  text-align: center;
}

.privacy-lock-svg {
  color: var(--accent-color);
}

.privacy-status-text {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ========================================================
   15. MOBILE-FIRST ERGONOMIC LAYOUT & RESPONSIVE TYPOGRAPHY
   (Apple & German Luxury Automotive Mobile Experience)
   ======================================================== */

@media (max-width: 640px) {
  /* Fluid Container & Viewport Spacing */
  .main-container {
    padding: 16px 14px 72px 14px;
  }

  .site-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .header-inner {
    padding: 10px 14px;
    gap: 12px;
  }

  .brand-title {
    font-size: 17.5px;
    letter-spacing: -0.03em;
  }

  /* Hero Section Mobile Proportions */
  .apple-hero-stage {
    margin: 0 auto 28px auto;
    padding: 0 4px;
  }

  .hero-eyebrow-container {
    margin-bottom: 12px;
  }

  .hero-eyebrow-pill {
    font-size: 10px;
    padding: 3px 10px;
    letter-spacing: 0.07em;
  }

  .hero-master-title {
    font-size: clamp(1.85rem, 6.8vw, 2.75rem);
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 12px;
  }

  .hero-master-sub {
    font-size: 14.5px;
    line-height: 1.52;
    margin: 0 auto 20px auto;
    padding: 0 4px;
  }

  /* Preset Chips: Sleek Native Mobile Horizontal Scroll */
  .hero-presets-container {
    margin-top: 12px;
    width: 100%;
    align-items: flex-start;
  }

  .presets-label {
    font-size: 11px;
    padding-left: 2px;
  }

  .presets-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    justify-content: flex-start;
    padding: 2px 2px 8px 2px;
    gap: 8px;
    scrollbar-width: none;
  }

  .presets-row::-webkit-scrollbar {
    display: none;
  }

  .preset-chip {
    flex-shrink: 0;
    padding: 7px 12px;
    min-height: 38px;
    border-radius: 10px;
  }

  .preset-name {
    font-size: 12px;
  }

  .preset-data {
    font-size: 11px;
  }

  /* Cockpit Split Stage Spacing on Mobile */
  .cockpit-split-stage {
    gap: 20px;
    margin-bottom: 36px;
  }

  /* Mobile Stepper / Configurator Progress Bar */
  .wizard-stepper-container {
    margin-bottom: 16px;
  }

  .wizard-progress-track {
    padding: 6px 10px;
    gap: 4px;
    border-radius: 6px;
  }

  .step-track-node {
    padding: 4px 6px;
    gap: 6px;
    min-height: 36px;
  }

  .node-circle {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-width: 1.5px;
  }

  .node-text {
    font-size: 11.5px;
  }

  .step-track-line {
    width: 12px;
    min-width: 6px;
  }

  /* Slide 2 Mobile Layout (Step 2 Trip Details) */
  #step-2-panel .wizard-card {
    padding: 22px 16px;
    border-radius: 6px;
  }

  .trip-metrics-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .return-subgroup-clean {
    padding-left: 0;
    margin-top: 10px;
  }

  .clean-checkbox-row {
    min-height: 44px;
    padding: 4px 0;
  }

  .costs-clean-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .mode-segmented {
    width: 100%;
    display: flex;
  }

  .mode-btn {
    flex: 1;
    text-align: center;
    padding: 8px 10px;
    font-size: 12.5px;
  }

  .wizard-actions-dual {
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    margin-top: 22px;
  }

  .wizard-actions-dual button {
    width: 100%;
    min-height: 50px;
    font-size: 15.5px;
  }

  /* Slide 3 Mobile Layout (Results & Real Profit Telemetry) */
  #step-3-panel .wizard-card {
    padding: 22px 16px;
    border-radius: 6px;
  }

  .results-hero-card {
    padding: 18px 16px;
    border-radius: 6px;
    margin-bottom: 14px;
  }

  .hero-amount {
    font-size: clamp(32px, 8.8vw, 38px);
    letter-spacing: -0.035em;
  }

  .verdict-badge {
    font-size: 11.5px;
    padding: 4px 10px;
  }

  .verdict-desc-text {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .retention-container {
    padding: 14px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
  }

  .retention-label-row {
    font-size: 13px;
  }

  .retention-legend-row {
    font-size: 11.5px;
    gap: 8px;
  }

  .metrics-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
  }

  .metric-summary-card {
    padding: 10px 12px;
    border-radius: 5px;
  }

  .metric-label {
    font-size: 10.5px;
    margin-bottom: 4px;
  }

  .metric-summary-card .metric-val {
    font-size: 17px;
  }

  .breakdown-box {
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 14px;
  }

  .breakdown-row {
    font-size: 13px;
  }

  .tax-reference-card {
    padding: 14px 14px;
    border-radius: 6px;
    margin-bottom: 14px;
  }

  .tax-grid-metrics {
    gap: 8px;
    font-size: 12px;
  }

  .wizard-actions-triple {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .wizard-actions-triple button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .wizard-actions-triple button:last-child {
    order: -1;
  }

  /* Reality HUD Mobile Refinements */
  .reality-hud-card {
    padding: 20px 16px;
    border-radius: 6px;
  }

  .hud-comparison-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hud-metric-card {
    padding: 12px 10px;
  }

  .hud-metric-val {
    font-size: 18px;
  }

  /* Educational Storytelling Mobile Grid */
  .trip-anatomy-stage {
    padding: 24px 16px;
    border-radius: 6px;
    margin: 36px 0 24px 0;
  }

  .section-display-title {
    font-size: clamp(1.65rem, 5.8vw, 2.2rem);
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 10px;
  }

  .section-display-sub {
    font-size: 14px;
    line-height: 1.5;
  }

  .worked-example-box, .formula-box {
    padding: 20px 16px;
    border-radius: 6px;
    margin: 20px 0;
  }

  .faq-item {
    padding: 14px 16px;
    border-radius: 5px;
  }

  .faq-q {
    font-size: 14.5px;
  }

  .faq-a {
    font-size: 13.5px;
  }

  .site-footer {
    padding: 32px 14px;
  }

  .footer-inner {
    gap: 14px;
  }

  .footer-nav {
    gap: 14px;
    font-size: 12.5px;
  }
}

/* Ultra-Compact Screens (e.g. iPhone SE / 360px) */
@media (max-width: 380px) {
  .wizard-progress-track .node-text {
    display: none;
  }

  .step-track-node {
    justify-content: center;
    padding: 4px;
  }

  .metrics-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================
   18. EDITORIAL SEO GUIDE (AUTHORITATIVE LONG-FORM CONTENT)
   ======================================================== */
.seo-editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 38px 36px;
  margin: 40px 0 28px 0;
  box-shadow: var(--shadow-card);
  line-height: 1.68;
}

@media (max-width: 640px) {
  .seo-editorial-card {
    padding: 24px 18px;
    margin: 30px 0 20px 0;
  }
}

.editorial-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 22px;
}

.editorial-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-color);
  background: var(--accent-subtle);
  border-radius: 3px;
  padding: 4px 9px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.editorial-main-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 12px;
  text-wrap: balance;
}

@media (max-width: 640px) {
  .editorial-main-title {
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    text-wrap: balance;
  }
}

.editorial-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.editorial-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.editorial-subheading {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.editorial-block p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.editorial-block strong {
  color: var(--text-main);
  font-weight: 600;
}

.editorial-list {
  list-style: disc;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.editorial-list li strong {
  color: var(--text-main);
}

.editorial-ordered-list {
  list-style: decimal;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-ordered-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.editorial-ordered-list li strong {
  color: var(--text-main);
}

@media (max-width: 640px) {
  .editorial-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }
  .editorial-pill {
    font-size: 10px;
    padding: 2px 7px;
    margin-bottom: 8px;
  }
  .editorial-lead {
    font-size: 13px;
    line-height: 1.48;
  }
  .editorial-body {
    gap: 14px;
  }
  .editorial-block {
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .editorial-block:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .editorial-subheading {
    font-size: 14.5px;
    line-height: 1.35;
    margin-top: 0;
    gap: 6px;
  }
  .editorial-block p {
    font-size: 13px;
    line-height: 1.5;
  }
  .editorial-list,
  .editorial-ordered-list {
    gap: 4px;
    margin-left: 16px;
  }
  .editorial-list li,
  .editorial-ordered-list li {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

/* ========================================================
   18. MULTI-PAGE APPLICATION (MPA) PAGES & EXPANDED FOOTER
   ======================================================== */

.breadcrumb-trail {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
  color: var(--accent-color);
}

.breadcrumb-item.active {
  color: var(--text-main);
  font-weight: 600;
}

.breadcrumb-separator {
  color: var(--border-strong);
  user-select: none;
}

/* Content Page Layout */
.content-legal-page {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 900px;
  margin: 0 auto 48px auto;
}

@media (max-width: 640px) {
  .content-legal-page {
    padding: 24px 18px;
  }
}

.content-page-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.content-page-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 6px 0 10px 0;
}

@media (max-width: 640px) {
  .content-page-title {
    font-size: 22px;
  }
}

.content-page-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.content-page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: 3px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 12px 0;
}

.legal-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 12px 0;
}

.legal-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-list li strong {
  color: var(--text-main);
}

.legal-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 16px 0;
}

@media (max-width: 640px) {
  .legal-grid-cards {
    grid-template-columns: 1fr;
  }
}

.legal-mini-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 18px 20px;
}

.legal-mini-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.legal-mini-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.warning-callout-box {
  background: var(--bg-subtle);
  border-left: 3px solid var(--accent-color);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 16px 0;
}

/* Responsive Table Wrappers & Content Tables */
.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-surface);
  margin: 16px 0 24px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-swipe-indicator {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .mobile-swipe-indicator {
    display: flex;
  }
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.content-table th {
  background: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.content-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  line-height: 1.45;
}

.content-table tr:last-child td {
  border-bottom: none;
}

.content-table tr:hover td {
  background: var(--bg-subtle);
}

.content-table code {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--text-main);
}

/* Status Badges Inline */
.status-badge-inline {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-badge-inline.take {
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-inline.skip {
  background: rgba(239, 68, 68, 0.14);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .status-badge-inline.take {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.4);
}

[data-theme="dark"] .status-badge-inline.skip {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
}

/* Scenario Cards */
.mobile-matrix-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 16px 0 24px 0;
}

.scenario-mobile-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scenario-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.scenario-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.scenario-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 12px;
}

.s-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s-lbl {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.s-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
}

.scenario-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.footer-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-num {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

/* Responsive Matrix Switch: Show table on desktop, cards on mobile */
@media (max-width: 768px) {
  .desktop-matrix-table {
    display: none;
  }
  .mobile-matrix-cards {
    display: flex;
  }
}

/* How It Works CTA Card */
.how-cta-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.how-cta-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px 0;
}

.how-cta-content p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 640px) {
  .how-cta-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px 16px;
  }
}

.content-page-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Contact Page Split Grid */
.contact-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .contact-split-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-card,
.contact-info-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 24px;
}

.contact-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin: 0 0 8px 0;
}

.contact-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.contact-form-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-success-box {
  background: var(--bg-surface);
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-block {
  margin-bottom: 20px;
}

.info-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
}

.info-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 4px 0 0 0;
}

.faq-callout-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px 16px;
}

/* Categorized Footer Layout */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: var(--footer-bg);
  padding: 48px 20px 32px 20px;
  margin-top: 64px;
}

.footer-top-brand {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 6px 0;
}

.footer-disclaimer-note {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  max-width: 720px;
  line-height: 1.5;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

@media (max-width: 680px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.footer-col-header {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col-links a:hover {
  color: var(--accent-color);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* ========================================================
   ERROR PAGES (404 NOT FOUND & 500 INTERNAL ERROR)
   ======================================================== */

.error-page-container {
  max-width: 860px;
  margin: 0 auto;
}

.error-page-header {
  margin-bottom: 24px;
}

.error-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.status-indicator-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.28);
}
[data-theme="dark"] .status-badge-warning {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.status-dot-warning {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.status-badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.28);
}
[data-theme="dark"] .status-badge-danger {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.38);
}

.status-dot-danger {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.65);
}

.error-title {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.error-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Diagnostic Panel */
.diagnostic-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.diagnostic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.diagnostic-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.diagnostic-icon {
  color: var(--accent-color);
}

.diagnostic-tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

@media (max-width: 640px) {
  .diagnostic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.diagnostic-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.diagnostic-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.diagnostic-value {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-main);
  word-break: break-all;
}

.diagnostic-value.font-mono {
  font-family: var(--font-mono);
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
}

.text-warning {
  color: #d97706;
}
[data-theme="dark"] .text-warning {
  color: #fbbf24;
}

.text-danger {
  color: #dc2626;
}
[data-theme="dark"] .text-danger {
  color: #f87171;
}

.text-success {
  color: #059669;
}
[data-theme="dark"] .text-success {
  color: #34d399;
}

/* Error Action Buttons */
.error-actions-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.error-primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.error-nav-card {
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.error-nav-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ========================================================
   FOCUS MODE APPLIED STYLES
   ======================================================== */

/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > h1#wizard-main-heading:nth-of-type(1),
#step-1-panel #wizard-main-heading {
  color: var(--text-main);
  font-family: Georgia, serif;
  font-weight: normal;
}

[data-theme="dark"] #step-1-panel #wizard-main-heading,
[data-theme="dark"] main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > h1#wizard-main-heading:nth-of-type(1) {
  color: #f8fcfb;
}

[data-theme="light"] #step-1-panel #wizard-main-heading,
[data-theme="light"] main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > h1#wizard-main-heading:nth-of-type(1) {
  color: #0c0f17;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1),
#step-1-panel .wizard-step-intro > p {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1) > h2#anatomy-heading:nth-of-type(1),
#anatomy-heading {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1),
.trip-anatomy-stage .section-center-header > p {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > section:nth-of-type(2) > div:nth-of-type(1) > h2#bento-heading:nth-of-type(1),
#bento-heading {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > section:nth-of-type(2) > div:nth-of-type(1) > p:nth-of-type(1),
.apple-bento-stage .section-center-header > p {
  font-family: Georgia, serif;
}

/* CSS selector 7 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1),
.reality-hud-card .hud-header .hud-badge-title {
  font-family: Georgia, serif;
}

/* CSS selector 8 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(3) > button#step1-continue-btn:nth-of-type(1),
#step1-continue-btn {
  background-color: #2f2b2b;
  box-shadow: none;
}

#step1-continue-btn:hover,
#step1-continue-btn:focus,
#step1-continue-btn:active,
[data-theme="dark"] #step1-continue-btn,
[data-theme="dark"] #step1-continue-btn:hover,
[data-theme="light"] #step1-continue-btn,
[data-theme="light"] #step1-continue-btn:hover {
  box-shadow: none;
}

/* CSS selector 9 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(1) > h2#seo-guide-title:nth-of-type(1),
#seo-guide-title {
  font-family: Georgia, serif;
}

/* CSS selector 10 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(1) > p:nth-of-type(1),
.seo-editorial-card .editorial-header > p {
  font-family: Georgia, serif;
}

/* CSS selector 11 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(2) > div:nth-of-type(1) > h3:nth-of-type(1),
.seo-editorial-card .editorial-body > .editorial-block:nth-of-type(1) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 12 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(2) > div:nth-of-type(2) > h3:nth-of-type(1),
.seo-editorial-card .editorial-body > .editorial-block:nth-of-type(2) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 13 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(2) > div:nth-of-type(3) > h3:nth-of-type(1),
.seo-editorial-card .editorial-body > .editorial-block:nth-of-type(3) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 14 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(2) > div:nth-of-type(4) > h3:nth-of-type(1),
.seo-editorial-card .editorial-body > .editorial-block:nth-of-type(4) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 15 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(2) > div:nth-of-type(5) > h3:nth-of-type(1),
.seo-editorial-card .editorial-body > .editorial-block:nth-of-type(5) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 17 */
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(2) > div:nth-of-type(6) > h3:nth-of-type(1),
.seo-editorial-card .editorial-body > .editorial-block:nth-of-type(6) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 18 */
main:nth-of-type(1) > section#faq:nth-of-type(6) > div:nth-of-type(1) > h2#faq-title:nth-of-type(1),
#faq-title {
  font-family: Georgia, serif;
}

/* CSS selector 1 */
header:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > a:nth-of-type(1),
.site-header .brand-title {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > h3:nth-of-type(1),
.trip-anatomy-stage .anatomy-timeline-grid > .anatomy-step-card:nth-of-type(1) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > h3:nth-of-type(1),
.trip-anatomy-stage .anatomy-timeline-grid > .anatomy-step-card:nth-of-type(2) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > h3:nth-of-type(1),
.trip-anatomy-stage .anatomy-timeline-grid > .anatomy-step-card:nth-of-type(3) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > section:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(4) > h3:nth-of-type(1),
.trip-anatomy-stage .anatomy-timeline-grid > .anatomy-step-card:nth-of-type(4) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > section:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2) > h3:nth-of-type(1),
.apple-bento-stage .bento-grid-4 > .bento-card:nth-of-type(2) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 7 */
main:nth-of-type(1) > section:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(3) > h3:nth-of-type(1),
.apple-bento-stage .bento-grid-4 > .bento-card:nth-of-type(3) > h3 {
  font-family: Georgia, serif;
}

/* CSS selector 8 */
main:nth-of-type(1) > section:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(4) > div:nth-of-type(1) > h3:nth-of-type(1),
.apple-bento-stage .bento-grid-4 > .bento-card:nth-of-type(4) .bento-title {
  font-family: Georgia, serif;
}

/* CSS selector 9 */
main:nth-of-type(1) > section:nth-of-type(3) > h2#formulas-title:nth-of-type(1),
#formulas-title {
  font-family: Georgia, serif;
}

/* CSS selector 10 */
main:nth-of-type(1) > section:nth-of-type(4) > h2#worked-example-title:nth-of-type(1),
#worked-example-title {
  font-family: Georgia, serif;
}

/* CSS selector 11 */
main:nth-of-type(1) > section:nth-of-type(4) > p:nth-of-type(1),
.worked-example-box .section-card-desc {
  font-family: Georgia, serif;
}

/* CSS selector 12 */
footer:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1),
.site-footer .footer-brand-title {
  font-family: Georgia, serif;
}

/* CSS selector 13 */
header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(1),
.site-header .site-nav > a:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 14 */
header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(2),
.site-header .site-nav > a:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 15 */
header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(3),
.site-header .site-nav > a:nth-of-type(3) {
  font-family: Georgia, serif;
}

/* CSS selector 16 */
header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(4),
.site-header .site-nav > a:nth-of-type(4) {
  font-family: Georgia, serif;
}

/* CSS selector 17 */
header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(5),
.site-header .site-nav > a:nth-of-type(5) {
  font-family: Georgia, serif;
}

/* CSS selector 18 */
header:nth-of-type(1) > div:nth-of-type(1) > nav:nth-of-type(1) > a:nth-of-type(6),
.site-header .site-nav > a:nth-of-type(6) {
  font-family: Georgia, serif;
}

/* CSS selector 19 */
main:nth-of-type(1) > section:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > h3:nth-of-type(1),
.apple-bento-stage .bento-grid-4 > .bento-card:nth-of-type(1) .bento-title {
  font-family: Georgia, serif;
}

/* Step 2 Panel Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-2-panel:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > h2:nth-of-type(1),
#step-2-panel .wizard-heading {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-2-panel:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1),
#step-2-panel label[for="offer-payout"] {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-2-panel:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1),
#step-2-panel label[for="trip-distance"] {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-2-panel:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(2) > div:nth-of-type(1) > label:nth-of-type(1),
#step-2-panel label[for="total-time"] {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-2-panel:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > label:nth-of-type(1),
#step-2-panel .clean-checkbox-row {
  font-family: Georgia, serif;
}

/* CSS selector 7 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-2-panel:nth-of-type(2) > div:nth-of-type(1) > div:nth-of-type(3) > button#step2-calc-btn:nth-of-type(2),
#step2-calc-btn {
  background-color: #131515;
  box-shadow: none;
}

#step2-calc-btn:hover,
#step2-calc-btn:focus,
#step2-calc-btn:active,
[data-theme="dark"] #step2-calc-btn,
[data-theme="dark"] #step2-calc-btn:hover,
[data-theme="light"] #step2-calc-btn,
[data-theme="light"] #step2-calc-btn:hover {
  background-color: #222525;
  box-shadow: none;
}

/* Step 3 Panel Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(7) > button#step3-share-btn:nth-of-type(3),
#step3-share-btn {
  background-color: #171718;
  box-shadow: none;
}

#step3-share-btn:hover,
#step3-share-btn:focus,
#step3-share-btn:active,
[data-theme="dark"] #step3-share-btn,
[data-theme="dark"] #step3-share-btn:hover,
[data-theme="light"] #step3-share-btn,
[data-theme="light"] #step3-share-btn:hover {
  background-color: #262729;
  box-shadow: none;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(1) > h2:nth-of-type(1),
#step-3-panel .wizard-heading {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(1) > p:nth-of-type(1),
#step-3-panel .wizard-subtitle {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > span:nth-of-type(1),
#step-3-panel .results-hero-card .hero-label {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > p#verdict-desc:nth-of-type(1),
#verdict-desc {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > span#verdict-badge:nth-of-type(2),
#verdict-badge {
  font-family: Georgia, serif;
}

/* CSS selector 7 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div#unprofitable-alert:nth-of-type(3),
#unprofitable-alert {
  font-family: Georgia, serif;
}

/* CSS selector 8 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(1),
#step-3-panel .retention-container .retention-label-row {
  font-family: Georgia, serif;
}

/* CSS selector 9 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(5) > h3:nth-of-type(1),
#step-3-panel .breakdown-box .breakdown-heading {
  font-family: Georgia, serif;
}

/* Step 1 Fields Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > label:nth-of-type(1),
#step-1-panel label[for="step1-country"] {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > select#step1-country:nth-of-type(1),
#step1-country {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > label:nth-of-type(1),
#step-1-panel label[for="step1-lang"] {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(2) > select#step1-lang:nth-of-type(1),
#step1-lang {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > label:nth-of-type(1),
#step-1-panel label[for="step1-platform"] {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-1-panel:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > select#step1-platform:nth-of-type(1),
#step1-platform {
  font-family: Georgia, serif;
}

/* Telemetry HUD Deduction Ledger Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(1),
.reality-hud-card .hud-deduction-ledger .hud-ledger-title {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(2),
.reality-hud-card .hud-deduction-ledger > div.hud-ledger-row:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(3) > span:nth-of-type(1),
.reality-hud-card .hud-deduction-ledger > div.hud-ledger-row:nth-of-type(3) > span.ledger-name {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(4) > span:nth-of-type(1),
.reality-hud-card .hud-deduction-ledger > div.hud-ledger-row:nth-of-type(4) > span.ledger-name {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(5) > span:nth-of-type(1),
.reality-hud-card .hud-deduction-ledger > div.hud-ledger-row:nth-of-type(5) > span.ledger-name {
  font-family: Georgia, serif;
}

/* Telemetry HUD Comparison Stage Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > span:nth-of-type(1),
.reality-hud-card .hud-comparison-stage > .hud-column.app-illusion > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > span:nth-of-type(1),
.reality-hud-card .hud-comparison-stage > .hud-column.real-pocket > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(1) > span:nth-of-type(2),
.reality-hud-card .hud-comparison-stage > .hud-column.app-illusion > span:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > span:nth-of-type(2),
.reality-hud-card .hud-comparison-stage > .hud-column.real-pocket > span:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > div:nth-of-type(1) > aside:nth-of-type(1) > div:nth-of-type(2) > div:nth-of-type(3) > span:nth-of-type(3),
.reality-hud-card .hud-comparison-stage > .hud-column.real-pocket > span:nth-of-type(3) {
  font-family: system-ui, -apple-system, sans-serif;
}

/* Removed Elements (Focus Mode) */
.section-mini-eyebrow,
.editorial-pill,
.seo-editorial-card,
main:nth-of-type(1) > section:nth-of-type(5) > div:nth-of-type(1) > span:nth-of-type(1),
main:nth-of-type(1) > section#faq:nth-of-type(6) > div:nth-of-type(1) > span:nth-of-type(1) {
  display: none !important;
}

/* Focus Mode: Step 3 Metrics, Formulas, Worked Examples & Actions */
/* CSS selector 1 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(1) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(2) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(3) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(4) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(5) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 7 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(6) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 8 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(1) > span#res-payout-total:nth-of-type(2),
#res-payout-total {
  font-family: Georgia, serif;
}

/* CSS selector 9 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(2) > span#res-actual-cost-total:nth-of-type(2),
#res-actual-cost-total {
  font-family: Georgia, serif;
}

/* CSS selector 10 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(3) > span#res-actual-per-dist:nth-of-type(2),
#res-actual-per-dist {
  font-family: Georgia, serif;
}

/* CSS selector 11 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(4) > span#res-actual-per-hour:nth-of-type(2),
#res-actual-per-hour {
  font-family: Georgia, serif;
}

/* CSS selector 12 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(5) > span#res-actual-break-even:nth-of-type(2),
#res-actual-break-even {
  font-family: Georgia, serif;
}

/* CSS selector 13 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(4) > div:nth-of-type(6) > span#res-total-dist:nth-of-type(2),
#res-total-dist {
  font-family: Georgia, serif;
}

/* CSS selector 14 */
main:nth-of-type(1) > section:nth-of-type(3) > ul:nth-of-type(1) > li:nth-of-type(1) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 15 */
main:nth-of-type(1) > section:nth-of-type(3) > ul:nth-of-type(1) > li:nth-of-type(3) {
  font-family: Georgia, serif;
}

/* CSS selector 16 */
main:nth-of-type(1) > section:nth-of-type(3) > ul:nth-of-type(1) > li:nth-of-type(5) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 17 */
main:nth-of-type(1) > section:nth-of-type(3) > ul:nth-of-type(1) > li:nth-of-type(2) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 18 */
main:nth-of-type(1) > section:nth-of-type(3) > ul:nth-of-type(1) > li:nth-of-type(4) {
  font-family: Georgia, serif;
}

/* CSS selector 19 */
main:nth-of-type(1) > section:nth-of-type(3) > ul:nth-of-type(1) > li:nth-of-type(6) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 20 */
main:nth-of-type(1) > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(1) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 21 */
main:nth-of-type(1) > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(3) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 22 */
main:nth-of-type(1) > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(2) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 23 */
main:nth-of-type(1) > section:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(4) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 24 */
main:nth-of-type(1) > section:nth-of-type(4) > div:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 25 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(6) > div:nth-of-type(1) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 26 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(6) > div:nth-of-type(1) > span:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 27 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(7) > button#step3-edit-btn:nth-of-type(1),
#step3-edit-btn {
  font-family: Georgia, serif;
}

/* CSS selector 28 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(7) > button#step3-another-btn:nth-of-type(2),
#step3-another-btn {
  font-family: "Times New Roman", Times, serif;
}

/* CSS selector 29 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(7) > button#step3-share-btn:nth-of-type(3),
#step3-share-btn {
  font-family: Georgia, serif;
}

/* CSS selector 30 */
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* Removed Step 3 Elements */
#unprofitable-alert,
.wizard-meta-kicker,
.retention-legend-row,
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(2) > div#unprofitable-alert:nth-of-type(3),
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1),
main:nth-of-type(1) > div:nth-of-type(1) > section:nth-of-type(1) > div#step-3-panel:nth-of-type(3) > div:nth-of-type(1) > div:nth-of-type(3) > div:nth-of-type(3) {
  display: none !important;
}

/* How-It-Works Page Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > h1#how-heading:nth-of-type(1),
#how-heading {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > article:nth-of-type(1) > section:nth-of-type(1) > h2:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > article:nth-of-type(1) > section:nth-of-type(2) > h2:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > article:nth-of-type(1) > section:nth-of-type(3) > h2:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > article:nth-of-type(1) > section:nth-of-type(4) > h2:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > h3:nth-of-type(1),
.how-cta-box .how-cta-content h3 {
  font-family: Georgia, serif;
}

/* CSS selector 7 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > a:nth-of-type(1),
.how-cta-box a.btn-wizard-primary {
  background-color: #3f3f3f;
  box-shadow: none;
}

.how-cta-box a.btn-wizard-primary:hover,
.how-cta-box a.btn-wizard-primary:focus {
  background-color: #4a4a4a;
  box-shadow: none;
}

/* CSS selector 8 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > div:nth-of-type(1) > span:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 9 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > div:nth-of-type(1) > span:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 10 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > div:nth-of-type(1) > span:nth-of-type(3) {
  font-family: Georgia, serif;
}

/* CSS selector 11 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > p:nth-of-type(1),
.content-page-header .content-page-lead {
  font-family: Georgia, serif;
}

/* About Page Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > h1#about-heading:nth-of-type(1),
#about-heading {
  font-family: Georgia, serif;
}

/* CSS selector 2 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > p:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > div:nth-of-type(1) > span:nth-of-type(3) {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > article:nth-of-type(1) > footer:nth-of-type(1) > a:nth-of-type(1),
.content-page-footer a.btn-primary {
  background-color: #494d50;
  box-shadow: none;
}

.content-page-footer a.btn-primary:hover,
.content-page-footer a.btn-primary:focus {
  background-color: #555a5e;
  box-shadow: none;
}

/* Contact Page Focus Mode Styles */
/* CSS selector 1 */
main:nth-of-type(1) > article:nth-of-type(1) > header:nth-of-type(1) > h1#contact-heading:nth-of-type(1),
#contact-heading {
  font-family: Georgia, serif;
}

/* CSS selector 3 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > h2:nth-of-type(1),
.contact-form-card h2.contact-card-title {
  font-family: Georgia, serif;
}

/* CSS selector 4 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > form#contact-form:nth-of-type(1) > div:nth-of-type(1) > label:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 5 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > form#contact-form:nth-of-type(1) > div:nth-of-type(3) > label:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 6 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > form#contact-form:nth-of-type(1),
#contact-form {
  font-family: Georgia, serif;
}

/* CSS selector 8 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(2),
.contact-split-grid > div:nth-of-type(2) {
  font-family: Georgia, serif;
}

/* CSS selector 9 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1),
.contact-split-grid > div:nth-of-type(1) {
  font-family: Georgia, serif;
}

/* CSS selector 10 */
main:nth-of-type(1) > article:nth-of-type(1) > div:nth-of-type(1) > div:nth-of-type(1) > form#contact-form:nth-of-type(1) > button#contact-submit-btn:nth-of-type(1),
#contact-submit-btn {
  background-color: #4e4b4b;
  box-shadow: none;
}

#contact-submit-btn:hover,
#contact-submit-btn:focus {
  background-color: #5a5656;
  box-shadow: none;
}

/* Focus Mode: Main & Article Typography */
/* CSS selector 1 */
main:nth-of-type(1),
main {
  font-family: Georgia, serif;
}

main:nth-of-type(1) > article:nth-of-type(1),
main > article,
article.content-legal-page {
  font-family: Georgia, serif;
}

/* Removed Article Section 4 Heading */
main:nth-of-type(1) > article:nth-of-type(1) > section:nth-of-type(4) > h2:nth-of-type(1) {
  display: none !important;
}













