/* ============================================================
   SwapZen — "Neo-Brutal Trust"
   Bold confidence + 90s Memphis energy + Gumroad warmth
   3-pillar color system: Verify (violet), Protect (amber), Deliver (blue)
   ============================================================ */

:root {
  /* ============================================================
     Heritage theme — matches swapzen-web (app/globals.css).
     Token NAMES are preserved from the old Memphis theme so every
     existing rule keeps working; only the VALUES are remapped to the
     Heritage palette. Refinements (borders/shadows/neon → soft) live
     in the "HERITAGE OVERRIDES" block lower down.
     ============================================================ */

  /* Heritage brand */
  --navy: #0b2536;         /* deep ink — headings, hero/footer */
  --copper: #c2410c;       /* the ONLY primary CTA color */
  --copper-press: #9a3412;
  --copper-wash: #fbeadd;
  --page: #fbf9f4;         /* ivory page bg */
  --hero-end: #17415a;     /* navy hero gradient end */
  --gold-bright: #e9a23b;  /* hero accent gold on navy */
  --gold-light: #efcb87;   /* lighter gold text on navy */
  --mint: #6ee7a0;         /* "now live" pulse dot */
  --glow-gold: rgb(226 163 58 / 0.22); /* radial glow on dark hero */

  /* Base */
  --black: #e5e0d3;        /* repurposed → subtle Heritage border line */
  --white: #ffffff;
  --off-white: #fbf9f4;    /* ivory */
  --cream: #faf7ee;        /* trust surface */

  /* Grayscale → Heritage neutrals */
  --gray-50: #f4f1e9;
  --gray-100: #efebe1;     /* divider */
  --gray-200: #e5e0d3;     /* line */
  --gray-300: #d3cdbd;     /* input line */
  --gray-400: #736b5c;     /* meta */
  --gray-500: #6f685a;     /* sub */
  --gray-600: #4a4438;     /* ink-input */
  --gray-700: #3f3a32;     /* body ink */
  --gray-800: #17415a;     /* hero gradient end */
  --gray-900: #0b2536;     /* navy — headings */

  /* Trust/success accents (kept green) */
  --emerald: #047857;
  --emerald-dark: #065f46;
  --emerald-light: #16a34a;
  --emerald-50: #e8f5ec;
  --emerald-100: #d5efe0;

  /* Former "3 pillars" → fold into copper so the palette stays cohesive */
  --violet: #c2410c;
  --violet-dark: #9a3412;
  --violet-50: #fbeadd;
  --violet-100: #fbe5d3;

  --amber: #c2410c;
  --amber-dark: #9a3412;
  --amber-50: #fbeadd;
  --amber-100: #fbe5d3;

  --blue: #1d4ed8;
  --blue-dark: #1d4ed8;
  --blue-50: #dce7fb;
  --blue-100: #bfdbfe;

  --red: #dc2626;
  --red-50: #fdecec;

  /* Former Memphis accents → neutralised to brand tones */
  --hot-pink: #c2410c;
  --neon-yellow: #c2410c;
  --electric-teal: #0f766e;
  --coral: #c2410c;

  /* Heritage geometry — thin borders, soft shadows */
  --border-w: 1px;
  --radius: 14px;
  --radius-pill: 999px;
  --shadow-brutal: 0 10px 30px rgba(11, 37, 54, 0.10);
  --shadow-brutal-sm: 0 4px 14px rgba(11, 37, 54, 0.07);
  --shadow-brutal-hover: 0 16px 40px rgba(11, 37, 54, 0.14);
  --shadow-brutal-lg: 0 20px 48px rgba(11, 37, 54, 0.14);
  --max-w: 1520px;        /* matches swapzen-web --content-max */
  --section-y: 96px;
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---- Reset ---- */
*, *::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: 16px; color: var(--gray-700); background: var(--off-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); font-family: var(--font-display); }
p,ul,ol { margin: 0; }
ul,ol { padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--off-white);
  border-bottom: var(--border-w) solid var(--black);
}
.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-family: var(--font-display);
  font-size: 14px; font-weight: 600; transition: color 150ms, background 150ms;
}
.nav a:hover, .nav a.active { color: var(--gray-900); background: var(--neon-yellow); }
.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: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--off-white); color: var(--gray-900);
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-brutal-sm);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--black);
}

