/* =========================================================================
   ReconRed Security - design system
   Near-black canvas, graphite surfaces, brand crimson used as a signal rather
   than a wash. Motion is cheap by construction: only transform and opacity are
   animated, and nothing full-screen is blurred or blended while scrolling.
   ========================================================================= */

:root {
  /* Surfaces */
  --bg:            #08080a;
  --bg-soft:       #0c0c0f;
  --surface:       #101014;
  --surface-2:     #15151a;
  --surface-3:     #1c1c22;

  /* Lines */
  --line:          rgba(255, 255, 255, .08);
  --line-strong:   rgba(255, 255, 255, .15);

  /* Text */
  --text:          #f4f4f6;
  --muted:         #a5a5af;
  --dim:           #74747f;

  /* Brand. Red is the accent, not the background: tinted areas stay small. */
  --brand:         #a80038;  /* exact logo crimson */
  --red:           #b01040;
  --red-hi:        #d9576e;  /* text accent; still clears 4.5:1 on the canvas */
  --red-soft:      rgba(176, 16, 64, .08);
  --red-line:      rgba(176, 16, 64, .20);
  --red-glow:      rgba(176, 16, 64, .18);

  /* Semantic */
  --ok:            #34d399;
  --warn:          #e8a33c;
  --crit:          #f2607c;

  /* Rhythm */
  --shell:         1200px;
  --gutter:        clamp(20px, 5vw, 48px);
  --radius:        16px;
  --radius-lg:     22px;
  --radius-sm:     10px;

  /* Motion */
  --ease:          cubic-bezier(.22, .61, .36, 1);
  --ease-out:      cubic-bezier(.16, 1, .3, 1);
  --dur:           .24s;
  --dur-slow:      .5s;

  /* Type */
  --font-display:  'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--red); color: #fff; }

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

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

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 18px; border-radius: var(--radius-sm);
  background: var(--red); color: #fff; font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.shell {
  width: 100%; max-width: var(--shell);
  margin-inline: auto; padding-inline: var(--gutter);
}

/* --------------------------------------------------------- background FX
   One fixed, fully static layer. Nothing here animates, blurs or blends, so
   it is painted once and only composited as the page scrolls.               */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--bg); }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 110% 70% at 50% 0%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 110% 70% at 50% 0%, #000 15%, transparent 75%);
}

/* Radial gradients rather than blurred boxes: same softness, no blur filter. */
.bg-glow { position: absolute; }
.bg-glow--a {
  width: 90vw; height: 70vh; top: -22vh; right: -26vw;
  background: radial-gradient(closest-side, rgba(168, 0, 56, .15), transparent 72%);
}
.bg-glow--b {
  width: 80vw; height: 60vh; top: 46vh; left: -30vw;
  background: radial-gradient(closest-side, rgba(80, 18, 44, .14), transparent 74%);
}

/* ------------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  display: block; width: 32px; color: var(--red);
  transition: color var(--dur) var(--ease), transform var(--dur-slow) var(--ease-out);
}
.logo__mark svg { width: 100%; height: auto; }
.logo__rule { width: 1px; align-self: stretch; min-height: 32px; background: var(--line-strong); }
.logo__type { display: flex; flex-direction: column; gap: 2px; }
.logo__name {
  font-family: var(--font-display); font-weight: 700; font-size: 16.5px;
  line-height: 1; letter-spacing: .03em; color: var(--text);
}
.logo__sub {
  font-family: var(--font-display); font-weight: 400; font-size: 8.5px;
  line-height: 1; letter-spacing: .42em; color: var(--dim);
}
.logo--compact .logo__mark { width: 78px; }
.logo--compact .logo__rule, .logo--compact .logo__type { display: none; }

a:hover .logo__mark { color: var(--red-hi); transform: rotate(-90deg); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 102;   /* burger stays clickable over the menu */
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.site-header.is-stuck {
  background: rgba(9, 9, 11, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }

/* With the menu open the header floats above it, so drop the sticky chrome and
   the scroll bar: only the logo and the close button should read. */
body.is-locked .site-header {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.is-locked .site-header__progress { opacity: 0; }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}
.site-header__actions { display: flex; align-items: center; gap: 12px; }

.site-header__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0); will-change: transform;
  background: linear-gradient(90deg, var(--brand), var(--red-hi));
}

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 9px 15px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 50%; bottom: 3px;
  width: 16px; height: 2px; border-radius: 2px; background: var(--red-hi);
  transform: translateX(-50%) scaleX(0);
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav__link:hover::after, .nav__link.is-active::after { transform: translateX(-50%) scaleX(1); }
.nav__link.is-active { color: var(--text); }

