/* ==========================================================================
   Fintroops — payment intelligence layer
   Hand-written CSS. No framework, no webfonts, no images.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --ink-900: #05070d;
  --ink-850: #070a11;
  --ink-800: #090c15;
  --ink-700: #0e1320;
  --ink-600: #141a2b;
  --ink-500: #1c2437;

  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);

  --txt: #e8ecf5;
  --txt-2: #b9c2d4;
  --muted: #8c97ad;

  --signal: #2ff0a8;
  --volt: #5b8cff;
  --amber: #ffb547;
  --rose: #ff5c7a;

  --grad: linear-gradient(100deg, var(--signal), var(--volt));

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --wrap: 1180px;
  --pad: 24px;

  --ease: cubic-bezier(.22, .68, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --nav-h: 66px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--txt);
  font: 400 16px/1.65 var(--sans);
  letter-spacing: -.009em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

::selection { background: rgba(47, 240, 168, .26); color: #fff; }

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

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--signal); color: #04120c; font-weight: 600; font-size: 14px;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip:focus { transform: translateY(0); }

/* ---------- 3. Primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.unit { opacity: .55; font-weight: 500; }

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(47, 240, 168, .16);
  flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(47, 240, 168, .16); }
  50%      { box-shadow: 0 0 0 6px rgba(47, 240, 168, .04); }
}

.link {
  color: var(--signal);
  box-shadow: inset 0 -1px 0 rgba(47, 240, 168, .4);
  transition: box-shadow .18s var(--ease);
}
.link:hover { box-shadow: inset 0 -2px 0 var(--signal); }

.kicker {
  font: 600 12px/1 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 99px;
  border: 1px solid var(--line-2);
  font: 500 11px/1 var(--mono);
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}
.pill--live { color: var(--signal); border-color: rgba(47, 240, 168, .3); background: rgba(47, 240, 168, .07); }
.pill--xs { padding: 3px 7px; font-size: 10px; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 99px;
  font-weight: 560;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease), color .22s var(--ease);
}
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--grad);
  color: #04120c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 8px 28px -10px rgba(47, 240, 168, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 16px 36px -12px rgba(47, 240, 168, .6); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .025);
  color: var(--txt);
}
.btn--ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }

/* ---------- 4. Reveal on scroll ----------
   Reveal uses a keyframe animation on `opacity` + `translate` (the independent
   transform property) rather than a transition on `transform`. That keeps the
   `transform` channel free for the pointer-tilt effect below, so a card can be
   both revealed and tilted without the two rules clobbering each other.        */
.reveal { opacity: 0; }
.reveal.in { animation: revealIn .7s var(--ease-out) both; }
@keyframes revealIn {
  from { opacity: 0; translate: 0 22px; }
  to   { opacity: 1; translate: none; }
}
.reveal[data-delay="1"].in { animation-delay: .07s; }
.reveal[data-delay="2"].in { animation-delay: .14s; }
.reveal[data-delay="3"].in { animation-delay: .21s; }
.reveal[data-delay="4"].in { animation-delay: .28s; }
.reveal[data-delay="5"].in { animation-delay: .35s; }
.reveal[data-delay="6"].in { animation-delay: .42s; }

/* Tilt + spotlight hooks */
[data-tilt] {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease-out);
}
[data-tilt].is-tilting { transition: transform .09s linear; }

[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%),
              rgba(47, 240, 168, .13), transparent 62%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: -1;
}
[data-spot]:hover::after { opacity: 1; }

