/* ============================================================
   SWARM AI — Modern Classic / Classic Luxury theme
   Warm-white backgrounds, champagne-gold accents, dark elegant type.
   ============================================================ */

:root {
  --ivory: #FAF7F0;
  --warm-white: #FFFFFF;
  --parchment: #F3EEE3;
  --hairline: #E4DCC9;
  --hairline-strong: #D8CDB2;

  --ink: #201C14;
  --ink-soft: #4A4436;
  --ink-muted: #8A8270;

  --gold: #B4923F;
  --gold-light: #D9BE7C;
  --gold-deep: #8A6C1B;
  --gold-wash: rgba(180, 146, 63, 0.08);

  --success: #4C7A5A;
  --error: #A8402F;
  --info: #4A6E8A;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 4px 24px rgba(32, 28, 20, 0.06);
  --shadow-lg: 0 12px 48px rgba(32, 28, 20, 0.10);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--gold); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

section { padding: 68px 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 0 0 16px;
}
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.1; }
h2 { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.18; }
h3 { font-size: 22px; }
h4 { font-size: 17px; }

p { margin: 0 0 14px; color: var(--ink-soft); }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; }
.muted { color: var(--ink-muted); }
.eyebrow {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 12px; display: block;
}
.center { text-align: center; }

/* --- nav --- */
nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); }
.brand .name { font-size: 19px; font-weight: 600; letter-spacing: 1px; color: var(--ink); }
.brand .name em { color: var(--gold-deep); font-style: normal; }
.nav-links { display: flex; gap: 26px; flex: 1; }
.nav-links a { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; letter-spacing: 0.2px;
  transition: all .18s ease; text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--warm-white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--warm-white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--hairline-strong); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink-soft); border: none; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { background: var(--error); color: #fff; border-color: var(--error); }

/* --- cards --- */
.card {
  background: var(--warm-white); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow);
}
.card-flat { background: var(--parchment); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 24px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- hero --- */
.hero { padding: 90px 0 70px; border-bottom: 1px solid var(--hairline); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold-wash) 0%, transparent 65%); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--gold-light);
  border-radius: 30px; padding: 7px 16px; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--gold-deep); background: var(--gold-wash); margin-bottom: 22px;
}
.dot-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

/* --- product card --- */
.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .tag { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.product-card .price { font-family: var(--serif); font-size: 28px; color: var(--ink); margin: 10px 0 18px; }
.product-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.product-card li { padding: 6px 0; border-bottom: 1px dashed var(--hairline); font-size: 14px; color: var(--ink-soft); }
.product-card li:last-child { border-bottom: none; }
.product-card li::before { content: '—'; color: var(--gold); margin-right: 8px; }

/* --- table --- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--hairline); font-size: 14px; }
th { text-transform: uppercase; font-size: 11px; letter-spacing: 1px; color: var(--ink-muted); font-weight: 600; }
tr:hover td { background: var(--gold-wash); }

/* --- status pill --- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pill-active { background: rgba(76,122,90,0.12); color: var(--success); }
.pill-suspended { background: rgba(74,110,138,0.12); color: var(--info); }
.pill-revoked { background: rgba(168,64,47,0.12); color: var(--error); }
.pill-draft, .pill-pending { background: rgba(138,130,112,0.14); color: var(--ink-muted); }
.pill-live, .pill-approved { background: rgba(76,122,90,0.12); color: var(--success); }

/* --- forms --- */
.form-group { margin-bottom: 18px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hairline-strong); border-radius: var(--radius);
  background: var(--warm-white); font-family: var(--sans); font-size: 14.5px; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }
.checkbox-row { display: flex; align-items: center; gap: 8px; }
.checkbox-row input { width: auto; }
.field-error { color: var(--error); font-size: 12.5px; margin-top: 4px; }
.form-card { max-width: 460px; margin: 0 auto; }

/* --- license key --- */
.license-key { font-family: var(--mono); font-size: 17px; letter-spacing: 1.5px; color: var(--ink); background: var(--parchment); padding: 10px 16px; border-radius: var(--radius); display: inline-block; border: 1px solid var(--hairline); }

/* --- flash messages --- */
.flash { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 16px; font-size: 14px; border: 1px solid transparent; }
.flash-success { background: rgba(76,122,90,0.10); color: var(--success); border-color: rgba(76,122,90,0.25); }
.flash-error { background: rgba(168,64,47,0.10); color: var(--error); border-color: rgba(168,64,47,0.25); }
.flash-info { background: rgba(74,110,138,0.10); color: var(--info); border-color: rgba(74,110,138,0.25); }

