/* ============================================================
   WGAI Homepage — "Operational infrastructure" layer
   Loads ON TOP of styles.css (shared base). Homepage-only.

   Brand-true to BRAND.md (Spec B):
   - Navy #0B1533 dominates. Electric #1FA9FF is a SPARING accent
     (CTAs, the "AI", key numbers, thin rules, live dots) — never a
     section background, never a glow-everywhere wash.
   - Light / paper sections (#F4F7FB, steel #536071 body) alternate
     with navy — the rhythm of a serious infrastructure brand, not a
     trend-chasing all-dark AI startup.
   - Feel: sturdy, structured, secure, professional, implementation-
     aware. Editorial type + technical labels + a real, live system.
   ============================================================ */

:root {
  --cc-navy: #0b1533;
  --cc-navy-deep: #060c1c;
  --cc-navy-panel: #0e1a3d;
  --cc-electric: #1fa9ff;
  --cc-electric-ink: #1c6fb8;          /* deeper accent for legibility on light */
  --cc-silver: #c7ccd4;
  --cc-paper: #f4f7fb;
  --cc-paper-2: #e8edf2;
  --cc-ink: #0b1533;
  --cc-muted: #536071;
  --cc-line-d: rgba(199, 204, 212, 0.14);   /* hairline on dark */
  --cc-line-l: rgba(11, 21, 51, 0.10);       /* hairline on light */

  /* 3-role type system (locked in BRAND.md, amended 2026-05-30):
     display = the WGAI voice (distinctive, engineered, NOT the default web sans);
     body    = Inter workhorse for reading; mono = technical instruments (indices,
     live feed, KPIs, data) — the "infrastructure" signal. A system, not fragmentation. */
  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Display type — the WGAI voice. Archivo: an engineered grotesque, slightly
   expanded + heavy. Distinct from Inter (body) and from ACS/WADE — reads
   "infrastructure," not "default web template." */
.home h1,
.home h2,
.home .display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.012em;
}
/* Hero headline — monumental: heaviest weight + widest cut for signage gravity. */
.home .hero h1 {
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -0.018em;
  line-height: 0.98;
}

.home {
  background: var(--cc-navy-deep);
  color: #fff;
  font-family: var(--font-body);
}

/* Eyebrows / kickers read as technical metadata → mono. */
.home .eyebrow {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
}

/* ---------- Structured infrastructure backdrop (ALIVE) ----------
   A clean navy field with a faint blueprint grid. One restrained
   electric bloom, top-right. The grid drifts slowly upward and a thin
   electric "scan sweep" travels down on a long loop — the signal of a
   live system inspecting itself. No orbiting glow, no film grain, no
   marketing wash — engineered motion, not sci-fi. */
.home .field-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Layer order: first = on top. A near-opaque navy veil sits OVER the shield
     so the brand mark reads as a faint ghost (~10%), never fighting the text.
     Shield anchors bottom-left to balance the electric bloom, top-right. */
  background:
    radial-gradient(880px 520px at 84% -10%, rgba(31, 169, 255, 0.11), transparent 58%),
    linear-gradient(180deg, rgba(8, 16, 34, 0.90) 0%, rgba(6, 11, 26, 0.93) 100%),
    url("/assets/logo-transparent.png") left -170px bottom -190px / min(640px, 78vw) no-repeat,
    linear-gradient(180deg, #0a1226 0%, #070d1e 60%, #050a18 100%);
}
/* drifting blueprint grid — moves exactly one cell (72px) so the loop is seamless */
.home .field-bg::after {
  content: "";
  position: absolute;
  inset: -74px -2px -2px;
  background-image:
    linear-gradient(rgba(199, 204, 212, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 204, 212, 0.045) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px;
  -webkit-mask-image: radial-gradient(125% 80% at 50% 0, #000 28%, transparent 94%);
  mask-image: radial-gradient(125% 80% at 50% 0, #000 28%, transparent 94%);
  opacity: 0.5;
  animation: cc-grid-drift 26s linear infinite;
  will-change: transform;
}
@keyframes cc-grid-drift {
  from { transform: translateY(0); }
  to   { transform: translateY(-72px); }
}
/* scan sweep — a whisper-thin electric band that descends, then rests off-screen */
.home .field-bg::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 26vh;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(31, 169, 255, 0.05) 46%,
    rgba(31, 169, 255, 0.09) 50%,
    rgba(31, 169, 255, 0.05) 54%,
    transparent 100%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000 30%, transparent 92%);
  mask-image: radial-gradient(120% 100% at 50% 0, #000 30%, transparent 92%);
  animation: cc-scan 12s cubic-bezier(.6, 0, .4, 1) infinite;
  will-change: transform, opacity;
}
@keyframes cc-scan {
  0%   { transform: translateY(-30vh); opacity: 0; }
  6%   { opacity: 1; }
  34%  { transform: translateY(118vh); opacity: 1; }
  41%  { transform: translateY(118vh); opacity: 0; }
  100% { transform: translateY(118vh); opacity: 0; }
}

.home main { position: relative; z-index: 1; }

/* =====================  Header / mobile nav (hamburger)  ===================== */
.home .nav-toggle { display: none; }

@media (max-width: 900px) {
  /* override the base column-stack: keep ONE compact bar + a hamburger,
     so the header stays ~64px and the audit CTA never scrolls off-screen */
  .home .site-header .nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 9px 0;
    min-height: 60px;
    position: relative;
  }
  .home .brand-mark { min-width: 0; }
  .home .brand-mark img { width: 40px; }
  .home .nav-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 46px; height: 46px; flex: 0 0 46px; padding: 0; cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px;
  }
  .home .nav-toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.26s cubic-bezier(.2, .7, .2, 1), opacity 0.2s; }
  .home .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .home .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .home .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .home .site-header .nav-links {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0; width: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 13, 30, 0.98);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--cc-line-d);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
    padding: 4px 18px 4px;
    overflow: hidden; max-height: 0; opacity: 0; pointer-events: none;
    transition: max-height 0.34s cubic-bezier(.2, .7, .2, 1), opacity 0.24s ease, padding 0.24s ease;
  }
  .home .site-header .nav.nav-open .nav-links {
    max-height: 80vh; opacity: 1; pointer-events: auto; overflow-y: auto;
    padding: 4px 18px 18px;
  }
  .home .site-header .nav-links a {
    padding: 15px 4px; font-size: 1.02rem;
    border-bottom: 1px solid var(--cc-line-d);
  }
  .home .site-header .nav-links a.button.primary {
    margin-top: 14px; border-bottom: 0; justify-content: center; font-size: 1rem;
  }
}