.btn-primary {
  background: var(--emerald); color: #fff;
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}
.btn-ghost {
  background: transparent; color: var(--gray-900);
  border-color: var(--black);
}
.btn-ghost:hover {
  background: var(--neon-yellow);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}

.btn-large { min-height: 52px; padding: 14px 32px; font-size: 16px; }
.btn-sm { min-height: 40px; 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: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--neon-yellow); font-family: var(--font-display);
  font-weight: 700; font-size: 14px; cursor: pointer;
  box-shadow: var(--shadow-brutal-sm);
  transition: transform 150ms, box-shadow 150ms;
}
.mobile-toggle:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}
.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-family: var(--font-display);
  font-weight: 600; font-size: 16px;
}
.mobile-panel a:hover { background: var(--neon-yellow); color: var(--gray-900); }
.mobile-panel .btn { margin-top: 8px; }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  padding: 6px 14px; border-radius: var(--radius);
  border: 2px solid var(--black);
  background: var(--neon-yellow); color: var(--gray-900);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 2px 2px 0px var(--black);
}

/* ---- Section ---- */
.section { padding: var(--section-y) 0; position: relative; overflow: hidden; }
.sec-light { background: var(--violet-50); }
.sec-amber { background: var(--amber-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: 800;
  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: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--black);
}
.icon-box svg { width: 24px; height: 24px; }
.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); }

/* ============ MEMPHIS DECORATIVE ELEMENTS ============ */

/* Zigzag border — used on trust-strip and footer */
.zigzag-top::before {
  content: "";
  position: absolute; top: -10px; left: 0; right: 0; height: 20px;
  background:
    linear-gradient(135deg, var(--off-white) 33.33%, transparent 33.33%) 0 0,
    linear-gradient(225deg, var(--off-white) 33.33%, transparent 33.33%) 0 0;
  background-size: 20px 20px;
  z-index: 1;
}

/* Floating shapes — added via section classes */
.memphis-hero { position: relative; }
.memphis-hero::before {
  content: "";
  position: absolute; top: 40px; right: 60px;
  width: 0; height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid var(--hot-pink);
  transform: rotate(15deg);
  opacity: 0.7;
  z-index: 0;
}
.memphis-hero::after {
  content: "";
  position: absolute; bottom: 60px; left: 40px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: var(--border-w) solid var(--black);
  background: var(--neon-yellow);
  opacity: 0.6;
  z-index: 0;
}

