/* ============================================================================
   SlydeBuy — Marketing Site Design System
   ----------------------------------------------------------------------------
   Flagship "teal / graphite / white" brand look. Single, centralized source of
   truth: token-driven CSS custom properties + self-hosted display typography.

   Typography:
     • Headings / wordmark-adjacent UI  -> "Space Grotesk" (geometric, bold,
       plenty of personality). Self-hosted woff2, NO external CDN.
     • Body copy                         -> "Inter" (clean, highly legible).
   Palette:
     • teal   #00c9b1  (energetic accent, CTAs)
     • graphite #1a1e2e (ink + dark feature sections)
     • white / very light gray surfaces
   ========================================================================== */

/* ---------------------------------------------------------------------------
   0. SELF-HOSTED FONTS  (woff2 in assets/fonts/)
   --------------------------------------------------------------------------- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/space-grotesk-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/inter-700.woff2") format("woff2");
}

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------------- */
:root {
  /* Brand core colors */
  --color-teal: #00c9b1;
  --color-teal-deep: #009e8e;
  --color-teal-deeper: #00857a;
  --color-teal-soft: rgba(0, 201, 177, 0.10);
  --color-teal-glow: rgba(0, 201, 177, 0.18);

  --color-graphite: #1a1e2e;
  --color-graphite-2: #232838;
  --color-ink: #333a45;
  --color-muted: #5a6472;

  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f9fa;
  --color-bg-mint: #eef8f6;      /* faint teal-tinted surface */
  --color-line: #e4e9ee;

  /* Legacy aliases (kept so any inline var() references still resolve) */
  --navy: var(--color-graphite);
  --navy-2: var(--color-bg-alt);
  --navy-3: #eef2f5;
  --teal: var(--color-teal);
  --teal-dark: var(--color-teal-deep);
  --teal-soft: var(--color-teal-soft);
  --text: var(--color-ink);
  --text-dim: var(--color-muted);
  --line: var(--color-line);
  --ink: var(--color-graphite);
  --white: var(--color-white);

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;    --space-8: 4rem;
  --space-9: 5.5rem;

  /* Radius */
  --radius-sm: 8px; --radius: 14px; --radius-lg: 22px; --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 30, 46, 0.06);
  --shadow: 0 8px 24px rgba(26, 30, 46, 0.09);
  --shadow-md: 0 16px 40px rgba(26, 30, 46, 0.12);
  --shadow-lg: 0 30px 70px rgba(26, 30, 46, 0.22);
  --shadow-header: 0 2px 16px rgba(26, 30, 46, 0.09);

  --container: 1160px;
}

/* ---------------------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--color-teal-deep); text-decoration: none; }
a:hover { color: var(--color-teal-deeper); text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-graphite);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: 1.24rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1rem; }
strong { font-weight: 600; color: var(--color-ink); }

:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------------
   3. LAYOUT HELPERS  (varied, intentional rhythm — not uniform everywhere)
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--space-9) 0; }
.section-tight { padding: var(--space-7) 0; }
.section-lg { padding: calc(var(--space-9) + 1.5rem) 0; }
.section-flush-top { padding-top: 0; }
.bg-alt { background: var(--color-bg-alt); }
.bg-mint { background: var(--color-bg-mint); }

.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.muted { color: var(--color-muted); }

/* Section heading cluster */
.section-head { max-width: 680px; margin: 0 auto var(--space-7); }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.1rem; color: var(--color-muted); margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
  margin-bottom: 0.7rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-teal-soft);
  color: var(--color-teal-deeper);
  border: 1px solid rgba(0, 201, 177, 0.28);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}
.badge svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------------------
   4. BUTTONS
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
    transform .12s ease, box-shadow .18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--color-teal);
  color: #0f1119;
  box-shadow: 0 8px 20px rgba(0, 201, 177, 0.32);
}
.btn-primary:hover {
  background: var(--color-teal-deep);
  color: #0f1119;
  box-shadow: 0 12px 26px rgba(0, 201, 177, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--color-graphite);
  border-color: #cfd8dd;
}
.btn-ghost:hover {
  border-color: var(--color-teal);
  color: var(--color-teal-deeper);
  background: var(--color-teal-soft);
}