/* Choreographed entrance — elements rise in on load, staggered by --d.
   Above-the-fold only; below-fold uses the .reveal IntersectionObserver. */
.cc-in {
  opacity: 0;
  transform: translateY(18px);
  animation: cc-rise 0.8s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes cc-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* =====================  HERO  ===================== */
.home .hero {
  min-height: auto;
  display: block;
  background: transparent;
  border-bottom: 1px solid var(--cc-line-d);
}
.home .hero-inner { padding: 70px 0 60px; }

.hero-lede { max-width: 940px; }
.home .hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 1.03;
  max-width: 17ch;
  margin: 0 0 20px;
}
.home .hero h1 .accent {
  color: var(--cc-electric);
  white-space: nowrap;
}
.home .hero-copy {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
}
.home .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* ---------- The operating layer: live control strip ---------- */
.op-layer {
  margin-top: 42px;
  border: 1px solid var(--cc-line-d);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 26, 61, 0.55), rgba(8, 15, 33, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 24px 60px rgba(0, 0, 0, 0.34);
}
.op-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--cc-line-d);
  background: rgba(255, 255, 255, 0.02);
}
.op-label {
  font: 500 0.72rem var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(199, 204, 212, 0.78);
}
.op-live {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 0.62rem var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cc-electric);
}
.op-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--cc-electric); box-shadow: 0 0 9px var(--cc-electric); animation: cc-breathe 2.4s ease-in-out infinite; }
@keyframes cc-breathe { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } }

.op-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.op-col {
  position: relative;
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 16px 22px;
  border-right: 1px solid var(--cc-line-d);
  transition: background 0.45s ease;
}
.op-col:last-child { border-right: 0; }
.op-ix { font: 500 0.72rem var(--font-mono); letter-spacing: 0.04em; color: rgba(199, 204, 212, 0.5); }
.op-ic svg { width: 24px; height: 24px; stroke: rgba(199, 204, 212, 0.85); fill: none; transition: stroke 0.45s ease; }
.op-l { font: 700 0.98rem Inter, sans-serif; color: #fff; }
.op-col .st {
  position: absolute; top: 18px; right: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(199, 204, 212, 0.45); transition: all 0.45s ease;
}
/* active column — the role currently firing (toggled by home.js) */
.op-col.is-active { background: rgba(31, 169, 255, 0.08); }
.op-col.is-active .op-ic svg { stroke: var(--cc-electric); }
.op-col.is-active .st { background: var(--cc-electric); box-shadow: 0 0 9px var(--cc-electric); }

.op-foot {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 14px 20px;
  border-top: 1px solid var(--cc-line-d);
  background: rgba(0, 0, 0, 0.16);
}
.op-feed { position: relative; min-height: 56px; overflow: hidden; }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; font: 400 0.78rem var(--font-mono); color: rgba(255, 255, 255, 0.86); }
.feed-row .fi { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; display: grid; place-items: center; background: rgba(31, 169, 255, 0.12); border: 1px solid rgba(31, 169, 255, 0.3); }
.feed-row .fi svg { width: 13px; height: 13px; stroke: var(--cc-electric); fill: none; }
.feed-row .ft { flex: 1; line-height: 1.2; }
.feed-row .ft b { color: #fff; font-weight: 700; }
.feed-row .fm { color: rgba(199, 204, 212, 0.55); font-size: 0.68rem; white-space: nowrap; }
.feed-row.enter { animation: feed-in 0.5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes feed-in { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: none; } }

.op-kpis { display: flex; gap: 26px; }
.op-kpi b { display: block; font: 600 1.4rem var(--font-mono); color: #fff; line-height: 1; letter-spacing: -0.01em; }
.op-kpi b span { color: var(--cc-electric); font-size: 0.78em; }
.op-kpi small { display: block; margin-top: 5px; font: 500 0.62rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(199, 204, 212, 0.66); }

/* ---------- Hero proof bar — one grounded client result ---------- */
.hero-proofbar {
  margin-top: 26px; display: flex; align-items: flex-start; gap: 12px;
  border: 1px solid var(--cc-line-d); border-left: 3px solid var(--cc-electric);
  border-radius: 10px; padding: 14px 18px;
  background: rgba(31, 169, 255, 0.05);
  color: rgba(255, 255, 255, 0.82); font-size: 0.97rem; line-height: 1.45; max-width: 88ch;
}
.hero-proofbar strong { color: #fff; font-weight: 700; }
.hero-proofbar .hpb-dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--cc-electric); box-shadow: 0 0 9px var(--cc-electric); animation: cc-breathe 2.4s ease-in-out infinite; }

/* =====================  SECTIONS — light/dark rhythm  ===================== */
.cc-section { padding: 94px 0; position: relative; }

/* LIGHT / paper sections — the brand's serious, clean register */
.cc-section.alt {
  background: var(--cc-paper);
  color: var(--cc-ink);
  border-top: 1px solid var(--cc-line-l);
  border-bottom: 1px solid var(--cc-line-l);
}

.cc-head { max-width: 760px; margin-bottom: 46px; }
.cc-head .eyebrow { color: var(--cc-electric); }
.cc-section.alt .cc-head .eyebrow { color: var(--cc-electric-ink); }
.cc-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; margin-bottom: 16px; }
.cc-section .lede { color: rgba(255, 255, 255, 0.74); font-size: 1.12rem; max-width: 70ch; }
.cc-section.alt h2 { color: var(--cc-ink); }
.cc-section.alt .lede { color: var(--cc-muted); }
.cc-section.alt .lede strong { color: var(--cc-ink); }
.cc-section.alt .lede em { font-style: italic; color: var(--cc-electric-ink); }