@media (max-width: 940px) { .nav { display: none; } }

/* ---------------------------------------------------------------- burger */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  padding: 0;
  /* align-content:center rather than the default stretch, so the three rows keep
     their intrinsic height and the bar spacing below stays exact. */
  grid-auto-flow: row; align-content: center; justify-items: center; gap: 5px;
}
.burger span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); margin: 0;
  transition: transform var(--dur) var(--ease), opacity .16s var(--ease);
}
/* 2px bar + 5px gap puts the outer bars 7px from the middle one, so that is
   exactly how far each has to travel to form the X. */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: grid; }
  .site-header__actions > .btn { display: none; }
}

/* ----------------------------------------------------------- mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 101;   /* above the sticky header */
  background: var(--bg);
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu[hidden] { display: grid; }

.mobile-menu__inner {
  display: flex; flex-direction: column; gap: 2px;
  width: min(460px, calc(100% - 40px));
  max-height: 100dvh; overflow-y: auto;
  padding-block: 84px 32px;
}
.mobile-menu__link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: clamp(25px, 7.5vw, 32px); font-weight: 600;
  letter-spacing: -.02em; color: var(--text);
  opacity: 0; transform: translateY(16px);
  transition: color var(--dur) var(--ease);
}
.mobile-menu.is-open .mobile-menu__link { animation: menu-in .4s var(--ease-out) forwards; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { animation-delay: .04s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { animation-delay: .09s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { animation-delay: .14s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { animation-delay: .19s; }
.mobile-menu__link span { font-family: var(--font-mono); font-size: 12px; color: var(--red-hi); }
.mobile-menu__link.is-active, .mobile-menu__link:hover { color: var(--red-hi); }
.mobile-menu__cta { margin-top: 24px; justify-content: center; }
.mobile-menu__meta {
  margin-top: 22px; display: flex; flex-direction: column; gap: 6px;
  font-size: 15px; color: var(--muted);
}
.mobile-menu__meta a { min-height: 34px; display: inline-flex; align-items: center; }
.mobile-menu__meta a:hover { color: var(--red-hi); }

@keyframes menu-in { to { opacity: 1; transform: translateY(0); } }

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 46px; padding: 12px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent; overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform var(--dur) var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn--sm { min-height: 40px; padding: 9px 17px; font-size: 13.5px; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 15.5px; }

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--red));
  box-shadow: 0 6px 20px -10px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, .22), transparent 75%);
  transform: translateX(-130%);
  transition: transform .65s var(--ease-out);
}
.btn--primary:hover { box-shadow: 0 12px 30px -12px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--primary:hover::before { transform: translateX(130%); }

.btn--ghost { color: var(--text); background: rgba(255, 255, 255, .035); border-color: var(--line-strong); }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .26); }

.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.btn.is-busy::after {
  content: ''; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  min-height: 40px; font-weight: 600; font-size: 15px; color: var(--red-hi);
  transition: gap var(--dur) var(--ease-out);
}
.link-arrow svg { width: 17px; height: 17px; }
.link-arrow:hover { gap: 14px; }

/* ------------------------------------------------------------- typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow--dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--red-hi); box-shadow: 0 0 0 4px var(--red-soft);
}

.accent { font-style: normal; color: var(--red-hi); }

.section { padding-block: clamp(64px, 9vw, 116px); position: relative; }
.section--tight { padding-block: clamp(48px, 6.5vw, 84px); }

.section__head { max-width: 640px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section__head--wide { max-width: 760px; }
.section__title { font-size: clamp(26px, 3.8vw, 42px); }
.section__lede {
  margin-top: 16px; max-width: 62ch;
  font-size: clamp(15.5px, 1.4vw, 17px); color: var(--muted);
}

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(104px, 13vw, 152px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .5; pointer-events: none;
}
.hero__canvas--soft { opacity: .3; }

.hero__inner {
  position: relative; display: grid; gap: clamp(36px, 4.5vw, 60px);
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  /* Top-aligned, so the panel's first line sits on the same baseline band as
     the headline rather than floating half a screen lower. */
  align-items: start;
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1fr); } }

