/* ============================================================
   SwapZen — "Precision Trust"
   Stripe discipline + Apple confidence + SwapZen identity
   3-pillar color system: Verify (violet), Protect (amber), Deliver (blue)
   ============================================================ */

:root {
  /* Grayscale */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Brand */
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-50: #ECFDF5;
  --emerald-100: #D1FAE5;

  /* 3 Pillars */
  --violet: #8B5CF6;
  --violet-dark: #7C3AED;
  --violet-50: #F5F3FF;
  --violet-100: #EDE9FE;

  --amber: #F59E0B;
  --amber-dark: #D97706;
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;

  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;

  --red: #EF4444;
  --red-50: #FEF2F2;

  /* Tokens */
  --radius: 10px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-2: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-3: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-4: 0 8px 32px rgba(0,0,0,0.08);
  --max-w: 1180px;
  --section-y: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px; color: var(--gray-700); background: var(--white);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1,h2,h3,h4,h5,h6 { margin: 0; color: var(--gray-900); }
p,ul,ol { margin: 0; }
ul,ol { padding: 0; list-style: none; }

.container { width: min(var(--max-w), calc(100% - 40px)); margin: 0 auto; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 32px; width: auto; object-fit: contain; }

.nav { display: flex; gap: 0; }
.nav a {
  padding: 8px 14px; border-radius: var(--radius); color: var(--gray-500);
  font-size: 14px; font-weight: 500; transition: color 150ms, background 150ms;
}
.nav a:hover, .nav a.active { color: var(--gray-900); background: var(--gray-100); }
.header-actions { display: flex; gap: 8px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); color: var(--gray-900);
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: all 150ms ease;
}
.btn:hover { background: var(--gray-50); border-color: var(--gray-400); }

.btn-primary {
  border: none; background: var(--emerald); color: #fff;
  box-shadow: 0 1px 2px rgba(16,185,129,0.2);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  box-shadow: 0 4px 12px rgba(16,185,129,0.25);
  transform: translateY(-1px);
}
.btn-ghost { border-color: transparent; background: transparent; color: var(--emerald-dark); }
.btn-ghost:hover { background: var(--emerald-50); }

.btn-large { min-height: 48px; padding: 12px 28px; font-size: 15px; }
.btn-sm { min-height: 38px; padding: 8px 20px; font-size: 13px; }
.form-submit { grid-column: 1 / -1; justify-self: center; }

.mobile-toggle {
  display: none; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); font-weight: 600; font-size: 14px; cursor: pointer;
}
.mobile-panel { display: none; padding: 8px 0 16px; }
.mobile-panel.open { display: grid; gap: 2px; }
.mobile-panel a {
  padding: 12px 16px; border-radius: var(--radius);
  color: var(--gray-600); font-weight: 500; font-size: 16px;
}
.mobile-panel a:hover { background: var(--gray-100); color: var(--gray-900); }
.mobile-panel .btn { margin-top: 8px; }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--emerald-50); color: var(--emerald-dark);
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
}

