/* ============================================================
   VANTORA — PayRewards
   Design system + page styles
   Palette: midnight navy / near-black, electric blue, soft cyan,
   controlled silver. Committed dark aesthetic.
   ============================================================ */

:root {
  color-scheme: dark;

  /* --- surfaces --- */
  --ink-900: #04060D;
  --ink-850: #06091333;
  --ink-800: #080C18;
  --ink-750: #0B1120;
  --ink-700: #0F1728;

  /* --- lines --- */
  --line: rgba(142,172,222,.11);
  --line-2: rgba(150,180,230,.18);
  --line-3: rgba(160,190,240,.30);

  /* --- text --- */
  --text: #E9EFFA;
  --text-2: #9FAFC8;
  --text-3: #6B7B96;

  /* --- accents --- */
  --blue: #2E6BFF;
  --blue-2: #4C86FF;
  --blue-deep: #1B45C4;
  --cyan: #7CE7F8;
  --cyan-2: #4FD3EC;
  --silver: #C6D4E8;

  --glow-blue: rgba(46,107,255,.38);
  --glow-cyan: rgba(124,231,248,.22);

  /* --- type --- */
  --sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* --- motion --- */
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-2: cubic-bezier(.4,0,.2,1);

  /* --- layout --- */
  --shell: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 26px;
}

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

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

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ambient page wash + fine grain -------------------------------------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1300px 900px at 80% -10%, rgba(46,107,255,.13) 0%, rgba(46,107,255,.05) 34%, rgba(46,107,255,.012) 62%, rgba(46,107,255,0) 100%),
    radial-gradient(1000px 800px at 2% 18%, rgba(27,69,196,.10) 0%, rgba(27,69,196,.035) 38%, rgba(27,69,196,0) 100%),
    radial-gradient(1100px 1100px at 50% 118%, rgba(124,231,248,.055) 0%, rgba(124,231,248,.018) 40%, rgba(124,231,248,0) 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .nav, .footer { position: relative; z-index: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: .75rem 1.1rem;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ============================ PRIMITIVES ============================ */

.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-weight: 400;
  font-feature-settings: "tnum" 1;
}

.display {
  margin: 0;
  /* sized for the current headline: a longer line needs a smaller cap or
     the hero pushes its own CTAs below the fold */
  font-size: clamp(2.2rem, 4.35vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.032em;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  background: linear-gradient(104deg, #9FC6FF 0%, var(--cyan) 52%, #BFE8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h2 {
  margin: 0;
  font-size: clamp(1.95rem, 3.7vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -.032em;
  font-weight: 600;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.35rem;
  font-family: var(--mono);
  font-size: .715rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(124,231,248,.14);
  flex: none;
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 38ch;
  font-size: clamp(1.02rem, 1.25vw, 1.14rem);
  line-height: 1.62;
  color: var(--text-2);
}

/* reveal on scroll (only when JS is on) ------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }
.js [data-reveal][data-reveal-delay="4"] { transition-delay: .32s; }
.js [data-reveal][data-reveal-delay="5"] { transition-delay: .40s; }

/* ============================ BUTTONS ============================ */

.btn {
  --btn-h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  height: var(--btn-h);
  padding: 0 1.5rem;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: .945rem;
  font-weight: 600;
  letter-spacing: -.012em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .3s var(--ease-2), border-color .3s var(--ease-2);
}
.btn__arrow { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2) 0%, var(--blue) 48%, var(--blue-deep) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    inset 0 -1px 0 rgba(0,0,0,.25),
    0 10px 26px -10px var(--glow-blue),
    0 2px 8px -2px rgba(0,0,0,.5);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(0,0,0,.25),
    0 18px 38px -12px var(--glow-blue),
    0 3px 10px -2px rgba(0,0,0,.5);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.07);
  border-color: var(--line-3);
  transform: translateY(-1px);
}

.btn--sm { --btn-h: 42px; padding: 0 1.15rem; font-size: .875rem; }
.btn--block { width: 100%; }

/* ============================ NAV ============================ */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background .45s var(--ease-2), border-color .45s var(--ease-2),
              backdrop-filter .45s var(--ease-2);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(5,8,16,.76);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}

.logo { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.logo__mark { width: 32px; height: 32px; }
.logo__text {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  line-height: 1;
}
.logo__text strong {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: .055em;
  color: #fff;
}
.logo__text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .2em;
  color: var(--text-3);
  transform: translateY(-1px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: .5rem .8rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .3s var(--ease-2), background .3s var(--ease-2);
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 1px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cyan);
}

.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }

