/*
  DriveBudget marketing site styling.
  High-end visual aesthetics, vector-accurate real-code iOS device lookalikes,
  interactive Cal AI inspired feature showcases, FAQ accordion, smooth transitions.
*/

:root {
  --navy: #142845;
  --navy-700: #1b3559;
  --navy-800: #10213a;
  --navy-900: #0a1424;
  --amber: #ef9f27;
  --amber-soft: #fdf1de;
  --emerald: #0f6e56;
  --emerald-light: #10b981;
  --emerald-soft: #e4efeb;
  --blue: #2563eb;
  --purple: #7c3aed;
  --bg: #f5f3ed;
  --surface: #ffffff;
  --surface-alt: #ece9e0;
  --muted: #5f5e5a;
  --border: rgba(20, 40, 69, 0.12);
  --border-light: rgba(20, 40, 69, 0.06);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --container-narrow: 780px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 6px rgba(13, 28, 49, 0.05);
  --shadow-card: 0 4px 20px -2px rgba(13, 28, 49, 0.07), 0 1px 3px rgba(13, 28, 49, 0.04);
  --shadow-card-active: 0 12px 32px -4px rgba(20, 40, 69, 0.12), 0 4px 12px rgba(20, 40, 69, 0.06);
  --shadow-phone: 0 24px 60px -12px rgba(13, 28, 49, 0.35), 0 8px 24px -4px rgba(13, 28, 49, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: 6px;
}

.visually-hidden-focusable {
  position: absolute;
  left: -9999px;
  top: auto;
}

.visually-hidden-focusable:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

::selection {
  background: var(--amber);
  color: var(--navy);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

@media (min-width: 640px) {
  .container,
  .container-narrow {
    padding: 0 36px;
  }
}

main {
  flex: 1;
}

.text-center {
  text-align: center;
}

.text-emerald {
  color: var(--emerald-light);
}

/* ── Brand mark ─────────────────────────────────────────────────────────── */

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20,40,69,0.18);
}

.brand-mark.sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--navy);
  line-height: 1.15;
}

.brand-tagline {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* ── Header (Cal AI Style Frosted Bar) ──────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 243, 237, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 860px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-action {
  display: flex;
  align-items: center;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 40, 69, 0.22);
}

.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: 0 6px 18px rgba(20, 40, 69, 0.3);
  transform: translateY(-1px);
}

.btn-header {
  padding: 0 20px;
  font-size: 13.5px;
  height: 40px;
  min-height: 40px;
}

/* ── Store badges (Black background styling) ────────────────────────────── */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.store-badge:hover {
  background: #1c1c1e;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.3);
}

.store-badge:active {
  transform: scale(0.97);
}

