:root {
  --red: #D9272E;
  --red-dark: #A81D22;
  --red-glow: rgba(217, 39, 46, 0.12);
  --dark: #0D0D0D;
  --dark2: #141414;
  --dark3: #1C1C1C;
  --mid: #2A2A2A;
  --border: #2E2E2E;
  --muted: #b4aea6;
  --ink: #f2eee8;
  --ink-soft: #ddd8d0;
  --light: #F0EDE8;
  --white: #FFFFFF;
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.12);
  --amber: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.12);
  --indigo: #4f6ef7;
  --indigo-glow: rgba(79, 110, 247, 0.12);
  --metal: #c9c4bb;
  --metal-soft: rgba(240, 237, 232, 0.08);
  --glass: rgba(13, 13, 13, 0.68);
  --surface: #141414;
  --hairline: rgba(240, 237, 232, 0.14);
  --radius: 0px;
  --radius-sm: 0px;
  --radius-xs: 0px;
  --display: 'Raleway', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(24px, 5vw, 72px);
  --max: 1180px;
  --max-wide: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  --rail: max(var(--pad), calc((100vw - var(--max-wide)) / 2));
  background: var(--dark);
  color: var(--ink);
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 400;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}
.skip-link:focus { top: 16px; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--rail);
  background: #0d0d0d;
  border-bottom: 1px solid rgba(240, 237, 232, 0.08);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: transparent;
  color: var(--light);
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--red);
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-cta:hover { color: var(--red); }
.nav-hamburger { display: none; }
.nav-mobile-close { display: none; }
.nav-hamburger span { transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 78%;
  max-width: 320px;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--hairline);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 48px;
  transform: translateX(110%);
  transition: transform 0.4s var(--ease);
}
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav-drawer ul li a {
  display: block;
  padding: 14px 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--hairline);
  transition: color 0.2s;
}
.nav-drawer ul li a:hover { color: var(--white); }
.nav-drawer .drawer-cta {
  display: block;
  margin-top: 32px;
  background: var(--red);
  color: var(--white);
  padding: 14px 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 0;
}
.nav-drawer .drawer-cta:hover { background: var(--red-dark); }
.nav-mobile-close {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  margin-bottom: 32px;
}
.nav-mobile-close:hover { color: var(--white); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-drawer-open .nav-drawer { transform: translateX(0); }
.nav-drawer-open .nav-backdrop { opacity: 1; pointer-events: all; }

/* ── BUTTONS ── */
.btn-primary,
.btn-cta-white,
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s, gap 0.2s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 14px 26px;
  font-size: 0.88rem;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  color: var(--metal);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--white); border-color: var(--white); }
.btn-cta-white {
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.9rem;
}
.btn-cta-white:hover { background: var(--red-dark); }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--rail) 72px;
  position: relative;
  overflow: hidden;
}
.hero-bg,
.page-hero-bg,
.ambient-fallback {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ambient-fallback {
  background:
    radial-gradient(ellipse 80% 55% at 62% 18%, rgba(232, 226, 216, 0.05), transparent 60%),
    #0b0b0c;
}
.ambient-fallback::after { display: none; }
.ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
}
.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 500px);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-left {
  position: relative;
  z-index: 2;
}
.hero-right {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 1;
  isolation: isolate;
}
.hero-eyebrow,
.section-eyebrow,
.page-hero .section-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--metal);
  margin-bottom: 18px;
}
.hero-eyebrow::before,
.section-eyebrow::before { display: none; }
.hero h1,
.page-hero-title,
.section-title,
.cta h2 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--light);
}
.hero h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
}
.hero h1 em,
.page-hero-title em,
.section-title em,
.cta h2 em {
  color: var(--red);
  font-family: inherit;
  font-style: normal;
  font-weight: 800;
}
.hero-sub {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 22em;
  line-height: 1.45;
}
.hero-actions { margin-top: 40px; display: flex; gap: 20px; align-items: center; }
.hero-scroll {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 36px;
  height: 1px;
  background: var(--red);
  animation: pulse 2.4s infinite;
}