.nav__burger {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 17px; height: 1.5px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease-2);
}
.nav__burger span + span { margin-top: 5px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ============================ HERO ============================ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding: 120px 0 60px;
  overflow: hidden;
}

.hero__aura {
  position: absolute;
  top: -30%; right: -22%;
  width: 1240px; height: 1100px;
  pointer-events: none;
  /* eased stops all the way to 100% — a gradient that stops short of the
     element edge reads as a visible disc against a near-black page */
  background: radial-gradient(ellipse at center,
    rgba(46,107,255,.20) 0%,
    rgba(46,107,255,.12) 22%,
    rgba(46,107,255,.062) 40%,
    rgba(46,107,255,.028) 58%,
    rgba(46,107,255,.010) 76%,
    rgba(46,107,255,.002) 90%,
    rgba(46,107,255,0) 100%);
  filter: blur(26px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.35rem;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .55rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.hero__pills li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: .79rem;
  color: var(--text-2);
}
.hero__pills li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan-2);
  opacity: .9;
}

/* --- stage: 3D canvas + CSS fallback --- */
.hero__stage {
  position: relative;
  /* width must come from the grid track: with only aspect-ratio + min-height
     the box sizes itself from its height and overflows narrow columns */
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  max-height: 72svh;
  min-height: 340px;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s var(--ease-2);
}
.hero__canvas.is-ready { opacity: 1; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-size: .64rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, var(--line-3), transparent);
  animation: scrollPulse 2.8s var(--ease-2) infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: scaleY(.7); }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* --- CSS 3D fallback composition (also the pre-WebGL poster) --- */
.fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1400px;
  transition: opacity .9s var(--ease-2);
}
.fallback.is-hidden { opacity: 0; pointer-events: none; }

.fallback__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.fallback__ring--a {
  width: 78%; aspect-ratio: 1;
  transform: rotateX(72deg) rotateZ(12deg);
  box-shadow: 0 0 60px -10px rgba(46,107,255,.35) inset;
  animation: ringSpin 26s linear infinite;
}
.fallback__ring--b {
  width: 54%; aspect-ratio: 1;
  border-color: rgba(124,231,248,.22);
  transform: rotateX(68deg) rotateZ(-28deg);
  animation: ringSpin 38s linear infinite reverse;
}
@keyframes ringSpin {
  to { transform: rotateX(72deg) rotateZ(372deg); }
}

.fallback__card {
  position: relative;
  width: min(66%, 340px);
  aspect-ratio: 1.6 / 1;
  padding: clamp(.9rem, 2.2vw, 1.35rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  border: 1px solid rgba(170,200,245,.26);
  background:
    linear-gradient(142deg, rgba(118,158,225,.26) 0%, rgba(22,34,60,.9) 42%, rgba(10,16,30,.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -14px 40px -20px rgba(124,231,248,.35),
    0 40px 70px -30px rgba(0,0,0,.85),
    0 0 90px -30px var(--glow-blue);
  transform: rotateX(12deg) rotateY(-17deg) rotateZ(2deg);
  animation: cardFloat 9s var(--ease-2) infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: rotateX(12deg) rotateY(-17deg) rotateZ(2deg) translateY(-6px); }
  50%      { transform: rotateX(9deg)  rotateY(-11deg) rotateZ(1deg) translateY(10px); }
}
.fallback__card-top, .fallback__card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fallback__brand {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #EAF2FF;
}
.fallback__chip {
  width: 30px; height: 22px;
  border-radius: 4px;
  background: linear-gradient(135deg, #C9D8EE, #7E93B4 60%, #D7E4F6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
  opacity: .9;
}
.fallback__label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--mono);
  font-size: clamp(.46rem, 1.5vw, .56rem);
  line-height: 1.25;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fallback__product {
  flex: none;
  font-size: clamp(.68rem, 2vw, .8rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--cyan);
}

.fallback__tag {
  position: absolute;
  padding: .32rem .62rem;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(10,16,30,.72);
  backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  animation: tagFloat 7s var(--ease-2) infinite;
}
.fallback__tag--1 { top: 12%; left: 6%;  animation-delay: 0s; }
.fallback__tag--2 { top: 26%; right: 4%; animation-delay: -1.6s; }
.fallback__tag--3 { bottom: 20%; left: 2%; animation-delay: -3.2s; }
.fallback__tag--4 { bottom: 11%; right: 9%; animation-delay: -4.8s; }
@keyframes tagFloat {
  0%, 100% { transform: translateY(-5px); }
  50%      { transform: translateY(7px); }
}

/* ============================ SECTIONS ============================ */

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}
.section + .section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 22%, var(--line-2) 78%, transparent);
}