/* ---- Section ---- */
.section { padding: var(--section-y) 0; }
.sec-light { background: var(--gray-50); }
.sec-dark { background: var(--gray-900); color: #fff; }

.sec-heading { max-width: 640px; margin-bottom: 48px; }
.sec-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.sec-heading h2 {
  margin-top: 12px; font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.15;
}
.sec-heading p { margin-top: 12px; color: var(--gray-500); font-size: 17px; line-height: 1.7; }
.sec-dark .sec-heading p { color: rgba(255,255,255,0.6); }

/* ---- Icon box ---- */
.icon-box {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.icon-box svg { width: 22px; height: 22px; }
.ib-violet { background: var(--violet-50); color: var(--violet-dark); }
.ib-amber  { background: var(--amber-50);  color: var(--amber-dark); }
.ib-blue   { background: var(--blue-50);   color: var(--blue-dark); }
.ib-emerald{ background: var(--emerald-50); color: var(--emerald-dark); }

/* ============ HERO ============ */
.hero-home {
  padding: 72px 0 80px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(16,185,129,0.04), transparent 60%),
    var(--white);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-copy { max-width: 540px; }
.hero-copy h1 {
  margin-top: 16px; font-size: 52px; font-weight: 750;
  line-height: 1.0; letter-spacing: -0.03em; color: var(--gray-900);
}
.lead { margin-top: 16px; font-size: 18px; color: var(--gray-500); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-tokens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-tokens span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--gray-50); border: 1px solid var(--gray-200);
  font-size: 13px; font-weight: 500; color: var(--gray-600);
}
.hero-tokens svg { width: 16px; height: 16px; flex-shrink: 0; }
.ht-violet { color: var(--violet); }
.ht-amber { color: var(--amber); }
.ht-blue { color: var(--blue); }

/* Hero cards */
.hero-cards-wrap { display: flex; justify-content: center; }
.hero-cards { display: flex; gap: 12px; align-items: flex-start; }
.hcard {
  width: 190px; flex-shrink: 0; padding: 20px;
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-2);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.hcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.hcard:nth-child(1) { border-top: 3px solid var(--violet); transform: rotate(-2.5deg); margin-top: 16px; }
.hcard:nth-child(2) { border-top: 3px solid var(--amber); margin-top: 0; }
.hcard:nth-child(3) { border-top: 3px solid var(--blue); transform: rotate(2.5deg); margin-top: 24px; }
.hcard:hover { transform: translateY(-6px) rotate(0deg) !important; }
.hcard .icon-box { margin-bottom: 12px; }
.hcard-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); }
.hcard-value { margin-top: 2px; font-size: 15px; font-weight: 700; color: var(--gray-900); line-height: 1.3; }
.hcard-badge {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 10px; padding: 3px 8px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
}
.hb-violet { background: var(--violet-50); color: var(--violet-dark); }
.hb-amber { background: var(--amber-50); color: var(--amber-dark); }
.hb-blue { background: var(--blue-50); color: var(--blue-dark); }
.badge-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ============ TRUST STRIP ============ */
.trust-strip { padding: 44px 0; background: var(--gray-900); color: #fff; }
.ts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.ts-item { display: flex; gap: 14px; }
.ts-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
}
.ts-icon svg { width: 20px; height: 20px; color: rgba(255,255,255,0.7); }
.ts-item strong { display: block; font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.ts-item p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ============ BENTO — How It Works ============ */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bcard {
  padding: 32px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius); box-shadow: var(--shadow-2); position: relative;
  overflow: hidden; transition: transform 200ms, box-shadow 200ms;
}
.bcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.bcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.bcard-1 { grid-column: 1 / -1; }
.bcard-1::before { background: linear-gradient(90deg, var(--violet), var(--violet-dark)); }
.bcard-2::before { background: linear-gradient(90deg, var(--emerald), var(--emerald-dark)); }
.bcard-3::before { background: linear-gradient(90deg, var(--amber), var(--amber-dark)); }
.bcard-4 { grid-column: 1 / -1; }
.bcard-4::before { background: linear-gradient(90deg, var(--blue), var(--blue-dark)); }

.bcard .icon-box { margin-bottom: 16px; }
.bcard-num {
  position: absolute; top: 16px; right: 20px;
  font-size: 56px; font-weight: 800; line-height: 1; color: var(--gray-100);
}
.bcard h3 { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.bcard p { color: var(--gray-500); font-size: 15px; line-height: 1.6; }

/* ============ COMPARISON ============ */
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.comp-copy { position: sticky; top: 96px; }
.comp-copy h2 { margin-top: 12px; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.comp-copy > p { margin-top: 12px; color: var(--gray-500); font-size: 17px; line-height: 1.7; }
.comp-panels { display: grid; gap: 16px; }

.cpanel {
  padding: 32px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  background: var(--white); transition: transform 200ms, box-shadow 200ms;
}
.cpanel:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.cpanel.cp-muted { background: var(--gray-50); }
.cpanel.cp-strong { border-color: var(--emerald); }

.cp-label {
  display: inline-flex; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.cp-muted .cp-label { background: var(--gray-100); color: var(--gray-500); }
.cp-strong .cp-label { background: var(--emerald-50); color: var(--emerald-dark); }
.cpanel h3 { font-size: 20px; font-weight: 700; margin-bottom: 16px; line-height: 1.3; }
.clist { display: grid; gap: 10px; }
.clist li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gray-600); }
.cl-dot {
  width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cl-dot svg { width: 14px; height: 14px; }
.cp-muted .cl-dot { background: var(--red-50); color: var(--red); }
.cp-strong .cl-dot { background: var(--emerald-50); color: var(--emerald); }

/* ============ AI SCAN ============ */
.ai-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ai-copy h2 { margin-top: 12px; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.ai-copy p { margin-top: 12px; color: var(--gray-500); font-size: 16px; line-height: 1.7; }

.scan-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-4); overflow: hidden;
}
.scan-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--gray-200); background: var(--violet-50);
}
.scan-top-left { display: flex; align-items: center; gap: 8px; }
.scan-top-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.scan-top-title { font-size: 13px; font-weight: 700; color: var(--violet-dark); }
.scan-pass {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px;
  border-radius: var(--radius-pill); background: var(--emerald-50); color: var(--emerald-dark);
  font-size: 12px; font-weight: 700;
}
.scan-pass svg { width: 14px; height: 14px; }