/* ---------- 5. Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
}
.nav.is-stuck {
  background: rgba(5, 7, 13, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex; align-items: center; gap: 20px;
  height: var(--nav-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { border-radius: 9px; transition: transform .5s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__name { font-weight: 600; font-size: 17.5px; letter-spacing: -.03em; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative;
  padding: 8px 13px;
  border-radius: 99px;
  font-size: 14.5px;
  color: var(--muted);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: var(--txt); background: rgba(255, 255, 255, .05); }
.nav__link.is-active { color: var(--txt); }
.nav__link.is-active::after {
  content: "";
  position: absolute; left: 13px; right: 13px; bottom: 1px;
  height: 1.5px; border-radius: 2px;
  background: var(--grad);
}

.nav__cta { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  margin-left: auto;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  position: relative;
}
.nav__toggle span {
  position: absolute; left: 50%; width: 17px; height: 1.6px;
  background: var(--txt); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span:nth-child(1) { transform: translate(-50%, -4px); top: 50%; }
.nav__toggle span:nth-child(2) { transform: translate(-50%, 4px); top: 50%; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

.nav__panel {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px var(--pad) 22px;
  background: rgba(5, 7, 13, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  animation: panelIn .28s var(--ease-out);
}
.nav__panel[hidden] { display: none; }
.nav__panel a { padding: 13px 4px; color: var(--txt-2); border-bottom: 1px solid var(--line); }
.nav__panel a:last-child { border: 0; margin-top: 14px; color: #04120c; }
@keyframes panelIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 86px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.grid-fade {
  position: absolute; inset: -1px;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 85% 62% at 50% 24%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 24%, #000 20%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  will-change: transform;
}
.orb--1 {
  width: 480px; height: 480px; top: -150px; left: -120px;
  background: radial-gradient(circle, rgba(47, 240, 168, .3), transparent 68%);
  animation: float1 19s var(--ease) infinite;
}
.orb--2 {
  width: 560px; height: 560px; top: -80px; right: -180px;
  background: radial-gradient(circle, rgba(91, 140, 255, .3), transparent 68%);
  animation: float2 23s var(--ease) infinite;
}
.orb--3 {
  width: 380px; height: 380px; bottom: -200px; left: 42%;
  background: radial-gradient(circle, rgba(91, 140, 255, .18), transparent 70%);
  animation: float1 27s var(--ease) infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(50px, 40px, 0) scale(1.1); }
}
@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-60px, 50px, 0) scale(1.08); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .03);
  font: 500 12.5px/1 var(--mono);
  letter-spacing: .02em;
  color: var(--txt-2);
  margin-bottom: 26px;
}
.eyebrow__sep { color: var(--line-2); }

.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.15rem);
  line-height: 1.015;
  letter-spacing: -.042em;
  margin-bottom: 24px;
}

.lead {
  font-size: clamp(1.03rem, 1.35vw, 1.16rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 55ch;
}

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

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 14px 38px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__proof dt {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.hero__proof dd {
  font-size: 1.6rem; font-weight: 600; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 7. Decoder console ---------- */
.hero__stage { perspective: 1200px; }

.console {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--ink-700), var(--ink-850));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255,255,255,.02) inset;
  overflow: hidden;
}
.console__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-500); }
.console__title { font: 500 12.5px/1 var(--mono); color: var(--muted); letter-spacing: .02em; }
.console__bar .pill { margin-left: auto; }

.console__body { padding: 20px 18px 10px; }

.console__label {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}

/* Height is reserved for two lines of narration. The samples differ in
   length, so without a floor the box would grow and shrink between cycles
   and shove the whole hero around. */