.sec-head { max-width: 62ch; margin-bottom: clamp(2.75rem, 5vw, 4.25rem); }
.sec-head__lede {
  margin: 1.4rem 0 0;
  max-width: 54ch;
  font-size: 1.04rem;
  line-height: 1.66;
  color: var(--text-2);
}
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  max-width: none;
}
.sec-head--split .sec-head__lede { margin-top: 0; }

/* ======================= PROBLEM / ESTIMATOR ======================= */

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: var(--line);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.9);
}
.estimator__controls,
.estimator__out {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(14,21,38,.92), rgba(7,11,22,.94));
  backdrop-filter: blur(8px);
}
.estimator__out {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(17,27,50,.95), rgba(8,13,26,.96));
}

.est-row { padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.est-row:first-child { padding-top: 0; }
.est-row:last-child { border-bottom: 0; padding-bottom: 0; }

.est-row__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .7rem;
}
.est-row__swatch {
  width: 9px; height: 9px;
  border-radius: 3px;
  flex: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,.04);
}
.est-row__name {
  font-size: .95rem;
  font-weight: 500;
  color: var(--text);
}
.est-row__val {
  margin-left: auto;
  font-family: var(--mono);
  font-size: .95rem;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.est-row__val span { color: var(--text-3); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--blue-2) var(--pct, 40%), rgba(255,255,255,.09) var(--pct, 40%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  box-shadow: 0 2px 10px -2px rgba(0,0,0,.8), 0 0 0 0 var(--glow-blue);
  transition: box-shadow .3s var(--ease-2), transform .25s var(--ease-2);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 2px 10px -2px rgba(0,0,0,.8), 0 0 0 7px rgba(46,107,255,.18); }
input[type="range"]::-moz-range-track {
  height: 4px; border-radius: 999px; background: rgba(255,255,255,.09);
}
input[type="range"]::-moz-range-progress {
  height: 4px; border-radius: 999px; background: var(--blue-2);
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
}

.estimator__out-label {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-3);
}
.estimator__total {
  display: flex;
  align-items: flex-start;
  gap: .2rem;
  margin: .55rem 0 .4rem;
  font-family: var(--mono);
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.estimator__cur {
  font-size: .42em;
  color: var(--cyan);
  transform: translateY(.35em);
}
.estimator__sub {
  margin: 0 0 1.75rem;
  font-size: .87rem;
  color: var(--text-2);
}
.estimator__sub .mono { color: var(--text); }

.estimator__bar {
  display: flex;
  height: 54px;
  gap: 3px;
  margin-bottom: 1.1rem;
  transform: perspective(900px) rotateX(16deg);
  transform-style: preserve-3d;
}
.estimator__bar span {
  position: relative;
  min-width: 0;
  border-radius: 5px;
  transition: flex-basis .6s var(--ease), opacity .4s var(--ease-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 26px -16px currentColor;
}
.estimator__bar span::after {
  content: "";
  position: absolute;
  inset: auto 0 -100% 0;
  height: 100%;
  border-radius: 5px;
  background: inherit;
  opacity: .14;
  transform: scaleY(-1);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.estimator__legend {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
  margin: auto 0 1.1rem;
  padding: 0;
  list-style: none;
  font-size: .76rem;
  color: var(--text-2);
}
.estimator__legend li { display: inline-flex; align-items: center; gap: .4rem; }
.estimator__legend i {
  width: 7px; height: 7px;
  border-radius: 2px;
}
.estimator__legend b {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--text-3);
}

.estimator__note {
  margin: 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
  font-size: .73rem;
  line-height: 1.5;
  color: var(--text-3);
}

.pullquote {
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  max-width: 24ch;
  text-align: center;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -.028em;
  font-weight: 500;
  color: var(--text);
}
.pullquote em {
  font-style: normal;
  color: var(--text-3);
}

/* --------- calculator: segmented controls + result --------- */

.est-opts {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-2);
}
.est-opt { transition: opacity .3s var(--ease-2); }
.est-opt__label {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(4,7,14,.5);
}
.seg button {
  flex: 1 1 0;
  min-width: 0;
  padding: .52rem .4rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text-2);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s var(--ease-2), color .3s var(--ease-2);
}
.seg button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.seg button.is-on {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -8px var(--glow-blue);
}