/* ── MONITOR ── */
/* The rotating monitor sits above the live WebGL ambient canvas. Both are given
   stable, isolated compositing layers so Safari resolves the overlap test once
   instead of re-deciding it as the projected bounds change each frame. */
.monitor-stage {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  width: 100%;
  max-width: 540px;
  perspective: 1700px;
  perspective-origin: 50% 40%;
  isolation: isolate;
  transform: translateZ(0);
}
.monitor-tilt {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.5s var(--ease);
  will-change: transform;
}
.monitor-drift {
  position: relative;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  animation: monitorDrift 22s ease-in-out infinite;
  will-change: transform;
}
/* Each plane below gets an explicit, well-separated translateZ. Coplanar or
   edge-sharing siblings make WebKit's depth sort flip between frames. */
.monitor-shell {
  position: relative;
  backface-visibility: hidden;
  transform: translateZ(0);
  padding: 11px 11px 0;
  background: linear-gradient(150deg, #2b2b31 0%, #1a1a1f 38%, #101013 72%, #17171b 100%);
  border: 1px solid rgba(240, 237, 232, 0.22);
  border-radius: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 1px 0 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 2px 6px rgba(0, 0, 0, 0.5),
    0 44px 90px -24px rgba(0, 0, 0, 0.8);
}
.monitor-screen {
  position: relative;
  overflow: hidden;
  background: #0a0a0c;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.9),
    inset 0 3px 12px rgba(0, 0, 0, 0.75);
}
.monitor-glare,
.monitor-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.monitor-glare {
  background-image: linear-gradient(
    104deg,
    transparent 28%,
    rgba(255, 255, 255, 0.075) 43%,
    rgba(255, 255, 255, 0.016) 56%,
    transparent 68%
  );
  background-size: 220% 100%;
  background-repeat: no-repeat;
  animation: glareSweep 22s ease-in-out infinite;
}
.monitor-vignette {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 12%),
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.34) 100%);
}
.monitor-chin {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #23232a 0%, #17171c 55%, #0e0e11 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.7);
}
.monitor-brand {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: rgba(240, 237, 232, 0.32);
}
.monitor-led {
  position: absolute;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(16, 185, 129, 0.85);
  animation: pulse 3.4s infinite;
}
/* The stand is one flat plane set behind the screen. The foot's depth is drawn
   with a taper and a lit near edge rather than a rotateX, which would hinge on
   the neck's bottom edge and z-fight with it. */