.hero__title { font-size: clamp(34px, 4.9vw, 60px); letter-spacing: -.035em; font-weight: 700; }
.hero__title .reveal-line { display: block; }

.hero__lede {
  margin-top: 22px; max-width: 54ch;
  font-size: clamp(15.5px, 1.5vw, 17.5px); color: var(--muted);
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--muted);
}
.chip svg { width: 13px; height: 13px; color: var(--red-hi); flex: none; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__stats, .page-hero__stats {
  position: relative; display: grid; gap: 20px 32px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px; border-top: 1px solid var(--line);
}
.page-hero__stats { max-width: 660px; }
@media (max-width: 620px) {
  .hero__stats, .page-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.stat__value {
  font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700; letter-spacing: -.03em; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__label { margin: 4px 0 0; font-size: 13.5px; color: var(--dim); }

/* ----------------------------------------------------------- report card
   Replaces the old terminal readout. A business owner needs to understand the
   value of the engagement at a glance; a console screenshot only spoke to
   engineers.                                                                */
.hero__panel { perspective: 1200px; min-width: 0; }

.report {
  min-width: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 64px -40px rgba(0, 0, 0, .9);
  transition: transform .3s var(--ease-out);
  transform-style: preserve-3d;
}

.report__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.report__label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.report__meta { font-size: 12.5px; color: var(--dim); white-space: nowrap; }

.report__rows { display: grid; }
.report__row {
  display: grid; grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px; align-items: start;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
}
.report__count {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 13px; font-family: var(--font-display); font-size: 18px;
  font-weight: 700; letter-spacing: -.02em;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  color: var(--muted);
}
.report__row--crit .report__count { color: var(--crit); border-color: rgba(242, 96, 124, .3); }
.report__row--warn .report__count { color: var(--warn); border-color: rgba(232, 163, 60, .28); }
.report__row--info .report__count { color: var(--muted); }

.report__tag {
  display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 6px;
}
.report__row--crit .report__tag { color: var(--crit); }
.report__row--warn .report__tag { color: var(--warn); }
.report__title { font-size: 15.5px; line-height: 1.35; margin-bottom: 5px; }
.report__text { font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.report__foot {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px 20px; background: rgba(255, 255, 255, .02);
}
.report__check {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; color: var(--ok);
  background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .28);
}
.report__check svg { width: 15px; height: 15px; }
.report__foot-title { font-size: 14.5px; font-weight: 600; color: var(--text); margin-bottom: 3px; }

@media (max-width: 420px) {
  .report__head, .report__row, .report__foot { padding-inline: 16px; }
  .report__row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .report__count { width: 40px; height: 40px; font-size: 16px; }
}

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, .5);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ---------------------------------------------------------------- marquee */
.marquee {
  overflow: hidden; padding-block: 18px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  font-family: var(--font-display); font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 500; color: var(--muted); padding-inline: 20px; white-space: nowrap;
}
.marquee__sep { color: var(--dim); font-size: 17px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ grids */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .grid--2, .grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px)  { .grid--4 { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ cards
   `contain` keeps a hover repaint inside the card rather than inviting the
   compositor to re-evaluate the section around it.                          */
.card, .panel, .mini-card, .value-card, .contact-card, .service { contain: layout paint; }

.card {
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card::before {
  /* Cursor-tracking spotlight; --mx/--my are written by JS on pointermove. */
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%),
              rgba(189, 10, 65, .12), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-4px); border-color: var(--red-line);
  box-shadow: 0 22px 50px -34px rgba(0, 0, 0, .95);
}
.card:hover::before { opacity: 1; }

.card__icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; margin-bottom: 20px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}
.card__icon svg { width: 23px; height: 23px; }
.card:hover .card__icon { transform: translateY(-2px); border-color: var(--red-line); }

.card__title { font-size: 19.5px; margin-bottom: 11px; }
.card__text { color: var(--muted); font-size: 15px; }

.card--service { padding-top: 32px; }
.card__index {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--dim);
}
.card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  min-height: 32px; font-size: 14px; font-weight: 600; color: var(--red-hi);
  transition: gap var(--dur) var(--ease-out);
}
.card__link svg { width: 15px; height: 15px; }
.card__link:hover { gap: 13px; }