.memphis-dots {
  background-image: radial-gradient(circle, var(--gray-300) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.memphis-section { position: relative; }
.memphis-section::before {
  content: "";
  position: absolute; top: 30px; right: 80px;
  width: 40px; height: 40px;
  border: var(--border-w) solid var(--black);
  background: var(--electric-teal);
  transform: rotate(45deg);
  opacity: 0.4;
  z-index: 0;
}
.memphis-section::after {
  content: "";
  position: absolute; bottom: 40px; left: 60px;
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid var(--coral);
  opacity: 0.4;
  z-index: 0;
}

/* Squiggle decoration using SVG data URI */
.memphis-squiggle::after {
  content: "";
  position: absolute; top: 50%; right: 30px;
  width: 80px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 20'%3E%3Cpath d='M0 10 Q10 0 20 10 Q30 20 40 10 Q50 0 60 10 Q70 20 80 10' fill='none' stroke='%23EC4899' stroke-width='3'/%3E%3C/svg%3E") no-repeat;
  opacity: 0.5;
  z-index: 0;
}

/* ============ HERO ============ */
.hero-home {
  padding: 72px 0 80px; position: relative; overflow: hidden;
  background: var(--off-white);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.hero-copy { max-width: 540px; position: relative; z-index: 1; }
.hero-copy h1 {
  margin-top: 16px; font-size: 52px; font-weight: 800;
  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);
  background: var(--white); border: 2px solid var(--black);
  font-size: 13px; font-weight: 600; color: var(--gray-700);
  box-shadow: 2px 2px 0px var(--black);
}
.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 illustration */
.hero-illust-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative; z-index: 1;
}
.illust { width: 100%; height: auto; display: block; }
.illust-hero { max-width: 500px; }

/* Hero cards (kept for fallback) */
.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: var(--border-w) solid var(--black);
  border-radius: var(--radius); box-shadow: var(--shadow-brutal-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.hcard:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}
.hcard:nth-child(1) { border-top: 4px solid var(--violet); transform: rotate(-2.5deg); margin-top: 16px; }
.hcard:nth-child(2) { border-top: 4px solid var(--amber); margin-top: 0; }
.hcard:nth-child(3) { border-top: 4px solid var(--blue); transform: rotate(2.5deg); margin-top: 24px; }
.hcard:hover { transform: translate(-2px, -2px) rotate(0deg) !important; }
.hcard .icon-box { margin-bottom: 12px; }
.hcard-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); font-family: var(--font-display); }
.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: 4px 10px; border-radius: var(--radius);
  border: 2px solid var(--black);
  font-size: 11px; font-weight: 700; font-family: var(--font-display);
}
.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: 48px 0; background: var(--gray-900); color: #fff;
  position: relative;
}
.ts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.ts-item { display: flex; gap: 14px; }
.ts-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
}
.ts-icon svg { width: 22px; height: 22px; color: var(--neon-yellow); }
.ts-item strong { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; font-family: var(--font-display); }
.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: repeat(4, 1fr); gap: 18px; }
.bcard {
  padding: 32px; background: var(--white); border: var(--border-w) solid var(--black);
  border-radius: var(--radius); box-shadow: var(--shadow-brutal); position: relative;
  overflow: hidden; transition: transform 200ms, box-shadow 200ms;
}
.bcard:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-hover);
}
.bcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.bcard-1::before { background: var(--violet); }
.bcard-2::before { background: var(--emerald); }
.bcard-3::before { background: var(--amber); }
.bcard-4::before { background: var(--blue); }

.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);
  -webkit-text-stroke: 1px var(--gray-300);
}
.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; }

/* Spot illustrations in bento cards */
.bcard .illust-spot {
  width: 100px; height: 100px; margin-bottom: 12px;
}

/* ============ 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: 800; 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; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }

.cpanel {
  padding: 32px; border-radius: var(--radius);
  border: var(--border-w) solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow-brutal);
  transition: transform 200ms, box-shadow 200ms;
}
.cpanel:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-hover);
}
.cpanel.cp-muted { background: var(--cream); }
.cpanel.cp-strong { background: var(--white); border-color: var(--black); }

.cp-label {
  display: inline-flex; padding: 4px 12px; border-radius: var(--radius);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px; border: 2px solid var(--black);
  font-family: var(--font-display);
}
.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: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--black);
}
.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); }

/* Panel illustrations */
.cpanel .illust-panel { width: 140px; height: auto; margin-bottom: 16px; }

/* ============ AI SCAN ============ */
.ai-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.ai-copy { position: relative; z-index: 1; }
.ai-copy h2 { margin-top: 12px; font-size: 36px; font-weight: 800; 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; }
.ai-copy .illust-ai { width: 180px; height: auto; margin-top: 20px; }

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

.scan-body { display: grid; grid-template-columns: 1fr 1fr; }
.scan-item {
  padding: 18px 20px; border-bottom: 2px solid var(--gray-100);
  border-right: 2px 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: 40px !important; height: 40px !important; border-width: 2px; }
