/* ============================================================
   Spies Media Group — styles.css (v3)
   Dark, minimalist, cobalt accent.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #0A0B0D;
  --bg-2: #0F1115;
  --surface: #13151B;
  --surface-2: #181B22;
  --surface-3: #1E222B;

  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);

  --ink: #F7F8FA;
  --ink-2: rgba(247, 248, 250, 0.74);
  --ink-3: rgba(247, 248, 250, 0.50);
  --ink-4: rgba(247, 248, 250, 0.32);

  --accent: #2D7BFF;
  --accent-2: #5B9BFF;
  --accent-soft: rgba(45, 123, 255, 0.10);
  --accent-glow: rgba(45, 123, 255, 0.35);

  --good: #2DD4A6;
  --warm: #F5B454;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(45, 123, 255, 0.4), 0 8px 40px rgba(45, 123, 255, 0.2);

  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1180px;
  --container-narrow: 760px;
  --section-y: clamp(80px, 11vw, 140px);
}

/* ---------- 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;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }
section { padding: var(--section-y) 0; position: relative; }
section.tight { padding: 60px 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.028em;
  line-height: 1.08;
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
  letter-spacing: -0.018em;
  line-height: 1.25;
  font-weight: 600;
}
h4 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
p { margin: 0; color: var(--ink-2); }
.lede {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  margin-top: 22px;
  max-width: 620px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.accent { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: all 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(45, 123, 255, 0.28);
}
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 11, 13, 0.86);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  color: var(--accent-2);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius-pill);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 24px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .btn {
    margin-left: 0;
    margin-top: 14px;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(80px, 12vh, 120px);
  padding-bottom: clamp(80px, 11vh, 120px);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before,
.hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.hero-bg::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(45, 123, 255, 0.45), transparent 60%);
  top: -160px; right: -120px;
}
.hero-bg::after {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(91, 155, 255, 0.20), transparent 60%);
  bottom: -200px; left: -120px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,0.6), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,0.6), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container,
.hero .container-narrow { position: relative; z-index: 1; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
}
.hero-tagline .pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}
.hero h1 .accent-underline {
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent-underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13px;
}
.hero-meta strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  font-size: 22px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ---------- Logo strip ---------- */
.logo-strip {
  padding: 0 0 64px;
  border-bottom: 1px solid var(--line);
}
.logo-strip-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.logo-strip-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.6;
}
.logo-strip-row span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink-3);
  letter-spacing: -0.01em;
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head p { margin-top: 18px; font-size: 17px; }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 14px; }
.service-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 22px; }
.service-card .features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
.service-card .features li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card .features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Dashboard preview (small) ---------- */
.preview-section {
  padding: clamp(80px, 11vw, 130px) 0;
}
.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 920px) {
  .preview-grid { grid-template-columns: 1fr; gap: 56px; }
}
.preview-text h2 { margin-bottom: 22px; }
.preview-text p { font-size: 16px; margin-bottom: 16px; max-width: 440px; }
.preview-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.preview-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.preview-list svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* The card itself */
.preview-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(45,123,255,0.10) 0%, transparent 70%),
    linear-gradient(180deg, #14171F 0%, #0E1015 100%);
  box-shadow:
    0 0 0 1px rgba(45, 123, 255, 0.18),
    0 30px 80px -20px rgba(45, 123, 255, 0.30),
    0 12px 40px rgba(0, 0, 0, 0.5);
  max-width: 460px;
  margin: 0 auto;
}
.preview-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.preview-card-head .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.preview-card-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--good);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.preview-card-head .live::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(45, 212, 166, 0.5);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 166, 0.5); }
  100% { box-shadow: 0 0 0 8px rgba(45, 212, 166, 0); }
}
.preview-card .big-num {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.preview-card .delta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--good);
  background: rgba(45, 212, 166, 0.10);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.preview-card .delta svg { width: 12px; height: 12px; }