.scan-body { display: grid; grid-template-columns: 1fr 1fr; }
.scan-item {
  padding: 18px 20px; border-bottom: 1px solid var(--gray-100);
  border-right: 1px solid var(--gray-100);
}
.scan-item:nth-child(2n) { border-right: none; }
.scan-item:nth-last-child(-n+2) { border-bottom: none; }
.scan-item .icon-box { margin-bottom: 10px; width: 36px !important; height: 36px !important; }
.scan-item .icon-box svg { width: 18px !important; height: 18px !important; }
.si-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); }
.si-value { margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--gray-900); }
.si-bar { margin-top: 8px; height: 4px; border-radius: 4px; background: var(--gray-100); overflow: hidden; }
.si-fill { height: 100%; border-radius: 4px; }
.si-fill-v { background: var(--violet); }
.si-fill-e { background: var(--emerald); }
.si-fill-a { background: var(--amber); }
.si-fill-b { background: var(--blue); }

.scan-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-top: 1px solid var(--gray-100); background: var(--gray-50);
}
.scan-foot-text { font-size: 13px; color: var(--gray-400); }
.scan-foot-ok {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--emerald-dark);
}
.scan-foot-ok::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--emerald);
}

/* ============ PHASES ============ */
.phase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pcard {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  background: var(--white); box-shadow: var(--shadow-1); min-height: 240px;
  display: flex; flex-direction: column; align-items: flex-start;
  position: relative; overflow: hidden;
  transition: transform 200ms, box-shadow 200ms;
}
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.pcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.pcard-1::before { background: var(--emerald); }
.pcard-1 { border-color: var(--emerald); }
.pcard-2::before { background: var(--amber); }
.pcard-3::before { background: var(--blue); }

