/* ============================================================
   NexRev — "Clean Claim" design system
   ============================================================ */

:root {
  --ink:        #14213D;  /* Ink Navy   — primary text, dark sections, wordmark */
  --paper:      #FAF8F3;  /* Paper      — warm off-white background */
  --paper-alt:  #F3EFE6;  /* subtle alt background band */
  --green:      #1F7A5C;  /* Ledger Green — primary accent / clean state */
  --green-dk:   #185F48;
  --red:        #C1443C;  /* Denial Red — before-state contrast only */
  --graphite:   #4A4F58;  /* body copy */
  --amber:      #C98A2C;  /* Code Amber — chips, stat highlights */

  --ink-soft:   rgba(255,255,255,0.82); /* body text on dark — WCAG AA */
  --line:       rgba(20,33,61,0.10);
  --line-dark:  rgba(255,255,255,0.14);

  --display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans:    "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
main > section { padding: 88px 0; }
section { position: relative; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.95rem, 3.7vw, 2.7rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.eyebrow--red { color: var(--red); }

.section__body { max-width: 62ch; font-size: 1.08rem; color: var(--graphite); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.98rem; font-weight: 700;
  letter-spacing: -0.005em;
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,0.04); }
.btn--primary:hover { background: var(--green-dk); transform: translateY(-1px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link-arrow { font-family: var(--sans); font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.link-arrow:hover { color: var(--green); text-decoration: none; }

/* ---------- Focus states ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}
.section--dark a:focus-visible, .section--dark button:focus-visible,
.section--dark select:focus-visible, .section--dark textarea:focus-visible,
.section--dark input:focus-visible { outline-color: #fff; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 11px 18px; font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,243,0.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.wordmark {
  font-family: var(--display); font-weight: 800; font-size: 1.5rem;
  color: var(--ink); letter-spacing: -0.03em;
  display: inline-flex; align-items: baseline; line-height: 1;
}
.wordmark__v { width: 0.64em; height: 0.92em; margin-left: 0.03em; align-self: flex-end; transform: translateY(0.01em); }
.wordmark__v path { stroke: var(--green); }
.wordmark:hover { text-decoration: none; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font-size: 0.92rem; color: var(--graphite); font-weight: 500;
}
.nav__links a:hover { color: var(--ink); text-decoration: none; }
.nav__cta { margin-left: 4px; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; margin-left: auto; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: transform .22s ease, opacity .22s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav__mobile a { padding: 10px 0; color: var(--ink); font-weight: 500; }
.nav__mobile .btn { margin-top: 8px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 84px 0 96px; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero__sub { font-size: 1.2rem; color: var(--graphite); max-width: 40ch; margin-top: 22px; }
.hero__actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- Hero visual: animated claim-check engine ---------- */
.hero__visual { position: relative; }

.glow {
  position: absolute; inset: -14% -10% -14% -6%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 42% at 70% 28%, rgba(31,122,92,0.22), transparent 70%),
    radial-gradient(42% 40% at 26% 82%, rgba(20,33,61,0.12), transparent 72%);
  filter: blur(8px);
  animation: glowDrift 13s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .85; }
  100% { transform: translate3d(-5%,4%,0) scale(1.09); opacity: 1; }
}

.engine {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 22px;
  box-shadow: 0 34px 64px -32px rgba(20,33,61,0.38), 0 2px 8px rgba(20,33,61,0.05);
}
.engine__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.engine__label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.engine__live { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-dk); display: inline-flex; align-items: center; gap: 7px; }
.engine__live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: livePulse 2.4s ease-out infinite; }
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(31,122,92,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(31,122,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,122,92,0); }
}

.engine__claim { display: flex; align-items: baseline; gap: 10px; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.engine__code { font-family: var(--mono); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.engine__meta { font-size: 0.85rem; color: var(--graphite); }

.engine__checks { list-style: none; padding: 0; margin: 0; position: relative; }
.crow {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 2px; font-size: 0.92rem; color: var(--ink);
  border-bottom: 1px dashed rgba(20,33,61,0.08); position: relative; z-index: 1;
}
.crow:last-of-type { border-bottom: 0; }
.crow__tick {
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,122,92,0.13); color: var(--green);
  opacity: 0; transform: scale(.4);
  animation: tickIn 7s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.5s + 0.35s);
}
@keyframes tickIn {
  0%, 5%   { opacity: 0; transform: scale(.4); }
  13%, 92% { opacity: 1; transform: scale(1); }
  100%     { opacity: 0; transform: scale(.4); }
}