/* ------------------------------------------------------------------ split */
.split {
  display: grid; gap: clamp(30px, 4.5vw, 56px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
}
@media (max-width: 940px) { .split { grid-template-columns: minmax(0, 1fr); } }

.split__aside { display: grid; gap: 16px; }

.panel {
  position: relative; padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.panel::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%),
              rgba(189, 10, 65, .11), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.panel:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.panel:hover::before { opacity: 1; }

.panel--accent {
  background: linear-gradient(150deg, rgba(168, 0, 56, .10), var(--surface) 58%);
  border-color: var(--red-line);
}
.panel__label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi);
  margin-bottom: 10px;
}
.panel__title { font-size: 18px; margin-bottom: 9px; }
.panel__text { color: var(--muted); font-size: 15px; }
.panel__text--lead { font-size: 15.5px; }

/* --------------------------------------------------------------- ticklist */
.ticklist { display: grid; gap: 11px; margin-top: 26px; }
.ticklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--text);
}
.ticklist__mark {
  display: grid; place-items: center; width: 22px; height: 22px; flex: none;
  margin-top: 3px; border-radius: 50%; color: var(--red-hi);
  background: var(--red-soft); border: 1px solid var(--red-line);
}
.ticklist__mark svg { width: 12px; height: 12px; }
.ticklist--compact { margin-top: 18px; gap: 8px; }
.ticklist--compact li { font-size: 14.5px; font-weight: 400; color: var(--muted); }