.store-badge svg {
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-badge-eyebrow {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-badge-name {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.store-badge.is-coming-soon {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.store-badge.is-coming-soon:hover {
  background: #1c1c1e;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.store-badge.is-coming-soon .store-badge-eyebrow {
  color: var(--amber);
  opacity: 1;
  font-weight: 700;
}

/* ── Hero Section (Two-Tone Cal AI Style) ────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 68px;
}

@media (min-width: 1024px) {
  .hero {
    padding: 60px 0 92px;
  }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  flex-shrink: 0;
}

.hero-title {
  margin: 18px 0 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.4px;
  color: var(--navy);
}

.hero-title-sub {
  font-weight: 500;
  color: #3b495e;
  letter-spacing: -0.8px;
  font-size: 34px;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 58px;
  }
  .hero-title-sub {
    font-size: 48px;
  }
}

.hero-sub {
  margin: 18px 0 0;
  max-width: 500px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

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

.hero-visual {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-visual {
    justify-content: flex-end;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* REAL-CODE iOS DEVICE FRAME (SLENDER iPHONE 16 PRO ASPECT RATIO)            */
/* ══════════════════════════════════════════════════════════════════════════ */

.device-phone {
  position: relative;
  width: 334px;
  height: 720px;
  border-radius: 52px;
  background: #0d1a2d;
  padding: 9px;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.device-phone.is-large {
  width: 352px;
  height: 760px;
  border-radius: 54px;
}

.device-phone.is-tilted {
  transform: rotate(-3deg);
}

.device-phone.is-tilted:hover {
  transform: rotate(0deg) translateY(-4px);
}

.device-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: #F5F3ED;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.device-phone.is-dark-theme .device-inner {
  background: #080E18;
}

/* ── Status bar & Dynamic island ─────────────────────────────────────────── */

.ios-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 50;
  color: #142845;
  font-size: 12.5px;
  font-weight: 700;
  font-family: -apple-system, system-ui;
}

.ios-time-wrap {
  display: flex;
  align-items: center;
  gap: 3px;
}

.ios-loc-icon {
  transform: rotate(45deg);
  opacity: 0.8;
}

.ios-status-bar.is-dark {
  color: #FFFFFF;
}

.ios-dynamic-island {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 102px;
  height: 26px;
  background: #000000;
  border-radius: 14px;
  z-index: 52;
}

.ios-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ios-battery {
  width: 19px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  padding: 1px;
  position: relative;
}

.ios-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 1.5px;
  height: 3.5px;
  background: currentColor;
  border-radius: 0 1px 1px 0;
}

.ios-battery-fill {
  width: 78%;
  height: 100%;
  background: currentColor;
  border-radius: 1px;
}

/* ── Tab Bar & Indicator ─────────────────────────────────────────────────── */

.ios-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(245, 243, 237, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 0.5px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px 10px;
  z-index: 40;
}

.ios-tab-bar.is-dark {
  background: rgba(8, 14, 24, 0.96);
  border-top-color: rgba(255,255,255,0.08);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #8E8E93;
  font-size: 9px;
  font-weight: 600;
}

.tab-item.is-active {
  color: #142845;
  font-weight: 700;
}

.ios-tab-bar.is-dark .tab-item.is-active {
  color: #38BDF8;
}

.tab-add-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #142845;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(20,40,69,0.3);
  margin-top: -12px;
}

.ios-tab-bar.is-dark .tab-add-btn {
  background: #38BDF8;
}

.ios-home-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  border-radius: 10px;
  background: #000000;
  opacity: 0.35;
  z-index: 45;
}

.ios-home-indicator.is-dark {
  background: #FFFFFF;
  opacity: 0.45;
}

/* ── Screen Body (Scrollable container inside phone) ─────────────────────── */

.app-screen {
  position: absolute;
  inset: 42px 0 60px 0;
  overflow-y: auto;
  padding: 6px 14px 16px;
  scrollbar-width: none;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color: #142845;
}

.app-screen::-webkit-scrollbar {
  display: none;
}

/* ── Vehicle Selector ────────────────────────────────────────────────────── */

.app-vehicle-selector {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6px;
}

.vehicle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #142845;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.bmw-roundel-small,
.toyota-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill-dark {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
}

/* ── App Hero Navy Card ──────────────────────────────────────────────────── */

.app-hero-card {
  background: #142845;
  border-radius: 18px;
  padding: 16px 17px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  box-shadow: 0 6px 18px rgba(20,40,69,0.22);
}

.hero-dark {
  background: #0E1B2E;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-card-left {
  display: flex;
  flex-direction: column;
}