.monitor-stand {
  position: relative;
  transform: translateZ(-30px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.monitor-neck {
  width: 86px;
  height: 46px;
  background: linear-gradient(90deg, #16161b 0%, #33333d 30%, #45454f 50%, #2a2a33 70%, #131318 100%);
  clip-path: polygon(27% 0, 73% 0, 100% 100%, 0 100%);
}
.monitor-base {
  width: 236px;
  height: 14px;
  clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #52525e 0%, #3a3a45 22%, #23232b 58%, #14141a 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.7);
}
.monitor-cast {
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 78%;
  height: 40px;
  transform: translateX(-50%) translateZ(-58px);
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.26) 44%,
    transparent 78%
  );
  pointer-events: none;
}

/* ── DASHBOARD ── */
.dash-device {
  width: 100%;
  background: #101010;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: hidden;
  transform: none;
}
.dash-chrome {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--hairline);
}
.dash-dot { width: 8px; height: 8px; border-radius: 50%; }
.dash-dot-r { background: #ff5f57; }
.dash-dot-y { background: #febc2e; }
.dash-dot-g { background: #28c840; }
.dash-url {
  margin-left: 10px;
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0;
  padding: 4px 12px;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
}
.dash-body { padding: 18px; background: #111116; }
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-topbar-logo { font-size: 0.75rem; font-weight: 500; color: rgba(255, 255, 255, 0.5); }
.dash-live-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}
.dash-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dash-kpi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 10px 12px;
}
.dash-kpi-label {
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 5px;
}
.dash-kpi-val { font-weight: 800; font-size: 1.08rem; line-height: 1; }
.dash-kpi-delta { font-size: 0.58rem; font-weight: 600; margin-top: 4px; }
.dash-kpi-delta.up { color: var(--green); }
.dash-chart-area {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 12px;
  margin-bottom: 12px;
}
.dash-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dash-chart-title { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.dash-chart-val { font-weight: 800; font-size: 1rem; color: var(--green); }
.dash-bars { display: flex; align-items: flex-end; gap: 4px; height: 52px; }
.dash-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom;
  animation: barRise 1.2s var(--ease) both;
}
.dash-table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  overflow: hidden;
}
.dash-table-head,
.dash-table-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 7px 12px; }
.dash-table-head { border-bottom: 1px solid var(--hairline); }
.dash-table-head span {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.dash-table-row { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.dash-table-row:last-child { border-bottom: none; }
.dash-table-row span { font-size: 0.66rem; color: rgba(255, 255, 255, 0.68); }
.dash-status { font-weight: 700; font-size: 0.58rem; letter-spacing: 0.06em; text-transform: uppercase; }
.dash-status.billed { color: var(--green); }
.dash-status.pending { color: var(--amber); }

/* ── DENIED WIDGET ── */
.denied-widget {
  margin-top: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(217, 39, 46, 0.28);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.denied-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(217, 39, 46, 0.06);
  border-bottom: 1px solid rgba(217, 39, 46, 0.18);
}
.denied-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.denied-count-badge {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(217, 39, 46, 0.12);
  border: 1px solid rgba(217, 39, 46, 0.3);
  padding: 3px 9px;
  border-radius: 0;
}
.denied-table-head,
.denied-table-row {
  display: grid;
  grid-template-columns: 1.7fr 0.75fr 1.5fr 1fr;
  padding: 9px 16px;
  align-items: center;
}
.denied-table-head { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.denied-table-head span {
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
}
.denied-table-row { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.denied-table-row:last-child { border-bottom: none; }
.denied-case { display: flex; flex-direction: column; gap: 2px; }
.denied-inv { font-size: 0.54rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.3); }
.denied-vehicle { font-size: 0.68rem; font-weight: 600; color: rgba(255, 255, 255, 0.84); }
.denied-amount { font-weight: 700; font-size: 0.7rem; }
.denied-reason { font-size: 0.62rem; font-weight: 500; color: rgba(245, 158, 11, 0.88); }
.denied-action-btn {
  display: inline-block;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(217, 39, 46, 0.1);
  border: 1px solid rgba(217, 39, 46, 0.3);
  padding: 4px 8px;
  border-radius: 0;
}
.denied-widget-footer {
  padding: 12px 16px;
  background: rgba(217, 39, 46, 0.06);
  border-top: 1px solid rgba(217, 39, 46, 0.14);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.55;
}
.denied-widget-footer strong { color: rgba(255, 255, 255, 0.7); }

/* ── MARQUEE ── */
.marquee-strip {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  z-index: 2;
  pointer-events: none;
  width: min(28vw, 280px);
}
.marquee-strip::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.marquee-strip::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.marquee-ecosystem {
  position: absolute;
  left: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee-item {
  display: flex;
  align-items: center;
  padding: 0 56px;
  opacity: 0.72;
}
.marquee-item img { height: 22px; width: auto; filter: grayscale(0.15); }

/* ── SECTIONS ── */
section { padding: 120px var(--rail); position: relative; }
.section-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.section-body,
.page-hero-body,
.about-card p,
.feature-body,
.founder-content p,
.founder-title,
.always-on-right p,
.no-crying-right p,
.team-card p,
.team-bottom p,
.reconcile-card p,
.rev-leak-body,
.news-featured-body,
.privacy-body,
.subpage-cta p {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 32em;
  line-height: 1.5;
}
.section-body { margin-top: 16px; }

.surface,
.about-card,
.feature-card,
.founder-metric,
.team-card,
.calc-results,
.news-featured,
.news-card,
.reconcile-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

/* ── STATS ── */
.stats-bar {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  border-top: 1px solid #1a1a1a;
  background: var(--light);
  color: #161513;
  padding-inline: var(--rail);
}
.stat-item { padding: 48px 32px; border-right: 1px solid rgba(13, 13, 13, 0.12); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: inherit;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #161513 !important;
}
.stat-item:first-child .stat-number { font-size: clamp(3.2rem, 5vw, 5.2rem); color: var(--red) !important; }
.stat-label { margin-top: 12px; font-size: 1.05rem; font-weight: 500; color: #2f2c28; line-height: 1.35; max-width: 14em; }

/* ── REVENUE ── */
.rev-leak {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(217, 39, 46, 0.08), transparent 70%),
    var(--dark);
  border-bottom: 1px solid var(--hairline);
  padding: 96px var(--rail) 40px;
  text-align: center;
}
.rev-leak-eyebrow {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
}
.rev-leak-math {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.rev-leak-num {
  font-weight: 800;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.rev-leak-num.bad { color: var(--red); }
.rev-leak-op { font-weight: 300; font-size: clamp(1.1rem, 2.4vw, 1.8rem); color: var(--muted); }
.rev-leak-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.rev-leak-stack { display: flex; flex-direction: column; align-items: center; }
.rev-leak-body {
  max-width: 32em;
  margin: 0 auto;
  text-align: center;
}
.rev-leak-body strong { color: var(--white); font-weight: 700; }
.rev-leak-note {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
  opacity: 0.65;
}
.rev-leak-scale { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hairline); max-width: 720px; margin-left: auto; margin-right: auto; text-align: left; }
.rev-leak-scale-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.rev-leak-scale-rows { display: flex; flex-direction: column; gap: 12px; }
.rev-leak-scale-row { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 16px; }
.rev-leak-scale-vol { font-weight: 600; font-size: 0.82rem; color: var(--muted); }
.rev-leak-scale-bar-wrap { height: 4px; background: rgba(255, 255, 255, 0.06); border-radius: 999px; overflow: hidden; }
.rev-leak-scale-bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--red-dark), var(--red)); }
.rev-leak-scale-amt { font-weight: 800; font-size: 0.9rem; color: var(--red); min-width: 80px; text-align: right; }

.calc-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px var(--pad) 96px;
  text-align: left;
}
.calc-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.calc-title {
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label,
.contact-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-hint { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.calc-field input,
.contact-field input,
.contact-field textarea,
.contact-field select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  color: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-field input { font-size: 1.08rem; font-weight: 700; -moz-appearance: textfield; }
.calc-field input::-webkit-outer-spin-button,
.calc-field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.calc-field input:focus,
.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  border-color: rgba(217, 39, 46, 0.55);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 28px 24px;
  margin-bottom: 14px;
}
.calc-result-item { text-align: center; }
.calc-result-label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc-result-val { font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.9rem); color: var(--red); line-height: 1; }
.calc-result-sub { font-size: 0.66rem; color: var(--muted); margin-top: 5px; }
.calc-result-divider { width: 1px; height: 52px; background: var(--hairline); }
.calc-disclaimer { font-size: 0.68rem; color: var(--muted); opacity: 0.65; letter-spacing: 0.04em; }

/* ── NO CRYING ── */
.no-crying {
  background:
    radial-gradient(ellipse 80% 80% at 10% 20%, rgba(255, 255, 255, 0.08), transparent 50%),
    linear-gradient(135deg, #c42229 0%, #a81d22 55%, #8f181d 100%);
  overflow: hidden;
}
.no-crying-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  width: min(100%, var(--max-wide));
  margin-inline: auto;
}
.no-crying-left,
.no-crying-right { padding: 72px var(--pad); display: flex; flex-direction: column; justify-content: center; }
.no-crying-left { border-right: 1px solid rgba(255, 255, 255, 0.14); position: relative; }
.no-crying-left::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 28px;
  font-weight: 800;
  font-size: 16rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}