/* --------------------------------------------------------------- AI band */
.ai-band {
  position: relative; display: grid; gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; padding: clamp(28px, 3.6vw, 48px);
  border-radius: clamp(20px, 3vw, 30px);
  background: linear-gradient(140deg, rgba(168, 0, 56, .07), var(--surface) 55%);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
@media (max-width: 940px) { .ai-band { grid-template-columns: minmax(0, 1fr); } }
.ai-band__copy { position: relative; z-index: 1; }
.ai-band__copy .btn { margin-top: 28px; }
.ai-band__grid { position: relative; z-index: 1; display: grid; gap: 12px; }

.mini-card {
  position: relative; display: flex; gap: 15px; padding: 18px 20px;
  border-radius: var(--radius); background: rgba(10, 10, 13, .7);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}
.mini-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%),
              rgba(189, 10, 65, .13), transparent 60%);
  transition: opacity var(--dur) var(--ease);
}
.mini-card:hover { transform: translateX(4px); border-color: var(--red-line); }
.mini-card:hover::before { opacity: 1; }
.mini-card__icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 12px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.mini-card__icon svg { width: 19px; height: 19px; }
.mini-card__title { font-size: 16px; margin-bottom: 5px; }
.mini-card__text { font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.step { position: relative; padding: 26px 22px 28px; border-radius: var(--radius); }
.step::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform-origin: 0 50%; transform: scaleX(.3);
  transition: transform var(--dur-slow) var(--ease-out);
}
.step:hover::before { transform: scaleX(1); }
.step__num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em;
  color: var(--red-hi); display: block; margin-bottom: 14px;
}
.step__title { font-size: 19px; margin-bottom: 9px; }
.step__text { font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------- page hero */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(112px, 14vw, 156px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.page-hero--feature { padding-bottom: clamp(48px, 6vw, 76px); }
.page-hero--short { padding-bottom: clamp(20px, 3vw, 32px); }
.page-hero__inner { position: relative; max-width: 800px; }
.page-hero__title { font-size: clamp(33px, 5.2vw, 58px); letter-spacing: -.035em; font-weight: 700; }
.page-hero__title .reveal-line { display: block; }
.page-hero__lede {
  margin-top: 22px; max-width: 64ch;
  font-size: clamp(15.5px, 1.5vw, 17.5px); color: var(--muted);
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Service shortcuts. They wrap on desktop (a clipped row inside the capped
   hero column reads as broken) and become a thumb-scrollable strip on mobile,
   where wrapping six chips would push the content way down the page. */
.jumplist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
@media (max-width: 760px) {
  .jumplist {
    flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px;
    scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x proximity;
    /* Fade the trailing edge so the strip reads as scrollable. */
    mask-image: linear-gradient(90deg, #000 82%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
  .jumplist::-webkit-scrollbar { display: none; }
}
.jumplist__link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 500; color: var(--muted); white-space: nowrap;
  scroll-snap-align: start;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.jumplist__link svg { width: 15px; height: 15px; color: var(--red-hi); flex: none; }
.jumplist__link:hover { color: var(--text); border-color: var(--red-line); background: rgba(255, 255, 255, .06); }

.error-page { min-height: 58vh; display: grid; align-items: center; }

/* --------------------------------------------------------- service stack */
.service-stack { display: grid; gap: 16px; }
.service {
  position: relative; display: grid; gap: clamp(18px, 3vw, 36px);
  grid-template-columns: 88px minmax(0, 1fr);
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; scroll-margin-top: 96px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.service::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%),
              rgba(189, 10, 65, .10), transparent 60%);
  transition: opacity var(--dur) var(--ease);
}
.service:hover { border-color: var(--red-line); transform: translateY(-3px); }
.service:hover::before { opacity: 1; }
.service:target { border-color: var(--red-line); }

.service__head { display: flex; flex-direction: column; gap: 14px; }
.service__index {
  font-family: var(--font-mono); font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 500; line-height: 1; color: rgba(255, 255, 255, .1);
}
.service__icon {
  display: grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 14px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.service__icon svg { width: 23px; height: 23px; }
.service__title { font-size: clamp(21px, 2.4vw, 27px); margin-bottom: 12px; }
.service__text { color: var(--muted); font-size: 15.5px; max-width: 64ch; }

@media (max-width: 760px) {
  .service { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .service__head { flex-direction: row; align-items: center; gap: 14px; }
}

/* ------------------------------------------------------------ value cards */
.value-card {
  position: relative; padding: 24px 21px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
}
.value-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%),
              rgba(189, 10, 65, .11), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.value-card:hover { transform: translateY(-3px); border-color: var(--red-line); }
.value-card:hover::before { opacity: 1; }
.value-card__rule {
  display: block; width: 30px; height: 3px; border-radius: 3px;
  background: var(--red); margin-bottom: 16px;
  transform-origin: 0 50%;
  transition: transform var(--dur-slow) var(--ease-out);
}
.value-card:hover .value-card__rule { transform: scaleX(2); }
.value-card__title { font-size: 17.5px; margin-bottom: 8px; }
.value-card__text { font-size: 14.5px; color: var(--muted); }

/* ------------------------------------------------------------- about band */
.about-band {
  display: grid; gap: clamp(26px, 4vw, 52px);
  grid-template-columns: 180px minmax(0, 1fr); align-items: center;
  padding: clamp(28px, 3.6vw, 48px); border-radius: clamp(20px, 3vw, 30px);
  background: linear-gradient(140deg, var(--surface-2), var(--surface) 70%);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .about-band { grid-template-columns: minmax(0, 1fr); } }
.about-band__mark { display: grid; place-items: center; }
.about-band__mark .logo__mark { color: rgba(189, 10, 65, .45); }

/* --------------------------------------------------------------- contact */
.contact-split {
  display: grid; gap: clamp(30px, 4.5vw, 56px);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
}
@media (max-width: 940px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }

.contact-list { display: grid; gap: 16px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 12px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.contact-list__icon svg { width: 19px; height: 19px; }
.contact-list__body { display: flex; flex-direction: column; }
.contact-list small { font-size: 12.5px; color: var(--dim); line-height: 1.4; }
.contact-list a, .contact-list__value { font-size: 16.5px; font-weight: 600; }
.contact-list a { transition: color var(--dur) var(--ease); }
.contact-list a:hover { color: var(--red-hi); }

.contact-card {
  position: relative; padding: 28px 24px 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}
.contact-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%),
              rgba(189, 10, 65, .12), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--red-line); }
.contact-card:hover::before { opacity: 1; }
.contact-card__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 13px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__title {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 9px;
}
.contact-card__value {
  display: block; font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600; letter-spacing: -.02em; color: var(--text);
  transition: color var(--dur) var(--ease);
}
a.contact-card__value { min-height: 34px; }
a.contact-card__value:hover { color: var(--red-hi); }
.contact-card__note { margin-top: 9px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------------ forms */
.contact-form {
  padding: clamp(22px, 2.8vw, 34px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px -46px rgba(0, 0, 0, .95);
}
.contact-form__row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .contact-form__row { grid-template-columns: minmax(0, 1fr); } }

.field { display: block; margin-bottom: 16px; }
.field > label {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.field__hint { font-weight: 400; font-size: 12px; color: var(--dim); }
.req { color: var(--red-hi); }

/* 16px keeps iOS from zooming the viewport when a field takes focus. */
.input {
  width: 100%; min-height: 48px; padding: 12px 15px;
  border-radius: 12px; background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong); color: var(--text);
  font-family: inherit; font-size: 16px; line-height: 1.5;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.input::placeholder { color: #5b5b64; }
.input:hover { border-color: rgba(255, 255, 255, .24); }
.input:focus {
  outline: none; background: rgba(255, 255, 255, .05);
  border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft);
}
.input--area { resize: vertical; min-height: 124px; }
.input.is-invalid { border-color: var(--crit); box-shadow: 0 0 0 3px rgba(242, 96, 124, .12); }

.field__error { margin-top: 6px; font-size: 13px; color: var(--crit); }
.field__error:empty { display: none; }

.field--inline { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.field--inline .input { flex: 1 1 220px; width: auto; }
.field--inline .btn { flex: none; }
@media (max-width: 520px) { .field--inline .btn { width: 100%; } }

.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.contact-form__note { font-size: 13px; color: var(--dim); max-width: 30ch; }

.form-note { margin-top: 14px; font-size: 14px; }
.form-note:empty { display: none; }
.form-note.is-ok { color: var(--ok); }
.form-note.is-error { color: var(--crit); }

/* -------------------------------------------------------------- subscribe */
.subscribe { padding-block: clamp(36px, 5vw, 64px); }
.subscribe__card {
  display: grid; gap: clamp(22px, 3.5vw, 44px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center;
  padding: clamp(26px, 3.6vw, 42px); border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(135deg, rgba(168, 0, 56, .09), var(--surface) 58%);
  border: 1px solid var(--line-strong);
}
@media (max-width: 880px) { .subscribe__card { grid-template-columns: minmax(0, 1fr); } }
.subscribe__title { font-size: clamp(21px, 2.8vw, 30px); }
.subscribe__text { margin-top: 11px; font-size: 15px; color: var(--muted); }

/* ----------------------------------------------------------------- footer */
.site-footer {
  border-top: 1px solid var(--line); padding-top: clamp(44px, 5.5vw, 68px);
  padding-bottom: 30px; background: rgba(5, 5, 7, .5);
}
.site-footer__top {
  display: grid; gap: clamp(28px, 4vw, 44px);
  grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(140px, 1fr));
}
@media (max-width: 880px) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }

.site-footer__tagline { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 42ch; }
.site-footer__col h3 {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 14px;
}
.site-footer__col ul { display: grid; gap: 2px; }
.site-footer__col a, .site-footer__col span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 34px;
  font-size: 14.5px; color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.site-footer__col a:hover { color: var(--red-hi); }
.site-footer__contact svg { width: 16px; height: 16px; color: var(--red); flex: none; }

.social { display: flex; gap: 9px; margin-top: 22px; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 11px; color: var(--muted);
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease),
              transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}
.social svg { width: 17px; height: 17px; }
.social a:hover { color: #fff; background: var(--red); border-color: var(--red); transform: translateY(-2px); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  align-items: center; margin-top: clamp(32px, 4.5vw, 50px);
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--dim);
}
.site-footer__status { display: inline-flex; align-items: center; gap: 9px; }

/* ------------------------------------------------------------------ flash */
.flash-stack {
  position: fixed; top: 88px; right: 20px; z-index: 120;
  display: grid; gap: 10px; width: min(380px, calc(100vw - 40px));
}
.flash {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(18, 18, 22, .97); border: 1px solid var(--line-strong);
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, .95);
  font-size: 14.5px;
  animation: flash-in .35s var(--ease-out) both;
}
@keyframes flash-in { from { opacity: 0; transform: translateX(24px); } }
.flash.is-out { animation: flash-out .28s var(--ease) forwards; }
@keyframes flash-out { to { opacity: 0; transform: translateX(24px); } }
.flash__icon { flex: none; margin-top: 1px; }
.flash__icon svg { width: 19px; height: 19px; }
.flash--success { border-color: rgba(52, 211, 153, .3); }
.flash--success .flash__icon { color: var(--ok); }
.flash--error { border-color: rgba(242, 96, 124, .35); }
.flash--error .flash__icon { color: var(--crit); }
.flash p { margin: 0; flex: 1; color: var(--text); }
.flash__close { color: var(--dim); padding: 4px; line-height: 0; }
.flash__close svg { width: 15px; height: 15px; }
.flash__close:hover { color: var(--text); }

/* -------------------------------------------------------------- reveals
   Applied only when JS is running, so content is never left invisible if the
   script fails to load.                                                     */
.js .reveal, .js .reveal-line, .js .stagger > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.js .reveal-line { transform: translateY(24px); }
.js .reveal.is-in, .js .reveal-line.is-in, .js .stagger > .is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .js .reveal-line, .js .stagger > * { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
  .marquee__track { animation: none; }
}

/* ---------------------------------------------------------- small screens */
@media (max-width: 640px) {
  .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 100%; }
  .contact-form__foot { flex-direction: column; align-items: stretch; }
  .contact-form__foot .btn { width: 100%; }
  .contact-form__note { max-width: none; text-align: center; }
  .flash-stack { top: auto; bottom: 16px; right: 16px; left: 16px; width: auto; }
  .site-footer__bottom { justify-content: flex-start; }
}