.est-result {
  margin: 1.35rem 0 0;
  padding-top: .35rem;
  border-top: 1px solid var(--line-2);
}
.est-result > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .58rem 0;
  border-bottom: 1px solid var(--line);
}
.est-result > div:last-child { border-bottom: 0; }
.est-result dt { font-size: .845rem; color: var(--text-2); }
.est-result dd {
  margin: 0;
  flex: none;
  font-family: var(--mono);
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #fff;
}
.est-result__net { margin-top: .2rem; }
.est-result__net dt { color: var(--text); font-weight: 500; }
.est-result__net dd { font-size: 1.12rem; }
.est-result__net dd[data-sign="pos"]  { color: #7CE7F8; }
.est-result__net dd[data-sign="neg"]  { color: #FFA98B; }
.est-result__net dd[data-sign="zero"] { color: var(--text-2); }

.est-verdict {
  margin: .9rem 0 0;
  padding: .8rem .95rem;
  border-left: 2px solid var(--line-3);
  border-radius: 0 10px 10px 0;
  background: rgba(255,255,255,.028);
  font-size: .82rem;
  line-height: 1.55;
  color: var(--text-2);
}
.est-verdict[data-sign="pos"] { border-left-color: rgba(124,231,248,.55); background: rgba(124,231,248,.05); }
.est-verdict[data-sign="neg"] { border-left-color: rgba(255,169,139,.5);  background: rgba(255,169,139,.05); }

@media (max-width: 560px) {
  .seg { flex-wrap: wrap; }
  .seg button { flex: 1 1 42%; font-size: .78rem; }
  .est-result dt { font-size: .8rem; }
}

/* ======================= HOW IT WORKS / STEPS ======================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.25rem) clamp(1.25rem, 2vw, 1.75rem) clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(13,20,36,.9), rgba(6,10,20,.92));
  transition: background .5s var(--ease-2);
}
.step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-2), transparent);
  opacity: 0;
  transition: opacity .5s var(--ease-2);
}
.step:hover { background: linear-gradient(180deg, rgba(20,31,56,.95), rgba(8,13,26,.95)); }
.step:hover::before { opacity: .7; }

.step__num {
  display: block;
  margin-bottom: 1.5rem;
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--cyan);
}
.step__title {
  margin: 0 0 .65rem;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #fff;
}
.step__body {
  margin: 0;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ============================ CARDS ============================ */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.1rem;
}
.card {
  position: relative;
  padding: 1.75rem 1.6rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035) 0%, rgba(255,255,255,.009) 100%);
  overflow: hidden;
  transition: border-color .45s var(--ease-2), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160,200,255,.5), transparent);
  opacity: .45;
}
.card::after {
  content: "";
  position: absolute;
  inset: -40% 40% 60% -40%;
  background: radial-gradient(circle, var(--glow-blue), transparent 68%);
  opacity: 0;
  transition: opacity .55s var(--ease-2);
  pointer-events: none;
}
.card:hover {
  border-color: var(--line-3);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -34px rgba(0,0,0,.95);
}
.card:hover::after { opacity: .28; }