.engine__scan {
  position: absolute; left: -8px; right: -8px; height: 36px; top: 0; z-index: 0; border-radius: 9px;
  background: linear-gradient(90deg, transparent, rgba(31,122,92,0.16), transparent);
  animation: scanDown 7s cubic-bezier(.45,0,.25,1) infinite; pointer-events: none;
}
@keyframes scanDown {
  0%       { transform: translateY(-6px); opacity: 0; }
  8%       { opacity: 1; }
  44%      { transform: translateY(148px); opacity: 1; }
  52%,100% { opacity: 0; }
}

.engine__bar { height: 4px; border-radius: 4px; background: rgba(20,33,61,0.08); margin: 12px 0 16px; overflow: hidden; }
.engine__bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--green), #34a37c); animation: barFill 7s ease-in-out infinite; }
@keyframes barFill {
  0%        { width: 0; }
  46%       { width: 100%; }
  100%      { width: 100%; }
}

.engine__verdict { position: relative; height: 60px; }
.verdict {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; border-radius: var(--radius-sm); border: 1px solid;
}
.verdict__pill { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: #fff; font-weight: 500; flex-shrink: 0; }
.verdict__text { font-size: 0.9rem; line-height: 1.3; }
.verdict--flagged { background: rgba(193,68,60,0.07); border-color: rgba(193,68,60,0.3); animation: flagCycle 7s ease-in-out infinite; }
.verdict--flagged .verdict__pill { background: var(--red); }
.verdict--flagged .verdict__text { color: var(--red); }
.verdict--clean { background: rgba(31,122,92,0.08); border-color: rgba(31,122,92,0.32); animation: cleanCycle 7s ease-in-out infinite; }
.verdict--clean .verdict__pill { background: var(--green); }
.verdict--clean .verdict__text { color: var(--green-dk); }
@keyframes flagCycle {
  0%, 42%  { opacity: 1; }
  48%, 94% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes cleanCycle {
  0%, 52%  { opacity: 0; }
  58%, 94% { opacity: 1; }
  100%     { opacity: 0; }
}

.chip {
  flex: 1; border-radius: var(--radius-sm); padding: 14px 16px;
  border: 1px solid;
}
.chip__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.chip__code { font-family: var(--mono); font-size: 1rem; font-weight: 500; color: var(--ink); }
.chip__tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; font-weight: 500; }
.chip__reason { font-size: 0.86rem; }

.chip--flagged { background: rgba(193,68,60,0.06); border-color: rgba(193,68,60,0.28); }
.chip--flagged .chip__tag { background: var(--red); color: #fff; }
.chip--flagged .chip__reason { color: var(--red); }

.chip--clean { background: rgba(31,122,92,0.06); border-color: rgba(31,122,92,0.30); }
.chip--clean .chip__tag { background: var(--green); color: #fff; }
.chip--clean .chip__reason { color: var(--green-dk); }

.claim-arrow { color: var(--ink); flex-shrink: 0; opacity: 0.55; }
.chip--sm { padding: 11px 13px; }
.claim-arrow--sm { opacity: 0.5; }

/* ============================================================
   PROBLEM (dark)
   ============================================================ */
.section--dark { background: var(--ink); color: var(--ink-soft); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__body { color: var(--ink-soft); }
.section--paper-alt { background: var(--paper-alt); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.stat { border-top: 2px solid var(--red); padding-top: 18px; }
.stat__num { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 4.5vw, 3.2rem); color: #fff; line-height: 1; }
.stat__label { font-size: 0.96rem; color: var(--ink-soft); margin-top: 10px; max-width: 26ch; }
.source-note { font-size: 0.8rem; color: var(--graphite); margin-top: 32px; }
.section--dark .source-note { color: rgba(255,255,255,0.62); }

/* ============================================================
   WHAT NEXREV DOES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 26px 28px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--green), #34a37c);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -26px rgba(20,33,61,0.32); border-color: rgba(31,122,92,0.35); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,122,92,0.10); color: var(--green);
}
.card:hover .card__icon { background: rgba(31,122,92,0.16); }
.card__num { position: absolute; top: 26px; right: 24px; font-family: var(--mono); font-size: 0.72rem; color: var(--amber); letter-spacing: 0.05em; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.98rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 16px; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 500; font-size: 1.1rem;
  background: var(--ink); color: #fff; flex-shrink: 0;
}
.step__body h3 { margin-bottom: 6px; }
.step__body p { font-size: 0.98rem; }

.how__strip {
  display: flex; align-items: center; gap: 14px; margin-top: 52px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; max-width: 560px;
}
.how__strip .chip { flex: 1; }

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.who__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checks li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(31,122,92,0.12); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}

/* ============================================================
   DESIGN PARTNERS (dark) + FORM
   ============================================================ */
.partners__head { max-width: 720px; }
.partners__head .section__body { font-size: 1.14rem; }

.partners__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 52px; }
.pstep {
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--radius); padding: 24px 22px 26px;
}
.pstep__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 16px;
  background: var(--green); color: #fff; font-family: var(--mono); font-size: 0.95rem; font-weight: 600;
}
.pstep h3 { color: #fff; margin-bottom: 7px; }
.pstep p { font-size: 0.95rem; color: var(--ink-soft); }

.partners__inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.deal__title { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 4px; }

.give-get { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 24px; }
.give-get__col h3 { color: #fff; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.give-get__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.give-get__col li { position: relative; padding-left: 20px; font-size: 0.96rem; color: var(--ink-soft); }
.give-get__col li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

/* form */
.partners__form { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.5); }
.form__title { font-family: var(--display); font-size: 1.35rem; color: var(--ink); font-weight: 600; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 11px 13px; border: 1px solid rgba(20,33,61,0.2); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,122,92,0.15); outline: none;
}
.field textarea { resize: vertical; }
.form__note { margin-top: 12px; font-size: 0.85rem; color: var(--red); }
.partners__form .btn { margin-top: 6px; }

.form__success { text-align: center; padding: 40px 20px; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px -30px rgba(0,0,0,0.5); }
.form__success-mark {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(31,122,92,0.12); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700;
}
.form__success-title { font-family: var(--display); font-size: 1.5rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.form__success p { color: var(--graphite); }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.4rem; color: var(--green); transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "–"; }
.faq__answer { padding: 0 44px 24px 0; }
.faq__answer p { max-width: 68ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 72px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.wordmark--footer { color: #fff; display: inline-flex; margin-bottom: 12px; }
.footer__tag { color: var(--ink-soft); margin-bottom: 22px; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer__heading { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 500; margin-bottom: 16px; }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a, .footer__contact a { color: var(--ink-soft); font-size: 0.95rem; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; text-decoration: none; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; color: rgba(255,255,255,0.62); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer__compliance { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.02em; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   SECTION HEAD (consistent alignment + measure)
   ============================================================ */
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 18px; }
.section-head__lead { font-size: 1.14rem; line-height: 1.6; color: var(--graphite); max-width: 68ch; }
.section--dark .section-head__lead { color: var(--ink-soft); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .section-head__lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   TRUST BAR (under hero)
   ============================================================ */
.trustbar {
  list-style: none; padding: 22px 0 0; margin: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.trustbar li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.trustbar__ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(31,122,92,0.10); color: var(--green); }

/* ============================================================
   WHAT WE CATCH
   ============================================================ */
.catch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.catch-card {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid rgba(20,33,61,0.14);
  border-radius: var(--radius); padding: 22px 22px 20px;
  transition: transform .16s ease, box-shadow .16s ease;
}
.catch-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(20,33,61,0.3); }
.catch-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.catch-card__code { font-family: var(--mono); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.tagpill { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: #fff; font-weight: 500; }
.tagpill--red { background: var(--red); }
.catch-card__issue { font-size: 0.98rem; color: var(--ink); margin-bottom: 12px; }
.catch-card__fix { font-size: 0.92rem; color: var(--green-dk); font-weight: 500; }
.catch-card__fix span { color: var(--green); margin-right: 4px; }

/* ============================================================
   INTEGRATIONS (logo cloud)
   ============================================================ */
.logos {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.logo-chip {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 9px 18px 9px 9px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04);
  color: #fff; font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.logo-chip:hover { border-color: rgba(31,122,92,0.6); background: rgba(31,122,92,0.10); transform: translateY(-2px); }
.logo-chip__tile {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: #fff; display: flex; align-items: center; justify-content: center;
}
.logo-chip__tile img { width: 24px; height: 24px; object-fit: contain; display: block; }
.logos__note { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.62); margin-top: 24px; max-width: 60ch; margin-left: auto; margin-right: auto; }
.logo-chip__status { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; margin-left: 2px; }
.logo-chip__status--building { background: rgba(31,122,92,0.22); color: #86e0bd; }
.logo-chip__status--planned { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.7); }

/* ============================================================
   SECURITY & COMPLIANCE
   ============================================================ */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sec-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.sec-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(20,33,61,0.28); border-color: rgba(31,122,92,0.3); }
.sec-card__ic { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; background: rgba(31,122,92,0.10); color: var(--green); }
.sec-card h3 { margin-bottom: 7px; }
.sec-card p { font-size: 0.96rem; }

/* ============================================================
   WHY WE'RE BUILDING THIS
   ============================================================ */
.why__card {
  max-width: 860px; margin: 0 auto; text-align: center;
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 20px;
  padding: 52px 48px;
}
.why__card .eyebrow { justify-content: center; }
.why__body { font-size: 1.28rem; line-height: 1.55; color: var(--ink); margin: 8px auto 0; max-width: 56ch; letter-spacing: -0.01em; }
.why__sign { font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--graphite); margin-top: 24px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { text-align: center; }
.finalcta__inner { max-width: 640px; margin: 0 auto; }
.finalcta .eyebrow { justify-content: center; }
.finalcta__sub { font-size: 1.14rem; color: var(--ink-soft); margin: 16px auto 30px; max-width: 46ch; }

/* form fine print */
.form__fine { font-size: 0.78rem; color: var(--graphite); margin-top: 14px; line-height: 1.5; }

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.legal { padding: 72px 0 96px; }
.legal__wrap { max-width: 720px; }
.legal h1 { font-size: clamp(2.1rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal__meta { font-family: var(--mono); font-size: 0.78rem; color: var(--graphite); margin-bottom: 32px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal p { color: var(--graphite); margin-bottom: 14px; max-width: 68ch; }
.legal__note { font-size: 0.85rem; color: var(--graphite); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 32px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* only hide when JS is active, so content is never trapped invisible if JS fails */
.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 85ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero__inner, .who__inner, .partners__inner, .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .give-get { grid-template-columns: 1fr 1fr; }
  .catch-grid, .sec-grid { grid-template-columns: 1fr 1fr; }
  .trustbar { grid-template-columns: 1fr 1fr; gap: 16px 22px; }
}

@media (max-width: 640px) {
  main > section { padding: 64px 0; }
  .hero { padding: 56px 0 68px; }
  .stat-row { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .partners__steps { grid-template-columns: 1fr; gap: 14px; }
  .give-get { grid-template-columns: 1fr; }
  .catch-grid, .sec-grid { grid-template-columns: 1fr; }
  .trustbar { grid-template-columns: 1fr; gap: 14px; }
  .why__card { padding: 36px 26px; }
  .why__body { font-size: 1.12rem; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* the How-it-works claim strip stacks vertically below ~600px */
  .how__strip { flex-direction: column; align-items: stretch; }
  .how__strip .claim-arrow { transform: rotate(90deg); align-self: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  /* reveals must not stay hidden when motion is off */
  .reveal { opacity: 1 !important; transform: none !important; }
  /* freeze the engine on its resolved, clean state */
  .glow { display: none; }
  .crow__tick { opacity: 1 !important; transform: none !important; }
  .engine__scan { display: none; }
  .engine__bar span { width: 100% !important; }
  .verdict--flagged { opacity: 0 !important; }
  .verdict--clean { opacity: 1 !important; }
}