/* ------------------------------------------------------- touch targets
   Below the tablet breakpoint every link becomes a thumb target, so the
   inline links that sit at text height on desktop are padded out to the
   44px minimum. Padding rather than height keeps the visual rhythm.       */
@media (max-width: 940px) {
  .site-header__brand,
  .site-footer__brand > a,
  .site-footer__col a,
  .site-footer__col span,
  .contact-list__body a,
  a.contact-card__value,
  .mobile-menu__meta a,
  .card__link,
  .statcard__source,
  .statline__source,
  .link-arrow {
    min-height: 44px;
  }
  .site-header__brand, .site-footer__brand > a { display: inline-flex; align-items: center; }
  .contact-list__body a { display: inline-flex; align-items: center; }
  .site-footer__col ul { gap: 0; }
}

/* ------------------------------------------------------------------ badge
   The hero eyebrow as a bordered pill: it reads as a status marker rather
   than a stray line of red text above the headline. */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 13px; margin-bottom: 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--red-hi); box-shadow: 0 0 0 3px var(--red-soft);
}

/* The cover chips now sit below the buttons as a trust row, separated by a
   rule so they read as supporting detail rather than competing with the CTA. */
.hero__copy .chips {
  margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------- captcha */
.field--captcha {
  padding: 18px 18px 14px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .022); border: 1px solid var(--line);
}
.field--captcha > label { font-size: 15px; margin-bottom: 10px; }
.field--captcha .field__hint { display: block; margin-top: 8px; }
.input--short { max-width: 140px; }