.console__raw {
  display: block;
  margin: 0 0 16px;
  padding: 13px 14px;
  min-height: calc(2.9em + 26px);
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .45);
  font-size: 12.6px; line-height: 1.45;
  color: var(--txt-2);
  white-space: pre-wrap;
  word-break: break-all;
  overflow: hidden;
}
.caret {
  display: inline-block;
  width: 7px; height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--signal);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.console__scan {
  position: relative;
  height: 24px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.console__scan.is-on { opacity: 1; }
.console__scanline {
  position: absolute; inset: 50% 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47,240,168,.65), transparent);
}
.console__scan.is-on .console__scanline { animation: sweep 1.1s var(--ease) infinite; }
@keyframes sweep {
  0%   { transform: scaleX(.1); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
.console__scantext {
  position: relative;
  padding: 2px 10px;
  background: var(--ink-800);
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--signal);
}

/* The five rows are built once and reused, so the list never collapses
   between decoder cycles. `.is-live` plays them in; `.is-idle` turns the
   reserved space into a skeleton while the narration types out, so the
   held height reads as "loading" rather than as an empty hole. */
.fields { display: grid; gap: 1px; border-radius: var(--r-sm); overflow: hidden; }
.f {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9.5px 13px;
  min-height: 40px;
  background: rgba(255, 255, 255, .028);
  opacity: 0;
  transform: translate3d(0, 7px, 0);
}
.fields.is-live .f { animation: fieldIn .42s var(--ease-out) forwards; }
@keyframes fieldIn { to { opacity: 1; transform: none; } }

/* Skeleton bars are absolutely positioned and the real text is hidden with
   `visibility` rather than `display`, so the row keeps exactly the height it
   has when populated. Using display:none here collapsed each row from 42px
   to 26px and put the height jump straight back. */
.fields.is-idle .f { opacity: 1; transform: none; }
.fields.is-idle .f__k,
.fields.is-idle .f__v { visibility: hidden; }
.fields.is-idle .f::before,
.fields.is-idle .f::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .09);
  animation: skel 1.7s var(--ease) infinite;
}
.fields.is-idle .f::before { left: 13px; width: 32%; }
.fields.is-idle .f::after  { right: 13px; width: 40%; background: rgba(255, 255, 255, .055); }
.fields.is-idle .f:nth-child(2)::before, .fields.is-idle .f:nth-child(2)::after { animation-delay: .12s; }
.fields.is-idle .f:nth-child(3)::before, .fields.is-idle .f:nth-child(3)::after { animation-delay: .24s; }
.fields.is-idle .f:nth-child(4)::before, .fields.is-idle .f:nth-child(4)::after { animation-delay: .36s; }
.fields.is-idle .f:nth-child(5)::before, .fields.is-idle .f:nth-child(5)::after { animation-delay: .48s; }
@keyframes skel { 50% { opacity: .4; } }
.f__k {
  font: 500 11px/1 var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
  flex: none;
}
.f__v { font-size: 13.4px; font-weight: 500; text-align: right; }
.f__v--ok { color: var(--signal); }
.f__v--warn { color: var(--amber); }
.f__v--bad { color: var(--rose); }
.f__v code { font-size: 12.4px; color: var(--volt); }

/* Always in flow, reserving two lines, so swapping its text never resizes
   the console. The box itself stays as a neutral placeholder and only warms
   to amber once there is actually an insight to show. */
.console__insight {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 14px;
  min-height: calc(3em + 26px);
  padding: 12px 13px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
  font-size: 13px; line-height: 1.5;
  color: #f4d9a9;
  transition: border-color .4s var(--ease-out), background-color .4s var(--ease-out);
}
.console__insight > * {
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}
.console__insight svg { flex: none; margin-top: 3px; }
.console__insight.is-on {
  border-color: rgba(255, 181, 71, .22);
  background: rgba(255, 181, 71, .07);
}
.console__insight.is-on > * { opacity: 1; }