/* ---------- Capability / role / problem cards ---------- */
.cc-system { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cc-cap {
  position: relative;
  border: 1px solid var(--cc-line-d);
  border-radius: 12px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(.2, .7, .2, 1), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
/* hairline electric edge at the top — sparing accent */
.cc-cap::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(31, 169, 255, 0.5), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.cc-cap:hover { transform: translateY(-4px); border-color: rgba(31, 169, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.cc-cap:hover::after { opacity: 1; }
.cc-cap .cc-num { font: 500 0.74rem var(--font-mono); color: var(--cc-electric); letter-spacing: 0.08em; }
.cc-cap h3 { font-family: var(--font-display); font-weight: 700; margin: 12px 0 8px; font-size: 1.16rem; letter-spacing: -0.01em; }
.cc-cap p { color: rgba(255, 255, 255, 0.7); margin: 0; font-size: 0.98rem; }

/* cards inside a LIGHT section */
.cc-section.alt .cc-cap {
  background: #fff;
  border-color: var(--cc-line-l);
  box-shadow: 0 1px 2px rgba(11, 21, 51, 0.04), 0 14px 30px rgba(11, 21, 51, 0.06);
}
.cc-section.alt .cc-cap:hover { transform: translateY(-4px); border-color: rgba(31, 169, 255, 0.45); box-shadow: 0 1px 2px rgba(11, 21, 51, 0.05), 0 20px 40px rgba(11, 21, 51, 0.10); }
.cc-section.alt .cc-cap h3 { color: var(--cc-ink); }
.cc-section.alt .cc-cap p { color: var(--cc-muted); }
.cc-section.alt .cc-cap .cc-num { color: var(--cc-electric-ink); }

/* =====================  PROOF: labeled instrument readouts  ===================== */
.proof-instruments { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof-card {
  position: relative;
  border: 1px solid var(--cc-line-d);
  border-radius: 14px;
  padding: 24px 24px 22px;
  background: rgba(14, 26, 61, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 44px rgba(0, 0, 0, 0.3);
}
.proof-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.proof-source { display: flex; align-items: center; gap: 9px; font: 700 0.94rem Inter, sans-serif; color: #fff; }
.proof-glyph { width: 27px; height: 27px; border-radius: 7px; flex: 0 0 27px; display: grid; place-items: center; background: rgba(31, 169, 255, 0.12); border: 1px solid rgba(31, 169, 255, 0.36); font: 600 0.82rem var(--font-mono); color: var(--cc-electric); }
.proof-chip { font: 500 0.6rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cc-electric); border: 1px solid rgba(31, 169, 255, 0.36); border-radius: 999px; padding: 4px 9px 4px 8px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.proof-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cc-electric); box-shadow: 0 0 8px var(--cc-electric); }

.proof-rating { display: flex; align-items: flex-end; gap: 12px; }
.proof-rating .num { font: 600 3.1rem var(--font-mono); line-height: 0.86; color: #fff; letter-spacing: -0.02em; }
.stars { position: relative; display: inline-block; font-size: 1.15rem; letter-spacing: 3px; line-height: 1; font-family: Inter, sans-serif; }
.stars > .base { color: rgba(199, 204, 212, 0.22); }
.stars > .fill { position: absolute; left: 0; top: 0; width: 94%; overflow: hidden; white-space: nowrap; color: var(--cc-electric); }
.proof-rating .meta { padding-bottom: 4px; color: rgba(199, 204, 212, 0.85); font-size: 0.85rem; }
.proof-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; border-top: 1px solid var(--cc-line-d); padding-top: 16px; }
.proof-split .n { font: 600 1.6rem var(--font-mono); color: #fff; line-height: 1; letter-spacing: -0.01em; }
.proof-split .l { display: block; margin-top: 6px; color: rgba(199, 204, 212, 0.8); font-size: 0.8rem; }

.proof-chart { display: flex; align-items: flex-end; gap: 8px; height: 118px; margin: 6px 0 0; }
.proof-chart .bar {
  flex: 1; border-radius: 4px 4px 0 0; align-self: flex-end;
  background: linear-gradient(180deg, rgba(31, 169, 255, 0.5), rgba(31, 169, 255, 0.1));
  transform-origin: bottom; transform: scaleY(0);
  animation: cc-bar 0.9s cubic-bezier(.2, .7, .2, 1) forwards;
}
.proof-chart .bar.peak { position: relative; background: linear-gradient(180deg, var(--cc-electric), rgba(31, 169, 255, 0.28)); box-shadow: 0 0 14px rgba(31, 169, 255, 0.45); }
.proof-chart .bar .tag { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font: 600 0.72rem var(--font-mono); color: #fff; white-space: nowrap; }
@keyframes cc-bar { to { transform: scaleY(1); } }
.proof-axis { display: flex; justify-content: space-between; margin-top: 8px; color: rgba(199, 204, 212, 0.55); font: 400 0.66rem var(--font-mono); letter-spacing: 0.02em; }
.proof-foot { display: flex; gap: 22px; margin-top: 14px; border-top: 1px solid var(--cc-line-d); padding-top: 14px; }
.proof-foot .n { font: 600 1.5rem var(--font-mono); color: #fff; line-height: 1; letter-spacing: -0.01em; }
.proof-foot .n .up { color: var(--cc-electric); font-size: 0.9rem; margin-right: 4px; }
.proof-foot .l { display: block; margin-top: 6px; color: rgba(199, 204, 212, 0.8); font-size: 0.78rem; }
.proof-verified { margin-top: 16px; display: flex; align-items: center; gap: 8px; color: rgba(199, 204, 212, 0.7); font-size: 0.82rem; }
.proof-verified::before { content: "\2713"; color: var(--cc-electric); font-weight: 800; }

/* =====================  RANGE strip  ===================== */
.cc-range { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cc-pill {
  border: 1px solid var(--cc-line-l);
  border-radius: 999px; padding: 10px 17px; font-weight: 600;
  color: var(--cc-ink); background: #fff;
}
.cc-pill.live { border-color: rgba(31, 169, 255, 0.5); }
.cc-pill.live::before { content: "\25CF"; color: var(--cc-electric); margin-right: 8px; font-size: 0.7em; }
/* range labels (currently inlined electric on light — keep legible) */
.cc-section.alt .small { color: var(--cc-electric-ink) !important; }

/* =====================  HOW IT WORKS — steps  ===================== */
.cc-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cc-step {
  position: relative;
  border: 1px solid var(--cc-line-d);
  border-radius: 12px;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(.2, .7, .2, 1), border-color 0.3s;
}
.cc-step:hover { transform: translateY(-4px); border-color: rgba(31, 169, 255, 0.4); }
.cc-step::before {
  counter-increment: s; content: "0" counter(s);
  font: 500 1.9rem var(--font-mono); color: var(--cc-electric);
  display: block; margin-bottom: 10px; line-height: 1;
}
.cc-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; margin: 0 0 8px; letter-spacing: -0.01em; }
.cc-step p { color: rgba(255, 255, 255, 0.7); margin: 0; font-size: 0.95rem; }

/* =====================  THE INSTALL PATH — phases  ===================== */
.cc-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.cc-phase {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cc-line-d);
  border-radius: 12px;
  padding: 24px 24px 26px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(.2, .7, .2, 1), border-color 0.3s, background 0.3s;
}
.cc-phase:hover { transform: translateY(-4px); border-color: rgba(31, 169, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
/* sequence arrow between phases (desktop) */
.cc-phase:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -16px;
  width: 16px; height: 2px;
  background: linear-gradient(90deg, rgba(31, 169, 255, 0.6), rgba(31, 169, 255, 0.15));
  transform: translateY(-50%);
  z-index: 2;
}
.ph-tag {
  display: inline-block;
  font: 600 0.66rem var(--font-mono);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cc-electric);
  border: 1px solid rgba(31, 169, 255, 0.36);
  border-radius: 999px;
  padding: 4px 10px;
  align-self: flex-start;
}
.cc-phase h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.32rem; letter-spacing: -0.01em;
  margin: 14px 0 6px;
}
.ph-desc { color: rgba(255, 255, 255, 0.74); font-size: 0.96rem; margin: 0 0 18px; }
.ph-cap {
  font: 500 0.62rem var(--font-mono);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(199, 204, 212, 0.7);
  margin: 0 0 8px;
}
.ph-cap.ex { color: rgba(199, 204, 212, 0.42); margin-top: 16px; }
.ph-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.ph-list li { font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.ph-inc li { color: rgba(255, 255, 255, 0.9); }
.ph-inc li::before {
  content: "\2713"; color: var(--cc-electric); font-weight: 800; font-size: 0.82em;
}
.ph-exc li { color: rgba(199, 204, 212, 0.5); }
.ph-exc li::before { content: "\2013"; color: rgba(199, 204, 212, 0.4); }
/* the forward "Growth" card reads as not-yet-unlocked */
.cc-phase.ph-next { background: rgba(255, 255, 255, 0.018); border-style: dashed; }
.cc-phase.ph-next .ph-tag { color: rgba(199, 204, 212, 0.7); border-color: var(--cc-line-d); }
.ph-gate {
  margin: auto 0 0;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 0.7rem var(--font-mono); letter-spacing: 0.04em;
  color: rgba(199, 204, 212, 0.6);
}
.ph-gate::before {
  content: ""; width: 12px; height: 11px; border-radius: 2px;
  border: 1.6px solid rgba(199, 204, 212, 0.5);
  border-bottom-width: 5px; flex: 0 0 12px;
}

/* =====================  AUDIT CTA  ===================== */
.cc-cta {
  border: 1px solid rgba(31, 169, 255, 0.32);
  border-radius: 18px;
  padding: 48px;
  background:
    radial-gradient(620px 280px at 100% 0%, rgba(31, 169, 255, 0.14), transparent 64%),
    linear-gradient(180deg, rgba(14, 26, 61, 0.75), rgba(8, 15, 33, 0.6));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}
.cc-cta-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.cc-cta h2 { margin-bottom: 14px; }
.cc-cta .list { padding-left: 18px; }
.cc-cta .list li { color: rgba(255, 255, 255, 0.82); margin: 8px 0; }

/* =====================  Audit form — live lead capture  ===================== */
.audit-form { margin-top: 22px; display: grid; gap: 14px; }
.audit-form .af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.audit-form .af-field { display: grid; gap: 6px; }
.audit-form .af-field > span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}
.audit-form .af-field > span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(199, 204, 212, 0.55);
}
.audit-form .af-group {
  margin: 8px 0 -2px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-electric);
  display: flex;
  align-items: center;
  gap: 10px;
}
.audit-form .af-group::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 169, 255, 0.4), transparent);
}
.audit-form .af-group:first-of-type { margin-top: 0; }
.audit-form input,
.audit-form textarea,
.audit-form select {
  width: 100%;
  font: inherit;
  color: #fff;
  background: rgba(6, 12, 28, 0.62);
  border: 1px solid rgba(199, 204, 212, 0.22);
  border-radius: 10px;
  padding: 12px 13px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.audit-form textarea { resize: vertical; min-height: 56px; }
.audit-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237fd0ff' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.audit-form select option { color: #0b1533; background: #f4f7fb; }
.audit-form input::placeholder,
.audit-form textarea::placeholder { color: rgba(199, 204, 212, 0.42); }
.audit-form input:focus,
.audit-form textarea:focus,
.audit-form select:focus {
  outline: none;
  border-color: var(--cc-electric);
  box-shadow: 0 0 0 3px rgba(31, 169, 255, 0.22);
  background: rgba(6, 12, 28, 0.85);
}
.audit-form .af-invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.18);
}
.audit-form .af-submit { width: 100%; margin-top: 2px; }
.audit-form .af-fine {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: rgba(199, 204, 212, 0.7);
}
.audit-form .af-fine a { color: var(--cc-electric); text-decoration: none; font-weight: 600; }
.audit-form .af-fine a:hover { text-decoration: underline; }
.audit-form .af-status {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 0 0;
}
.audit-form .af-status.err { color: #ffb4b4; }
.audit-form .af-status.af-success-block {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(31, 169, 255, 0.4);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(31, 169, 255, 0.12), rgba(8, 15, 33, 0.4));
}
.audit-form .af-status.af-success-block strong { color: #fff; font-size: 1.12rem; }
.audit-form .af-status.af-success-block span { color: rgba(199, 204, 212, 0.86); }
@media (max-width: 620px) {
  .audit-form .af-row { grid-template-columns: 1fr; }
}

/* =====================  Revenue Leak Map — the computed diagnostic  ===================== */
.leak-map {
  margin-top: 4px;
  display: grid;
  gap: 18px;
  padding: 26px 26px 24px;
  border: 1px solid rgba(31, 169, 255, 0.32);
  border-radius: 16px;
  background:
    radial-gradient(560px 220px at 100% 0%, rgba(31, 169, 255, 0.16), transparent 64%),
    linear-gradient(180deg, rgba(14, 26, 61, 0.78), rgba(8, 15, 33, 0.66));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
  animation: lm-in 0.5s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes lm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lm-kicker {
  margin: 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cc-electric);
}
.lm-total {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(199, 204, 212, 0.16);
}
.lm-total > span {
  font-size: 0.9rem;
  color: rgba(199, 204, 212, 0.78);
}
.lm-total > strong {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.lm-total > strong em {
  font-style: normal;
  font-size: 0.36em;
  font-weight: 700;
  color: var(--cc-electric);
  margin-left: 4px;
}
.lm-sub {
  margin: -6px 0 0;
  font-size: 0.92rem;
  color: rgba(199, 204, 212, 0.74);
}
.lm-bars { display: grid; gap: 14px; }
.lm-bar { display: grid; gap: 7px; }
.lm-bar-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.lm-bar-h span { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; }
.lm-bar-h b {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: #fff;
  font-size: 0.95rem;
  white-space: nowrap;
}
.lm-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(6, 12, 28, 0.62);
  border: 1px solid rgba(199, 204, 212, 0.14);
  overflow: hidden;
}
.lm-track i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #0e8fe6, var(--cc-electric) 70%, #6fd0ff);
  box-shadow: 0 0 14px rgba(31, 169, 255, 0.5);
  animation: lm-fill 0.9s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: 0.15s;
}
@keyframes lm-fill { from { width: 0 !important; } }
.lm-fix {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid rgba(31, 169, 255, 0.3);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(31, 169, 255, 0.12), rgba(8, 15, 33, 0.32));
}
.lm-fix > span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-electric);
}
.lm-fix > p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 0.98rem; }
.lm-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lm-cta .button { flex: 1 1 auto; text-align: center; }
.lm-fine {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(199, 204, 212, 0.66);
}
.lm-fine b { color: rgba(255, 255, 255, 0.86); font-weight: 600; }
@media (max-width: 620px) {
  .leak-map { padding: 22px 18px 20px; }
  .lm-cta .button { flex: 1 1 100%; }
}