.preview-chart {
  margin-top: 22px;
  height: 110px;
  width: 100%;
  display: block;
}
.preview-chart .area { fill: url(#previewGrad); opacity: 0.85; }
.preview-chart .line {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.preview-chart .dot {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
}

.preview-card-foot {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.preview-card-foot .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preview-card-foot .stat .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.preview-card-foot .stat .k {
  font-size: 10.5px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
.stats-row .stat {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.stats-row .stat:last-child { border-right: none; }
@media (max-width: 760px) {
  .stats-row .stat:nth-child(2) { border-right: none; }
  .stats-row .stat:nth-child(1),
  .stats-row .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
.stats-row .v {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.stats-row .v .accent { color: var(--accent-2); }
.stats-row .k {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.45;
}

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.case-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.case-card .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  padding: 4px 10px;
  border: 1px solid rgba(45, 123, 255, 0.25);
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  margin-bottom: 22px;
}
.case-card h3 {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 16px;
}
.case-card .problem {
  font-size: 14.5px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.case-card .case-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case-card .case-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-2);
}
.case-card .case-stat .label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
}
.case-card .btn-link {
  color: var(--accent-2);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case-card .btn-link:hover { color: var(--accent); }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: block;
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--ink-3); }

/* ---------- Principles (about page) ---------- */
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 880px) { .principles { grid-template-columns: 1fr; } }
.principle {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.principle .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 18px;
  display: block;
}
.principle h3 {
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.principle p { font-size: 14.5px; color: var(--ink-3); }

/* ---------- Service blocks (services page) ---------- */
.subnav {
  position: sticky;
  top: 68px;
  z-index: 10;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 14px 28px;
  scrollbar-width: none;
}
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  color: var(--ink-3);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.subnav a:hover {
  color: var(--ink);
  border-color: var(--line-2);
}
.service-block {
  padding: clamp(70px, 9vw, 110px) 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: none; }
.service-block .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .service-block .grid { grid-template-columns: 1fr; gap: 40px; }
}
.service-meta h2 { margin-bottom: 22px; }
.service-meta p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }
.service-meta em { font-style: normal; color: var(--accent-2); }
.service-detail {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.service-detail h4 {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.service-detail ul { display: flex; flex-direction: column; gap: 12px; }
.service-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.service-detail ul li:last-child { border-bottom: none; padding-bottom: 0; }
.service-detail ul li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
.for-line {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-3);
}
.for-line strong { color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #060708 100%);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(45, 123, 255, 0.18), transparent 60%);
  filter: blur(90px);
  pointer-events: none;
}
.cta-band .container-narrow { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
}
.cta-band p {
  margin: 22px auto 36px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 540px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand p {
  margin-top: 18px;
  font-size: 14px;
  max-width: 320px;
  color: var(--ink-3);
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-4);
}
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 60ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 120ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 180ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 300ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .preview-card-head .live::before { animation: none; }
  .preview-chart .draw { stroke-dasharray: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
.contact-intro h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 22px; }
.contact-intro .lede { margin-bottom: 36px; }

.contact-side {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.contact-side h4 { margin-bottom: 18px; color: var(--ink-3); }
.expect-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
  display: flex; gap: 14px;
  counter-increment: ex;
}
.expect-list { counter-reset: ex; }
.expect-list li::before {
  content: counter(ex, decimal-leading-zero);
  font-family: var(--font-mono);
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  width: 24px;
  padding-top: 2px;
}
.contact-side .direct {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}
.contact-side .direct a { color: var(--accent-2); font-weight: 500; }

/* ---------- Form ---------- */
form .field { margin-bottom: 22px; }
form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
form .req { color: var(--accent); }
form input[type="text"],
form input[type="email"],
form input[type="url"],
form select,
form textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s, background 0.15s;
}
form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px rgba(45, 123, 255, 0.15);
}
form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F7F8FA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
form select option { background: var(--surface); color: var(--ink); }
form textarea { resize: vertical; min-height: 110px; }
form .checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin-bottom: 0;
  transition: border-color 0.15s, background 0.15s;
}
form .check:hover { border-color: var(--line-2); }
form .check input { accent-color: var(--accent); }
form .honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(45, 212, 166, 0.10);
  border: 1px solid rgba(45, 212, 166, 0.30);
  color: var(--good);
}
.form-status.error {
  display: block;
  background: rgba(245, 100, 100, 0.10);
  border: 1px solid rgba(245, 100, 100, 0.30);
  color: #F58484;
}

/* ---------- Privacy / long-form ---------- */
.longform h3 {
  font-size: 18px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.longform p { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.longform a { color: var(--accent-2); }
.longform ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}
.longform ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
}
.longform ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 17px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Utility ---------- */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
  border: 0;
}