.sbadge {
  display: inline-flex; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.sb-g { background: var(--emerald-50); color: var(--emerald-dark); }
.sb-a { background: var(--amber-50); color: var(--amber-dark); }
.sb-b { background: var(--gray-100); color: var(--gray-500); }

.pcard h3 { margin-top: 20px; font-size: 24px; font-weight: 700; line-height: 1.15; }
.pcard p { margin-top: 8px; color: var(--gray-500); font-size: 15px; line-height: 1.6; }

/* ============ CATEGORIES ============ */
.cat-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.cat-grid h2 { margin-top: 12px; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cpill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--gray-200); background: var(--white);
  font-size: 15px; font-weight: 550; color: var(--gray-700);
  box-shadow: var(--shadow-1); transition: all 200ms;
}
.cpill:hover { border-color: var(--gray-400); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.cpill svg { width: 18px; height: 18px; flex-shrink: 0; }
.cpill-violet svg { color: var(--violet); }
.cpill-amber svg { color: var(--amber); }
.cpill-blue svg { color: var(--blue); }
.cpill-emerald svg { color: var(--emerald); }
.cpill-rose svg { color: #EC4899; }
.cpill-cyan svg { color: #06B6D4; }

.cpill-violet:hover { border-color: var(--violet); background: var(--violet-50); }
.cpill-amber:hover { border-color: var(--amber); background: var(--amber-50); }
.cpill-blue:hover { border-color: var(--blue); background: var(--blue-50); }
.cpill-emerald:hover { border-color: var(--emerald); background: var(--emerald-50); }
.cpill-rose:hover { border-color: #EC4899; background: #FDF2F8; }
.cpill-cyan:hover { border-color: #06B6D4; background: #ECFEFF; }

/* ============ PILOT ============ */
.pilot-sec { background: var(--gray-50); }
.pilot-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.pilot-copy h1 { margin-top: 20px; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.pilot-copy h2 { margin-top: 12px; font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.pilot-copy p { margin-top: 12px; color: var(--gray-500); font-size: 16px; line-height: 1.7; }
.city-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.city-row span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--gray-200);
  font-weight: 600; font-size: 15px; box-shadow: var(--shadow-1);
}
.city-row svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--emerald); }
.microcopy { margin-top: 16px; color: var(--gray-400); font-size: 13px; }

.pilot-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--gray-200);
  background: var(--white); box-shadow: var(--shadow-4);
}
.form-heading, .full-field { grid-column: 1 / -1; }
.form-heading h3 { font-size: 20px; font-weight: 700; }
.form-heading p { margin-top: 4px; color: var(--gray-400); font-size: 14px; }
label { display: grid; gap: 4px; }
label span { color: var(--gray-600); font-size: 13px; font-weight: 600; }
.input, textarea, select {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); color: var(--gray-900); font-size: 15px; outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.input:focus, textarea:focus, select:focus {
  border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.hidden-field { display: none; }
.hidden-field.show { display: grid; }

.input.input-error, textarea.input-error, select.input-error {
  border-color: #EF4444; background: #FEF2F2;
}
.input.input-error:focus, textarea.input-error:focus, select.input-error:focus {
  border-color: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.field-error {
  font-size: 12px; color: #EF4444; font-weight: 500; margin-top: 2px;
}
.btn-loading {
  pointer-events: none; opacity: 0.7; position: relative;
}
.btn-loading::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 8px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ FAQ ============ */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-list { display: grid; gap: 8px; }
details {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  transition: box-shadow 150ms;
}
details[open] { box-shadow: var(--shadow-2); }
summary {
  cursor: pointer; padding: 16px 20px; font-size: 16px; font-weight: 700;
  line-height: 1.4; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex-shrink: 0; width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--gray-100); color: var(--gray-500);
  font-size: 16px; font-weight: 600; transition: all 150ms;
}
details[open] summary::after { content: "\2212"; background: var(--emerald-50); color: var(--emerald-dark); }
details p { padding: 0 20px 16px; color: var(--gray-500); font-size: 15px; line-height: 1.7; }

/* ============ FOOTER ============ */
.site-footer { padding: 64px 0 28px; background: var(--gray-900); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 0.7fr 0.7fr 0.8fr; gap: 32px; }
.footer-logo {
  width: 130px; height: auto; object-fit: contain;
  border-radius: 6px; overflow: hidden;
}
.site-footer .footer-tagline { margin-top: 16px; color: rgba(255,255,255,0.5); font-size: 15px; line-height: 1.6; max-width: 300px; }
.site-footer p { margin-top: 8px; color: rgba(255,255,255,0.35); font-size: 13px; }
.site-footer h4 {
  margin-bottom: 14px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.4);
}
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500; transition: color 150ms; }
.site-footer a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 0; color: rgba(255,255,255,0.6); font-size: 14px;
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: rgba(255,255,255,0.35); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.3); font-size: 13px;
}

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.rv-1 { transition-delay: 100ms; }
.rv-2 { transition-delay: 200ms; }

/* ============ SUB-PAGE ============ */
.hero-sub { padding: 64px 0 48px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.hero-sub .hero-copy { max-width: 640px; }
.hero-sub h1 { margin-top: 14px; font-size: 44px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.08; }

.trust-flow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step-card { padding: 28px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-1); transition: transform 200ms, box-shadow 200ms; }
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--emerald-50); color: var(--emerald-dark); font-size: 15px; font-weight: 700; }
.step-card h3 { margin-bottom: 6px; font-size: 18px; font-weight: 700; }
.step-card p { color: var(--gray-500); font-size: 14px; line-height: 1.6; }