.no-crying-quote {
  font-family: inherit;
  font-weight: 800;
  font-style: normal;
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: none;
  position: relative;
  z-index: 1;
}
.no-crying-attr {
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.72;
}
.no-crying-right p { color: rgba(255,255,255,0.92); margin-bottom: 0; }
.no-crying-right p:last-child { margin-bottom: 0; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; margin-top: 48px; width: min(100%, var(--max-wide)); }
.about-highlight {
  font-family: inherit;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  line-height: 1.3;
  color: var(--ink);
  max-width: 18em;
  border-left: none;
  padding-left: 0;
  margin-bottom: 40px;
}
.about-cards { display: flex; flex-direction: column; gap: 16px; }
.about-card { padding: 28px; }
.about-card-title { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 8px; }

/* ── FEATURES / PLATFORM ── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px var(--rail) 72px;
}
.page-hero > *:not(.ambient-fallback):not(.ambient-canvas) { position: relative; z-index: 1; }
.page-hero-title { font-size: clamp(3rem, 7vw, 6rem); margin-bottom: 18px; }
.page-hero-body { margin-top: 12px; font-size: 1.35rem; color: var(--ink); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: min(100%, var(--max-wide)); }
.feature-card { padding: 40px 36px 36px; min-height: 240px; }
.feature-num {
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: rgba(240, 237, 232, 0.12);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}
.feature-title { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 12px; }
.feature-body { margin-top: 4px; }
.feature-tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(217, 39, 46, 0.4);
  padding: 5px 10px;
  border-radius: 0;
}

.instrument-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0 0 48px;
}
.instrument-step {
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.025);
}
.instrument-step span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  font-weight: 700;
}
.instrument-step strong { font-size: 0.92rem; font-weight: 700; }

.always-on {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
  padding: 96px var(--rail);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.always-on-left .big-text {
  font-weight: 800;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.always-on-left .big-text em { color: var(--red); font-style: normal; }
.always-on-right p { margin-bottom: 0; }
.always-on-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.always-on-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  color: var(--metal);
}

/* ── RECONCILE ── */
.reconcile { background: linear-gradient(180deg, #111114, var(--dark)); border-top: 1px solid var(--hairline); }
.reconcile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; max-width: var(--max); margin: 0 auto; }
.reconcile-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reconcile-card { padding: 28px 24px; }
.reconcile-card h3 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.reconcile-card p { max-width: none; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.chip {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 6px 12px;
  border-radius: 0;
}
.flow-trace { width: 100%; height: 88px; margin-top: 28px; }
.flow-trace path {
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-dasharray: 8 10;
  animation: dashFlow 2.8s linear infinite;
  opacity: 0.7;
}
.flow-trace circle { fill: var(--green); }

/* ── FOUNDER ── */
.founder-inner { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 72px; align-items: start; margin-top: 48px; width: min(100%, var(--max-wide)); }
.founder-label { position: sticky; top: 110px; }
.founder-name { font-weight: 800; font-size: clamp(2rem, 3.2vw, 2.8rem); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 12px; }
.founder-title { font-size: 1.05rem; }
.founder-divider { width: 36px; height: 2px; background: var(--red); margin-top: 22px; }
.founder-content blockquote {
  font-family: inherit;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.3;
  margin-bottom: 36px;
  letter-spacing: -0.03em;
}
.founder-content blockquote em { color: var(--red); font-style: normal; }
.founder-content blockquote cite {
  display: block;
  margin-top: 16px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.founder-content p { margin-bottom: 16px; }
.founder-content p strong { color: var(--white); font-weight: 600; }
.founder-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.founder-metric { padding: 24px; border-top: 2px solid var(--indigo); }
.founder-metric-val { font-weight: 800; font-size: 1.8rem; color: var(--indigo); line-height: 1.1; letter-spacing: -0.02em; }
.founder-metric-label { font-size: 0.95rem; font-weight: 400; margin-top: 8px; line-height: 1.4; color: var(--ink-soft); }
.founder-journey { margin-top: 36px; display: flex; flex-direction: column; position: relative; }
.founder-journey::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--red), var(--hairline));
}
.fj-item { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 26px; position: relative; }
.fj-item:last-child { padding-bottom: 0; }
.fj-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  margin-top: 3px;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--dark);
}
.fj-dot--amber { background: var(--amber); }
.fj-dot--red { background: var(--red); box-shadow: 0 0 0 4px var(--dark), 0 0 16px var(--red-glow); }
.fj-label { font-weight: 800; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.fj-desc { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; width: min(100%, var(--max-wide)); }
.team-card { padding: 48px 40px; }
.team-card-eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.team-card-title { font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 16px; }
.team-card p { max-width: none; }
.team-bottom {
  margin-top: 16px;
  padding: 40px;
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}
.team-bottom p { font-weight: 600; font-size: 1.25rem; line-height: 1.4; max-width: 760px; margin: 0 auto; }
.team-bottom em { color: var(--red); font-style: normal; }

/* ── CONTACT ── */
.contact { border-top: 1px solid var(--hairline); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; max-width: var(--max); margin: 0 auto; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.contact-detail a { color: var(--ink-soft); text-decoration: none; }
.contact-detail a:hover { color: var(--white); }
.contact-detail-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; }
.contact-field textarea { min-height: 130px; resize: none; }
.contact-submit {
  background: var(--red);
  color: var(--white);
  padding: 15px 32px;
  font-size: 0.95rem;
  align-self: flex-start;
  margin-top: 4px;
}
.contact-submit:hover { background: var(--red-dark); gap: 14px; }
.contact-submit:disabled { opacity: 0.7; cursor: wait; }
.contact-success,
.contact-error {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 4px;
}
.contact-success { background: var(--green-glow); border: 1px solid var(--green); color: var(--green); }
.contact-error { background: rgba(217, 39, 46, 0.08); border: 1px solid rgba(217, 39, 46, 0.3); color: var(--red); }
.contact-error a { color: var(--red); }

/* ── CTA ── */
.cta {
  padding: 120px var(--rail);
  text-align: left;
  position: relative;
  overflow: hidden;
  background: var(--light);
  color: #161513;
  border-top: none;
}
.cta-content { position: relative; z-index: 1; max-width: 18em; }
.cta h2 { font-size: clamp(3rem, 7vw, 5.6rem); margin-bottom: 20px; color: #161513; }
.cta p { font-size: 1.2rem; font-weight: 400; max-width: 20em; margin: 0 0 36px; line-height: 1.45; color: #2f2c28; }

.subpage-cta {
  padding: 96px var(--rail);
  text-align: center;
  border-top: 1px solid var(--hairline);
}
.subpage-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.subpage-cta p { margin: 0 auto 28px; text-align: center; }

/* ── FOOTER ── */
footer {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--hairline);
  padding: 36px var(--rail);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo img { height: 40px; width: auto; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.84rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: var(--muted); font-size: 0.8rem; }
.footer-copy a { color: var(--muted); text-decoration: none; }
.footer-copy a:hover { color: var(--white); }

/* ── NEWS ── */
.news-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  overflow: hidden;
  transition: border-color 0.25s;
  width: min(100%, var(--max-wide));
}
.news-featured:hover { border-color: rgba(217, 39, 46, 0.4); }
.news-featured-image { position: relative; overflow: hidden; min-height: 460px; }
.news-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.news-featured:hover .news-featured-image img { transform: none; }
.news-featured-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 40%, rgba(20, 20, 20, 0.55));
  pointer-events: none;
}
.news-featured-content { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.news-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.news-card-date,
.news-card-author { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.news-card-date { color: var(--muted); }
.news-card-author { color: var(--red); }
.news-card-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border); }
.news-card-tag {
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 16px;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  color: var(--amber);
  border-radius: 0;
}
.news-featured-title { font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 20px; }
.news-featured-body { display: flex; flex-direction: column; gap: 14px; max-width: none; }
.news-featured-pullquote {
  border-left: 2px solid var(--red);
  padding-left: 18px;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
  line-height: 1.35;
}
.news-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  width: fit-content;
}
.news-cards-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; width: min(100%, var(--max-wide)); }
.news-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 32px;
  text-align: center;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
  border-style: dashed;
}
.news-card p { color: var(--ink-soft); }
.news-card strong { font-weight: 800; font-size: 1rem; }
.news-card a { color: var(--red); text-decoration: none; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.news-expand-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: max-height 0.5s var(--ease), opacity 0.35s ease;
}
.news-expand-body.open { max-height: 800px; opacity: 1; }
.news-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.news-expand-btn.open svg { transform: rotate(180deg); }
.news-expand-btn svg { transition: transform 0.3s; }