.console__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .3);
}
.conf { font: 500 11.5px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.conf b { color: var(--signal); font-weight: 600; }
.conf--ms { margin-left: auto; }
.conf--ms b { color: var(--txt-2); }
.conf__bar {
  flex: 1 1 50px; max-width: 90px;
  height: 4px; border-radius: 99px;
  background: rgba(255, 255, 255, .09);
  overflow: hidden;
}
.conf__bar i {
  display: block; height: 100%; width: 0;
  border-radius: 99px;
  background: var(--grad);
  transition: width .8s var(--ease-out);
}

/* ---------- 8. Rails marquee ---------- */
.rails { padding: 20px 0 34px; border-bottom: 1px solid var(--line); }
.rails__label {
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 20px;
  width: max-content;
  animation: slide 46s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-size: 1.22rem; font-weight: 500; letter-spacing: -.02em;
  color: var(--txt-2);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.marquee__track span:hover { color: var(--signal); }
.marquee__track i { color: var(--ink-500); font-style: normal; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- 9. Section shell ---------- */
.sec { padding: 104px 0; position: relative; }
.sec--tight { padding: 72px 0; }
.sec--alt { background: var(--ink-850); border-block: 1px solid var(--line); }

.sec__head { max-width: 680px; margin-bottom: 54px; }
.sec__title {
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  letter-spacing: -.038em;
  margin-bottom: 18px;
}
.sec__title--sm { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.sec__sub { font-size: 1.04rem; color: var(--muted); line-height: 1.62; }

.sec__split {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 60px;
}
.sec__splitcopy { align-self: start; position: sticky; top: calc(var(--nav-h) + 40px); }
.sec__splitcopy .sec__sub { margin-bottom: 26px; }

/* ---------- 10. Bento ---------- */
/* Six columns so the two feature cards can take 4 and the two support
   cards 2, giving rows of 4+2 and 2+4 rather than a flat 2x2. */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}
.bcard {
  grid-column: span 2;
  display: flex; flex-direction: column;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  transition: border-color .3s var(--ease), transform .45s var(--ease-out);
}
.bcard--wide { grid-column: span 4; }
.bcard:hover { border-color: var(--line-2); }

.bcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bcard__head h3 { font-size: 1.16rem; letter-spacing: -.028em; }
.bcard__text { color: var(--muted); font-size: 14.6px; line-height: 1.62; }

.ico {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  flex: none;
}
.ico--signal { color: var(--signal); background: rgba(47, 240, 168, .09); border-color: rgba(47,240,168,.2); }
.ico--volt   { color: var(--volt);   background: rgba(91, 140, 255, .09); border-color: rgba(91,140,255,.2); }
.ico--rose   { color: var(--rose);   background: rgba(255, 92, 122, .09); border-color: rgba(255,92,122,.2); }
.ico--amber  { color: var(--amber);  background: rgba(255, 181, 71, .09); border-color: rgba(255,181,71,.2); }

/* before/after transform */
.xform {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: auto; padding-top: 22px;
}
.xform__in {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px dashed rgba(255, 92, 122, .3);
  background: rgba(255, 92, 122, .05);
  font-size: 11.8px;
  color: #ffb3c1;
  word-break: break-all;
}
.xform__arrow { color: var(--muted); flex: none; }
.xform__out { display: flex; flex-wrap: wrap; gap: 7px; }
.tag {
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid rgba(47, 240, 168, .26);
  background: rgba(47, 240, 168, .08);
  font: 500 12px/1 var(--mono);
  color: var(--signal);
}
.tag--amber { border-color: rgba(255,181,71,.3); background: rgba(255,181,71,.09); color: var(--amber); }

/* leak list */
.leaks { margin-top: 18px; display: grid; gap: 1px; }
.leaks li {
  display: flex; align-items: baseline; gap: 11px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--txt-2);
}
.leaks__amt {
  font: 600 13.5px/1 var(--mono);
  color: var(--rose);
  flex: none;
  min-width: 48px;
}

/* forecast bars */
.forecast {
  display: flex; align-items: flex-end; gap: 7px;
  height: 92px;
  margin-top: 22px;
}
.forecast i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(91,140,255,.9), rgba(91,140,255,.25));
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform .8s var(--ease-out);
}
.reveal.in .forecast i,
.in .forecast i { transform: scaleY(1); }
.forecast i:nth-child(1) { transition-delay: .05s }
.forecast i:nth-child(2) { transition-delay: .11s }
.forecast i:nth-child(3) { transition-delay: .17s }
.forecast i:nth-child(4) { transition-delay: .23s }
.forecast i:nth-child(5) { transition-delay: .29s }
.forecast i:nth-child(6) { transition-delay: .35s }
.forecast i:nth-child(7) { transition-delay: .41s }
.forecast i:nth-child(8) { transition-delay: .47s }
.forecast i.is-pred {
  background: repeating-linear-gradient(135deg,
    rgba(47,240,168,.75) 0 4px, rgba(47,240,168,.22) 4px 8px);
}
.forecast__key {
  display: flex; align-items: center; gap: 7px;
  margin-top: 12px;
  font: 500 11px/1 var(--mono);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.forecast__key .k { width: 10px; height: 10px; border-radius: 3px; }
.forecast__key .k--pred { margin-left: 10px; background: repeating-linear-gradient(135deg, rgba(47,240,168,.75) 0 3px, rgba(47,240,168,.22) 3px 6px); }
.forecast__key .k--solid { background: rgba(91,140,255,.8); }

/* analyst chat */
.chat { margin-top: 20px; display: grid; gap: 12px; }
.chat__q {
  justify-self: end;
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 14px 14px 4px 14px;
  background: rgba(91, 140, 255, .14);
  border: 1px solid rgba(91, 140, 255, .24);
  font-size: 14px;
}
.chat__a {
  max-width: 94%;
  display: grid; gap: 10px;
  padding: 14px 16px;
  border-radius: 14px 14px 14px 4px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .35);
  font-size: 13.8px; line-height: 1.6;
  color: var(--txt-2);
}
.chat__a code {
  padding: 1px 5px; border-radius: 4px;
  background: rgba(255,255,255,.07);
  font-size: 12.4px; color: var(--amber);
}
.chat__rec {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--txt);
}
.chat__rec b:first-child { color: var(--signal); }

