/* DiversionIQ 2026 redesign — marketing site design system.
   Fonts: Fira Sans (display), Roboto (body), Roboto Mono (flight data). */

:root {
  --blue: #225ef0;
  --blue-dark: #1846b8;
  --blue-soft: #e8effe;
  --blue-on-dark: #8eb0ff;
  --blue-line: #5b8cff;
  --ink: #0b1222;
  --navy: #000611;
  --navy-2: #0c1730;
  --navy-line: #1f2c47;
  --text: #0b1222;
  --text-2: #3a4458;
  --muted: #4a5466;
  --muted-2: #5a6478;
  --on-dark: #c4cddc;
  --on-dark-2: #a9b4c8;
  --ground: #ffffff;
  --ground-alt: #edf1f7;
  --line: #e2e7ef;
  --field: #cbd3df;
  --amber: #f59e0b;
  --green-bg: #dcfce7;
  --green-fg: #166534;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 14px 40px rgba(11, 18, 34, .10);
  --font-display: 'Fira Sans', Roboto, system-ui, sans-serif;
  --font-body: Roboto, system-ui, sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, monospace;
}

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }

/* ---------- Type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.kicker::before { content: ''; width: 32px; height: 2px; background: currentColor; }
.kicker.center::after { content: ''; width: 32px; height: 2px; background: currentColor; }
.on-dark .kicker, .kicker.light { color: var(--blue-on-dark); }

.h1, .h2, .h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.005em; }
.h1 { font-weight: 800; font-size: clamp(2.25rem, 4.6vw, 3.75rem); line-height: 1.08; }
.h2 { font-weight: 800; font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.15; }
.h3 { font-weight: 700; font-size: 1.375rem; line-height: 1.3; }
.lede { margin: 0; font-size: 19px; color: var(--muted); }
.on-dark .lede { color: var(--on-dark); }
.accent { color: var(--blue-line); }
.muted { color: var(--muted); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.section-head { display: flex; flex-direction: column; gap: 16px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; }
.section-head.split > * { flex: 1 1 380px; }
.section-head.split > .lede { flex-basis: 340px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2740; color: #fff; }
.btn-white { background: #fff; color: var(--blue-dark); }
.btn-white:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn-outline-light { border-color: #3a4a6b; color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-outline-white { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; color: #fff; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn svg { flex: none; }

/* ---------- Nav ---------- */
.site-nav { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-nav .wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; }
.site-nav .logo { display: flex; align-items: center; }
.site-nav .logo img { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 30px 0 27px; border-bottom: 3px solid transparent; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .signin { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 14px; }
.nav-actions .signin:hover { color: var(--blue); }
.nav-actions .btn { min-height: 46px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; width: 46px; height: 46px; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; padding: 12px 24px 24px; flex-direction: column; gap: 4px; }
.mobile-menu a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a.active { color: var(--blue); }
.mobile-menu .btn { margin-top: 12px; border-bottom: 0; }
.mobile-menu.open { display: flex; }

@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-sm { padding: 80px 0; }
.section-alt { background: var(--ground-alt); }
.section-dark, .grid-bg { background-color: var(--navy); color: #fff; }
/* The old square grid is retired; .grid-bg now draws the curve photo in case a page still uses it */
.grid-bg {
  background-size: cover; background-repeat: no-repeat; background-position: 70% center;
  background-image: linear-gradient(90deg, rgba(0,6,17,.72) 0%, rgba(0,6,17,.30) 75%), url('/static/v2/img/auth-curve.jpg');
}
/* Photo backgrounds for dark bands and auth panels (navy tint keeps text readable).
   Navy tint keeps white text readable; plain url() first for browsers without image-set(). */
.photo-bg { background-color: var(--navy); color: #fff; background-size: cover; background-repeat: no-repeat; }
.photo-curve {
  background-position: 70% center;
  background-image: linear-gradient(90deg, rgba(0,6,17,.72) 0%, rgba(0,6,17,.30) 75%), url('/static/v2/img/auth-curve.jpg');
  background-image: linear-gradient(90deg, rgba(0,6,17,.72) 0%, rgba(0,6,17,.30) 75%), image-set(url('/static/v2/img/auth-curve.webp') type('image/webp'), url('/static/v2/img/auth-curve.jpg') type('image/jpeg'));
}
.photo-bubbles {
  background-position: center;
  background-image: linear-gradient(rgba(0,6,17,.62), rgba(0,6,17,.62)), url('/static/v2/img/auth-bubbles.jpg');
  background-image: linear-gradient(rgba(0,6,17,.62), rgba(0,6,17,.62)), image-set(url('/static/v2/img/auth-bubbles.webp') type('image/webp'), url('/static/v2/img/auth-bubbles.jpg') type('image/jpeg'));
}
@media (max-width: 800px) {
  .photo-curve {
    background-image: linear-gradient(90deg, rgba(0,6,17,.72) 0%, rgba(0,6,17,.30) 75%), url('/static/v2/img/auth-curve-sm.jpg');
    background-image: linear-gradient(90deg, rgba(0,6,17,.72) 0%, rgba(0,6,17,.30) 75%), image-set(url('/static/v2/img/auth-curve-sm.webp') type('image/webp'), url('/static/v2/img/auth-curve-sm.jpg') type('image/jpeg'));
  }
  .photo-bubbles {
    background-image: linear-gradient(rgba(0,6,17,.62), rgba(0,6,17,.62)), url('/static/v2/img/auth-bubbles-sm.jpg');
    background-image: linear-gradient(rgba(0,6,17,.62), rgba(0,6,17,.62)), image-set(url('/static/v2/img/auth-bubbles-sm.webp') type('image/webp'), url('/static/v2/img/auth-bubbles-sm.jpg') type('image/jpeg'));
  }
}

.hero { padding: 96px 0 150px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-side { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .subtle-link { color: var(--on-dark-2); font-size: 15px; }
.hero .subtle-link:hover { color: #fff; }

.page-hero { padding: 88px 0 96px; }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero.center .wrap { align-items: center; text-align: center; }
.page-hero .lede { max-width: 640px; }
.crumbs { font-size: 15px; color: var(--on-dark-2); }
.crumbs a { color: var(--on-dark-2); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; }

.split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.split > * { flex: 1 1 460px; min-width: 0; }
.split.reverse { flex-wrap: wrap-reverse; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-tight { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 30px; display: flex; flex-direction: column; gap: 16px; color: var(--text); text-decoration: none; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .more { margin-top: auto; color: var(--blue); font-weight: 600; font-size: 15px; }
.lift { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--text); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.card-num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--line); }

.icon-tile { width: 60px; height: 60px; border-radius: 12px; background: var(--ground-alt); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-tile.round { border-radius: 50%; background: var(--blue); color: #fff; }
.icon-tile.dark { background: var(--navy); color: var(--blue-on-dark); }
.icon-tile.sm { width: 52px; height: 52px; }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.check-list li::before {
  content: ''; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; }
.check-list.compact li::before { width: 22px; height: 22px; background-size: 12px; }

/* ---------- Stats band ---------- */
.stats-band { margin-top: -84px; position: relative; }
.stats-band .bar { background: var(--blue); color: #fff; border-radius: var(--radius); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); box-shadow: 0 20px 50px rgba(34,94,240,.30); }
.stats-band .stat { padding: 34px 32px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid rgba(255,255,255,.18); }
.stats-band .stat:last-child { border-right: 0; }
.stats-band .v { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1.1; }
.stats-band .l { color: #e1e9fd; font-size: 16px; }

/* ---------- Live feed card ---------- */
.feed { width: 100%; max-width: 500px; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.45); overflow: hidden; }
.feed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.feed-head strong { font-family: var(--font-display); font-size: 17px; display: block; }
.feed-head small { font-size: 13px; color: var(--muted-2); }
.feed-row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid #eef1f6; }
.feed-row .t { flex: none; width: 46px; font-family: var(--font-mono); font-size: 13px; color: var(--muted-2); }
.feed-row .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.feed-row .cs { font-family: var(--font-mono); font-weight: 600; font-size: 15px; }
.feed-row .sub { font-size: 13px; color: var(--muted-2); }
.feed-row .route { font-size: 14px; color: var(--text-2); }
.feed-row .was { text-decoration: line-through; color: var(--muted-2); }
.feed-foot { display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: #f5f7fb; font-size: 14px; color: var(--text-2); }
.feed-empty { padding: 28px 22px; color: var(--muted); font-size: 15px; }

.pill { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 6px; white-space: nowrap; }
.pill-track { background: var(--blue-soft); color: var(--blue-dark); }
.pill-landed { background: var(--green-bg); color: var(--green-fg); }
.pill-final { background: #fef3c7; color: #92400e; }
.pill-muted { background: #f1f3f7; color: var(--text-2); }

/* ---------- Dark demo panels ---------- */
.panel-dark { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.panel-dark .meta { color: var(--on-dark-2); font-size: 14px; }
.tiles-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--navy-2); border-radius: 10px; padding: 16px; }
.tile .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.tile .l { color: var(--on-dark-2); font-size: 14px; }
.route-bar { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.route-bar .track { flex: 1; height: 4px; background: #1a2438; border-radius: 2px; }
.route-bar .track span { display: block; height: 4px; background: var(--blue-line); border-radius: 2px; }
.badge-final { background: var(--amber); color: #1a1203; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 6px; letter-spacing: .04em; }
.badge-landed { background: var(--green-bg); color: var(--green-fg); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 6px; letter-spacing: .04em; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 64px 20px 1fr; gap: 12px; }
.timeline .t { font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-2); padding-top: 1px; }
.timeline .rail { display: flex; flex-direction: column; align-items: center; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue-line); margin-top: 4px; flex: none; }
.timeline li:last-child .dot { background: #4ade80; }
.timeline .rail::after { content: ''; flex: 1; width: 2px; background: var(--navy-line); margin: 4px 0; }
.timeline li:last-child .rail::after { display: none; }
.timeline .body { display: flex; flex-direction: column; padding-bottom: 18px; }
.timeline .body span { color: var(--on-dark-2); font-size: 14px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--navy-line); padding-top: 26px; }
.step .n { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--blue-line); }
.step p { margin: 0; color: var(--on-dark-2); font-size: 16px; }

.vsteps { max-width: 1000px; margin: 0 auto; }
.vstep { display: flex; gap: 32px; }
.vstep .rail { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; }
.vstep .num { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 26px; box-shadow: 0 0 0 8px var(--blue-soft); }
.vstep .rail::after { content: ''; flex: 1; width: 2px; background: #cbd8f5; margin: 8px 0; }
.vstep:last-child .rail::after { display: none; }
.vstep .content { flex: 1; min-width: 0; padding: 10px 0 64px; display: flex; flex-direction: column; gap: 12px; }
.vstep .content p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; border-radius: var(--radius-lg); padding: 64px 56px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band > div:first-child { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.cta-band p { margin: 0; color: #e1e9fd; font-size: 18px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Pricing ---------- */
.price-grid { margin-top: -140px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: stretch; }
.price-card { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(11,18,34,.08); border-radius: 14px; padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.price-card.featured { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 24px 60px rgba(34,94,240,.35); }
.price-card .tag { align-self: flex-start; background: #fff; color: var(--blue-dark); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.price-card .for, .price-card .per { margin: 0; font-size: 15px; color: var(--muted); }
.price-card.featured .for, .price-card.featured .per { color: #e1e9fd; }
.price-card .amount { display: flex; align-items: baseline; gap: 4px; }
.price-card .amount strong { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; }
.price-card .btn { margin-top: 6px; }
.price-card .rule { height: 1px; background: var(--line); margin: 10px 0 4px; }
.price-card.featured .rule { background: rgba(255,255,255,.25); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li svg { flex: none; margin-top: 3px; }
.price-card li.off { color: #6b7486; text-decoration: line-through; }
.price-card.featured li.off { color: #c9d7fb; }

.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { background: var(--ground-alt); font-family: var(--font-display); font-weight: 700; }
.cmp thead th.hl { background: var(--blue); color: #fff; }
.cmp td.hl { background: #f3f6fe; }
.cmp tbody th { font-weight: 500; }
.cmp .yes { color: var(--blue); font-weight: 700; font-size: 18px; }
.cmp .no { color: #8a93a6; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ground-alt); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; background: var(--blue); color: #fff; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 16px; }

/* ---------- Forms ---------- */
.form-panel { background: var(--ground-alt); border-radius: var(--radius-lg); padding: 48px; display: flex; flex-direction: column; gap: 22px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 15px; }
.input { width: 100%; border: 1px solid var(--field); border-radius: 8px; padding: 13px 16px; font: inherit; font-size: 16px; color: var(--text); background: #fff; min-height: 50px; }
.input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea.input { resize: vertical; min-height: 140px; }
.form-msg { padding: 14px 16px; border-radius: 8px; font-size: 15px; display: none; }
.form-msg.ok { display: block; background: var(--green-bg); color: var(--green-fg); }
.form-msg.err { display: block; background: #fee2e2; color: #991b1b; }

/* ---------- Legal ---------- */
.legal { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.toc { flex: 1 1 260px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 2px; }
.toc .label { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.toc a { color: var(--text); text-decoration: none; font-size: 15px; padding: 6px 0; }
.toc a:hover { color: var(--blue); }
.prose { flex: 999 1 600px; min-width: 0; max-width: 780px; }
.prose h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; margin: 40px 0 12px; padding-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 22px; }
.legal-tabs { display: flex; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.legal-tabs a { font-family: var(--font-display); font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 8px 8px 0 0; text-decoration: none; background: var(--navy-2); color: var(--on-dark); min-height: 48px; }
.legal-tabs a[aria-current="page"] { background: #fff; color: var(--ink); }
.page-hero.tabs { padding-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-dark-2); font-size: 15px; line-height: 1.7; }
.site-footer .cols { padding: 72px 24px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.site-footer .brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer .brand img { height: 30px; width: auto; align-self: flex-start; }
.site-footer .brand p { margin: 0; max-width: 300px; }
.site-footer h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .bottom { border-top: 1px solid #1a2438; }
.site-footer .bottom .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 14px; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 132px; }
  .page-hero { padding: 64px 0 72px; }
  .cta-band { padding: 40px 28px; }
  .form-panel { padding: 28px 22px; }
  .stats-band .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 24px; }
  .stats-band .stat:last-child { border-bottom: 0; }
  .tiles-3 { grid-template-columns: 1fr; }
  .vstep { gap: 18px; }
  .vstep .rail, .vstep .num { width: 52px; }
  .vstep .num { height: 52px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .lift, .btn { transition: none; }
  .lift:hover { transform: none; }
}