.btn-lg { font-size: 1.05rem; padding: 1rem 1.8rem; }

/* ---------------------------------------------------------------------------
   5. UTILITY / ANNOUNCEMENT BAR
   --------------------------------------------------------------------------- */
.utility-bar {
  background: var(--color-graphite);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 40px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  flex-wrap: wrap;
}
.utility-msg { display: inline-flex; align-items: center; gap: 0.5rem; }
.utility-msg svg { width: 15px; height: 15px; color: var(--color-teal); }
.utility-msg strong { color: #fff; font-weight: 600; }
.utility-link {
  color: var(--color-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.utility-link:hover { color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------------------
   6. SITE HEADER / NAV
   --------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow-header);
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; }
.brand:hover { text-decoration: none; }

/* Header wordmark — 6.88:1 aspect preserved (34h -> ~234w). Never clipped. */
.brand-logo { height: 34px; width: auto; display: block; }

nav[aria-label="Primary"] { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.97rem;
}
.nav-links a:hover { color: var(--color-teal-deeper); text-decoration: none; }
.nav-links .nav-cta a { color: #0f1119; }
.nav-links .nav-cta a:hover { color: #0f1119; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--color-graphite);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------------------------------------------------------------------------
   7. HERO  (focused; product visual on the right)
   --------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: var(--space-8) 0 var(--space-9);
  background:
    radial-gradient(1200px 520px at 88% -8%, var(--color-teal-glow), transparent 58%),
    radial-gradient(760px 420px at -5% 8%, rgba(0, 201, 177, 0.08), transparent 55%),
    var(--color-bg);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 3.5rem;
}
.hero-copy { min-width: 0; }
.hero h1 { margin-top: 0.7rem; }

.tagline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-teal-deep);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.lead {
  font-size: 1.19rem;
  color: var(--color-muted);
  max-width: 560px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.7rem 0 1.1rem; }
.hero-note { font-size: 0.95rem; color: var(--color-muted); }

/* Small inline reassurance row under hero CTA */
.hero-reassure {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  margin-top: 0.6rem; padding: 0; list-style: none;
}
.hero-reassure li {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.92rem; color: var(--color-muted);
}
.hero-reassure svg { width: 17px; height: 17px; color: var(--color-teal-deep); flex: none; }

.hero-art { display: flex; justify-content: center; align-items: center; }

/* ---------------------------------------------------------------------------
   8. CSS PHONE MOCKUP  (honest representation of the SlydeBuy app UI)
   --------------------------------------------------------------------------- */
.phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  background: #0f1119;
  border-radius: 42px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}
.phone::before { /* side button */
  content: "";
  position: absolute; right: -3px; top: 120px;
  width: 3px; height: 52px; border-radius: 3px;
  background: #2a2f3d;
}
.phone-screen {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f4f7f8);
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 300 / 620;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 118px; height: 26px; background: #0f1119; border-radius: 999px;
  z-index: 5;
}

/* App status/header inside the mockup */
.app-top {
  background: var(--color-graphite);
  color: #fff;
  padding: 30px 18px 16px;
}
.app-top-row { display: flex; align-items: center; justify-content: space-between; }
.app-loc { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; }
.app-loc svg { width: 14px; height: 14px; color: var(--color-teal); }
.app-loc strong { font-weight: 600; }
.app-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--color-teal); color: #0f1119;
  display: grid; place-items: center; font-weight: 700; font-size: 0.8rem;
  font-family: var(--font-display);
}
.app-search {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}
.app-search svg { width: 15px; height: 15px; color: rgba(255, 255, 255, 0.8); }

.app-body { padding: 14px 16px 16px; }
.app-section-label {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-muted);
  margin: 4px 0 10px;
}