.card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 1.35rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(46,107,255,.1);
  color: var(--cyan);
}
.card__icon svg { width: 21px; height: 21px; }
.card__title {
  margin: 0 0 .6rem;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: #fff;
}
.card__body {
  margin: 0;
  font-size: .895rem;
  line-height: 1.62;
  color: var(--text-2);
}

.legal-strip {
  margin: 2.25rem 0 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(124,231,248,.4);
  border-radius: 12px;
  background: rgba(124,231,248,.035);
  font-size: .8rem;
  line-height: 1.6;
  color: var(--text-2);
}
.legal-strip strong { color: var(--text); }
.legal-strip a { color: var(--cyan); border-bottom: 1px solid rgba(124,231,248,.35); }
.legal-strip a:hover { border-bottom-color: var(--cyan); }

/* ============================ INDUSTRIES ============================ */

.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  padding: 1.5rem 1.25rem;
  background: rgba(8,12,24,.85);
  color: var(--text-2);
  transition: background .45s var(--ease-2), color .45s var(--ease-2);
}
.industry svg {
  width: 26px; height: 26px;
  color: var(--text-3);
  transition: color .45s var(--ease-2), transform .45s var(--ease);
}
.industry span { font-size: .91rem; font-weight: 500; }
.industry:hover { background: rgba(23,36,66,.92); color: #fff; }
.industry:hover svg { color: var(--cyan); transform: translateY(-2px); }

.signals {
  margin-top: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(27,69,196,.08), rgba(255,255,255,.012));
}
.signals__title {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -.018em;
  color: #fff;
}
.signals__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: .7rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.signals__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-2);
}
.signals__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(-45deg);
}

/* ======================= PAYREWARDS SPOTLIGHT ======================= */

.section--spotlight { overflow: hidden; }
.spotlight__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 1400px; height: 920px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    rgba(46,107,255,.14) 0%,
    rgba(46,107,255,.072) 30%,
    rgba(46,107,255,.028) 55%,
    rgba(46,107,255,.008) 78%,
    rgba(46,107,255,0) 100%);
  filter: blur(20px);
}
.spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}
.spotlight .h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.spotlight__lede {
  margin: 1.5rem 0 0;
  max-width: 48ch;
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.62;
  color: var(--text-2);
}
.spotlight__list {
  margin: 2.25rem 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.spotlight__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
  color: var(--text);
  transition: padding-left .4s var(--ease), color .4s var(--ease-2);
}
.spotlight__list li:hover { padding-left: .5rem; }
.spotlight__list .mono {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--cyan);
  flex: none;
}
.spotlight__micro {
  margin: 0;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--text-3);
  max-width: 48ch;
}
.spotlight__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

.disclosure {
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16,25,46,.92), rgba(7,11,22,.94));
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.9);
}
.disclosure__title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1.15rem;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.012em;
  color: #fff;
}
.disclosure__title svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.disclosure__list { margin: 0; padding: 0; list-style: none; }
.disclosure__list li {
  position: relative;
  padding: .6rem 0 .6rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: .86rem;
  line-height: 1.55;
  color: var(--text-2);
}
.disclosure__list li:last-child { border-bottom: 0; }
.disclosure__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05em;
  width: 5px; height: 1.5px;
  background: var(--text-3);
}
.disclosure__list strong { color: var(--text); }
.disclosure__foot {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-2);
  font-size: .78rem;
  color: var(--text-3);
}

/* --------- PayRewards product detail (reuses .cards / .card) --------- */

