/* ============================================================
   Wideband.ai homepage styles (Flow OS marketing surface)
   Source: GHL CODE SITE/home.html (inline <style>, ported 2026-05-05)
   Auto-scoped to html.home-page / body.home-page so that this
   stylesheet can ride the global <link> in app/layout.tsx without
   bleeding into /admin, /onboard, /support.
   ============================================================ */

  /* Variables left out of this block (--accent, --accent-rgb) cascade
     from :root in globals.css so the home participates in the named
     theme system — apply .theme-<name> to any ancestor to swap colors
     site-wide. */
  html.home-page {
    --bg: #07070b;
    --ink: #e8e8ed;
    --ink-dim: #888899;
    --ink-faint: #44444f;
    --accent-warm: #ff6b35;
    --grid: rgba(var(--accent-rgb), 0.06);
    --line: #1a1a26;
    --nav-h: 72px;
  }

  .home-page * { box-sizing: border-box; margin: 0; padding: 0; }

  .home-page .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  html.home-page { scroll-behavior: smooth; }

  /* Solid fallback behind everything (video paints above this on body) */
  html.home-page {
    background: var(--bg);
    min-height: 100%;
  }

  html.home-page, body.home-page {
    color: var(--ink);
    min-height: 100%;
  }

  body.home-page {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    line-height: 1.5;
    overflow-x: hidden;
    padding-top: var(--nav-h);
    background: transparent;
    position: relative;
  }

  /* —— Background video (aligned with Main.html — 100vw/100vh + z-index behind content) —— */
  .home-page #bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    min-height: -webkit-fill-available;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    transform: translateZ(0);
  }

  .home-page .video-stack {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(7, 7, 11, 0.45) 0%, rgba(7, 7, 11, 0.55) 40%, rgba(7, 7, 11, 0.72) 100%),
      radial-gradient(ellipse 90% 55% at 50% 0%, rgba(var(--accent-rgb), 0.09), transparent 52%);
  }

  .home-page .video-stack::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(var(--grid) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: -1px -1px;
    opacity: 0.5;
  }

  .home-page .video-stack::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.28;
  }

  /* When background video can’t play (iOS Low Power, blocked autoplay, etc.) */
  html.home-page.video-fallback #bg-video {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  html.home-page.video-fallback .video-stack {
    background:
      linear-gradient(180deg, rgba(7, 7, 11, 0.94) 0%, rgba(7, 7, 11, 0.9) 42%, rgba(10, 12, 22, 0.95) 100%),
      radial-gradient(ellipse 100% 75% at 50% 18%, rgba(var(--accent-rgb), 0.16), transparent 58%),
      radial-gradient(ellipse 65% 55% at 85% 85%, rgba(233, 77, 255, 0.12), transparent 55%),
      linear-gradient(165deg, #07070b 0%, #0d1018 45%, #07070b 100%);
  }
  html.home-page.video-fallback .video-stack::before {
    opacity: 0.62;
  }
  html.home-page.video-fallback .video-stack::after {
    opacity: 0.32;
  }

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

  /* ============ NAV + LOGOS ============ */
  .home-page nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    padding: 0 28px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    background: rgba(7, 7, 11, 0.55);
    border-bottom: 1px solid var(--line);
    transition: background 0.35s ease, box-shadow 0.35s ease;
  }

  .home-page nav.is-scrolled {
    background: rgba(7, 7, 11, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(var(--accent-rgb), 0.06);
  }

  .home-page .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
  }

  .home-page .brand-mark {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.25));
    transition: transform 0.35s ease, filter 0.35s ease;
  }

  .home-page .brand:hover .brand-mark {
    transform: scale(1.04);
    filter: drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.45));
  }

  .home-page .logo {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--ink);
  }

  .home-page .logo span {
    color: var(--accent);
  }

  .home-page .brand .logo {
    font-size: 18px;
  }

  .home-page .footer-logo-text.logo {
    font-size: clamp(20px, 3vw, 26px);
    letter-spacing: 0.12em;
  }

  .home-page .nav-links { display: flex; gap: 28px; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-dim); }
  .home-page .nav-links a { color: inherit; text-decoration: none; transition: color 0.2s; }
  .home-page .nav-links a:hover { color: var(--accent); }

  .home-page .nav-cta {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 18px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
  }
  .home-page .nav-cta:hover { background: var(--accent); color: var(--bg); }

  .home-page .menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
  }
  .home-page .menu-btn span {
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--ink), var(--accent));
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .home-page .menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .home-page .menu-btn.is-open span:nth-child(2) { opacity: 0; }
  .home-page .menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .home-page .mobile-drawer {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    padding: 24px;
    background: rgba(7, 7, 11, 0.97);
    border-bottom: 1px solid var(--line);
    z-index: 99;
    flex-direction: column;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }
  .home-page .mobile-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .home-page .mobile-drawer a {
    color: var(--ink-dim);
    text-decoration: none;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .home-page .mobile-drawer a:hover { color: var(--accent); }

  .home-page .mobile-drawer a.mobile-drawer-phone {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 13px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }

  @media (max-width: 768px) {
    .home-page .nav-links, .home-page .nav-cta { display: none; }
    .home-page .menu-btn { display: flex; }
    .home-page .mobile-drawer { display: flex; }
  }

  /* ============ HERO ============ */
  .home-page .hero {
    min-height: calc(100vh - var(--nav-h));
    padding: 72px 40px 100px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }

  .home-page .hero-frame {
    position: relative;
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.04), transparent 40%);
    box-shadow:
      0 0 0 1px rgba(var(--accent-rgb), 0.05) inset,
      0 40px 80px rgba(0, 0, 0, 0.35);
  }

  .home-page .hero-frame::before {
    content: '';
    position: absolute;
    inset: -1px;
    border: 1px solid transparent;
    background: linear-gradient(130deg, rgba(var(--accent-rgb),0.35), transparent 40%, transparent 60%, rgba(255,107,53,0.15)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
  }

  .home-page .scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.35;
    animation: scan 6s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes scan {
    0%, 100% { top: 12%; opacity: 0.2; }
    50% { top: 88%; opacity: 0.5; }
  }

  .home-page .eyebrow {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .home-page .eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent);
  }

  .home-page h1.headline {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: clamp(42px, 8vw, 112px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
  }
  .home-page h1.headline em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
  }

  /* Hero word rotator — fades between [solution|product|service]
     driven by the IIFE in components/home-page-scripts.tsx. The span
     stays inline so the surrounding type doesn't reflow vertically;
     horizontal width shifts slightly between words by design. */
  .home-page .hero-rotator {
    display: inline-block;
    color: var(--accent);
    transition: opacity 0.22s ease;
    will-change: opacity;
  }
  .home-page .hero-rotator.is-swapping {
    opacity: 0;
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page .hero-rotator {
      transition: none;
    }
  }

  .home-page .subhead {
    font-family: 'Fraunces', serif;
    font-size: clamp(18px, 2vw, 24px);
    color: var(--ink-dim);
    max-width: 640px;
    line-height: 1.45;
    margin-bottom: 40px;
    font-weight: 300;
  }
  .home-page .subhead strong { color: var(--ink); font-weight: 500; }

  /* ============ WIDEBAND FLOW OS (product card) ============ */
  .home-page .flow-os-section {
    padding: 0 40px 100px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
  }

  .home-page .flow-os-card {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.07) 0%, rgba(7, 7, 11, 0.75) 42%, rgba(12, 12, 20, 0.9) 100%);
    padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 40px);
    overflow: hidden;
  }

  .home-page .flow-os-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(255, 107, 53, 0.5), transparent);
    opacity: 0.85;
  }

  .home-page .flow-os-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(var(--accent-rgb), 0.06), transparent 65%);
    pointer-events: none;
  }

  .home-page .flow-os-kicker {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.35em;
    color: var(--ink-faint);
    margin-bottom: 20px;
    text-transform: uppercase;
  }

  .home-page .flow-os-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }

  .home-page .flow-os-name {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(22px, 3.5vw, 34px);
    letter-spacing: 0.06em;
    color: var(--ink);
  }

  .home-page .flow-os-pill {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    color: var(--ink-dim);
    letter-spacing: 0.08em;
  }

  .home-page .flow-os-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--accent);
    text-transform: uppercase;
  }

  .home-page .flow-os-live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    animation: livePulse 2s ease-in-out infinite;
  }

  @keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.92); }
  }

  .home-page .flow-os-stackline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-dim);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
  }

  .home-page .flow-os-stackline span {
    color: var(--accent);
    font-weight: 500;
  }

  .home-page .flow-os-body {
    font-family: 'Fraunces', serif;
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.55;
    color: var(--ink-dim);
    font-weight: 300;
    max-width: 920px;
    position: relative;
    z-index: 1;
  }

  .home-page .flow-os-body strong {
    color: var(--ink);
    font-weight: 400;
  }

  @media (max-width: 768px) {
    .home-page .flow-os-section { padding: 0 20px 72px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .home-page .flow-os-live::before { animation: none; }
  }

  /* ============================================================
     // THE PLATFORM · STATE OF BUILD — replaces the old Flow OS
     section. Declarative inventory of what is live and what is
     queued. No imagery; the layout is the imagery.
     ============================================================ */

  .home-page .platform-section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px) clamp(56px, 8vh, 96px);
  }

  .home-page .platform-lede {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-dim);
    max-width: 720px;
    margin-bottom: 36px;
  }
  .home-page .platform-lede strong {
    color: var(--ink);
    font-weight: 500;
  }

  .home-page .platform-state-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(var(--accent-rgb), 0.12);
    margin-bottom: 28px;
  }

  .home-page .platform-state-row {
    display: grid;
    grid-template-columns: 88px 200px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 18px 4px;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.10);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
  }

  .home-page .platform-state-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    padding: 4px 8px;
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    background: rgba(var(--accent-rgb), 0.08);
    border-radius: 3px;
    font-size: 9px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    position: relative;
  }
  .home-page .platform-state-pill::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px rgba(var(--accent-rgb), 0.7);
    margin-right: 6px;
    animation: platform-state-pulse 1.8s ease-in-out infinite;
  }
  @keyframes platform-state-pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.9); }
    50%      { opacity: 1;   transform: scale(1.15); }
  }

  .home-page .platform-state-pill-pending {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: var(--ink-faint);
  }
  .home-page .platform-state-pill-pending::before {
    background: var(--ink-faint);
    box-shadow: none;
    animation: none;
    opacity: 0.6;
  }

  .home-page .platform-state-name {
    font-size: 15px;
    color: var(--ink);
    font-weight: 500;
    letter-spacing: 0.01em;
  }
  .home-page .platform-state-row-pending .platform-state-name {
    color: var(--ink-dim);
  }

  .home-page .platform-state-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-dim);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  }
  .home-page .platform-state-row-pending .platform-state-note {
    color: var(--ink-faint);
  }

  .home-page .platform-closer {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-dim);
    max-width: 720px;
    margin-top: 28px;
  }
  .home-page .platform-closer strong {
    color: var(--ink);
    font-weight: 500;
  }

  @media (max-width: 768px) {
    .home-page .platform-state-row {
      grid-template-columns: 1fr;
      gap: 6px;
      padding: 16px 4px;
    }
    .home-page .platform-state-pill {
      align-self: flex-start;
    }
  }

  .home-page .ai-stance {
    display: inline-block;
    border-left: 2px solid var(--accent);
    padding: 12px 20px;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--ink-dim);
    margin-bottom: 44px;
    background: rgba(var(--accent-rgb), 0.04);
  }
  .home-page .ai-stance strong { color: var(--accent); font-family: 'Orbitron', monospace; font-weight: 500; letter-spacing: 0.2em; font-size: 11px; }

  .home-page .cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
  .home-page .cta-primary {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 18px 32px;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
  }
  .home-page .cta-primary:hover { box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.45); transform: translateY(-2px); }
  .home-page .cta-secondary {
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--line);
    padding: 18px 32px;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
  }
  .home-page .cta-secondary:hover { border-color: var(--ink); }

  .home-page .ai-receptionist {
    margin-top: 12px;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
    text-transform: uppercase;
  }

  .home-page .ai-receptionist a {
    color: var(--ink-dim);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.3);
    transition: color 0.2s, border-color 0.2s;
  }

  .home-page .ai-receptionist a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }

  .home-page .final-cta-ai {
    margin-bottom: 36px;
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--ink-dim);
    font-weight: 300;
  }

  .home-page .final-cta-ai a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.4);
  }

  .home-page .final-cta-ai a:hover {
    border-bottom-color: var(--accent);
    color: var(--ink);
  }

  .home-page .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 56px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .home-page .meta-cell {
    padding: 28px 24px 28px 0;
    border-right: 1px solid var(--line);
  }
  .home-page .meta-cell:last-child { border-right: none; padding-right: 0; }
  .home-page .meta-cell:not(:first-child) { padding-left: 28px; }
  .home-page .meta-label {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--ink-faint);
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .home-page .meta-value {
    font-family: 'Fraunces', serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.3;
  }

  /* ============ GLASS SECTIONS ============ */
  .home-page section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
  }

  .home-page .section-eyebrow {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.4em;
    color: var(--ink-faint);
    margin-bottom: 22px;
    text-transform: uppercase;
  }
  .home-page .section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(32px, 4.5vw, 60px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 52px;
    max-width: 900px;
  }
  .home-page .section-title em { color: var(--accent); font-style: italic; }

  .home-page .glass-panel {
    background: rgba(12, 12, 20, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 2px;
  }

  /* ============ DIAGNOSTIC ============ */
  .home-page .diagnostic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .home-page .diagnostic-content p {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    line-height: 1.6;
    color: var(--ink-dim);
    margin-bottom: 22px;
    font-weight: 300;
  }
  .home-page .diagnostic-content p strong { color: var(--ink); font-weight: 400; }

  .home-page .price-card {
    border: 1px solid var(--line);
    padding: 44px 36px;
    background: linear-gradient(180deg, rgba(var(--accent-rgb),0.06), transparent);
    position: relative;
  }
  .home-page .price-card::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    width: 24px; height: 24px;
    border-top: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
  }
  .home-page .price-card::after {
    content: '';
    position: absolute;
    bottom: -1px; right: -1px;
    width: 24px; height: 24px;
    border-bottom: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
  }
  .home-page .price-tag {
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 14px;
  }
  .home-page .price-amount {
    font-family: 'Fraunces', serif;
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 8px;
  }
  .home-page .price-sub {
    font-size: 13px;
    color: var(--ink-dim);
    margin-bottom: 28px;
  }
  .home-page .deliverable-list { list-style: none; margin-bottom: 28px; }
  .home-page .deliverable-list li {
    font-size: 13px;
    color: var(--ink);
    padding: 14px 0;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    gap: 14px;
  }
  .home-page .deliverable-list li:last-child { border-bottom: 1px solid var(--line); }
  .home-page .deliverable-list .marker {
    color: var(--accent);
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* ============ TIERS ============ */
  .home-page .tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .home-page .tier {
    background: rgba(7, 7, 11, 0.65);
    padding: 44px 32px;
    transition: background 0.3s;
  }
  .home-page .tier:hover { background: rgba(12, 12, 20, 0.85); }
  .home-page .tier-num {
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    color: var(--ink-faint);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
  }
  .home-page .tier-name {
    font-family: 'Fraunces', serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--ink);
  }
  .home-page .tier-tag {
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
  }
  .home-page .tier-desc {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink-dim);
    font-weight: 300;
  }

  .home-page .tiers-grid .tier.tier-full {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(var(--accent-rgb),0.06), rgba(7, 7, 11, 0.72));
  }
  .home-page .tiers-grid .tier.tier-full:hover {
    background: linear-gradient(90deg, rgba(var(--accent-rgb),0.08), rgba(12, 12, 20, 0.88));
  }
  @media (min-width: 769px) {
    .home-page .tiers-grid .tier.tier-full { grid-column: span 3; }
  }

  /* ============ HOW IT WORKS (step-card flow) ============ */
  .home-page .how-step-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 40px;
  }
  .home-page .how-step-card {
    position: relative;
    padding: 22px 18px 20px;
    background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.05), rgba(7, 7, 11, 0.65) 60%);
    border: 1px solid rgba(var(--accent-rgb), 0.12);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
  }
  .home-page .how-step-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.6;
  }
  .home-page .how-step-card:hover {
    border-color: rgba(var(--accent-rgb), 0.3);
    transform: translateY(-2px);
  }
  .home-page .how-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
  }
  .home-page .how-step-title {
    font-family: 'Fraunces', serif;
    font-weight: 300;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 8px;
  }
  .home-page .how-step-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: var(--ink-dim);
    text-transform: uppercase;
    margin-bottom: 12px;
  }
  .home-page .how-step-body {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-dim);
  }
  .home-page .how-step-closer {
    margin-top: 28px;
    padding: 16px 20px;
    border-left: 2px solid var(--accent);
    background: rgba(var(--accent-rgb), 0.03);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-dim);
  }
  .home-page .how-step-closer strong { color: var(--accent); }

  @media (max-width: 1080px) {
    .home-page .how-step-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 720px) {
    .home-page .how-step-grid { grid-template-columns: 1fr; gap: 10px; }
  }

  /* ============ MOAT ============ */
  .home-page .moat {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: center;
  }
  .home-page .moat-quote {
    font-family: 'Fraunces', serif;
    font-size: clamp(26px, 3.2vw, 42px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .home-page .moat-quote em { color: var(--accent); font-style: italic; }
  .home-page .moat-attribution {
    margin-top: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: var(--ink-faint);
  }
  .home-page .moat-attribution::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--ink-faint);
  }
  .home-page .moat-stack { display: flex; flex-direction: column; gap: 0; }
  .home-page .moat-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 22px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    align-items: baseline;
  }
  .home-page .moat-row:last-child { border-bottom: 1px solid var(--line); }
  .home-page .moat-years {
    font-family: 'Orbitron', monospace;
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.1em;
  }
  .home-page .moat-text {
    font-family: 'Fraunces', serif;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ink-dim);
    font-weight: 300;
  }

  /* ============ FILTERS ============ */
  .home-page .filters {
    background: rgba(12, 12, 20, 0.35);
    margin: 0;
    padding: 100px 40px;
    border-bottom: 1px solid var(--line);
  }
  .home-page .filters-inner { max-width: none; margin: 0; }
  .home-page .filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    margin-top: 52px;
  }
  .home-page .filter-col h3 {
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    letter-spacing: 0.3em;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }
  .home-page .filter-col.yes h3 { color: var(--accent); }
  .home-page .filter-col.no h3 { color: var(--accent-warm); }
  .home-page .filter-list { list-style: none; }
  .home-page .filter-list li {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    line-height: 1.5;
    padding: 14px 0;
    color: var(--ink);
    font-weight: 300;
    display: flex;
    gap: 16px;
  }
  .home-page .filter-list li::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-top: 11px;
    background: currentColor;
  }
  .home-page .filter-col.yes .filter-list li::before { background: var(--accent); }
  .home-page .filter-col.no .filter-list li {
    color: var(--ink-dim);
    text-decoration: line-through;
    text-decoration-color: var(--accent-warm);
  }
  .home-page .filter-col.no .filter-list li::before { background: var(--accent-warm); }

  /* ============ PROOF ============ */
  .home-page .proof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px;
  }
  .home-page .proof-card {
    border: 1px solid var(--line);
    padding: 36px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    background: rgba(7, 7, 11, 0.4);
  }
  .home-page .proof-card:hover { border-color: var(--accent); }
  .home-page .proof-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
  }
  .home-page .proof-card:hover::before { opacity: 1; }

  /* Featured proof card — Right Electric leads the grid. Spans full
     width above the other two cards so it reads first and reads
     bigger. Subtle accent border so the eye lands here. */
  .home-page .proof-card-featured {
    grid-column: 1 / -1;
    border-color: rgba(var(--accent-rgb), 0.35);
    background: rgba(var(--accent-rgb), 0.04);
  }
  .home-page .proof-card-featured::before {
    opacity: 0.6;
  }
  .home-page .proof-card-featured:hover {
    border-color: var(--accent);
  }

  @media (max-width: 768px) {
    .home-page .proof-card-featured {
      grid-column: auto;
    }
  }
  .home-page .proof-num {
    font-family: 'Orbitron', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.3em;
    margin-bottom: 20px;
  }
  .home-page .proof-title {
    font-family: 'Fraunces', serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--ink);
  }
  .home-page .proof-body {
    font-size: 13px;
    line-height: 1.6;
    color: var(--ink-dim);
  }

  .home-page .proof-title a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.35);
    transition: color 0.2s, border-color 0.2s;
  }

  .home-page .proof-title a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
  }

  .home-page .proof-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.45);
    word-break: break-word;
  }

  .home-page .proof-body a:hover {
    border-bottom-color: var(--accent);
  }

  .home-page .proof-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .home-page .proof-links a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.4);
  }

  .home-page .proof-links a:hover {
    border-bottom-color: var(--accent);
  }

  /* ============ FINAL CTA ============ */
  .home-page .final-cta {
    text-align: center;
    padding: 120px 40px;
    border-top: 1px solid var(--line);
    position: relative;
  }
  .home-page .final-cta h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 6vw, 88px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
  }
  .home-page .final-cta h2 em { color: var(--accent); font-style: italic; }
  .home-page .final-cta p {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    color: var(--ink-dim);
    margin-bottom: 44px;
    font-weight: 300;
  }

  /* ============ FOOTER ============ */
  .home-page footer {
    border-top: 1px solid var(--line);
    padding: 56px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .home-page .footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
  }
  .home-page .footer-tagline {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--ink-faint);
    text-align: right;
    max-width: 420px;
    line-height: 1.7;
  }
  .home-page .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--ink-faint);
    letter-spacing: 0.08em;
    font-family: 'Orbitron', monospace;
  }
  .home-page .footer-install-row {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
  }
  .home-page .footer-install-btn {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.42);
    background: rgba(6, 8, 15, 0.92);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .home-page .footer-install-btn:hover {
    border-color: rgba(var(--accent-rgb), 0.55);
    color: var(--accent);
  }
  .home-page .footer-install-btn:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 3px;
  }
  .home-page .footer-install-hint {
    margin: 14px auto 0;
    font-size: 10px;
    color: var(--ink-dim);
    line-height: 1.55;
    max-width: 400px;
    letter-spacing: 0.04em;
  }

  /* ============ STICKY PROMO — cyberpunk diagnostic ad (FAB + panel) ============ */
  body.home-page.diag-ad-open {
    overflow: hidden;
  }
  .home-page .diag-fab-stack {
    position: fixed;
    z-index: 265;
    left: max(16px, env(safe-area-inset-left, 0px));
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  html.home-page:not(.wb-intro-complete) .diag-fab-stack {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  /* FAB dismiss wrappers — each holds the FAB + a small × dismiss button
     in the top-right. Click on × adds .is-dismissed which hides the
     whole wrap. Pattern mirrors .phil-ai-news-badge (which holds its own
     dismiss). Wrap is inline-flex so the dismiss can be positioned
     absolutely relative to it. */
  .home-page .fab-wrap {
    position: relative;
    display: inline-flex;
  }
  .home-page .fab-wrap.is-dismissed { display: none; }
  .home-page .fab-dismiss {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 12, 22, 0.92);
    color: #888899;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
    z-index: 1;
  }
  .home-page .fab-dismiss:hover {
    color: #ff2d6f;
    border-color: rgba(255, 45, 111, 0.55);
    background: rgba(20, 8, 16, 0.96);
  }
  .home-page .fab-dismiss:focus-visible {
    outline: 2px solid #ff2d6f;
    outline-offset: 2px;
  }
  .home-page .phil-ai-news-badge {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 4px 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 229, 255, 0.48);
    background: linear-gradient(145deg, rgba(18, 10, 26, 0.96), rgba(8, 12, 22, 0.98));
    box-shadow:
      0 0 0 1px rgba(233, 77, 255, 0.12),
      0 8px 28px rgba(0, 0, 0, 0.5),
      0 0 22px rgba(0, 229, 255, 0.12);
    animation: phil-ai-news-pulse 2.2s ease-in-out infinite;
  }
  .home-page .phil-ai-news-badge.is-dismissed {
    display: none;
  }
  @keyframes phil-ai-news-pulse {
    0%, 100% {
      border-color: rgba(0, 229, 255, 0.42);
      box-shadow:
        0 0 0 1px rgba(233, 77, 255, 0.1),
        0 8px 28px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(233, 77, 255, 0.15);
    }
    50% {
      border-color: rgba(var(--accent-rgb), 0.65);
      box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.2),
        0 10px 32px rgba(0, 0, 0, 0.55),
        0 0 32px rgba(0, 229, 255, 0.28);
    }
  }
  .home-page .phil-ai-news-open {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 2px;
    border: none;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #e8ecf5;
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.35);
  }
  .home-page .phil-ai-news-open:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 2px;
  }
  .home-page .phil-ai-news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #ff2d6f;
    box-shadow: 0 0 12px #ff2d6f;
    animation: diag-ad-blink 1.1s ease-in-out infinite;
  }
  .home-page .phil-ai-news-dismiss {
    width: 30px;
    height: 30px;
    margin-right: 2px;
    border: none;
    border-radius: 50%;
    background: rgba(6, 8, 15, 0.75);
    color: #666677;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }
  .home-page .phil-ai-news-dismiss:hover {
    color: #e94dff;
    background: rgba(233, 77, 255, 0.12);
  }
  .home-page .phil-ai-news-dismiss:focus-visible {
    outline: 2px solid #e94dff;
    outline-offset: 2px;
  }
  .home-page .diag-ad-fab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 14px;
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(6, 8, 15, 0.96), rgba(12, 8, 20, 0.98));
    box-shadow:
      0 0 0 1px rgba(233, 77, 255, 0.12),
      0 10px 36px rgba(0, 0, 0, 0.55),
      0 0 28px rgba(0, 229, 255, 0.1);
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    color: var(--ink);
    /* Hidden until past the hero so it stops competing with first paint.
       html.fab-ready is set by the diag-ad IIFE after scrollY >= 1vh. */
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.3s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .home-page.fab-ready .diag-ad-fab {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .home-page .diag-ad-fab:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--accent-rgb), 0.65);
    box-shadow:
      0 0 32px rgba(0, 229, 255, 0.22),
      0 12px 40px rgba(0, 0, 0, 0.55);
  }
  .home-page .diag-ad-fab:focus-visible {
    outline: 2px solid #00e5ff;
    outline-offset: 3px;
  }
  .home-page .diag-ad-fab.is-open {
    border-color: rgba(233, 77, 255, 0.55);
    box-shadow:
      0 0 28px rgba(233, 77, 255, 0.18),
      0 10px 36px rgba(0, 0, 0, 0.55);
  }
  .home-page .diag-ad-fab-glow {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1aff7a;
    box-shadow: 0 0 10px #1aff7a;
    flex-shrink: 0;
    animation: diag-ad-blink 1.4s ease-in-out infinite;
  }
  .home-page .diag-ad-fab-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    text-align: left;
  }
  .home-page .diag-ad-fab-kicker {
    font-size: 8px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #e94dff;
  }
  .home-page .diag-ad-fab-line {
    font-size: 11px;
    letter-spacing: 0.05em;
    line-height: 1.25;
    color: #e8e8ed;
  }
  .home-page .diag-ad-fab-line strong {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    color: #00e5ff;
    letter-spacing: 0.03em;
  }
  .home-page .diag-ad-fab .diag-ad-fab-state-close {
    display: none;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e94dff;
  }
  .home-page .diag-ad-fab.is-open .diag-ad-fab-kicker {
    display: none;
  }
  .home-page .diag-ad-fab.is-open .diag-ad-fab-state-open {
    display: none;
  }
  .home-page .diag-ad-fab.is-open .diag-ad-fab-state-close {
    display: block;
  }
  @media (max-width: 420px) {
    .home-page .diag-ad-fab {
      padding: 10px 14px 10px 12px;
      gap: 8px;
    }
    .home-page .diag-ad-fab-kicker { display: none; }
    .home-page .diag-ad-fab-line { font-size: 10px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page .diag-ad-fab { transition: none; }
    .home-page .diag-ad-fab:hover { transform: none; }
    .home-page .diag-ad-fab-glow { animation: none; opacity: 0.9; }
    .home-page .phil-ai-news-badge { animation: none; }
    .home-page .phil-ai-news-dot { animation: none; opacity: 0.95; }
  }

  /* ============ PHILOSOPHY POSTER (before diagnostic offer) ============ */
  body.home-page.phil-poster-open {
    overflow: hidden;
  }
  .home-page .phil-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }
  .home-page .phil-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .home-page .phil-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 3, 8, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .home-page .phil-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(233, 77, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.6;
  }
  .home-page .phil-modal {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(90dvh, 720px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 4px;
    background:
      radial-gradient(100% 80% at 50% 0%, rgba(233, 77, 255, 0.1), transparent 55%),
      radial-gradient(90% 60% at 100% 100%, rgba(0, 229, 255, 0.08), transparent 45%),
      linear-gradient(180deg, #0a0c14, #06080f);
    box-shadow:
      0 0 0 1px rgba(233, 77, 255, 0.1),
      0 0 48px rgba(0, 229, 255, 0.12),
      0 24px 64px rgba(0, 0, 0, 0.6);
    transform: scale(0.96) translateY(12px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  }
  .home-page .phil-overlay.is-open .phil-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  .home-page .phil-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 15, 0.92);
    color: #888899;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s;
  }
  .home-page .phil-close:hover {
    color: #e94dff;
    border-color: rgba(233, 77, 255, 0.45);
  }
  .home-page .phil-inner {
    padding: 36px 52px 32px 28px;
  }
  .home-page .phil-kicker {
    font-family: 'Orbitron', monospace;
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #e94dff;
    margin-bottom: 20px;
    text-shadow: 0 0 14px rgba(233, 77, 255, 0.35);
  }
  .home-page .phil-hex-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
  }
  .home-page .phil-hex-svg {
    width: min(168px, 42vw);
    height: auto;
    filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.25));
  }
  .home-page .phil-hex-slow {
    transform-origin: 0 0;
    animation: phil-hex-spin 26s linear infinite;
  }
  .home-page .phil-hex-mid {
    transform-origin: 0 0;
    animation: phil-hex-spin-rev 18s linear infinite;
  }
  .home-page .phil-hex-fast {
    transform-origin: 0 0;
    animation: phil-hex-spin 11s linear infinite;
  }
  @keyframes phil-hex-spin {
    to { transform: rotate(360deg); }
  }
  @keyframes phil-hex-spin-rev {
    to { transform: rotate(-360deg); }
  }
  .home-page .phil-headline {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(22px, 4.8vw, 28px);
    line-height: 1.15;
    letter-spacing: 0.06em;
    color: #e8e8ed;
    margin-bottom: 12px;
  }
  .home-page .phil-headline em {
    font-style: normal;
    background: linear-gradient(90deg, #00e5ff, #e94dff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .home-page .phil-sub {
    font-family: 'Fraunces', serif;
    font-size: clamp(17px, 3.6vw, 20px);
    font-weight: 300;
    font-style: italic;
    color: #00e5ff;
    margin-bottom: 22px;
    line-height: 1.4;
  }
  .home-page .phil-prose {
    font-family: 'Fraunces', serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: #888899;
    margin-bottom: 22px;
  }
  .home-page .phil-prose strong {
    color: #e8e8ed;
    font-weight: 400;
  }
  .home-page .phil-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    list-style: none;
  }
  .home-page .phil-pills li {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 11px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 2px;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.04);
  }
  .home-page .phil-cta {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #03040a;
    background: linear-gradient(90deg, #00e5ff, #e94dff);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .home-page .phil-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(233, 77, 255, 0.35);
  }
  .home-page .phil-foot {
    margin-top: 16px;
    text-align: center;
  }
  .home-page .phil-foot-brand {
    font-family: 'Orbitron', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: #e8e8ed;
  }
  .home-page .phil-foot-ai {
    color: #00e5ff;
  }
  @media (max-width: 480px) {
    .home-page .phil-inner { padding: 32px 48px 28px 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page .phil-hex-slow, .home-page .phil-hex-mid, .home-page .phil-hex-fast {
      animation: none;
    }
    .home-page .phil-modal {
      transform: none;
      opacity: 1;
      transition: opacity 0.25s ease;
    }
    .home-page .phil-overlay.is-open .phil-modal { transform: none; }
  }

  .home-page .diag-ad-overlay {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .home-page .diag-ad-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .home-page .diag-ad-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 4, 10, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .home-page .diag-ad-modal {
    --ad-cyan: #00e5ff;
    --ad-magenta: #e94dff;
    --ad-bg0: #06080f;
    --ad-bg1: #0a0d16;
    --ad-line: rgba(232, 236, 243, 0.1);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: min(88dvh, 640px);
    margin: auto 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--ad-line);
    border-radius: 4px;
    background:
      radial-gradient(120% 80% at 90% 0%, rgba(233, 77, 255, 0.12), transparent 55%),
      radial-gradient(100% 70% at 0% 100%, rgba(0, 229, 255, 0.1), transparent 50%),
      linear-gradient(180deg, var(--ad-bg1), var(--ad-bg0));
    box-shadow:
      0 0 0 1px rgba(0, 229, 255, 0.12),
      0 0 48px rgba(0, 229, 255, 0.15),
      0 24px 64px rgba(0, 0, 0, 0.55);
    font-family: 'JetBrains Mono', monospace;
    transform: scale(0.94) translateY(16px);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  }
  .home-page .diag-ad-overlay.is-open .diag-ad-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
  .home-page .diag-ad-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.7;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 40%, black, transparent);
  }
  .home-page .diag-ad-modal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 3px
    );
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  .home-page .diag-ad-scroll {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
  }
  .home-page .diag-ad-close-bar {
    position: sticky;
    top: 0;
    z-index: 8;
    display: flex;
    justify-content: flex-end;
    padding: 10px 12px 6px;
    background: linear-gradient(180deg, rgba(10, 13, 24, 0.98) 0%, rgba(10, 13, 24, 0.82) 65%, transparent 100%);
    pointer-events: none;
  }
  .home-page .diag-ad-close-bar .diag-ad-close {
    pointer-events: auto;
  }
  .home-page .diag-ad-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
  }
  .home-page .diag-ad-rain span {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.4), transparent);
    animation: diag-ad-fall linear infinite;
  }
  @keyframes diag-ad-fall {
    0% { transform: translateY(-30%); opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { transform: translateY(120vh); opacity: 0; }
  }
  .home-page .diag-ad-inner {
    position: relative;
    z-index: 2;
    padding: 4px 26px 28px 26px;
  }
  .home-page .diag-ad-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    padding-right: 4px;
    border-bottom: 1px solid var(--ad-line);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  .home-page .diag-ad-top .live {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ad-cyan);
    flex-shrink: 0;
    text-align: right;
  }
  .home-page .diag-ad-top > span:first-child {
    min-width: 0;
    padding-right: 8px;
    line-height: 1.35;
  }
  .home-page .diag-ad-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1aff7a;
    box-shadow: 0 0 8px #1aff7a;
    animation: diag-ad-blink 1.4s ease-in-out infinite;
  }
  @keyframes diag-ad-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
  }
  .home-page .diag-ad-close {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--ad-line);
    background: rgba(6, 8, 15, 0.9);
    color: var(--ink-dim);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 4px;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  .home-page .diag-ad-close:hover {
    color: var(--ad-magenta);
    border-color: rgba(233, 77, 255, 0.5);
  }
  .home-page .diag-ad-eyebrow {
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ad-magenta);
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(233, 77, 255, 0.35);
  }
  .home-page .diag-ad-title {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: var(--ink);
  }
  .home-page .diag-ad-title span.grad {
    background: linear-gradient(90deg, var(--ad-cyan), var(--ad-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .home-page .diag-ad-tagline {
    font-size: 12px;
    color: var(--ink-dim);
    line-height: 1.55;
    margin-bottom: 22px;
    max-width: 420px;
  }
  .home-page .diag-ad-tagline em {
    color: var(--ink);
    font-style: normal;
    font-weight: 500;
  }
  .home-page .diag-ad-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 12px 16px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--ad-line);
  }
  .home-page .diag-ad-price-label {
    font-size: 9px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ink-dim);
    width: 100%;
  }
  .home-page .diag-ad-price {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 46px;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--ink);
  }
  .home-page .diag-ad-price .cur { color: var(--ad-cyan); font-size: 0.55em; vertical-align: top; margin-right: 2px; }
  .home-page .diag-ad-price .cents { font-size: 0.45em; color: var(--ink-dim); }
  .home-page .diag-ad-badge {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--ad-magenta);
    color: var(--ad-magenta);
    border-radius: 2px;
  }
  .home-page .diag-ad-hud {
    border: 1px solid var(--ad-line);
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 20px;
    background: rgba(0, 229, 255, 0.03);
    position: relative;
  }
  .home-page .diag-ad-hud::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 12px;
    height: 12px;
    border-top: 1px solid var(--ad-cyan);
    border-left: 1px solid var(--ad-cyan);
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
    pointer-events: none;
  }
  .home-page .diag-ad-hud::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-bottom: 1px solid var(--ad-cyan);
    border-right: 1px solid var(--ad-cyan);
    box-shadow: 0 0 6px rgba(0, 229, 255, 0.4);
    pointer-events: none;
  }
  .home-page .diag-ad-hud-head {
    font-size: 9px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ad-cyan);
    margin-bottom: 12px;
  }
  .home-page .diag-ad-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .home-page .diag-ad-stat {
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(6, 8, 15, 0.6);
  }
  .home-page .diag-ad-stat .lbl {
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-dim);
    margin-bottom: 6px;
  }
  .home-page .diag-ad-stat .val {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 22px;
    color: var(--ad-cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
  }
  .home-page .diag-ad-stat.magenta .val {
    color: var(--ad-magenta);
    text-shadow: 0 0 10px rgba(233, 77, 255, 0.35);
  }
  .home-page .diag-ad-stat .val .unit {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-dim);
    margin-left: 4px;
    text-shadow: none;
  }
  .home-page .diag-ad-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 12px;
  }
  .home-page .diag-ad-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    background: linear-gradient(90deg, #00a85a, #1aff7a);
    box-shadow: 0 0 14px rgba(26, 255, 122, 0.55);
  }
  .home-page .diag-ad-overlay.is-open .diag-ad-progress-fill {
    width: 100%;
    transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .home-page .diag-ad-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #03040a;
    background: linear-gradient(90deg, var(--ad-cyan), var(--ad-magenta));
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }
  .home-page .diag-ad-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(233, 77, 255, 0.45);
  }
  .home-page .diag-ad-foot {
    margin-top: 14px;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
    text-align: center;
  }
  @media (max-width: 480px) {
    .home-page .diag-ad-stats { grid-template-columns: 1fr; }
    .home-page .diag-ad-price { font-size: 38px; }
    .home-page .diag-ad-inner { padding-right: 22px; padding-left: 20px; }
    .home-page .diag-ad-top {
      flex-wrap: wrap;
    }
    .home-page .diag-ad-top .live {
      flex-basis: 100%;
      justify-content: flex-end;
      margin-top: 6px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page .diag-ad-modal {
      transform: none;
      opacity: 1;
      transition: opacity 0.25s ease;
    }
    .home-page .diag-ad-overlay.is-open .diag-ad-modal { transform: none; }
    .home-page .diag-ad-rain span { display: none; }
    .home-page .diag-ad-pulse { animation: none; }
    .home-page .diag-ad-overlay.is-open .diag-ad-progress-fill {
      transition: none;
    }
  }
  @media (min-width: 640px) {
    .home-page .diag-ad-overlay, .home-page .phil-overlay {
      align-items: center;
    }
  }

  /* ============ VOID INTRO (wideband_void_intro_v7) ============ */
  body.home-page.wb-void-active {
    overflow: hidden;
  }
  .home-page #wb-void-intro {
    position: fixed;
    inset: 0;
    z-index: 320;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    visibility: visible;
  }
  .home-page #wb-void-intro.wb-void-intro--exit {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  /* WebKit/Safari: mix-blend-mode flash can render incorrectly — disable on iOS class */
  .home-page #wb-void-intro.wb-void-ios #wb-void-flash-overlay {
    mix-blend-mode: normal !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .home-page #wb-void-intro.wb-void-intro--simple {
    background: #000;
  }
  .home-page #wb-void-flash-overlay {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    mix-blend-mode: difference;
  }
  .home-page #wb-void-stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .home-page #wb-void-stage .wb-void-word {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    white-space: nowrap;
    line-height: 1;
    will-change: opacity, transform;
    text-transform: uppercase;
    font-size: clamp(36px, 10vw, 100px);
    font-weight: 900;
    letter-spacing: 0.04em;
  }
  @keyframes wbVoidCutIn {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(1.08); letter-spacing: 0.5em; }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); letter-spacing: 0.42em; }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); letter-spacing: 0.38em; }
  }
  @keyframes wbVoidImgIn {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); filter: blur(40px) brightness(3); }
    60% { opacity: 1; filter: blur(0) brightness(1.1); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0) brightness(1); }
  }
  @keyframes wbVoidFlashPulse { 0% { opacity: 0.4; } 100% { opacity: 0; } }
  .home-page .wb-void-skip {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(var(--accent-rgb), 0.35);
    padding: 10px 20px;
    font-size: 11px;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }
  .home-page .wb-void-skip:hover {
    background: rgba(var(--accent-rgb), 0.15);
    border-color: rgba(var(--accent-rgb), 0.75);
    color: var(--accent);
  }
  .home-page .wb-void-skip:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  .home-page .wb-void-replay {
    position: absolute;
    bottom: 18px;
    right: 18px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 0.5px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 10px;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s;
  }
  .home-page .wb-void-replay:hover {
    background: rgba(0, 234, 255, 0.2);
    border-color: rgba(0, 234, 255, 0.55);
  }
  @media (max-width: 480px) {
    .home-page .wb-void-skip { top: 12px; right: 12px; padding: 8px 14px; font-size: 10px; }
    .home-page .wb-void-replay { bottom: 12px; right: 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page #wb-void-flash-overlay { display: none; }
    .home-page #wb-void-stage .wb-void-word { animation: none !important; }
  }

  /* ============ SCROLL REVEAL ============ */
  /* Gate the hidden state behind html.js so JS-disabled users still see content. */
  .home-page.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .home-page.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 768px) {
    .home-page nav { padding: 0 16px 0 12px; }
    .home-page section, .home-page .hero { padding-left: 20px; padding-right: 20px; }
    .home-page .hero { padding-top: 40px; }
    .home-page .filters { margin: 0; padding: 72px 20px; }
    .home-page .hero-meta { grid-template-columns: 1fr; }
    .home-page .meta-cell { border-right: none; border-bottom: 1px solid var(--line); padding: 22px 0 !important; }
    .home-page .meta-cell:last-child { border-bottom: none; }
    .home-page .diagnostic, .home-page .moat, .home-page .filter-grid { grid-template-columns: 1fr; gap: 40px; }
    .home-page .tiers-grid, .home-page .proof-grid { grid-template-columns: 1fr; }
    .home-page .footer-top { flex-direction: column; align-items: flex-start; }
    .home-page .footer-tagline { text-align: left; }
  }

  .home-page .cursor {
    display: inline-block;
    width: 0.45em;
    height: 1em;
    background: var(--accent);
    vertical-align: text-bottom;
    margin-left: 4px;
    animation: blink 1s steps(2) infinite;
  }
  @keyframes blink { 50% { opacity: 0; } }

  @media (prefers-reduced-motion: reduce) {
    html.home-page { scroll-behavior: auto; }
    .home-page .scan-line { animation: none; opacity: 0.25; top: 50%; }
    .home-page .reveal { opacity: 1; transform: none; transition: none; }
    .home-page .cursor { animation: none; opacity: 0.7; }
  }

  /* GHL chat launcher (LeadConnector beta); hide default glyph when page CSS reaches the button (not inside Shadow DOM). */
  .home-page #chat-widget-container, .home-page .chat-widget-container, .home-page [id^="chat-widget-container"] {
    z-index: 10000 !important;
    overflow: visible !important;
    bottom: max(24px, env(safe-area-inset-bottom, 0px)) !important;
    right: max(16px, env(safe-area-inset-right, 0px)) !important;
    left: auto !important;
    top: auto !important;
    padding-bottom: 28px !important;
    font-family: 'Orbitron', 'JetBrains Mono', monospace !important;
  }

  .home-page .chat-widget-button, .home-page [data-chat-widget-button], .home-page button.chat-widget-launcher {
    position: relative !important;
    box-sizing: border-box !important;
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 2px solid rgba(0, 229, 255, 0.48) !important;
    /* Speech-bubble feel: round + one tighter corner */
    border-radius: 50% 50% 18% 50% !important;
    background-color: #050608 !important;
    background-image: url('https://assets.cdn.filesafe.space/TgHJNK2558mEZMn9ACm0/media/69f805a4086be1f079ea84f7.png') !important;
    background-size: cover !important;
    background-position: center 18% !important;
    background-repeat: no-repeat !important;
    box-shadow:
      0 0 0 1px rgba(233, 77, 255, 0.14),
      0 12px 40px rgba(0, 0, 0, 0.55),
      0 0 28px rgba(0, 229, 255, 0.14) !important;
    overflow: visible !important;
    animation: wb-chat-breathe 3s ease-in-out infinite !important;
  }

  @keyframes wb-chat-breathe {
    0%, 100% {
      box-shadow:
        0 0 0 1px rgba(233, 77, 255, 0.14),
        0 12px 40px rgba(0, 0, 0, 0.55),
        0 0 24px rgba(0, 229, 255, 0.12);
      border-color: rgba(0, 229, 255, 0.42);
    }
    50% {
      box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.22),
        0 14px 44px rgba(0, 0, 0, 0.58),
        0 0 36px rgba(0, 229, 255, 0.28);
      border-color: rgba(var(--accent-rgb), 0.55);
    }
  }

  .home-page .chat-widget-button > *, .home-page [data-chat-widget-button] > *, .home-page button.chat-widget-launcher > * {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* Small chat tail */
  .home-page .chat-widget-button::before, .home-page [data-chat-widget-button]::before, .home-page button.chat-widget-launcher::before {
    content: '' !important;
    position: absolute !important;
    width: 14px !important;
    height: 14px !important;
    left: 4px !important;
    bottom: 10px !important;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.5), rgba(233, 77, 255, 0.25)) !important;
    border-radius: 2px !important;
    transform: rotate(42deg) skew(-6deg, -6deg) !important;
    z-index: 0 !important;
    pointer-events: none !important;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.25) !important;
  }

  .home-page .chat-widget-button::after, .home-page [data-chat-widget-button]::after, .home-page button.chat-widget-launcher::after {
    content: "Let's Execute" !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: -30px !important;
    font-family: 'Orbitron', monospace !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    color: #00e5ff !important;
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.45) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    z-index: 2 !important;
  }

  .home-page .chat-widget-button:hover, .home-page [data-chat-widget-button]:hover {
    transform: scale(1.04) !important;
    filter: brightness(1.05) !important;
  }

  @media (prefers-reduced-motion: reduce) {
    .home-page .chat-widget-button, .home-page [data-chat-widget-button], .home-page button.chat-widget-launcher {
      animation: none !important;
    }
  }

  @media (max-width: 420px) {
    .home-page .chat-widget-button, .home-page [data-chat-widget-button], .home-page button.chat-widget-launcher {
      width: 68px !important;
      height: 68px !important;
      min-width: 68px !important;
      min-height: 68px !important;
    }
    .home-page .chat-widget-button::after, .home-page [data-chat-widget-button]::after, .home-page button.chat-widget-launcher::after {
      font-size: 7px !important;
      letter-spacing: 0.16em !important;
      bottom: -28px !important;
    }
  }

  /* Tel shortcut — sits in .diag-fab-stack above AI NEWS (same column as offer FAB) */
  .home-page .wb-ai-call-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(var(--accent-rgb), 0.5);
    background: linear-gradient(155deg, rgba(6, 10, 14, 0.98), rgba(8, 14, 18, 0.94));
    box-shadow:
      0 0 12px rgba(var(--accent-rgb), 0.35),
      0 0 26px rgba(var(--accent-rgb), 0.18),
      0 10px 32px rgba(0, 0, 0, 0.45);
    color: var(--accent);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }
  .home-page .wb-ai-call-fab:hover {
    transform: translateY(-2px) scale(1.04);
    border-color: rgba(var(--accent-rgb), 0.85);
    box-shadow:
      0 0 18px rgba(var(--accent-rgb), 0.5),
      0 0 36px rgba(var(--accent-rgb), 0.28),
      0 12px 36px rgba(0, 0, 0, 0.5);
  }
  .home-page .wb-ai-call-fab:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  .home-page .wb-ai-call-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--accent);
    filter: drop-shadow(0 0 10px var(--accent)) drop-shadow(0 0 18px rgba(var(--accent-rgb), 0.45));
    animation: diag-ad-blink 1.35s ease-in-out infinite;
  }
  @media (max-width: 420px) {
    .home-page .wb-ai-call-fab {
      width: 48px;
      height: 48px;
    }
    .home-page .wb-ai-call-icon {
      width: 20px;
      height: 20px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .home-page .wb-ai-call-icon { animation: none; opacity: 1; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), 0.5)); }
    .home-page .wb-ai-call-fab:hover { transform: none; }
  }

  /* ============================================================
     HOME NAV (mega) + HOME FOOTER (4-column)
     Mounted by components/home-nav.tsx and components/home-footer.tsx.
     Replaces the legacy .home-page nav / .home-page footer rules above
     where they conflict — selectors here are more specific and ordered
     last so cascade wins. Scope: .home-page (never leaks).
     ============================================================ */

  /* —— Bar layout —— */
  .home-page nav#site-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 28px;
    padding: 0 24px 0 18px;
  }

  .home-page .mega-zones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .home-page .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  /* —— Sign-in / Portal link (auth-aware, quieter than the primary CTA) —— */
  .home-page .nav-signin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px;
    color: var(--ink-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
  }
  .home-page .nav-signin:hover { color: var(--accent); }
  .home-page .nav-signin-authed {
    color: var(--ink);
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    border-radius: 8px;
    background: rgba(var(--accent-rgb), 0.04);
  }
  .home-page .nav-signin-authed:hover {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.45);
    background: rgba(var(--accent-rgb), 0.08);
  }
  .home-page .nav-signin-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    display: inline-block;
    flex-shrink: 0;
  }
  /* hide the auth link's label on narrow viewports — the dot + initial keep the affordance */
  @media (max-width: 720px) {
    .home-page .nav-signin { display: none; }
  }

  /* —— Primary CTA (overrides legacy .nav-cta) —— */
  .home-page .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.04) 60%);
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.16s ease-out, box-shadow 0.2s ease;
  }
  .home-page .nav-cta:hover {
    background: var(--accent);
    color: #05070b;
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.22);
  }
  .home-page .nav-cta:active { transform: scale(0.97); }
  .home-page .nav-cta svg { transition: transform 0.18s ease-out; }
  .home-page .nav-cta:hover svg { transform: translateX(2px); }

  /* —— Zone trigger —— */
  .home-page .mega-zone { position: relative; }

  .home-page .mega-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--ink-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  }
  .home-page .mega-trigger:hover { color: var(--ink); background: rgba(255, 255, 255, 0.025); }
  .home-page .mega-zone.is-open > .mega-trigger {
    color: var(--accent);
    background: rgba(var(--accent-rgb), 0.06);
    border-color: rgba(var(--accent-rgb), 0.22);
  }
  .home-page .mega-zone.is-dim > .mega-trigger { color: var(--ink-faint); }
  .home-page .mega-trigger:focus-visible { outline: 2px solid rgba(var(--accent-rgb), 0.5); outline-offset: 2px; }

  .home-page .mega-caret {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), color 0.2s ease;
    transform-origin: center 55%;
  }
  .home-page .mega-zone.is-open .mega-caret { transform: rotate(180deg); color: var(--accent); }

  /* —— Panel container —— */
  .home-page .mega-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translate(-50%, -8px);
    width: min(880px, calc(100vw - 32px));
    background: linear-gradient(180deg, rgba(8, 10, 18, 0.97), rgba(5, 7, 12, 0.97));
    border: 1px solid rgba(var(--accent-rgb), 0.18);
    border-radius: 14px;
    box-shadow:
      0 28px 80px rgba(0, 0, 0, 0.6),
      0 0 0 1px rgba(168, 85, 247, 0.06),
      0 0 32px rgba(0, 229, 255, 0.06);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), transform 200ms cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: top center;
    z-index: 95;
  }
  .home-page .mega-zone.is-open .mega-panel {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
  }

  /* The panels span more than their trigger — anchor to the bar visually
     by inheriting the page-wide grid columns of the panel. Three layouts
     (variant on the inner grid) keep the four panels distinct. */

  .home-page .mega-panel-grid {
    display: grid;
    gap: 0;
    padding: 0;
  }

  /* Variant A — Platform: featured tile left, sections right (2 cols) */
  .home-page .mega-panel-platform {
    grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1fr);
  }
  /* Variant B — Services: featured tile spans top, sections in 2-col + 1-col */
  .home-page .mega-panel-services {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  /* Variant C — Mission: featured pull-quote left, two stacked columns right */
  .home-page .mega-panel-mission {
    grid-template-columns: minmax(300px, 1.1fr) minmax(0, 1fr);
  }
  /* Variant D — News: featured (latest essay) left, two columns right */
  .home-page .mega-panel-news {
    grid-template-columns: minmax(300px, 1.05fr) minmax(0, 1fr);
  }
  /* Variant E — default (no featured tile): sections fill the panel. */
  .home-page .mega-panel-default {
    grid-template-columns: 1fr;
  }
  .home-page .mega-panel-default .mega-sections {
    border-left: none;
  }

  .home-page .mega-sections {
    display: grid;
    gap: 24px;
    padding: 26px 28px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid rgba(168, 85, 247, 0.12);
  }
  .home-page .mega-panel-services .mega-sections {
    grid-template-columns: 1.6fr 1fr;
    border-left: none;
    border-top: 1px solid rgba(168, 85, 247, 0.12);
  }
  .home-page .mega-panel-services .mega-sections .mega-section:first-child .mega-section-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 6px 24px;
  }

  .home-page .mega-section-heading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(168, 85, 247, 0.85);
    margin-bottom: 10px;
  }
  .home-page .mega-section-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .home-page .mega-section-list > li { margin: 0; }

  /* —— Item link —— */
  .home-page .mega-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 8px;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease-out;
  }
  .home-page .mega-item:hover {
    background: rgba(var(--accent-rgb), 0.05);
    transform: translateX(2px);
  }
  .home-page .mega-item-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  .home-page .mega-item-label { color: var(--ink); }
  .home-page .mega-item:hover .mega-item-label { color: var(--accent); }
  .home-page .mega-item-dek {
    color: var(--ink-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    line-height: 1.5;
    letter-spacing: 0;
  }

  /* —— Tag chip —— */
  .home-page .mega-tag {
    display: inline-flex;
    align-items: center;
    height: 16px;
    padding: 0 6px;
    border-radius: 3px;
    border: 1px solid currentColor;
    background: transparent;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
    flex-shrink: 0;
  }
  .home-page .mega-tag-new   { color: #4ade80; border-color: rgba(74, 222, 128, 0.55); background: rgba(74, 222, 128, 0.08); }
  .home-page .mega-tag-beta  { color: #fbbf24; border-color: rgba(251, 191, 36, 0.55); background: rgba(251, 191, 36, 0.07); }
  .home-page .mega-tag-soon  { color: rgba(180, 165, 204, 0.85); border-color: rgba(168, 85, 247, 0.32); background: rgba(168, 85, 247, 0.06); }
  .home-page .mega-tag-q2    { color: rgba(180, 165, 204, 0.85); border-color: rgba(168, 85, 247, 0.32); background: rgba(168, 85, 247, 0.06); }
  .home-page .mega-tag-live  { color: var(--accent); border-color: rgba(var(--accent-rgb), 0.6); background: rgba(var(--accent-rgb), 0.08); }

  /* —— Featured tile (shared base) —— */
  .home-page .mega-featured {
    position: relative;
    padding: 26px 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    border-radius: 14px 0 0 14px;
  }
  .home-page .mega-panel-services .mega-featured { border-radius: 14px 14px 0 0; }
  .home-page .mega-featured-tag {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 2;
  }
  .home-page .mega-featured-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(168, 85, 247, 0.95);
  }
  .home-page .mega-featured-date {
    color: var(--ink-faint);
    letter-spacing: 0.18em;
  }
  .home-page .mega-featured-headline {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.18;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .home-page .mega-featured-headline em {
    font-style: italic;
    color: var(--accent);
    font-weight: 300;
  }
  .home-page .mega-featured-dek {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: var(--ink-dim);
    letter-spacing: 0;
  }
  .home-page .mega-featured-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding-top: 8px;
    color: var(--accent);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.16s ease, transform 0.16s ease-out;
  }
  .home-page .mega-featured-cta:hover { color: #66ffe0; }
  .home-page .mega-featured-cta:hover svg { transform: translateX(3px); }
  .home-page .mega-featured-cta svg { transition: transform 0.18s ease-out; }

  /* Variant: PLATFORM — teal scan + stats */
  .home-page .mega-featured-platform {
    background:
      radial-gradient(circle at 100% 0%, rgba(var(--accent-rgb), 0.12), transparent 55%),
      linear-gradient(135deg, rgba(var(--accent-rgb), 0.05), transparent 55%),
      rgba(7, 11, 16, 0.95);
    border-right: 1px solid rgba(var(--accent-rgb), 0.12);
  }
  .home-page .mega-featured-platform::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(var(--accent-rgb), 0.04) 1px, transparent 1px);
    background-size: 100% 22px;
    background-position: 0 -1px;
    pointer-events: none;
    opacity: 0.6;
  }
  .home-page .mega-featured-stats {
    list-style: none;
    margin: 6px 0 0;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(var(--accent-rgb), 0.14);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
  }
  .home-page .mega-featured-stats li { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .home-page .mega-featured-stat-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .home-page .mega-featured-stat-value {
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 0.04em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Variant: SERVICES — magenta-led pricing-forward */
  .home-page .mega-featured-services {
    background:
      radial-gradient(circle at 0% 0%, rgba(232, 121, 249, 0.18), transparent 55%),
      radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.14), transparent 60%),
      rgba(11, 8, 18, 0.95);
    border-bottom: 1px solid rgba(168, 85, 247, 0.18);
  }
  .home-page .mega-featured-services .mega-featured-headline em {
    color: #e879f9;
  }

  /* Variant: MISSION — typographic pull-quote, no chrome */
  .home-page .mega-featured-mission {
    background:
      linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent 55%),
      rgba(7, 8, 14, 0.95);
    border-right: 1px solid rgba(168, 85, 247, 0.14);
  }
  .home-page .mega-featured-mission .mega-featured-headline {
    font-size: 24px;
    line-height: 1.22;
  }
  .home-page .mega-featured-mission .mega-featured-headline em {
    display: block;
    margin-top: 4px;
    color: rgba(232, 121, 249, 0.92);
  }
  .home-page .mega-featured-attribution {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--accent);
    margin-top: 4px;
    text-transform: uppercase;
  }

  /* Variant: NEWS — latest essay, dated */
  .home-page .mega-featured-news {
    background:
      radial-gradient(circle at 100% 100%, rgba(0, 229, 255, 0.10), transparent 55%),
      linear-gradient(135deg, rgba(168, 85, 247, 0.06), transparent 60%),
      rgba(8, 10, 16, 0.95);
    border-right: 1px solid rgba(168, 85, 247, 0.14);
  }
  .home-page .mega-featured-news .mega-featured-headline em {
    color: rgba(232, 121, 249, 0.92);
  }

  /* —— Panel footer (CTA + meta) —— */
  .home-page .mega-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    border-top: 1px solid rgba(168, 85, 247, 0.12);
    background: rgba(0, 0, 0, 0.35);
    border-radius: 0 0 14px 14px;
  }
  .home-page .mega-footer-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
  }
  .home-page .mega-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.16s ease;
  }
  .home-page .mega-footer-cta:hover { color: #66ffe0; }
  .home-page .mega-footer-cta::after {
    content: "→";
    transition: transform 0.18s ease-out;
  }
  .home-page .mega-footer-cta:hover::after { transform: translateX(3px); }

  /* —— Placeholder marker on stub links (in panel + featured) —— */
  .home-page [data-placeholder="true"] { /* keep clickable, no visual gating beyond the SOON pill */ }

  /* ============ MOBILE DRAWER ============
     Drawer is a flat curtain-drop from under the bar — styling lives in
     the top burger/drawer block (.menu-btn + .mobile-drawer at the top of
     this file, mirroring the wideband_old.html anatomy).
     The auth row sits above the phone divider; both inherit the drawer's
     simple anchor styling. */
  .home-page .mobile-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
    margin-top: 4px;
  }
  .home-page .mobile-drawer-auth a {
    /* Inherit the .mobile-drawer a treatment; no extra chrome. */
  }
  .home-page .mobile-drawer-auth-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    margin-right: 8px;
    vertical-align: middle;
  }

  /* ============ HOME FOOTER (4-column) ============ */
  .home-page .home-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(168, 85, 247, 0.18);
    padding: 64px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168, 85, 247, 0.06), transparent 60%),
      transparent;
  }
  .home-page .footer-stamp {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.10);
    margin-bottom: 36px;
  }

  .home-page .footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 32px;
    margin-bottom: 44px;
  }
  .home-page .footer-col { display: flex; flex-direction: column; gap: 12px; }
  .home-page .footer-col-heading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(168, 85, 247, 0.95);
    margin-bottom: 4px;
  }
  .home-page .footer-col-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .home-page .footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-dim);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    line-height: 1.55;
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease-out;
  }
  .home-page .footer-link:hover {
    color: var(--accent);
    transform: translateX(2px);
  }
  .home-page .footer-soon {
    display: inline-flex;
    align-items: center;
    height: 14px;
    padding: 0 5px;
    border: 1px solid rgba(168, 85, 247, 0.32);
    background: rgba(168, 85, 247, 0.06);
    border-radius: 3px;
    color: rgba(180, 165, 204, 0.85);
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1;
  }

  .home-page .footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(168, 85, 247, 0.10);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
    text-transform: uppercase;
  }
  .home-page .footer-meta-line { font-family: inherit; }
  .home-page .footer-meta-dim { color: rgba(180, 165, 204, 0.5); letter-spacing: 0.1em; }

  .home-page .home-footer .footer-install-row {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(168, 85, 247, 0.10);
    text-align: center;
  }

  .home-page .footer-receptionist {
    margin-top: 14px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
  }
  .home-page .footer-receptionist a {
    color: var(--accent);
    text-decoration: none;
  }
  .home-page .footer-receptionist a:hover { color: #66ffe0; }

  /* ============ NAV + FOOTER RESPONSIVE ============ */
  @media (max-width: 1080px) {
    .home-page .mega-zones { gap: 0; }
    .home-page .mega-trigger { padding: 0 10px; font-size: 10.5px; letter-spacing: 0.14em; }
  }

  @media (max-width: 920px) {
    .home-page .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 768px) {
    .home-page .mega-zones, .home-page .nav-cta { display: none; }
    .home-page .menu-btn { display: flex; }
    .home-page nav#site-nav { grid-template-columns: auto 1fr auto; column-gap: 12px; padding: 0 12px; }
    .home-page .nav-right { gap: 8px; justify-self: end; }
    .home-page .nav-right .menu-btn { margin-left: auto; }
    .home-page .home-footer { padding: 48px 20px 36px; }
    .home-page .footer-stamp { flex-direction: column; align-items: flex-start; }
    .home-page .footer-tagline { text-align: left; }
  }

  @media (max-width: 480px) {
    .home-page .footer-columns { grid-template-columns: 1fr; gap: 28px; }
    .home-page .footer-meta { flex-direction: column; align-items: flex-start; }
  }

  /* —— Mega panels stack inside cramped widths (rare; mostly mobile-drawer covers this) —— */
  @media (max-width: 880px) {
    .home-page .mega-panel-platform,
    .home-page .mega-panel-mission,
    .home-page .mega-panel-news {
      grid-template-columns: 1fr;
    }
    .home-page .mega-featured { border-radius: 14px 14px 0 0; border-right: none; border-bottom: 1px solid rgba(168, 85, 247, 0.14); }
    .home-page .mega-sections { border-left: none; border-top: 1px solid rgba(168, 85, 247, 0.12); }
  }

  /* —— Reduced motion: collapse panel transitions to instant —— */
  @media (prefers-reduced-motion: reduce) {
    .home-page .mega-panel { transition: none; }
    .home-page .mobile-drawer { transition: none; }
    .home-page .mega-caret { transition: none; }
    .home-page .mega-item { transition: none; }
    .home-page .mega-item:hover { transform: none; }
    .home-page .footer-link { transition: none; }
    .home-page .footer-link:hover { transform: none; }
    .home-page .nav-cta { transition: none; }
    .home-page .nav-cta:active { transform: none; }
    .home-page .mega-featured-cta svg,
    .home-page .mega-footer-cta::after,
    .home-page .nav-cta svg { transition: none; }
  }