/* category chips */
.app-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.app-chip {
  font-size: 0.72rem; font-weight: 600;
  padding: 0.32rem 0.6rem; border-radius: var(--radius-pill);
  background: var(--color-bg-alt); color: var(--color-ink);
  border: 1px solid var(--color-line);
}
.app-chip.is-active { background: var(--color-teal); color: #0f1119; border-color: var(--color-teal); }

/* store cards */
.app-store {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--color-line);
  border-radius: 12px; padding: 9px 10px; margin-bottom: 9px;
}
.app-store-thumb {
  width: 40px; height: 40px; border-radius: 9px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.app-store-thumb svg { width: 21px; height: 21px; }
.app-store-info { min-width: 0; flex: 1; }
.app-store-info b { display: block; font-size: 0.82rem; color: var(--color-graphite); font-weight: 600; }
.app-store-info span { font-size: 0.72rem; color: var(--color-muted); }
.app-store-chev { color: var(--color-muted); flex: none; }
.app-store-chev svg { width: 16px; height: 16px; }

/* delivery status card */
.app-status {
  margin-top: 12px;
  background: linear-gradient(150deg, var(--color-graphite), var(--color-graphite-2));
  color: #fff; border-radius: 14px; padding: 12px 13px;
}
.app-status-top { display: flex; align-items: center; gap: 8px; }
.app-status-ic {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--color-teal); color: #0f1119;
  display: grid; place-items: center;
}
.app-status-ic svg { width: 17px; height: 17px; }
.app-status-top b { font-size: 0.82rem; font-weight: 600; display: block; }
.app-status-top span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); }
.app-progress {
  height: 5px; border-radius: 999px; margin-top: 11px;
  background: rgba(255, 255, 255, 0.16); overflow: hidden;
}
.app-progress i { display: block; height: 100%; width: 68%; background: var(--color-teal); border-radius: 999px; }

/* ---------------------------------------------------------------------------
   9. CATEGORY TILES
   --------------------------------------------------------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.tile {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.4rem 0.8rem;
  color: var(--color-graphite);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 201, 177, 0.4);
  text-decoration: none;
}
.tile-ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--color-teal-soft); color: var(--color-teal-deeper);
}
.tile-ic svg { width: 26px; height: 26px; }
.tile span { font-size: 0.9rem; font-weight: 600; font-family: var(--font-display); }

/* ---------------------------------------------------------------------------
   10. GRIDS & CARDS
   --------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }

/* Card icon chip */
.card-ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--color-teal-soft); color: var(--color-teal-deeper);
  margin-bottom: 1rem;
}
.card-ic svg { width: 23px; height: 23px; }

.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  background: var(--color-teal); color: #0f1119;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.1rem;
  margin-bottom: 0.9rem;
}

.role-card { border-top: 3px solid var(--color-teal); }

/* ---------------------------------------------------------------------------
   11. STEP FLOW  (visual "how it works")
   --------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--color-graphite); color: var(--color-teal);
  margin-bottom: 1rem;
}
.step-ic svg { width: 26px; height: 26px; }
.step-n {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--color-line);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   12. SPLIT / FEATURE ROW  (asymmetric composition to kill dead space)
   --------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Pensacola / local map-style panel (drawn, honest — no fake data) */