/* =====================  Buttons — restrained lift + live sheen  ===================== */
.home .button { transition: transform 0.22s cubic-bezier(.2, .7, .2, 1), box-shadow 0.22s, filter 0.22s; }
/* primary CTA: directional electric gradient + a slow light sheen that travels across.
   Navy text stays — both gradient stops are bright, so contrast is preserved. */
.home .button.primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #46baff 0%, var(--cc-electric) 46%, #0e8fe6 100%);
  box-shadow: 0 6px 18px rgba(31, 169, 255, 0.22);
}
.home .button.primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  animation: cc-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes cc-sheen {
  0%, 62% { left: -60%; }
  82%, 100% { left: 160%; }
}
.home .button.primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 12px 30px rgba(31, 169, 255, 0.4); }
.home .button.secondary:hover { transform: translateY(-2px); border-color: rgba(31, 169, 255, 0.55); }

/* =====================  Scroll reveal — staggered, alive  ===================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(.2, .7, .2, 1), transform 0.7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);   /* home.js sets --i per grid item → cascade */
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Cards "pop" in (slight scale) — heads/text just rise. The pop is what reads
   as a live system materializing, the way the old site felt. */
.cc-system .reveal,
.cc-steps .reveal,
.cc-phases .reveal,
.proof-instruments.reveal { transform: translateY(26px) scale(.97); }
.cc-system .reveal.is-visible,
.cc-steps .reveal.is-visible,
.cc-phases .reveal.is-visible,
.proof-instruments.reveal.is-visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .proof-chart .bar { animation: none !important; transform: scaleY(1); }
  .op-live i, .hero-proofbar .hpb-dot { animation: none !important; }
  .cc-in { opacity: 1; transform: none; animation: none !important; }
  .home .field-bg::after,
  .home .field-bg::before { animation: none !important; }
  .home .field-bg::before { display: none; }
  .home .button.primary::after { animation: none !important; opacity: 0; }
}