.pr-detail { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pr-detail .cards { margin-bottom: 1.75rem; }
.pr-detail .card { display: flex; flex-direction: column; }

.pr-list {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
}
.pr-list li {
  position: relative;
  padding: .42rem 0 .42rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: .865rem;
  line-height: 1.5;
  color: var(--text-2);
}
.pr-list li:last-child { border-bottom: 0; }
.pr-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .95em;
  width: 5px; height: 1.5px;
  background: var(--cyan);
  opacity: .7;
}

.pr-facts {
  margin: 1.1rem 0 0;
  padding: .3rem 0 0;
  border-top: 1px solid var(--line-2);
}
.pr-facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
}
.pr-facts > div:last-child { border-bottom: 0; }
.pr-facts dt {
  font-size: .845rem;
  color: var(--text-2);
}
.pr-facts dd {
  margin: 0;
  flex: none;
  font-family: var(--mono);
  font-size: .82rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  color: #fff;
}

.pr-caveat {
  margin: 1.05rem 0 0;
  padding: .75rem .9rem;
  border-left: 2px solid rgba(124,231,248,.4);
  border-radius: 0 9px 9px 0;
  background: rgba(124,231,248,.04);
  font-size: .79rem;
  line-height: 1.55;
  color: var(--text-2);
}

.cta-disclosure {
  margin: 1.1rem 0 0;
  max-width: 48ch;
  font-size: .79rem;
  line-height: 1.55;
  color: var(--text-3);
}
.cta-disclosure a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(124,231,248,.3);
}

.signals__note {
  margin: 0 0 1.25rem;
  max-width: 76ch;
  font-size: .855rem;
  line-height: 1.6;
  color: var(--text-3);
}
.signals__list + .signals__note { margin: 1.25rem 0 0; }

/* --------- consent checkbox --------- */