/* --- footer --- */
footer { border-top: 1px solid var(--hairline); background: var(--parchment); padding: 48px 0 28px; margin-top: 60px; }
footer .foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
footer a { color: var(--ink-soft); font-size: 13.5px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.copyright { font-size: 12.5px; color: var(--ink-muted); margin-top: 30px; }

/* --- sidebar layout (dashboard/admin) --- */
.shell { display: grid; grid-template-columns: 230px 1fr; gap: 0; min-height: calc(100vh - 68px); }
.sidebar { border-right: 1px solid var(--hairline); background: var(--warm-white); padding: 28px 18px; }
.sidebar a {
  display: block; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; color: var(--ink-soft);
  margin-bottom: 4px; font-weight: 500;
}
.sidebar a:hover, .sidebar a.active { background: var(--gold-wash); color: var(--gold-deep); }
.sidebar .section-label { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-muted); margin: 20px 0 8px 14px; }
.content-area { padding: 40px; }

/* --- trust bar / stats --- */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.stat-cell { background: var(--warm-white); padding: 24px 16px; text-align: center; }
.stat-cell .v { font-family: var(--serif); font-size: 26px; color: var(--gold-deep); }
.stat-cell .l { font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-muted); margin-top: 6px; }

/* --- responsive --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .shell { grid-template-columns: 1fr; }
  .sidebar { border-right: none; border-bottom: 1px solid var(--hairline); display: flex; overflow-x: auto; padding: 12px; }
  .sidebar .section-label { display: none; }
  .sidebar a { white-space: nowrap; margin-bottom: 0; }
  .nav-links { display: none; }
  .content-area { padding: 24px; }
}
@media (max-width: 600px) {
  section { padding: 44px 0; }
  .nav-inner { flex-wrap: wrap; gap: 12px; }
}

/* ============================================================
   HOMEPAGE REDESIGN — Swarm AI
   Premium white/gold, gradients, glow, glass, motion.
   Appended block — base tokens/components above are unchanged
   so dashboard/admin/auth pages keep working exactly as before.
   ============================================================ */

:root {
  --gold-grad: linear-gradient(135deg, #E8C978 0%, #B4923F 55%, #8A6C1B 100%);
  --gold-grad-soft: linear-gradient(135deg, rgba(232,201,120,0.16) 0%, rgba(180,146,63,0.06) 100%);
  --glow-gold: 0 0 0 1px rgba(180,146,63,0.16), 0 20px 60px -12px rgba(180,146,63,0.35);
  --glass-bg: rgba(255,255,255,0.6);
  --glass-border: rgba(255,255,255,0.5);
  --ease: cubic-bezier(.22,1,.36,1);
}

/* --- logo mark --- */
.brand { display: flex; align-items: center; gap: 10px; }
.logo-mark { flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(180,146,63,0.25)); }

/* --- reveal-on-scroll (JS toggles .is-visible) --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .08s; }
.reveal-delay-2.is-visible { transition-delay: .16s; }
.reveal-delay-3.is-visible { transition-delay: .24s; }
.reveal-delay-4.is-visible { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* --- section eyebrow with connecting line --- */
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin: 0 0 40px; }

/* --- new hero --- */
.hero-v2 {
  position: relative; overflow: hidden;
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(180,146,63,0.10), transparent 60%),
    radial-gradient(700px 400px at -5% 90%, rgba(180,146,63,0.07), transparent 60%);
}
.hero-v2 .net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; pointer-events: none; }
.hero-v2-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }

.badge-glow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--gold-light); border-radius: 30px; padding: 7px 16px 7px 12px;
  font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 600;
  color: var(--gold-deep); background: var(--glass-bg); backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 8px 24px -12px rgba(180,146,63,0.4);
  margin-bottom: 24px;
}
.dot-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--success); position: relative; }
.dot-pulse::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--success);
  animation: pulseRing 2.2s var(--ease) infinite;
}
@keyframes pulseRing { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }

.hero-v2 h1 { font-size: clamp(34px, 4.8vw, 54px); }
.gold-text {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}

.hero-v2-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-v2-stats .stat { }
.hero-v2-stats .stat .v { font-family: var(--serif); font-size: 24px; color: var(--ink); font-weight: 600; }
.hero-v2-stats .stat .l { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-muted); margin-top: 2px; }