/* ---------- 11. Troops ---------- */
.troops {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tcard {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  overflow: hidden;
  transition: border-color .3s var(--ease), transform .45s var(--ease-out);
}
.tcard:hover { border-color: rgba(47, 240, 168, .3); }
.tcard__no {
  position: absolute; top: 22px; right: 24px;
  font: 600 11.5px/1 var(--mono);
  letter-spacing: .1em;
  color: var(--ink-500);
  transition: color .3s var(--ease);
}
.tcard:hover .tcard__no { color: var(--signal); }
.tcard .ico { margin-bottom: 18px; transition: transform .4s var(--ease-out); }
.tcard:hover .ico { transform: translateY(-2px) scale(1.06); }
.tcard h3 { font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -.03em; }
.tcard p { color: var(--muted); font-size: 14.4px; line-height: 1.6; }
.tcard__stat {
  margin-top: 18px; padding-top: 15px;
  border-top: 1px solid var(--line);
  font: 500 12.4px/1.4 var(--mono) !important;
  color: var(--muted) !important;
  letter-spacing: -.01em;
}
.tcard__stat b { color: var(--signal); }

/* ---------- 12. Steps ---------- */
.steps { position: relative; padding-left: 62px; display: grid; gap: 34px; }
.steps__rail {
  position: absolute; left: 21px; top: 8px; bottom: 8px;
  width: 2px; border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.steps__rail i {
  display: block; width: 100%; height: 100%;
  background: var(--grad);
  transform-origin: top;
  transform: scaleY(var(--p, 0));
  transition: transform .18s linear;
}
.step { display: block; position: relative; }
.step__num {
  position: absolute; left: -62px; top: -4px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink-900);
  font: 600 15px/1 var(--mono);
  color: var(--muted);
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
}
.step.in .step__num { color: var(--signal); border-color: rgba(47,240,168,.45); background: rgba(47,240,168,.08); }
.step__body {
  padding: 24px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.03), rgba(255,255,255,.008));
}
.step__body h3 { font-size: 1.3rem; margin-bottom: 11px; letter-spacing: -.03em; }
.step__body p { color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 68ch; }
.step__meta {
  margin-top: 14px !important;
  font: 500 12.4px/1 var(--mono) !important;
  letter-spacing: .04em;
  color: var(--muted);
}
.step__meta b { color: var(--txt); }

/* ---------- 13. Ops console ---------- */
.ops {
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--ink-700), var(--ink-900));
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95);
  overflow: hidden;
}
.ops__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.ops__bar .pill { margin-left: auto; }
.ops__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.ops__main { padding: 22px; min-width: 0; }