.map-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(420px 260px at 70% 30%, rgba(0,201,177,0.16), transparent 60%),
    linear-gradient(160deg, #10131d, var(--color-graphite));
  color: #fff;
  padding: 2.2rem;
  min-height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at 60% 45%, #000 40%, transparent 78%);
}
.map-pin {
  position: absolute;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--color-teal); color: #0f1119;
  box-shadow: 0 0 0 8px rgba(0,201,177,0.18);
}
.map-pin svg { width: 18px; height: 18px; }
.map-caption { position: relative; z-index: 2; }
.map-caption .eyebrow { color: var(--color-teal); }
.map-caption h3 { color: #fff; font-size: 1.5rem; }
.map-caption p { color: rgba(255,255,255,0.78); margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   13. TRUST ROW  (honest, no fabricated stats)
   --------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.trust {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1.3rem;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}
.trust-ic {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: var(--color-teal-soft); color: var(--color-teal-deeper);
}
.trust-ic svg { width: 21px; height: 21px; }
.trust b { display: block; font-family: var(--font-display); font-size: 0.98rem; color: var(--color-graphite); margin-bottom: 0.15rem; }
.trust span { font-size: 0.88rem; color: var(--color-muted); line-height: 1.5; }

/* ---------------------------------------------------------------------------
   14. CTA BAND  (dark graphite rhythm break)
   --------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 3.6rem 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(640px 320px at 50% -25%, var(--color-teal-glow), transparent 60%),
    linear-gradient(160deg, var(--color-graphite), var(--color-graphite-2));
  overflow: hidden;
}
.cta-band .eyebrow { color: var(--color-teal); }
.cta-band h2 { color: var(--color-white); }
.cta-band .muted { color: rgba(255, 255, 255, 0.74); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; background: transparent; }
.cta-band .btn-ghost:hover { border-color: var(--color-teal); color: var(--color-graphite); background: var(--color-teal); }

/* ---------------------------------------------------------------------------
   15. CALLOUTS / NOTES / TABLES
   --------------------------------------------------------------------------- */
.callout, .note-box {
  background: var(--color-teal-soft);
  border: 1px solid rgba(0, 201, 177, 0.28);
  border-left: 4px solid var(--color-teal);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.callout p:last-child, .note-box p:last-child { margin-bottom: 0; }

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.98rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.fee-table th, .fee-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-line);
}
.fee-table th {
  background: var(--color-graphite);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
}
.fee-table td { background: var(--color-white); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table td:first-child { font-weight: 600; color: var(--color-graphite); }

/* ---------------------------------------------------------------------------
   16. CONTACT PAGE
   --------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card h3 { margin-bottom: 0.3rem; }
.email { font-weight: 600; color: var(--color-teal-deeper); word-break: break-word; }

/* ---------------------------------------------------------------------------
   17. LEGAL / POLICY PAGES
   --------------------------------------------------------------------------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 2.4rem; }
.legal h3 { color: var(--color-teal-deep); margin-top: 1.8rem; }
.legal ul, .legal ol { padding-left: 1.3rem; }
.legal li { margin-bottom: 0.4rem; }

.updated { color: var(--color-muted); font-size: 0.92rem; }

.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.toc h4 { margin-top: 0; }
.toc ul { margin: 0; padding-left: 1.1rem; }
.toc li { margin-bottom: 0.3rem; }

.token {
  background: rgba(0, 201, 177, 0.14);
  border: 1px dashed var(--color-teal-deep);
  border-radius: 4px;
  padding: 0.05em 0.4em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  color: var(--color-teal-deeper);
}

/* Page header band for interior pages */
.page-head {
  background:
    radial-gradient(800px 300px at 85% -20%, var(--color-teal-glow), transparent 60%),
    var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
  padding: var(--space-8) 0 var(--space-7);
}

/* ---------------------------------------------------------------------------
   18. SITE FOOTER  (dark graphite, multi-column)
   --------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #14172130, var(--color-graphite));
  background-color: var(--color-graphite);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-8) 0 var(--space-6);
  margin-top: var(--space-8);
}

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

.footer-brand { max-width: 420px; }
.footer-lockup { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.1rem; }
.footer-lockup .footer-wordmark { height: 30px; width: auto; }
.footer-lockup .footer-badge { height: 58px; width: auto; }

.site-footer .tagline { color: var(--color-teal); margin-bottom: 0.8rem; }
.pilot-note { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); line-height: 1.6; }

.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: rgba(255, 255, 255, 0.76); font-size: 0.95rem; }
.footer-col a:hover { color: var(--color-teal); text-decoration: none; }
.footer-col .email { color: rgba(255,255,255,0.9); font-weight: 500; }
.footer-col .email:hover { color: var(--color-teal); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  margin-top: var(--space-7); padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.9rem; color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.78); }
.footer-bottom a:hover { color: var(--color-teal); text-decoration: none; }

/* ---------------------------------------------------------------------------
   19. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-art { order: -1; }
  .phone { width: 268px; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.5rem 1rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.4rem 0; }
  .nav-links .nav-cta { padding-top: 0.6rem; }
  .nav-links .nav-cta a { display: inline-flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: var(--space-8) 0; }
  .section-lg { padding: var(--space-8) 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 2.6rem 1.3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .utility-bar { font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .utility-link { display: none; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