.consent {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin: .3rem 0 0;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 17px; height: 17px;
  margin: .1rem 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.consent a { color: var(--cyan); border-bottom: 1px solid rgba(124,231,248,.3); }
.consent input[aria-invalid="true"] { outline: 2px solid rgba(255,120,120,.6); outline-offset: 2px; }

/* --------- form status tones --------- */

.form__status[data-tone="ok"]   { border-left-color: var(--cyan); background: rgba(124,231,248,.05); }
.form__status[data-tone="warn"] { border-left-color: #FFC46B; background: rgba(255,196,107,.055); }
.form__status[data-tone="info"] { border-left-color: var(--blue-2); background: rgba(76,134,255,.055); }

.btn[disabled] { opacity: .6; cursor: progress; }

/* ============================ LEGAL PAGES ============================ */

.legal {
  padding: calc(76px + clamp(2.5rem, 6vw, 5rem)) 0 clamp(4rem, 8vw, 7rem);
}
.legal__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.legal__meta {
  margin: 1.1rem 0 0;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.legal__body { max-width: 72ch; }
.legal__body h2 {
  margin: 2.5rem 0 .85rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.022em;
  color: #fff;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 {
  margin: 1.6rem 0 .6rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.legal__body p,
.legal__body li {
  font-size: .935rem;
  line-height: 1.68;
  color: var(--text-2);
}
.legal__body p { margin: 0 0 1rem; }
.legal__body ul { margin: 0 0 1.2rem; padding: 0; list-style: none; }
.legal__body li {
  position: relative;
  padding: .3rem 0 .3rem 1.3rem;
}
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.05em;
  width: 6px; height: 1.5px;
  background: var(--cyan);
  opacity: .7;
}
.legal__body a { color: var(--cyan); border-bottom: 1px solid rgba(124,231,248,.3); }
.legal__body strong { color: var(--text); }
.legal__callout {
  margin: 1.5rem 0;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(124,231,248,.4);
  border-radius: 12px;
  background: rgba(124,231,248,.035);
}
.legal__callout p:last-child { margin-bottom: 0; }

/* ============================ ABOUT / LEDGER ============================ */

.ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.ledger__col {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: linear-gradient(180deg, rgba(12,18,34,.9), rgba(6,10,20,.92));
}
.ledger__col--do { background: linear-gradient(180deg, rgba(20,38,78,.5), rgba(6,10,20,.92)); }
.ledger__head {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.4rem;
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -.018em;
  color: #fff;
}
.ledger__sign {
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: .9rem;
  line-height: 1;
  flex: none;
}
.ledger__col--do .ledger__sign { background: rgba(46,107,255,.2); color: var(--cyan); }
.ledger__col--dont .ledger__sign { background: rgba(255,255,255,.06); color: var(--text-3); }
.ledger__col ul { margin: 0; padding: 0; list-style: none; }
.ledger__col li {
  padding: .8rem 0;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  line-height: 1.55;
  color: var(--text-2);
}
.ledger__col--dont li { color: var(--text-3); }

/* ============================ FAQ ============================ */

.faq {
  border-top: 1px solid var(--line-2);
}
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem .25rem;
  border: 0;
  background: none;
  color: var(--text);
  font-family: inherit;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition: color .35s var(--ease-2), padding-left .4s var(--ease);
}
.faq__q:hover { color: #fff; padding-left: .6rem; }
.faq__q[aria-expanded="true"] { color: #fff; }

.faq__sign {
  position: relative;
  width: 30px; height: 30px;
  flex: none;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background .4s var(--ease-2), border-color .4s var(--ease-2), transform .5s var(--ease);
}
.faq__sign::before, .faq__sign::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 1.5px;
  margin: -.75px 0 0 -5.5px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform .45s var(--ease), background .4s var(--ease-2);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__sign {
  background: rgba(46,107,255,.16);
  border-color: rgba(124,231,248,.4);
  transform: rotate(180deg);
}
.faq__q[aria-expanded="true"] .faq__sign::before,
.faq__q[aria-expanded="true"] .faq__sign::after { background: var(--cyan); }
.faq__q[aria-expanded="true"] .faq__sign::after { transform: rotate(0deg); }

.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__a {
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s var(--ease-2);
}
.faq__item.is-open .faq__a { opacity: 1; transition-delay: .1s; }
.faq__a p {
  margin: 0;
  padding: 0 clamp(2rem, 6vw, 5rem) 1.6rem .25rem;
  max-width: 76ch;
  font-size: .95rem;
  line-height: 1.68;
  color: var(--text-2);
}
.faq__a a { color: var(--cyan); border-bottom: 1px solid rgba(124,231,248,.35); }

/* ============================ START / FORM ============================ */

.section--start { overflow: hidden; }
.start__glow {
  position: absolute;
  left: -16%; bottom: -46%;
  width: 1150px; height: 1150px;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(46,107,255,.16) 0%,
    rgba(46,107,255,.082) 28%,
    rgba(46,107,255,.032) 52%,
    rgba(46,107,255,.009) 76%,
    rgba(46,107,255,0) 100%);
  filter: blur(22px);
}
.start {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.start__lede {
  margin: 1.5rem 0 0;
  max-width: 42ch;
  font-size: 1.04rem;
  line-height: 1.64;
  color: var(--text-2);
}
.start__points {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.start__points li {
  position: relative;
  padding: .7rem 0 .7rem 1.7rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text-2);
}
.start__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15em;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(-45deg);
}

.start__email {
  margin: 1.35rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  color: var(--text-2);
}
.start__email a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(124,231,248,.3);
  transition: border-color .3s var(--ease-2);
}
.start__email a:hover { border-bottom-color: var(--cyan); }

.form__status a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(124,231,248,.35);
}

.form {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(16,25,46,.9), rgba(6,10,20,.95));
  box-shadow: 0 40px 80px -50px rgba(0,0,0,.95);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: .9rem;
  margin-bottom: .9rem;
}
.field { display: block; margin-bottom: .9rem; }
.form__row .field { margin-bottom: 0; }
.field__label {
  display: block;
  margin-bottom: .45rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: -.004em;
  color: var(--text-2);
}
.field__opt { color: var(--text-3); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .78rem .9rem;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(4,7,14,.6);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  line-height: 1.4;
  transition: border-color .3s var(--ease-2), background .3s var(--ease-2), box-shadow .3s var(--ease-2);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%236B7B96' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 12px;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(124,231,248,.5);
  background: rgba(8,14,26,.8);
  box-shadow: 0 0 0 3px rgba(46,107,255,.14);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: rgba(255,120,120,.55);
  box-shadow: 0 0 0 3px rgba(255,90,90,.1);
}