.ops__statrow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.stat {
  padding: 15px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}
.stat__k {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.stat__v {
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}
.stat__d { font: 500 11.5px/1.3 var(--mono); color: var(--muted); }
.stat__d--up { color: var(--signal); }
.stat__d--warn { color: var(--amber); }

.chart {
  padding: 18px 18px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .3);
}
.chart__title {
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.chart__svg { width: 100%; height: 150px; overflow: visible; }
#chartLine { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
#chartArea { opacity: 0; transition: opacity .9s var(--ease) .5s; }
.chart.in #chartLine { animation: draw 1.9s var(--ease-out) forwards; }
.chart.in #chartArea { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart__axis {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font: 500 10.5px/1 var(--mono);
  color: var(--muted);
}

.ops__feed {
  border-left: 1px solid var(--line);
  padding: 22px 20px;
  background: rgba(0, 0, 0, .22);
  min-width: 0;
}
.ops__feedhead {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font: 500 10.5px/1 var(--mono);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.feed { display: grid; gap: 12px; }
.feed__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 9px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  animation: feedIn .45s var(--ease-out);
}
.feed__item:last-child { border: 0; padding-bottom: 0; }
@keyframes feedIn { from { opacity: 0; transform: translate3d(0, -8px, 0); } }
.feed__troop {
  padding: 3px 8px;
  border-radius: 99px;
  font: 600 9.5px/1.3 var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor;
  justify-self: start;
}
.feed__troop--decoder    { color: var(--signal); }
.feed__troop--sentry     { color: var(--rose); }
.feed__troop--router     { color: var(--volt); }
.feed__troop--oracle     { color: var(--volt); }
.feed__troop--reconciler { color: var(--signal); }
.feed__troop--analyst    { color: var(--amber); }
.feed__t {
  font: 500 10px/1.3 var(--mono);
  color: var(--muted);
  align-self: center;
  justify-self: end;
}
.feed__txt {
  grid-column: 1 / -1;
  font-size: 12.8px; line-height: 1.5;
  color: var(--txt-2);
}
.feed__txt b { font-variant-numeric: tabular-nums; }

/* ---------- 14. Security shields ---------- */
.shields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.shields li {
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  font-size: 13.8px; line-height: 1.6;
  color: var(--muted);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.shields li:hover { border-color: rgba(47,240,168,.26); background: rgba(47,240,168,.04); }
.shields b {
  display: block;
  margin-bottom: 7px;
  font-size: 14.6px;
  color: var(--txt);
  letter-spacing: -.02em;
}

/* ---------- 15. Integrations ---------- */
.integra {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.integra li {
  padding: 16px 14px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  text-align: center;
  font-size: 14px; font-weight: 500;
  color: var(--txt-2);
  transition: color .22s var(--ease), border-color .22s var(--ease),
              transform .3s var(--ease-out), background-color .22s var(--ease);
}
.integra li:hover {
  color: var(--signal);
  border-color: rgba(47, 240, 168, .32);
  background: rgba(47, 240, 168, .05);
  transform: translateY(-3px);
}

/* ---------- 16. Pricing ---------- */
.toggle { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.toggle__lab {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color .22s var(--ease);
}
.toggle__lab.is-on { color: var(--txt); }
.toggle__lab em {
  font-style: normal;
  margin-left: 5px;
  padding: 3px 7px;
  border-radius: 99px;
  background: rgba(47, 240, 168, .13);
  color: var(--signal);
  font: 600 11px/1 var(--mono);
}
.toggle__sw {
  position: relative;
  width: 48px; height: 26px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  transition: background .25s var(--ease), border-color .25s var(--ease);
  flex: none;
}
.toggle__knob {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--txt-2);
  transition: transform .28s var(--ease), background .28s var(--ease);
}
.toggle__sw[aria-checked="true"] { background: rgba(47, 240, 168, .2); border-color: rgba(47,240,168,.45); }
.toggle__sw[aria-checked="true"] .toggle__knob { transform: translateX(22px); background: var(--signal); }

/* Cards stretch to a shared height (default `stretch`) so that, combined
   with `.plan__list { flex: 1 }`, every CTA button lands on the same line
   even though the plans list different numbers of features. */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .3s var(--ease), transform .45s var(--ease-out);
}
.plan:hover { border-color: var(--line-2); }
.plan--feat {
  border-color: rgba(47, 240, 168, .35);
  background: linear-gradient(170deg, rgba(47,240,168,.07), rgba(255,255,255,.012));
  box-shadow: 0 30px 70px -40px rgba(47, 240, 168, .3);
}
.plan__badge {
  position: absolute; top: -11px; left: 26px;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--grad);
  color: #04120c;
  font: 600 10.5px/1 var(--mono);
  letter-spacing: .1em; text-transform: uppercase;
}
.plan__name { font-size: 1.28rem; letter-spacing: -.03em; margin-bottom: 7px; }
.plan__for { font-size: 13.6px; color: var(--muted); min-height: 2.9em; }
.plan__price {
  margin: 16px 0 4px;
  font-size: 2.35rem; font-weight: 600; letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 2px;
}
.plan__price b { font-weight: 600; transition: opacity .2s var(--ease); }
.plan__price.is-swap b { opacity: 0; }
.plan__price .per { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan__note {
  font: 500 12px/1 var(--mono);
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 22px;
}
.plan__list { display: grid; gap: 11px; margin-bottom: 26px; flex: 1; }
.plan__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px; line-height: 1.5;
  color: var(--txt-2);
}
.plan__list li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 14px; height: 8px;
  border-left: 1.8px solid var(--signal);
  border-bottom: 1.8px solid var(--signal);
  transform: rotate(-45deg) scale(.86);
  transform-origin: center;
}