.scan-item .icon-box svg { width: 20px !important; height: 20px !important; }
.si-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); font-family: var(--font-display); }
.si-value { margin-top: 2px; font-size: 17px; font-weight: 700; color: var(--gray-900); }
.si-bar {
  margin-top: 8px; height: 8px; border-radius: 4px;
  background: var(--gray-100); overflow: hidden;
  border: 1px solid var(--black);
}
.si-fill { height: 100%; border-radius: 3px; }
.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: 2px solid var(--gray-100); background: var(--gray-50);
}
.scan-foot-text { font-size: 13px; color: var(--gray-400); font-weight: 600; }
.scan-foot-ok {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--emerald-dark);
  font-family: var(--font-display);
}
.scan-foot-ok::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--emerald); border: 1px solid var(--black);
}

/* ============ PHASES ============ */
.phase-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pcard {
  padding: 28px; border-radius: var(--radius);
  border: var(--border-w) solid var(--black);
  background: var(--white); box-shadow: var(--shadow-brutal); 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: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal-hover);
}
.pcard::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; bottom: 0; }
.pcard-1::before { background: var(--emerald); }
.pcard-1 { border-color: var(--black); }
.pcard-2::before { background: var(--amber); }
.pcard-3::before { background: var(--blue); }

.pcard .illust-phase { width: 80px; height: 80px; margin-bottom: 12px; }

.sbadge {
  display: inline-flex; padding: 4px 12px; border-radius: var(--radius);
  border: 2px solid var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-family: var(--font-display);
}
.sb-g { background: var(--emerald-50); color: var(--emerald-dark); }
.sb-a { background: var(--amber-50); color: var(--amber-dark); }
.sb-b { background: var(--blue-50); color: var(--gray-600); }

.pcard h3 { margin-top: 20px; font-size: 24px; font-weight: 800; 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: 800; letter-spacing: -0.02em; line-height: 1.15; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cpill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius);
  border: var(--border-w) solid var(--black); background: var(--white);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; color: var(--gray-700);
  box-shadow: var(--shadow-brutal-sm); transition: transform 200ms, box-shadow 200ms;
}
.cpill:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}
.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: var(--hot-pink); }
.cpill-cyan svg { color: var(--electric-teal); }

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

/* ============ PILOT ============ */
.pilot-sec { background: var(--amber-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: 800; 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);
  background: var(--white); border: var(--border-w) solid var(--black);
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px; box-shadow: var(--shadow-brutal-sm);
}
.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: var(--border-w) solid var(--black);
  background: var(--white); box-shadow: var(--shadow-brutal-lg);
}
.form-heading, .full-field { grid-column: 1 / -1; }
.form-heading h3 { font-size: 20px; font-weight: 800; }
.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: 700; font-family: var(--font-display); }
.input, textarea, select {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: var(--border-w) solid var(--black); border-radius: 8px;
  background: var(--off-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(5,150,105,0.2);
}
.hidden-field { display: none; }
.hidden-field.show { display: grid; }

.input.input-error, textarea.input-error, select.input-error {
  border-color: var(--red); background: var(--red-50);
}
.input.input-error:focus, textarea.input-error:focus, select.input-error:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}
.field-error {
  font-size: 12px; color: var(--red); font-weight: 600; 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: 10px; }
details {
  border: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  box-shadow: var(--shadow-brutal-sm);
  transition: transform 200ms, box-shadow 200ms;
}
details[open] {
  box-shadow: var(--shadow-brutal);
}
details:hover {
  transform: translate(-1px, -1px);
}
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;
  font-family: var(--font-display);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--neon-yellow);
  border: 2px solid var(--black);
  color: var(--gray-900); font-size: 18px; font-weight: 700;
  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;
  position: relative;
  border-top: var(--border-w) solid var(--black);
}
.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: 8px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
}
.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: var(--neon-yellow);
  font-family: var(--font-display);
}
.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: var(--neon-yellow); }
.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: var(--neon-yellow); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 40px; padding-top: 20px;
  border-top: 2px solid rgba(255,255,255,0.1);
  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(--violet-50);
  border-bottom: var(--border-w) solid var(--black);
  position: relative; overflow: hidden;
}
.hero-sub .hero-copy { max-width: 640px; position: relative; z-index: 1; }
.hero-sub h1 { margin-top: 14px; font-size: 44px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }

/* Sub-page hero illustration */
.hero-sub-illust { display: flex; justify-content: center; align-items: center; }
.hero-sub-illust .illust { max-width: 300px; }

.trust-flow-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step-card {
  padding: 28px; border: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-brutal-sm);
  transition: transform 200ms, box-shadow 200ms;
}
.step-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 50%; background: var(--emerald-50); color: var(--emerald-dark);
  border: 2px solid var(--black);
  font-size: 15px; font-weight: 700; font-family: var(--font-display);
}
.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: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--cream); box-shadow: var(--shadow-brutal);
  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: 800; 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: 800; }
.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: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border-radius: 50%;
  background: var(--emerald-50); color: var(--emerald-dark);
  border: var(--border-w) solid var(--black);
  box-shadow: var(--shadow-brutal-sm);
}
.thankyou-icon svg { width: 28px; height: 28px; }
.thankyou-content h1 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.thankyou-content p { margin-top: 12px; color: var(--gray-500); font-size: 17px; }
.thankyou-content .btn { margin-top: 20px; }

/* Thank-you inline (JS-generated) */
.thankyou-inline { text-align: center; padding: 48px 20px; }
.thankyou-inline-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--emerald-50); color: var(--emerald-dark);
  border: var(--border-w) solid var(--black);
  box-shadow: var(--shadow-brutal-sm);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.thankyou-inline h3 {
  font-size: 24px; font-weight: 800; color: var(--gray-900); margin: 0 0 10px;
}
.thankyou-inline p {
  color: var(--gray-500); font-size: 16px; margin: 0 auto; line-height: 1.6; max-width: 420px;
}
.thankyou-inline .btn { margin-top: 24px; }

.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: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--cream); box-shadow: var(--shadow-brutal-sm);
}
.flow-row.highlight {
  border-color: var(--black); 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;
  border: 2px solid var(--black);
  font-size: 12px; font-weight: 700; font-family: var(--font-display);
}
.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: var(--border-w) solid var(--black); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-brutal);
}
.visual-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--black); }
.visual-top h2 { margin-top: 8px; font-size: 18px; font-weight: 700; }
.visual-mark {
  width: 60px; height: 44px; object-fit: contain; padding: 4px;
  border: 2px solid var(--black); 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 12px; border-radius: var(--radius);
  border: 2px solid var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-family: var(--font-display);
}
.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(--blue-50); color: var(--gray-600); }

/* ============ MEMPHIS FLOAT ANIMATION ============ */
@keyframes memphis-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
.memphis-hero::before,
.memphis-hero::after,
.memphis-section::before,
.memphis-section::after {
  animation: memphis-float 6s ease-in-out infinite;
}
.memphis-section::after {
  animation-delay: 1.5s;
}

/* ============================================================
   HERITAGE OVERRIDES — refine the base rules above into the
   swapzen-web look: copper CTAs, hairline cards + soft shadows,
   navy/copper trust strip & footer, no Memphis decoration.
   ============================================================ */
body { color: var(--gray-700); background: var(--page); }
h1, h2, h3, h4, h5, h6 { color: var(--navy); letter-spacing: -0.01em; }

/* Header — ivory glass */
.site-header { background: rgba(251, 249, 244, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-200); }
.nav a { color: var(--gray-500); font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--navy); background: var(--copper-wash); }