.card-caption {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.hero-amount {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin: 2px 0;
}

.card-target {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

.hero-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.card-link {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

/* ── Accurate Vertical Sparkline Layout ──────────────────────────────────── */

.sparkline-box {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 105px;
  margin-top: 4px;
}

.spark-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 28px;
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.spark-chart-area {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sparkline-svg {
  width: 100%;
  height: 28px;
}

.spark-days {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

.spark-day-active {
  color: #38BDF8;
  font-weight: 700;
}

/* ── Metric Two Column Grid ──────────────────────────────────────────────── */

.app-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.metric-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 11px 13px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card-dark {
  background: #111A28;
  border: 1px solid rgba(255,255,255,0.08);
  color: #FFFFFF;
}

.metric-header {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  color: #8E8E93;
  letter-spacing: 0.3px;
}

.metric-val {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-top: 1px;
  color: #142845;
}

.card-dark .metric-val {
  color: #FFFFFF;
}

.metric-sub {
  font-size: 9px;
  color: #8E8E93;
}

.score-card {
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
}

.score-gauge {
  width: 30px;
  height: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gauge-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(0,0,0,0.08);
  stroke-width: 3.5;
}

.gauge-val-green {
  fill: none;
  stroke: #0F6E56;
  stroke-width: 3.8;
  stroke-linecap: round;
}

.gauge-val-navy {
  fill: none;
  stroke: #142845;
  stroke-width: 3.8;
  stroke-linecap: round;
}

.gauge-num {
  position: absolute;
  font-size: 10.5px;
  font-weight: 800;
  color: #0F6E56;
}

.score-text {
  display: flex;
  flex-direction: column;
}

.score-label {
  font-size: 8.5px;
  font-weight: 700;
  color: #8E8E93;
}

.score-status {
  font-size: 12.5px;
  font-weight: 800;
  color: #0F6E56;
}

.chevron-right {
  margin-left: auto;
  font-size: 13px;
  color: #C7C7CC;
  font-weight: 600;
}

/* ── Activity & Section Headers ─────────────────────────────────────────── */

.app-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #8E8E93;
  margin: 12px 0 5px;
  text-transform: uppercase;
}

.section-link {
  font-size: 9.5px;
  font-weight: 700;
  color: #142845;
  text-decoration: none;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #FFFFFF;
  border-radius: 13px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.activity-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.icon-dark-plus { background: #374151; color: #FFFFFF; font-size: 15px; }
.icon-service { background: #B45309; }
.icon-fuel { background: #1D4ED8; }

.activity-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-title {
  font-size: 12px;
  font-weight: 700;
  color: #142845;
}

.activity-meta {
  font-size: 9.5px;
  color: #8E8E93;
}

.activity-cost {
  font-size: 12.5px;
  font-weight: 700;
  color: #142845;
}

.activity-edit-box {
  margin-left: 2px;
  color: #9CA3AF;
  display: flex;
  align-items: center;
}

/* ── Bills ───────────────────────────────────────────────────────────────── */

.bill-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 12px;
  margin-bottom: 5px;
}

.banner-red {
  background: #FEE2E2;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.banner-amber {
  background: #FEF3C7;
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #DC2626;
  flex-shrink: 0;
}

.dot-amber {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D97706;
  flex-shrink: 0;
}

.bill-text {
  display: flex;
  flex-direction: column;
}

.bill-title {
  font-size: 11px;
  font-weight: 700;
  color: #991B1B;
}

.banner-amber .bill-title {
  color: #92400E;
}

.bill-meta {
  font-size: 9px;
  color: #B91C1C;
}

.banner-amber .bill-meta {
  color: #B45309;
}

.btn-mark-paid {
  margin-left: auto;
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 9.5px;
  font-weight: 700;
  cursor: pointer;
}

.paid-red {
  background: #991B1B;
  color: #FFFFFF;
}

.paid-navy {
  background: #142845;
  color: #FFFFFF;
}

/* ── Insights Screen Specifics ──────────────────────────────────────────── */

.insights-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.nav-back {
  font-size: 12.5px;
  font-weight: 700;
  color: #142845;
}

.nav-title {
  font-size: 15px;
  font-weight: 800;
  color: #142845;
  margin-right: auto;
  margin-left: 14px;
}

.insights-card-navy {
  flex-direction: column;
  gap: 2px;
}

.insights-card-header {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.daily-cost-amt {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.daily-cost-amt .unit {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
}

.daily-cost-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
}

.insights-score-box {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.score-left-gauge {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gauge-circle-lg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-lg-num {
  position: absolute;
  font-size: 13px;
  font-weight: 800;
  color: #142845;
}

.score-right-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.score-eyebrow {
  font-size: 8.5px;
  font-weight: 700;
  color: #8E8E93;
  letter-spacing: 0.3px;
}

.score-big-title {
  font-size: 13px;
  font-weight: 800;
  color: #142845;
  margin: 1px 0;
}

.score-detail {
  font-size: 9px;
  color: #8E8E93;
  line-height: 1.3;
}

.savings-row {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 9px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.savings-green {
  color: #0F6E56;
  font-weight: 800;
}

.recommendation-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.rec-badge {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #E6F4EA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rec-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0F6E56;
}

.rec-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rec-title {
  font-size: 11.5px;
  font-weight: 800;
  color: #142845;
}

.rec-desc {
  font-size: 9.5px;
  color: #8E8E93;
  line-height: 1.35;
  margin-top: 1px;
}

/* ── Statistics Screen Specifics ────────────────────────────────────────── */

.stats-header-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #142845;
  margin-bottom: 6px;
}

.period-filter {
  display: flex;
  gap: 3px;
  background: rgba(0,0,0,0.04);
  padding: 2.5px;
  border-radius: 9px;
  margin-bottom: 8px;
}

.filter-pill {
  flex: 1;
  text-align: center;
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 600;
  color: #8E8E93;
  border-radius: 6px;
}

.filter-pill.is-active {
  background: #142845;
  color: #FFFFFF;
  font-weight: 700;
}

.stats-quad-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #FFFFFF;
  border-radius: 14px;
  padding: 7px 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-bottom: 8px;
}

.quad-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(0,0,0,0.06);
}

.quad-col:last-child {
  border-right: none;
}

.quad-label {
  font-size: 8px;
  font-weight: 700;
  color: #8E8E93;
}

.quad-val {
  font-size: 11.5px;
  font-weight: 800;
  color: #142845;
  margin-top: 2px;
}

.quad-gauge-wrap {
  margin-top: 1px;
}

.quad-gauge-val {
  font-size: 10px;
  font-weight: 800;
  color: #0F6E56;
  border: 1.5px solid #0F6E56;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.budget-table-card {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 9px 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.table-header-row,
.table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  padding: 4px 0;
  font-size: 10.5px;
}

.table-header-row {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 8.5px;
  font-weight: 700;
  color: #8E8E93;
  padding-bottom: 3px;
}

.td-cat { font-weight: 600; color: #142845; }
.th-est, .td-est { text-align: right; color: #6B7280; }
.th-act, .td-act { text-align: right; font-weight: 700; }

.text-red { color: #DC2626; }
.text-green { color: #0F6E56; }

.td-pill-empty {
  display: inline-block;
  width: 20px;
  height: 9px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  margin-left: auto;
}

.table-tracker-foot {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.tracker-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
}

.tracker-numbers {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 2px 0 4px;
}

.track-left .bold-val {
  font-size: 15px;
  font-weight: 800;
  color: #142845;
}

.track-right .bold-val-strike {
  font-size: 13px;
  font-weight: 700;
  color: #8E8E93;
  text-decoration: line-through;
}

.sub-val {
  display: block;
  font-size: 8px;
  color: #8E8E93;
}

.tracker-bar {
  height: 4px;
  border-radius: 2px;
  background: #E5E7EB;
  overflow: hidden;
}

.tracker-fill-red {
  width: 100%;
  height: 100%;
  background: #DC2626;
}

.outlook-segmented-row {
  display: flex;
  gap: 3px;
  margin: 10px 0 6px;
}

.seg-pill {
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.04);
  color: #8E8E93;
}

.seg-pill.is-active {
  background: #142845;
  color: #FFFFFF;
  font-weight: 700;
}

.outlook-chart-card {
  background: #FFFFFF;
  border-radius: 13px;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.chart-head {
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  color: #8E8E93;
  margin-bottom: 2px;
}

.chart-sub-note {
  font-size: 7.5px;
  color: #9CA3AF;
}

.chart-peak-val {
  font-size: 11.5px;
  color: #142845;
  font-weight: 800;
  text-align: right;
  margin-bottom: 2px;
}

.outlook-svg {
  width: 100%;
  height: 36px;
}

/* ── Garage Modal Sheet Specifics (Blurred Backdrop) ─────────────────────── */

.app-garage-screen {
  position: absolute;
  inset: 42px 0 60px 0;
  padding: 0;
  overflow: hidden;
}

.garage-bg-blurred {
  padding: 4px 12px 14px;
  filter: blur(4.5px);
  -webkit-filter: blur(4.5px);
  opacity: 0.5;
  transform: scale(0.98);
  pointer-events: none;
  user-select: none;
}

.garage-scrim-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  pointer-events: none;
}

.theme-dark .garage-scrim-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.garage-modal-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 24px 24px 0 0;
  padding: 12px 14px 16px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.theme-dark .garage-modal-sheet {
  background: #111A28;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  color: #FFFFFF;
}

.sheet-handle {
  width: 32px;
  height: 3.5px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 auto 10px;
}

.theme-dark .sheet-handle {
  background: rgba(255, 255, 255, 0.25);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sheet-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #142845;
}

.theme-dark .sheet-title {
  color: #FFFFFF;
}

.sheet-sub {
  font-size: 10.5px;
  color: #8E8E93;
}

.sheet-close-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #6B7280;
}

.theme-dark .sheet-close-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.vehicle-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 13px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #FFFFFF;
}

.theme-dark .vehicle-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.vehicle-card.is-selected {
  border: 2px solid #142845;
  background: #F7F5F0;
}

.theme-dark .vehicle-card.is-selected {
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
}

.car-emblem-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-dark .car-emblem-circle {
  background: rgba(255, 255, 255, 0.08);
}

.car-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #142845;
}

.theme-dark .car-name {
  color: #FFFFFF;
}

.car-spec {
  font-size: 9.5px;
  color: #8E8E93;
}

.car-check {
  font-size: 13px;
  font-weight: 800;
  color: #142845;
}

.theme-dark .car-check {
  color: #38BDF8;
}

.car-edit-btn {
  margin-left: 2px;
  color: #9CA3AF;
  display: flex;
  align-items: center;
}

.btn-add-vehicle {
  width: 100%;
  margin-top: 12px;
  border: none;
  background: #F3F0E8;
  border-radius: 12px;
  padding: 10px 0;
  font-size: 12px;
  font-weight: 700;
  color: #142845;
  cursor: pointer;
}

.theme-dark .btn-add-vehicle {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* INTERACTIVE FEATURE SHOWCASE ("WHAT DOES DRIVEBUDGET INCLUDE?")           */
/* ══════════════════════════════════════════════════════════════════════════ */

.showcase-section {
  position: relative;
}

.showcase-grid {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.showcase-stage {
  order: 1; /* Visual comes FIRST on mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.showcase-list {
  order: 2; /* Text / cards come below visual on mobile */
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 540px;
}

@media (min-width: 960px) {
  .showcase-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    margin-top: 52px;
    align-items: center;
  }

  .showcase-list {
    order: 1;
    max-width: none;
  }

  .showcase-stage {
    order: 2;
  }
}

.showcase-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 26px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  position: relative;
  user-select: none;
}

.showcase-card:hover {
  transform: translateX(4px);
  border-color: rgba(20, 40, 69, 0.3);
  box-shadow: var(--shadow-card);
}

.showcase-card.is-active {
  border-color: var(--navy);
  background: #FFFFFF;
  box-shadow: var(--shadow-card-active);
  transform: translateX(8px);
}

.showcase-card.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  background: var(--navy);
  border-radius: 0 4px 4px 0;
}

.showcase-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-blue { background: #EFF6FF; color: #2563EB; }
.icon-emerald { background: #ECFDF5; color: #059669; }
.icon-navy { background: #E0E7FF; color: #142845; }
.icon-purple { background: #F5F3FF; color: #7C3AED; }
.icon-amber { background: #FEF3C7; color: #D97706; }

.showcase-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.showcase-card-title {
  margin: 0;
  font-size: 18.5px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
}

.showcase-card-desc {
  margin: 5px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4B5563;
  color: var(--muted);
}

.showcase-card-arrow {
  font-size: 18px;
  font-weight: 700;
  color: #9CA3AF;
  align-self: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.showcase-card.is-active .showcase-card-arrow {
  color: var(--navy);
  transform: translateX(3px);
}

/* ── Central Showcase Phone Stage ────────────────────────────────────────── */

.showcase-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-phone-wrapper {
  position: relative;
  width: 334px;
  height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: center;
}

.showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
  z-index: 5;
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot-btn:hover {
  background: #94A3B8;
  transform: scale(1.15);
}

.dot-btn.is-active {
  background: var(--navy);
  width: 26px;
  border-radius: 6px;
}

/* ── Sections Common ─────────────────────────────────────────────────────── */

section {
  position: relative;
}

.section-pad {
  padding: 64px 0;
}

@media (min-width: 1024px) {
  .section-pad {
    padding: 92px 0;
  }
}

.section-eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.section-heading {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--navy);
  max-width: 600px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 38px;
  }
}

.section-body {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.section-body.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  border-top: 1px solid var(--border);
}

.bg-alt {
  background: var(--surface-alt);
}

.bg-navy {
  background: var(--navy-900);
  color: #fff;
}

/* ── Problem Strip ──────────────────────────────────────────────────────── */

.problem-grid {
  margin-top: 48px;
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13, 28, 49, 0.1);
}

.problem-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.problem-card.highlight {
  border: 2px solid var(--navy);
  background: #FFFFFF;
}

.highlight-badge {
  color: var(--navy);
  font-weight: 800;
}

.problem-card .stat {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.problem-card p {
  margin: 10px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Dark Mode / Currency Strip ────────────────────────────────────────── */

.dark-strip-grid {
  margin-top: 52px;
  display: grid;
  gap: 36px;
}

@media (min-width: 768px) {
  .dark-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

.dark-strip-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
}

.dark-strip-card .device-phone {
  margin-bottom: 0;
}

.dark-strip-card .device-phone + h3 {
  margin-top: 24px;
}

.dark-strip-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.dark-strip-card p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}

/* ── FAQ Accordion Section (Cal AI Inspired Animation) ──────────────────── */

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(20, 40, 69, 0.25);
  box-shadow: var(--shadow-card);
}

.faq-item[open] {
  border-color: var(--navy);
  box-shadow: var(--shadow-card);
}

.faq-summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
}

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

.faq-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  transition: transform 0.25s ease;
  line-height: 1;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  animation: faqFade 0.25s ease-out;
}

.faq-answer p {
  margin: 0;
}

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

/* ── Final CTA ──────────────────────────────────────────────────────────── */

.final-cta {
  text-align: center;
}

.final-cta .brand-mark {
  margin: 0 auto;
}

.final-cta h2 {
  margin: 20px auto 0;
}

.final-cta p {
  margin: 12px auto 0;
}

.final-cta .store-badges {
  justify-content: center;
  margin: 28px auto 0;
}

.trust-row {
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--muted);
  max-width: 580px;
  list-style: none;
  padding: 0;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  margin-top: auto;
  background: var(--navy-900);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.footer-blurb {
  margin-top: 12px;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.footer-cols {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 640px) {
  .footer-cols {
    flex-direction: row;
    gap: 64px;
  }
}

.footer-col h2 {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

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

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── Legal Pages ────────────────────────────────────────────────────────── */

.legal-header {
  border-bottom: 1px solid var(--border);
}

.legal-header .container-narrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.legal-back {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-article {
  padding: 56px 0 80px;
}

.legal-article h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--navy);
  margin: 0;
}

@media (min-width: 640px) {
  .legal-article h1 {
    font-size: 38px;
  }
}

.legal-updated {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.legal-notice {
  margin: 28px 0 0;
  border: 1.5px dashed var(--amber);
  background: var(--amber-soft);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--navy);
}

.legal-notice strong {
  display: block;
  margin-bottom: 4px;
}

.legal-body {
  margin-top: 40px;
}

.legal-body h2 {
  margin: 40px 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-body p {
  margin: 0 0 16px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14.5px;
}

.legal-body th,
.legal-body td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.legal-body th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--navy);
}

.legal-body td {
  color: var(--muted);
}

/* ── Category Breakdown Card & Donut Ring (Screenshot Matching) ──────────── */

.category-breakdown-card {
  background: #FFFFFF;
  border-radius: 15px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-top: 4px;
}

.breakdown-donut-wrap {
  position: relative;
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

.donut-num {
  font-size: 13px;
  font-weight: 800;
  color: #142845;
}

.donut-sub {
  font-size: 8px;
  font-weight: 600;
  color: #8E8E93;
  margin-top: 1px;
}

.breakdown-legend {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  margin-left: 12px;
}

.legend-row {
  display: flex;
  align-items: center;
  font-size: 11px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.dot-blue { background: #2563eb; }
.dot-purple { background: #7c3aed; }
.dot-emerald { background: #059669; }
.dot-gold { background: #d97706; }
.dot-grey { background: #6b7280; }

.legend-label {
  font-weight: 600;
  color: #4B5563;
}

.legend-amount {
  margin-left: auto;
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.breakdown-hint-note {
  margin-top: 6px;
  text-align: center;
  font-size: 7.5px;
  color: #9CA3AF;
  font-weight: 500;
}

.faq-answer ul,
.faq-answer ol {
  margin: 10px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.faq-answer li {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ── Mobile Responsive Polish (Visual First & Scale Fitting) ─────────────── */

@media (max-width: 480px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .store-badges {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
    gap: 12px;
  }

  .device-phone {
    transform: scale(0.93);
    transform-origin: top center;
    margin-bottom: -45px;
  }

  .device-phone.is-tilted {
    transform: scale(0.93) rotate(-1.5deg);
  }

  .device-phone.is-tilted:hover {
    transform: scale(0.93) rotate(0deg);
  }

  .showcase-phone-wrapper {
    height: 675px;
  }

  .showcase-card {
    padding: 16px 18px;
  }

  .showcase-card-title {
    font-size: 16.5px;
  }

  .showcase-card-desc {
    font-size: 14px;
  }
}

@media (max-width: 365px) {
  .device-phone {
    transform: scale(0.84);
    transform-origin: top center;
    margin-bottom: -110px;
  }

  .showcase-phone-wrapper {
    height: 610px;
  }
}

/* ── Smooth Touch Swipe Optimization ─────────────────────────────────────── */

.showcase-stage,
.showcase-phone-wrapper,
.showcase-slide {
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}

.showcase-stage:active {
  cursor: grabbing;
}

/* ── Realistic iPhone Hardware Buttons (2 Volume Left, 1 Power Right) ────── */

.device-phone::before {
  content: "";
  position: absolute;
  left: -2.5px;
  top: 130px;
  width: 2.5px;
  height: 38px; /* Volume Up */
  background: #18283e;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 48px 0 0 #18283e; /* Volume Down */
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-right: none;
  z-index: 2;
}

.device-phone::after {
  content: "";
  position: absolute;
  right: -2.5px;
  top: 145px;
  width: 2.5px;
  height: 56px; /* Power On/Off */
  background: #18283e;
  border-radius: 0 2px 2px 0;
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  border-left: none;
  z-index: 2;
}

.device-phone.is-large::before {
  top: 138px;
  height: 40px;
  box-shadow: 0 52px 0 0 #18283e;
}

.device-phone.is-large::after {
  top: 154px;
  height: 60px;
}