/* ---------- 17. Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quote {
  display: flex; flex-direction: column;
  margin: 0;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: border-color .3s var(--ease), transform .45s var(--ease-out);
}
.quote:hover { border-color: var(--line-2); }
.quote::before {
  content: "\201C";
  font: 600 3.2rem/1 var(--sans);
  color: var(--signal);
  opacity: .5;
  margin-bottom: 2px;
  height: 26px;
}
.quote blockquote {
  margin: 0 0 22px;
  font-size: 14.8px; line-height: 1.65;
  color: var(--txt-2);
  flex: 1;
}
.quote figcaption {
  display: grid; gap: 3px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.4px;
}
.quote figcaption span { color: var(--muted); font-size: 12.6px; }

/* ---------- 18. FAQ ---------- */
.sec__split--faq { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
.faq { display: grid; gap: 10px; }
.faq__item {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .022);
  overflow: hidden;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.faq__item.is-open { border-color: rgba(47, 240, 168, .3); background: rgba(47, 240, 168, .035); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%;
  padding: 19px 22px;
  text-align: left;
  font-size: 15.4px; font-weight: 500;
  letter-spacing: -.018em;
  transition: color .22s var(--ease);
}
.faq__q:hover { color: var(--signal); }
.faq__ico {
  position: relative;
  width: 15px; height: 15px;
  flex: none;
}
.faq__ico::before, .faq__ico::after {
  content: "";
  position: absolute; top: 50%; left: 0;
  width: 15px; height: 1.7px;
  border-radius: 2px;
  background: var(--muted);
  transition: transform .32s var(--ease), background .32s var(--ease);
}
.faq__ico::after { transform: rotate(90deg); }
.is-open .faq__ico::before { background: var(--signal); }
.is-open .faq__ico::after { transform: rotate(0deg); background: var(--signal); }

.faq__a {
  height: 0;
  overflow: hidden;
  transition: height .36s var(--ease);
}
.faq__a > div { padding: 0 22px 20px; }
.faq__a p { font-size: 14.4px; line-height: 1.68; color: var(--muted); max-width: 72ch; }

/* ---------- 19. CTA ---------- */
.cta {
  position: relative;
  padding: 110px 0 118px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta__glow {
  position: absolute; left: 50%; top: -40%;
  width: 900px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47, 240, 168, .17), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 740px; }
.cta h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  letter-spacing: -.042em;
  line-height: 1.07;
  margin-bottom: 20px;
}
.cta > .wrap > p { color: var(--muted); font-size: 1.05rem; line-height: 1.62; }