/* Buttons — pill, copper primary, subtle lift (no brutal offset) */
.btn { border-radius: var(--radius-pill); border: 1px solid var(--gray-200); box-shadow: none; font-weight: 600; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-brutal-sm); }
.btn:active { transform: none; box-shadow: none; }
.btn-primary, .btn-primary:hover { background: var(--copper); color: #fff; border-color: var(--copper); }
.btn-primary:hover { background: var(--copper-press); border-color: var(--copper-press); box-shadow: 0 8px 20px rgba(194, 65, 12, 0.22); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--gray-200); }
.btn-ghost:hover { background: var(--cream); }
.mobile-toggle { background: #fff; border: 1px solid var(--gray-200); color: var(--navy); box-shadow: none; }
.mobile-toggle:hover { transform: none; box-shadow: var(--shadow-brutal-sm); }
.mobile-panel a:hover { background: var(--copper-wash); color: var(--navy); }

/* Eyebrow — copper-wash pill, no border/shadow */
.eyebrow { background: var(--copper-wash); color: var(--copper); border: none; box-shadow: none; }

/* Cards & surfaces — hairline + soft shadow, gentle lift on hover */
.bcard, .cpanel, .scan-card, .pilot-form, details, .step-card, .cpill,
.hcard, .hero-tokens span, .city-row span, .flow-row, .deal-visual,
.media-art, .icon-box, .cl-dot, .cp-label, .sbadge, .status-badge,
.hcard-badge, .scan-pass, .thankyou-icon, .thankyou-inline-icon,
.step-number, .flow-index, .scan-top-dot, .si-bar, .visual-mark {
  border: 1px solid var(--gray-100);
  box-shadow: none;
}
.bcard, .cpanel, .scan-card, .pilot-form, details, .step-card, .cpill,
.hcard, .media-art, .deal-visual { box-shadow: var(--shadow-brutal-sm); }
.bcard:hover, .cpanel:hover, .step-card:hover, .cpill:hover, .hcard:hover, details:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-brutal);
}
.hcard:nth-child(1), .hcard:nth-child(3) { transform: none; margin-top: 0; }
.bcard::before, .pcard::before { background: var(--copper) !important; }
.bcard-num { color: var(--gray-100); -webkit-text-stroke: 0; }

/* Trust strip + footer — navy with copper top rule (web-app footer) */
.trust-strip { background: var(--navy); border-top: 3px solid var(--copper); }
.site-footer { background: var(--navy); border-top: 3px solid var(--copper); }
.ts-icon { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.ts-icon svg, .footer-contact-item svg { color: var(--copper); }
.site-footer h4 { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--copper); }
.footer-logo { width: auto; height: 30px; border: none; border-radius: 0; }

/* Section tints */
.sec-light, .pilot-sec, .sec-amber { background: var(--cream); }
.hero-home { background: var(--page); }
.hero-sub { background: var(--cream); border-bottom: 1px solid var(--gray-200); }

/* Comparison panels */
.cpanel.cp-muted { background: var(--cream); }
.cp-muted .cl-dot { background: var(--red-50); color: var(--red); }
.cp-strong .cl-dot { background: var(--emerald-50); color: var(--emerald); }
.cp-muted .cp-label { background: var(--gray-50); color: var(--gray-500); }
.cp-strong .cp-label { background: var(--copper-wash); color: var(--copper); }

/* AI scan card tints */
.scan-top { background: var(--copper-wash); border-bottom: 1px solid var(--gray-100); }
.scan-top-title { color: var(--copper); }
.scan-top-dot { background: var(--copper); }
.scan-pass { background: var(--emerald-50); color: var(--emerald-dark); }
.si-bar { background: var(--gray-50); }
.scan-foot { background: var(--cream); border-top: 1px solid var(--gray-100); }

/* Category / token pills */
.cpill { color: var(--gray-700); font-weight: 600; }
.hero-tokens span { color: var(--gray-700); font-weight: 500; }
.hero-tokens svg, .ht-violet, .ht-amber, .ht-blue { color: var(--copper); }
.city-row svg { color: var(--emerald); }