/* ── PRIVACY / 404 ── */
.privacy-hero { padding: 160px var(--rail) 32px; }
.privacy-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.privacy-hero .subtitle { max-width: 32em; color: var(--ink-soft); }
.privacy-body { max-width: 40em; margin-inline: auto; padding: 24px var(--pad) 96px; }
.privacy-body h2 { color: var(--white); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; margin: 36px 0 12px; }
.privacy-body p,
.privacy-body li { margin-bottom: 14px; line-height: 1.8; }
.privacy-body ul { padding-left: 20px; }
.privacy-body a { color: var(--red); }
.privacy-body strong { color: var(--white); font-weight: 600; }

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.error-page > *:not(.ambient-fallback):not(.ambient-canvas) { position: relative; z-index: 1; }
.error-page .section-eyebrow { justify-content: center; }
.error-page .logo { height: 48px; width: auto; opacity: 0.22; margin-bottom: 40px; }
.error-page h1 { font-size: clamp(3rem, 10vw, 6.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 16px; }
.error-page h1 em { font-family: inherit; font-style: normal; font-weight: 800; color: var(--red); }
.error-page .subtitle { font-size: 1.15rem; font-weight: 400; color: var(--ink-soft); margin-bottom: 40px; max-width: 22em; }
.error-page .divider { width: 1px; height: 40px; background: var(--hairline); margin: 40px auto; }
.back-links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.back-links a { color: var(--muted); text-decoration: none; font-size: 0.84rem; font-weight: 500; }
.back-links a:hover { color: var(--white); }

/* ── REVEALS / ASSEMBLY ── */
.reveal { opacity: 1; transform: none; }
.hero-left,
.hero-right {
  will-change: transform;
}
.dash-chrome,
.dash-kpis,
.dash-chart-area,
.dash-table {
  animation: dockIn 0.85s var(--ease) both;
}
.dash-chrome { animation-delay: 0.08s; }
.dash-kpis { animation-delay: 0.2s; }
.dash-chart-area { animation-delay: 0.34s; }
.dash-table { animation-delay: 0.48s; }

[data-assemble] { --p: 0; }
[data-assemble] > * {
  transform: translate3d(
    calc((1 - var(--p)) * var(--from-x, 0px)),
    calc((1 - var(--p)) * var(--from-y, 36px)),
    0
  );
  opacity: calc(0.12 + var(--p) * 0.88);
  will-change: transform, opacity;
}
.rev-leak-math > *:nth-child(1) { --from-x: -56px; --from-y: 0px; }
.rev-leak-math > *:nth-child(2),
.rev-leak-math > *:nth-child(4) { --from-x: 0px; --from-y: 12px; }
.rev-leak-math > *:nth-child(3) { --from-x: 0px; --from-y: -28px; }
.rev-leak-math > *:nth-child(5) { --from-x: 56px; --from-y: 0px; }
.stats-bar > *:nth-child(1) { --from-y: 28px; }
.stats-bar > *:nth-child(2) { --from-y: 40px; }
.stats-bar > *:nth-child(3) { --from-y: 52px; }
.stats-bar > *:nth-child(4) { --from-y: 64px; }
.about-cards > *:nth-child(1) { --from-x: 32px; --from-y: 16px; }
.about-cards > *:nth-child(2) { --from-x: 40px; --from-y: 24px; }
.about-cards > *:nth-child(3) { --from-x: 48px; --from-y: 32px; }
.denied-widget { --from-y: 28px; }
.instrument-flow > *:nth-child(1) { --from-y: 20px; }
.instrument-flow > *:nth-child(2) { --from-y: 28px; }
.instrument-flow > *:nth-child(3) { --from-y: 36px; }
.instrument-flow > *:nth-child(4) { --from-y: 44px; }
.instrument-flow > *:nth-child(5) { --from-y: 52px; }
.feature-grid > * { --from-y: 32px; }
.founder-journey > * { --from-x: -20px; --from-y: 12px; }
.founder-metrics > * { --from-y: 24px; }
.reconcile-cards > * { --from-y: 28px; }
.team-grid > *:nth-child(1) { --from-x: -28px; --from-y: 16px; }
.team-grid > *:nth-child(2) { --from-x: 28px; --from-y: 16px; }

@keyframes dockIn {
  from { opacity: 0; transform: translate3d(0, 28px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.28; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes barRise {
  from { transform: scaleY(0.2); opacity: 0.4; }
  to { transform: scaleY(1); opacity: 1; }
}
@keyframes dashFlow {
  to { stroke-dashoffset: -36; }
}
@keyframes monitorDrift {
  0%   { transform: rotateY(-6.5deg) rotateX(2.2deg) translate3d(0, 0, 0); }
  27%  { transform: rotateY(-1.5deg) rotateX(0.4deg) translate3d(0, -5px, 14px); }
  52%  { transform: rotateY(4.2deg) rotateX(-1.6deg) translate3d(0, 2px, 6px); }
  76%  { transform: rotateY(-0.8deg) rotateX(1.1deg) translate3d(0, -3px, -8px); }
  100% { transform: rotateY(-6.5deg) rotateX(2.2deg) translate3d(0, 0, 0); }
}
@keyframes glareSweep {
  0%, 100% { background-position: 16% 0; }
  50% { background-position: 84% 0; }
}

@media (max-width: 1024px) {
  nav { padding: 12px 24px; }
  .nav-links,
  .nav-cta { display: none; }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
  }
  .nav-hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); }
  .feature-grid,
  .instrument-flow { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .hero-stage { grid-template-columns: 1fr; }
  .hero-left { max-width: none; }
  .hero-right { width: min(100%, 540px); }
  .monitor-stage { perspective: 2200px; }
}

@media (max-width: 768px) {
  .hero { padding: 120px 24px 56px; }
  .hero-right { justify-content: flex-start; }
  .hero-right .dash-device { transform: none; max-width: 100%; }
  .monitor-stage { max-width: 100%; perspective: 1400px; }
  .monitor-shell { padding: 7px 7px 0; }
  .monitor-chin { height: 22px; }
  .monitor-neck { width: 62px; height: 30px; }
  .monitor-base { width: 168px; height: 10px; }
  .monitor-cast { bottom: -16px; height: 28px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-scroll { position: static; margin-top: 32px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(13, 13, 13, 0.12); padding: 28px 20px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(13, 13, 13, 0.12); }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.82rem; max-width: none; }
  .marquee-ecosystem { left: 12px; font-size: 0.5rem; }
  .rev-leak,
  .calc-wrap,
  section,
  .always-on,
  .cta,
  .page-hero,
  .subpage-cta,
  .privacy-hero { padding-left: 24px; padding-right: 24px; }
  .no-crying-inner,
  .about-grid,
  .always-on,
  .founder-inner,
  .contact-inner,
  .reconcile-grid,
  .news-featured,
  .news-cards-row,
  .team-grid,
  .feature-grid,
  .instrument-flow,
  .calc-inputs,
  .contact-form-row { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .no-crying-left { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 56px 24px; }
  .no-crying-right { padding: 40px 24px; }
  .founder-label { position: static; }
  .founder-metrics { grid-template-columns: 1fr 1fr; }
  .denied-table-head,
  .denied-table-row { grid-template-columns: 1.8fr 0.75fr 1fr; }
  .denied-table-head span:nth-child(3),
  .denied-reason { display: none; }
  .calc-results { grid-template-columns: 1fr; gap: 18px; }
  .calc-result-divider { width: 40px; height: 1px; margin: 0 auto; }
  .rev-leak-scale-row { grid-template-columns: 120px 1fr; }
  .rev-leak-scale-amt { display: none; }
  footer { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .news-featured-image { min-height: 240px; }
  .reconcile-cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item:nth-child(odd) { border-right: none; }
  .founder-metrics { grid-template-columns: 1fr; }
  .btn-primary,
  .btn-cta-white { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-left,
  .hero-right,
  .dash-device { transform: none !important; }
  .monitor-tilt,
  .monitor-drift,
  .monitor-glare { animation: none !important; transform: none !important; }
  .dash-chrome,
  .dash-kpis,
  .dash-chart-area,
  .dash-table { animation: none; opacity: 1; transform: none; }
  [data-assemble] { --p: 1 !important; }
  [data-assemble] > * { opacity: 1; transform: none; }
}