.cta__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-top: 34px;
}
.cta__fine {
  margin-top: 22px;
  font: 500 12.4px/1 var(--mono);
  letter-spacing: .04em;
  color: var(--muted);
}

/* ---------- 20. Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--ink-850); padding-top: 58px; }
.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 46px;
}
.foot__brand p {
  margin-top: 16px;
  max-width: 30ch;
  font-size: 14px; line-height: 1.6;
  color: var(--muted);
}
.foot__col { display: flex; flex-direction: column; gap: 11px; }
.foot__col h3 {
  font: 600 11px/1 var(--mono);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.foot__col a { font-size: 14.2px; color: var(--txt-2); transition: color .2s var(--ease); width: fit-content; }
.foot__col a:hover { color: var(--signal); }

.foot__bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.foot__status { display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   21. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__copy { max-width: 720px; }
  .lead { max-width: 60ch; }
  .ops__grid { grid-template-columns: 1fr; }
  .ops__feed { border-left: 0; border-top: 1px solid var(--line); }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec__split, .sec__split--faq { grid-template-columns: 1fr; gap: 40px; }
  .sec__splitcopy { position: static; }
  .troops, .plans, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--feat { order: -1; grid-column: 1 / -1; }
  /* feature cards go full width, the two support cards pair up */
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bcard { grid-column: span 1; }
  .bcard--wide { grid-column: span 2; }
}

@media (max-width: 900px) {
  :root { --pad: 20px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .ops__statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding: 76px 0; }
  .sec--tight { padding: 58px 0; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 60px; }
}

@media (max-width: 680px) {
  .troops, .plans, .quotes, .shields, .feed { grid-template-columns: 1fr; }
  /* the pill wraps to two lines at this width and strands the separator */
  .eyebrow__sep, .eyebrow__alt { display: none; }
  .hero__proof { gap: 20px 28px; }
  .hero__proof > div { flex: 1 1 42%; }
  .hero__actions .btn,
  .cta__actions .btn { flex: 1 1 auto; }
  .steps { padding-left: 0; }
  .steps__rail { display: none; }
  .step__num { position: static; margin-bottom: 14px; }
  .bento { grid-template-columns: 1fr; }
  .bcard, .bcard--wide { grid-column: span 1; }
  .xform { flex-direction: column; align-items: flex-start; }
  .xform__arrow { transform: rotate(90deg); margin-left: 6px; }
  .chat__q, .chat__a { max-width: 100%; }
  .quote blockquote { font-size: 14.4px; }
  .foot__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .foot__brand { grid-column: 1 / -1; }
  .plan--feat { grid-column: 1; }
  .cta { padding: 78px 0 86px; }
}

@media (max-width: 560px) {
  /* narrower box means the insight wraps to three lines instead of two,
     so reserve that much or the console changes height between samples */
  .console__insight { min-height: calc(4.5em + 26px); }
}

@media (max-width: 420px) {
  .console__body { padding: 16px 14px 8px; }
  .f { flex-direction: column; align-items: flex-start; gap: 5px; }
  .f__v { text-align: left; }
  .console__foot { flex-wrap: wrap; }
  .conf--ms { margin-left: 0; }
}

/* ==========================================================================
   22. Motion / contrast preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; translate: none; }
  .marquee__track { animation: none; }
  .forecast i { transform: scaleY(1); }
  #chartLine { stroke-dashoffset: 0; }
  #chartArea { opacity: 1; }
  .orb { animation: none; }
  [data-tilt] { transform: none !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #b4bdcd; --line: rgba(255,255,255,.2); --line-2: rgba(255,255,255,.34); }
}

/* Print: keep it sane */
@media print {
  .nav, .hero__bg, .cta__glow, .marquee, .ops__feed { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