/* hero visual panel: glass card with orbiting nodes */
.hero-visual {
  position: relative; border-radius: 20px; padding: 30px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  box-shadow: var(--glow-gold); backdrop-filter: blur(10px);
  min-height: 380px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-visual::before {
  content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px; border-radius: 20px 20px 0 0;
  background: var(--gold-grad); opacity: 0.7;
}
.hero-visual-stage { position: relative; flex: 1; min-height: 190px; margin: 6px 0 18px; }
.hero-visual-stage svg { width: 100%; height: 100%; }
.swarm-node { animation: floatSlow 5s ease-in-out infinite; }
.swarm-node:nth-child(2n) { animation-delay: -1.4s; animation-duration: 6.2s; }
.swarm-node:nth-child(3n) { animation-delay: -2.6s; animation-duration: 4.6s; }
@keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-visual .product-name { font-family: var(--serif); font-size: 20px; margin: 0; }
.hero-visual .product-tag { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

/* --- premium button variants --- */
.btn-gold {
  background: var(--gold-grad); border: none; position: relative; z-index: 1; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(138,108,27,0.55);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(138,108,27,0.65); color:#fff; }
.btn-outline:hover { transform: translateY(-1px); }
.btn { transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); }

.product-card { transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--glow-gold); border-color: var(--gold-light); }

/* --- modern capability / feature cards --- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative; background: var(--warm-white); border: 1px solid var(--hairline); border-radius: 16px;
  padding: 26px 24px; overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: var(--gold-grad); opacity: 0; transition: opacity .28s var(--ease);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card:hover::after { opacity: 1; }
.feature-card .icon-badge {
  width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-wash); color: var(--gold-deep); margin-bottom: 16px;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: 13.8px; margin: 0; }
.feature-index { position: absolute; top: 18px; right: 20px; font-family: var(--mono); font-size: 11px; color: var(--hairline-strong); }

/* --- process steps (How It Works, swarm-converging style) --- */
.process-rail { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-rail::before {
  content: ''; position: absolute; top: 24px; left: 6%; right: 6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong) 15%, var(--hairline-strong) 85%, transparent);
}
.process-step { position: relative; text-align: left; }
.process-step .num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--warm-white); border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 17px; color: var(--gold-deep);
  margin-bottom: 16px; position: relative; z-index: 2; box-shadow: 0 6px 18px -8px rgba(180,146,63,0.35);
}
.process-step h4 { font-size: 15.5px; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; }

/* --- capital / position sizing guide --- */
.sizing-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sizing-card {
  border-radius: 16px; padding: 26px; background: var(--warm-white); border: 1px solid var(--hairline);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
  display: flex; flex-direction: column;
}
.sizing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sizing-card.is-recommended { border-color: var(--gold-light); background: linear-gradient(180deg, var(--gold-wash), var(--warm-white) 40%); box-shadow: var(--glow-gold); }
.sizing-card .tier-label { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); margin-bottom: 4px; }
.sizing-card .tier-title { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; }
.sizing-card .tier-sub { font-size: 12.5px; color: var(--ink-muted); margin-bottom: 16px; }
.sizing-card ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.sizing-card li { font-size: 13.5px; color: var(--ink-soft); padding: 7px 0; border-bottom: 1px dashed var(--hairline); display: flex; gap: 8px; }
.sizing-card li:last-child { border-bottom: none; }
.sizing-card li::before { content: '✓'; color: var(--gold-deep); font-weight: 700; flex-shrink: 0; }
.recommended-pill {
  align-self: flex-start; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 700;
  background: var(--gold-grad); color: #fff; padding: 4px 10px; border-radius: 20px; margin-bottom: 14px;
}
.risk-disclaimer { font-size: 12px; color: var(--ink-muted); max-width: 720px; margin: 28px auto 0; text-align: center; line-height: 1.6; }
footer .risk-disclaimer { margin: 0 0 18px; text-align: left; max-width: 100%; }

/* --- CTA band --- */
.cta-band {
  position: relative; border-radius: 22px; padding: 56px 40px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #201C14 0%, #3A3222 100%);
  color: #F3EEE3;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 20% 0%, rgba(232,201,120,0.18), transparent 60%),
              radial-gradient(500px 260px at 90% 100%, rgba(180,146,63,0.16), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #FAF7F0; }
.cta-band p { color: #D9CFB8; }
.cta-band .btn-outline { border-color: rgba(250,247,240,0.35); color: #FAF7F0; }
.cta-band .btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* --- mobile nav toggle --- */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 4px; width: 34px; height: 34px; border: none; background: none; cursor: pointer; }
.icon-link { padding: 8px 10px !important; display: inline-flex; align-items: center; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- responsive additions for redesign --- */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-rail { grid-template-columns: repeat(2, 1fr); }
  .process-rail::before { display: none; }
  .sizing-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-v2-inner { grid-template-columns: 1fr; }
  .hero-v2-stats { gap: 22px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column;
    background: var(--ivory); border-bottom: 1px solid var(--hairline); padding: 8px 24px 18px;
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s var(--ease), opacity .3s var(--ease);
  }
  .nav-links.is-open { max-height: 320px; opacity: 1; padding-top: 14px; }
  .nav-links a { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .process-rail { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