.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-art { padding: 32px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--gray-50); display: flex; align-items: center; justify-content: center; }
.media-art img { max-height: 180px; object-fit: contain; }
.media-copy h2 { margin-top: 12px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.media-copy p { margin-top: 12px; color: var(--gray-500); font-size: 16px; line-height: 1.7; }

.content-section { max-width: 720px; margin: 0 auto; }
.content-section h2 { margin-top: 36px; margin-bottom: 12px; font-size: 24px; font-weight: 700; }
.content-section p { margin-bottom: 12px; color: var(--gray-500); font-size: 15px; line-height: 1.75; }
.content-section a { color: var(--emerald-dark); text-decoration: underline; text-underline-offset: 2px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-cards .step-number { display: inline-flex; align-items: center; justify-content: center; }
.contact-cards .step-number svg { width: 18px; height: 18px; }
.contact-single-col { grid-template-columns: 1fr; }

.thankyou-section { display: flex; align-items: center; justify-content: center; min-height: 60vh; text-align: center; }
.thankyou-content { max-width: 480px; }
.thankyou-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border-radius: 50%; background: var(--emerald-50); color: var(--emerald-dark); }
.thankyou-icon svg { width: 28px; height: 28px; }
.thankyou-content h1 { font-size: 36px; font-weight: 750; letter-spacing: -0.02em; }
.thankyou-content p { margin-top: 12px; color: var(--gray-500); font-size: 17px; }
.thankyou-content .btn { margin-top: 20px; }

.flow-stack { display: grid; gap: 8px; margin-top: 16px; }
.flow-row { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--gray-50); }
.flow-row.highlight { border-color: rgba(16,185,129,0.3); background: var(--emerald-50); }
.flow-index { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--emerald); color: #fff; font-size: 12px; font-weight: 700; }
.flow-row strong { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.flow-row p { margin-top: 2px; color: var(--gray-500); font-size: 13px; }
.deal-visual { padding: 24px; border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-3); }
.visual-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-200); }
.visual-top h2 { margin-top: 8px; font-size: 18px; font-weight: 700; }
.visual-mark { width: 60px; height: 44px; object-fit: contain; padding: 4px; border: 1px solid var(--gray-200); border-radius: 6px; }
.hero-sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.status-badge { display: inline-flex; padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.status-badge.live { background: var(--emerald-50); color: var(--emerald-dark); }
.status-badge.next { background: var(--amber-50); color: var(--amber-dark); }
.status-badge.soon { background: var(--gray-100); color: var(--gray-500); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid, .comp-grid, .ai-grid, .cat-grid, .pilot-grid, .hero-sub-grid { grid-template-columns: 1fr; gap: 32px; }
  .comp-copy { position: static; }
  .hero-copy h1 { font-size: 44px; }
}

@media (max-width: 768px) {
  :root { --section-y: 64px; }
  .container { width: min(var(--max-w), calc(100% - 32px)); }
  .nav, .header-actions .btn { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .hero-home { padding: 40px 0 48px; }
  .hero-copy h1 { font-size: 36px; }
  .hero-sub h1 { font-size: 32px; }
  .lead { font-size: 16px; }

  /* Hero cards — 3 across but smaller */
  .hero-cards { gap: 8px; justify-content: center; flex-wrap: wrap; }
  .hcard { width: 150px; padding: 14px; }
  .hcard-value { font-size: 14px; }
  .hcard-label { font-size: 10px; }
  .hcard-badge { font-size: 10px; padding: 2px 6px; }
  .hcard .icon-box { width: 36px; height: 36px; margin-bottom: 10px; }
  .hcard .icon-box svg { width: 18px; height: 18px; }

  /* Stack all grids to single column */
  .ts-grid, .bento, .phase-grid, .trust-flow-grid, .comp-panels,
  .footer-grid, .media-grid, .contact-grid, .cat-grid { grid-template-columns: 1fr; }
  .bcard-1, .bcard-4 { grid-column: auto; }

  /* Pilot grid — stack, center the thank you */
  .pilot-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Typography scale down */
  .sec-heading h2, .comp-copy h2, .ai-copy h2, .pilot-copy h2, .cat-grid h2 { font-size: 28px; }
  .pilot-copy h1 { font-size: 34px; }
  .sec-heading p { font-size: 15px; }

  /* Cards */
  .pcard { min-height: auto; padding: 24px; }
  .bcard { padding: 24px; }
  .bcard-num { font-size: 44px; }
  .cpanel { padding: 24px; }

  /* Form */
  .pilot-form { grid-template-columns: 1fr; padding: 20px; }
  .form-heading, .full-field, .form-submit { grid-column: auto; }
  .form-submit { justify-self: center; }

  /* Scan dashboard */
  .scan-body { grid-template-columns: 1fr; }
  .scan-item { border-right: none; }
  .scan-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .scan-item:last-child { border-bottom: none; }

  /* Trust strip */
  .ts-item { gap: 12px; }
  .ts-item strong { font-size: 14px; }
  .ts-item p { font-size: 13px; }

  /* Category pills */
  .cat-pills { gap: 6px; }
  .cpill { padding: 10px 14px; font-size: 14px; }

  /* City row */
  .city-row { gap: 6px; }
  .city-row span { padding: 8px 12px; font-size: 13px; }

  /* FAQ */
  summary { padding: 14px 16px; font-size: 15px; }
  details p { padding: 0 16px 14px; font-size: 14px; }

  /* Footer */
  .footer-grid { gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .footer-contact-item { font-size: 13px; }

  /* Comparison icons */
  .cl-dot { width: 22px; height: 22px; }
  .cl-dot svg { width: 12px; height: 12px; }
  .clist li { font-size: 14px; gap: 8px; }
}

@media (max-width: 480px) {
  .container { width: min(var(--max-w), calc(100% - 24px)); }
  .header-inner { min-height: 56px; }
  .brand-logo { height: 26px; }

  .hero-home { padding: 32px 0 40px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-sub h1 { font-size: 26px; }
  .lead { font-size: 15px; }

  /* Hero actions stack */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-tokens { display: grid; gap: 6px; }
  .hero-tokens span { font-size: 12px; padding: 6px 10px; }

  /* Hero cards stack vertically */
  .hero-cards { flex-direction: column; align-items: stretch; gap: 10px; }
  .hcard { width: 100%; padding: 16px; }
  .hcard:nth-child(1), .hcard:nth-child(2), .hcard:nth-child(3) { transform: none; margin-top: 0; }
  .hcard-value { font-size: 15px; }
  .hcard .icon-box { width: 40px; height: 40px; }
  .hcard .icon-box svg { width: 20px; height: 20px; }

  /* Section headings */
  .sec-heading h2, .comp-copy h2, .ai-copy h2, .pilot-copy h2, .cat-grid h2 { font-size: 24px; }
  .pilot-copy h1 { font-size: 28px; }

  /* Bento */
  .bcard { padding: 20px; }
  .bcard h3 { font-size: 18px; }
  .bcard-num { font-size: 36px; top: 12px; right: 14px; }

  /* Phase cards */
  .pcard { padding: 20px; }
  .pcard h3 { font-size: 20px; }

  /* Category */
  .cpill { padding: 8px 12px; font-size: 13px; }
  .cpill svg { width: 16px; height: 16px; }

  /* Form */
  .pilot-form { padding: 16px; }
  .form-heading h3 { font-size: 18px; }
  .input, textarea, select { min-height: 42px; font-size: 14px; }

  /* Scan */
  .scan-item { padding: 14px 16px; }
  .si-value { font-size: 15px; }

  /* Trust strip */
  .ts-icon { width: 38px; height: 38px; }
  .ts-icon svg { width: 18px; height: 18px; }

  /* Footer */
  .site-footer { padding: 40px 0 20px; }
  .footer-logo { width: 100px; }
  .site-footer .footer-tagline { font-size: 13px; }
  .site-footer h4 { font-size: 11px; margin-bottom: 10px; }
  .site-footer a { font-size: 13px; margin: 5px 0; }
}