.form .btn { margin-top: .6rem; }
.form__legal {
  margin: 1.1rem 0 0;
  font-size: .73rem;
  line-height: 1.55;
  color: var(--text-3);
}
.form__status {
  margin-top: 1.1rem;
  padding: .9rem 1.05rem;
  border: 1px solid var(--line-2);
  border-left: 2px solid var(--cyan);
  border-radius: 11px;
  background: rgba(124,231,248,.05);
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text);
}
.form__status strong { display: block; margin-bottom: .2rem; }
.form__status em { font-style: normal; color: var(--text-3); }

/* ============================ FOOTER ============================ */

.footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.25rem;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(4,6,13,0), rgba(3,5,11,.9));
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--line);
}
.footer__tag {
  margin: 1.15rem 0 0;
  max-width: 34ch;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--text-3);
}
.footer__contact {
  margin: .85rem 0 0;
  font-size: .86rem;
}
.footer__contact a {
  color: var(--cyan);
  border-bottom: 1px solid rgba(124,231,248,.3);
  transition: border-color .3s var(--ease-2);
}
.footer__contact a:hover { border-bottom-color: var(--cyan); }

.footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}
.footer__nav h4 {
  margin: 0 0 .9rem;
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer__nav a {
  display: block;
  padding: .3rem 0;
  font-size: .89rem;
  color: var(--text-2);
  transition: color .3s var(--ease-2), transform .3s var(--ease);
}
.footer__nav a:hover { color: #fff; transform: translateX(2px); }

.footer__legal { padding-top: 2.25rem; }
.footer__legal p {
  margin: 0 0 .9rem;
  max-width: 92ch;
  font-size: .765rem;
  line-height: 1.6;
  color: var(--text-3);
}
.footer__legal strong { color: var(--text-2); }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--text-3);
}
.footer__links { display: flex; gap: 1.25rem; }
.footer__links a:hover { color: var(--text); }

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__links a { padding: .5rem .6rem; font-size: .85rem; }
}

@media (max-width: 920px) {
  html { scroll-padding-top: 80px; }

  .nav__inner { height: 68px; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: .75rem var(--gutter) 1.5rem;
    background: rgba(5,8,16,.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line-2);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease-2), transform .35s var(--ease), visibility .35s;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links a { padding: .95rem .5rem; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav__actions .btn { display: none; }

  .hero { padding-top: 104px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__stage { order: -1; aspect-ratio: 4 / 3; max-height: 46svh; min-height: 240px; }
  .hero__scroll { display: none; }
  .lede { max-width: 50ch; }

  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
  .sec-head--split .sec-head__lede { margin-top: .25rem; }

  .estimator { grid-template-columns: 1fr; }
  .estimator__legend { margin-top: 1rem; }
  .spotlight, .start { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .fallback__card { width: min(78%, 300px); }
  .fallback__tag { padding: .26rem .5rem; font-size: .5rem; }
  .fallback__tag--1 { top: 8%;  left: 2%; }
  .fallback__tag--2 { top: 22%; right: 1%; }
  .fallback__tag--3 { bottom: 16%; left: 0; }
  .fallback__tag--4 { bottom: 7%; right: 2%; }

  .steps { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .display { font-size: clamp(1.95rem, 8.4vw, 2.5rem); }
  .btn { width: 100%; }
  .hero__cta, .spotlight__cta { flex-direction: column; }
  .estimator__bar { height: 42px; }
  .footer__meta { flex-direction: column; }
}

/* ============================ 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 [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__canvas { transition: none; }
}

/* print: keep it legible, drop the theatre */
@media print {
  body::before, body::after, .hero__aura, .hero__canvas, .fallback,
  .spotlight__glow, .start__glow { display: none !important; }
  body { background: #fff; color: #000; }
}

.steps--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .steps--three { grid-template-columns: 1fr; } }