/* =====================  Responsive  ===================== */
@media (max-width: 980px) {
  .cc-system { grid-template-columns: 1fr; }
  .cc-cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .cc-steps { grid-template-columns: 1fr 1fr; }
  .cc-phases { grid-template-columns: 1fr; }
  .cc-phase:not(:last-child)::after { display: none; }
  .proof-instruments { grid-template-columns: 1fr; }
  .op-grid { grid-template-columns: repeat(3, 1fr); }
  .op-col:nth-child(3) { border-right: 0; }
  .op-col:nth-child(-n+3) { border-bottom: 1px solid var(--cc-line-d); }
}
@media (max-width: 620px) {
  /* hero headline must never run off-screen — the expanded accent can wrap on phones */
  .home .hero h1 { font-stretch: 108%; }
  .home .hero h1 .accent { white-space: normal; }
  /* tighten vertical rhythm + box padding so phones don't feel cavernous/cramped */
  .cc-section { padding: 62px 0; }
  .home .hero-inner { padding: 40px 0 44px; }
  .cc-cta { padding: 28px 22px; }
  .cc-cta-grid { gap: 24px; }
  .cc-steps { grid-template-columns: 1fr; }
  .op-grid { grid-template-columns: repeat(2, 1fr); }
  .op-col { border-right: 1px solid var(--cc-line-d); border-bottom: 1px solid var(--cc-line-d); }
  .op-col:nth-child(2n) { border-right: 0; }
  .op-foot { grid-template-columns: 1fr; gap: 14px; }
  .op-kpis { gap: 22px; }
}