/* ------------------------------------------------------- character counter */
.field__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field__meta .field__error { flex: 1; }
.field__count {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--dim);
  white-space: nowrap; padding-top: 6px;
}
.field__count.is-near { color: var(--warn); }

/* On the contact page the form is the whole point, so give it the room. */
.section--contact-only { padding-top: clamp(28px, 4vw, 48px); }

/* -------------------------------------------------------- report card v2
   The panel now animates in as a sequence: the frame settles, then each
   finding slides up in turn, then the footer. It reads like a report being
   assembled rather than a static image, and it stops entirely under
   prefers-reduced-motion.                                                  */
.report__foot-body { flex: 1; }

/* A quiet sweep across the header, so the card reads as live rather than flat. */
.report__head { position: relative; overflow: hidden; }
.report__head::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .05), transparent 65%);
  transform: translateX(-100%);
  animation: report-sweep 7s var(--ease) infinite;
}
@keyframes report-sweep {
  0%, 55% { transform: translateX(-100%); }
  85%, 100% { transform: translateX(100%); }
}

/* Rows enter one at a time once the card is on screen. */
.js .report__row, .js .report__foot {
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .report.is-in .report__row, .js .report.is-in .report__foot {
  opacity: 1; transform: none;
}
.js .report.is-in .report__row:nth-child(1) { transition-delay: .12s; }
.js .report.is-in .report__row:nth-child(2) { transition-delay: .26s; }
.js .report.is-in .report__row:nth-child(3) { transition-delay: .40s; }
.js .report.is-in .report__foot { transition-delay: .56s; }

/* The severity count fills its ring as the row lands. */
.report__count { position: relative; }
.report__count::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit;
  border: 1px solid currentColor; opacity: 0; transform: scale(.7);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .report.is-in .report__row:nth-child(1) .report__count::before { transition-delay: .3s; }
.js .report.is-in .report__row:nth-child(2) .report__count::before { transition-delay: .44s; }
.js .report.is-in .report__row:nth-child(3) .report__count::before { transition-delay: .58s; }
.js .report.is-in .report__count::before { opacity: .35; transform: scale(1); }

.report__row { transition-property: opacity, transform, background; }
.report__row:hover { background: rgba(255, 255, 255, .02); }

/* ------------------------------------------------------------- leak grid */
.split--wide { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
@media (max-width: 940px) { .split--wide { grid-template-columns: minmax(0, 1fr); } }
.split__copy .btn { margin-top: 28px; }

.leakgrid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* An odd number of cards would leave a gap on the last row; let the final one
   span the full width instead. */
.leakgrid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 560px) { .leakgrid { grid-template-columns: minmax(0, 1fr); } }

.leakcard {
  position: relative; padding: 22px 20px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  contain: layout paint;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}
.leakcard::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%),
              rgba(176, 16, 64, .12), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.leakcard:hover { transform: translateY(-3px); border-color: var(--red-line); }