/* Inputs — copper focus ring */
.input:focus, textarea:focus, select:focus { border-color: var(--copper); box-shadow: 0 0 0 3px var(--copper-wash); }

/* FAQ +/- marker */
summary::after { background: var(--copper-wash); color: var(--copper); border: none; }
details[open] summary::after { content: "\2212"; background: var(--copper); color: #fff; }

/* Sub-page step number / flow accents */
.step-number { background: var(--copper-wash); color: var(--copper); }
.flow-index { background: var(--copper); color: #fff; }
.flow-row.highlight { background: var(--emerald-50); }
.content-section a { color: var(--copper); }

/* ============ NAVY GRADIENT HERO (matches swapzen-web) ============ */
.hero-home {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, var(--hero-end) 100%);
}
.hero-home::before {
  content: ""; position: absolute; top: -100px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, var(--glow-gold), transparent 68%);
}
.hero-home .hero-grid { position: relative; z-index: 1; }
.hero-home h1 { color: #fff; }
.hero-home h1 .hl { color: var(--gold-bright); }
.hero-home .lead { color: rgba(255, 255, 255, 0.75); }
.hero-home .eyebrow {
  background: rgba(233, 162, 59, 0.15); color: var(--gold-light);
  border: 1px solid rgba(233, 162, 59, 0.32);
}
.hero-home .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint); animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero-home .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.hero-home .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.45); }
.hero-home .hero-tokens span {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85); box-shadow: none;
}
.hero-home .hero-tokens svg { color: var(--gold-bright); }

/* Hero device shot — app screenshot in a phone frame (mirrors swapzen-web) */
.hero-shot {
  display: block; margin: 0 auto; width: min(330px, 82vw); height: auto;
  border-radius: 40px; border: 10px solid #0a1722;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

/* Drop the Memphis cartoon illustrations from sub-page heroes → copy-focused */
.hero-sub-illust { display: none; }
.hero-sub-grid { grid-template-columns: 1fr; }

/* Kill all Memphis decoration */
.memphis-hero::before, .memphis-hero::after,
.memphis-section::before, .memphis-section::after,
.memphis-squiggle::after { display: none !important; }

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

@media (max-width: 768px) {
  :root { --section-y: 64px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .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 illustration */
  .illust-hero { max-width: 320px; }
  .hero-sub-illust .illust { max-width: 220px; }

  /* 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 */
  .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: 2px 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: 8px; }
  .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: 24px; height: 24px; }
  .cl-dot svg { width: 12px; height: 12px; }
  .clist li { font-size: 14px; gap: 8px; }

  /* Memphis — reduce on tablet */
  .memphis-hero::before { border-left-width: 20px; border-right-width: 20px; border-bottom-width: 35px; }
  .memphis-hero::after { width: 35px; height: 35px; }
  .memphis-section::before { width: 28px; height: 28px; }
  .memphis-section::after { border-left-width: 14px; border-right-width: 14px; border-bottom-width: 24px; }

  /* Spot illustrations */
  .bcard .illust-spot { width: 80px; height: 80px; }
  .cpanel .illust-panel { width: 110px; }
  .pcard .illust-phase { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .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 illustration */
  .illust-hero { max-width: 260px; }
  .hero-sub-illust .illust { max-width: 180px; }

  /* 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: 40px; height: 40px; }
  .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; }

  /* Memphis — hide most on small screens */
  .memphis-hero::before,
  .memphis-section::before,
  .memphis-section::after,
  .memphis-squiggle::after { display: none; }
  .memphis-hero::after { width: 25px; height: 25px; bottom: 20px; left: 20px; }

  /* Spot illustrations smaller */
  .bcard .illust-spot { width: 64px; height: 64px; }
  .cpanel .illust-panel { width: 90px; }
  .pcard .illust-phase { width: 56px; height: 56px; }
  .ai-copy .illust-ai { width: 140px; }
}