/* ============================================================
   SUB-PAGE SYSTEM — spine + wrap pages (Proof, What We Install,
   Industries, Insights, About, FAQ, Contact). Reuses the homepage
   design language so the whole site reads as ONE coherent product.
   Every sub-page carries <body class="home subpage …"> so it inherits
   the navy field, display type, mobile nav, and button treatment.
   ============================================================ */

/* Compact page hero (replaces the homepage's full-height .hero) */
.page-head { padding: 78px 0 36px; border-bottom: 1px solid var(--cc-line-d); position: relative; z-index: 1; }
.page-head .eyebrow { color: var(--cc-electric); }
.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.03;
  max-width: 19ch;
  margin: 0 0 18px;
}
.page-head .page-lede {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
  margin: 0;
}
.page-head .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* Generic two-column split (intro + panel) */
.cc-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.cc-split > div > p { color: rgba(255, 255, 255, 0.74); font-size: 1.04rem; }
.cc-section.alt .cc-split > div > p { color: var(--cc-muted); }

/* Bordered callout / list panel */
.cc-panel {
  border: 1px solid var(--cc-line-d);
  border-radius: 14px;
  padding: 26px 26px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.cc-section.alt .cc-panel { background: #fff; border-color: var(--cc-line-l); box-shadow: 0 1px 2px rgba(11, 21, 51, 0.04), 0 14px 30px rgba(11, 21, 51, 0.06); }
.cc-panel h3 { font-family: var(--font-display); font-weight: 700; margin: 0 0 12px; font-size: 1.16rem; letter-spacing: -0.01em; }
.cc-section.alt .cc-panel h3 { color: var(--cc-ink); }
.cc-panel .list { padding-left: 18px; margin: 0; }
.cc-panel .list li { margin: 9px 0; color: rgba(255, 255, 255, 0.82); }
.cc-section.alt .cc-panel .list li { color: var(--cc-muted); }
.cc-panel .list li b { color: #fff; font-weight: 700; }
.cc-section.alt .cc-panel .list li b { color: var(--cc-ink); }

/* Two-up capability grid variant (for pages that want 2 columns not 3) */
.cc-system.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cc-system.two { grid-template-columns: 1fr; } }

/* FAQ accordion (also feeds the FAQPage schema) */
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-item { border: 1px solid var(--cc-line-d); border-radius: 12px; background: rgba(255, 255, 255, 0.035); overflow: hidden; transition: border-color 0.25s; }
.faq-item[open] { border-color: rgba(31, 169, 255, 0.4); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 19px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; color: #fff;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--cc-electric); font: 400 1.5rem var(--font-mono); line-height: 1; transition: transform 0.25s; flex: 0 0 auto; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: rgba(255, 255, 255, 0.74); font-size: 0.98rem; line-height: 1.6; }
.faq-item .faq-a p { margin: 0 0 10px; }
.faq-item .faq-a p:last-child { margin-bottom: 0; }

/* Centered final CTA band */
.cta-band {
  text-align: center;
  border: 1px solid rgba(31, 169, 255, 0.3);
  border-radius: 18px;
  padding: 54px 40px;
  background:
    radial-gradient(620px 280px at 50% 0%, rgba(31, 169, 255, 0.14), transparent 64%),
    linear-gradient(180deg, rgba(14, 26, 61, 0.75), rgba(8, 15, 33, 0.6));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}
.cta-band h2 { margin: 0 0 14px; }
.cta-band p { max-width: 60ch; margin: 0 auto 24px; color: rgba(255, 255, 255, 0.82); font-size: 1.1rem; }
.cta-band .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0; }

/* Long-form article prose (Insights articles) */
.prose { max-width: 760px; }
.prose p, .prose li { color: rgba(255, 255, 255, 0.78); font-size: 1.06rem; line-height: 1.72; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 38px 0 12px; line-height: 1.12; }
.prose h3 { font-family: var(--font-display); font-weight: 700; margin: 26px 0 10px; font-size: 1.2rem; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--cc-electric); text-decoration: none; font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .lead { font-size: 1.2rem; color: rgba(255, 255, 255, 0.88); }

/* Article meta row */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 6px; font: 500 0.72rem var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: rgba(199, 204, 212, 0.6); }

/* Contact form — dark-theme override so the existing wired form fits the new design */
.home .contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.home .contact-aside h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin: 0 0 12px; }
.home .contact-aside h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.16rem; margin: 26px 0 10px; }
.home .contact-aside .list { padding-left: 18px; margin: 0; }
.home .contact-aside .list li { margin: 9px 0; color: rgba(255, 255, 255, 0.8); }
.home .contact-form {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--cc-line-d);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 26px;
}
.home .contact-form label { color: var(--cc-silver); font: 600 0.82rem var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.home .contact-form .small { text-transform: none; letter-spacing: 0; color: rgba(199, 204, 212, 0.6); font-weight: 400; }
.home .contact-form input,
.home .contact-form textarea,
.home .contact-form select {
  background: rgba(8, 16, 40, 0.6);
  border: 1px solid var(--cc-line-d);
  border-radius: 9px;
  color: #fff;
  padding: 12px 14px;
}
.home .contact-form select option { color: #0b1533; background: #f4f7fb; }
.home .contact-form input::placeholder,
.home .contact-form textarea::placeholder { color: rgba(199, 204, 212, 0.42); }
.home .contact-form input:focus,
.home .contact-form textarea:focus,
.home .contact-form select:focus { outline: none; border-color: var(--cc-electric); box-shadow: 0 0 0 3px rgba(31, 169, 255, 0.18); }
.home .contact-form .button.dark { width: 100%; margin-top: 4px; }
.home .contact-form .af-fine { color: rgba(199, 204, 212, 0.62); font-size: 0.86rem; margin: 4px 0 0; }
.home .contact-form .af-status { margin-top: 6px; font-weight: 600; color: var(--cc-electric); }
.home .contact-form .af-status.err { color: #ffb4b4; }
.home .contact-form .af-status.ok { color: #9fe6b8; }
@media (max-width: 980px) { .home .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (max-width: 980px) {
  .cc-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .page-head { padding: 52px 0 28px; }
  .cta-band { padding: 36px 22px; }
}

/* ============ Footer — command-center finish ============ */
.home .site-footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #070d1e 0%, #050a18 100%);
  border-top: 1px solid var(--cc-line-d);
  padding: 62px 0 30px;
  color: rgba(199, 204, 212, 0.66);
  overflow: hidden;
}
.home .site-footer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31, 169, 255, 0.5), transparent);
}
.home .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.home .footer-grid > div p {
  margin-top: 14px; max-width: 42ch; font-size: 0.95rem; line-height: 1.62;
  color: rgba(199, 204, 212, 0.6);
}
.home .footer-grid .brand-mark img { height: 34px; width: auto; }
.home .footer-grid .brand-lockup strong { color: #fff; font-family: var(--font-display); }
.home .footer-grid .brand-lockup small { color: var(--cc-electric); }
.home .footer-grid > div > strong {
  display: block; margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cc-silver);
}
.home .footer-grid a {
  color: rgba(199, 204, 212, 0.74); font-size: 0.96rem; margin: 9px 0;
  transition: color 0.18s ease, transform 0.18s ease; width: fit-content;
}
.home .footer-grid a:hover { color: var(--cc-electric); transform: translateX(2px); }

.home .footer-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--cc-line-d);
}
.home .footer-base .fb-brand {
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.01em;
  font-size: 1.06rem; color: #fff;
}
.home .footer-base .fb-brand b { color: var(--cc-electric); font-weight: 800; }
.home .footer-base .fb-copy {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.03em;
  color: rgba(199, 204, 212, 0.5);
}
@media (max-width: 720px) {
  .home .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .home .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ============ Proof — explicit before -> after ============ */
.home .proof-ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin: 2px 0 18px;
  padding: 18px 16px;
  border: 1px solid var(--cc-line-d);
  border-radius: 12px;
  background: rgba(31, 169, 255, 0.045);
}
.home .proof-ba .ba-col { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.home .proof-ba .ba-col.after { text-align: right; }
.home .proof-ba .ba-k {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cc-silver);
}
.home .proof-ba .ba-v {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(1.9rem, 5vw, 2.55rem);
}
.home .proof-ba .ba-col.before .ba-v { color: rgba(199, 204, 212, 0.5); }
.home .proof-ba .ba-col.after .ba-v { color: var(--cc-electric); }
.home .proof-ba .ba-u { font-size: 0.78rem; line-height: 1.32; color: rgba(199, 204, 212, 0.62); }
.home .proof-ba .ba-arrow { font-size: 1.7rem; font-weight: 700; color: var(--cc-electric); line-height: 1; }
@media (max-width: 480px) {
  .home .proof-ba { grid-template-columns: 1fr; text-align: left; gap: 10px; }
  .home .proof-ba .ba-col.after { text-align: left; }
  .home .proof-ba .ba-arrow { transform: rotate(90deg); justify-self: start; }
}