.leakcard:hover::before { opacity: 1; }
.leakcard__icon {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 12px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.leakcard__icon svg { width: 19px; height: 19px; }
.leakcard__title { font-size: 16px; margin-bottom: 7px; }
.leakcard__text { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------- statistics */
.section--stats { position: relative; }

.statgrid {
  display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (max-width: 1000px) { .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .statgrid { grid-template-columns: minmax(0, 1fr); } }

.statcard {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 22px 22px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); overflow: hidden; contain: layout paint;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur) var(--ease);
}
.statcard::before {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
              rgba(176, 16, 64, .13), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}
.statcard:hover { transform: translateY(-4px); border-color: var(--red-line); }
.statcard:hover::before { opacity: 1; }
.statcard__value {
  font-family: var(--font-display); font-size: clamp(34px, 4vw, 46px);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
  color: var(--red-hi); font-variant-numeric: tabular-nums;
}
.statcard__title {
  margin: 12px 0 8px; font-size: 15.5px; line-height: 1.35; color: var(--text);
}
.statcard__text { font-size: 13.5px; color: var(--muted); flex: 1; }
.statcard__source {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--dim);
  transition: color var(--dur) var(--ease);
}
.statcard__source svg { width: 12px; height: 12px; flex: none; }
.statcard__source:hover { color: var(--red-hi); }

.statdetail {
  display: grid; gap: clamp(24px, 4vw, 48px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 860px) { .statdetail { grid-template-columns: minmax(0, 1fr); } }

.statdetail__head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
  font-size: 18px;
}
.statdetail__icon {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 11px; color: var(--red-hi);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.statdetail__icon svg { width: 18px; height: 18px; }

.statlist { display: grid; gap: 2px; }
.statline {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
@media (max-width: 480px) { .statline { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.statline__stat {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums;
}
.statline__body { display: flex; flex-direction: column; gap: 8px; }
.statline__text { font-size: 14.5px; color: var(--muted); }
.statline__source {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  min-height: 24px; font-size: 12px; color: var(--dim);
  transition: color var(--dur) var(--ease);
}
.statline__source svg { width: 12px; height: 12px; flex: none; }
.statline__source:hover { color: var(--red-hi); }

.statnote {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: clamp(32px, 4vw, 48px); padding: 20px 22px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .022);
  border: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted); max-width: 76ch;
}
.statnote__icon { color: var(--red-hi); flex: none; margin-top: 1px; }
.statnote__icon svg { width: 18px; height: 18px; }

@media (max-width: 940px) {
  .statcard__source, .statline__source { min-height: 44px; }
}


/* Appended after the report and stats blocks, so these win at equal
   specificity. Keeps every inline link a 44px target on touch screens. */
@media (max-width: 940px) {
  .statcard__source, .statline__source { min-height: 44px; }
}
