/* ============================================================================
   GPT-Shield — marketing site v2
   Tokens + signature components lifted from assets/GPT-Shield-Brand-Guide-Final.html
   ========================================================================== */
:root {
  --base: #07090c;
  --surface: #0e1116;
  --elevated: #151a21;
  --overlay: #1b212a;
  --highlight: #232b36;
  --charcoal: #404040;
  --green: #0acf83;
  --green-bright: #0be890;
  --green-dim: #08b872;
  --green-glow: rgba(10, 207, 131, 0.18);
  --green-subtle: rgba(10, 207, 131, 0.07);
  --crit: #ff3b5c;
  --high: #ff8a2b;
  --mod: #ffd23f;
  --info: #3b9eff;
  --tx: #edf0f3;
  --tx-2: #8a94a2;
  --tx-3: #4c5662;
  --tx-brand: #0acf83;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-subtle: rgba(255, 255, 255, 0.05);
  --line-brand: rgba(10, 207, 131, 0.4);
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --mono: "JetBrains Mono", "Fira Code", ui-monospace, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1240px;
  --clip: polygon(0 0, 100% 0, 100% 70%, calc(100% - 10px) 100%, 0 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip; /* root-level guard against any horizontal overflow */
}
body {
  font-family: var(--sans);
  background: var(--base);
  color: var(--tx);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
::selection {
  background: var(--green);
  color: #04140d;
}
img {
  display: block;
}
/* Lucide line icons (inlined, MIT) — consistent 24px grid, 2px stroke, round joins. */
.ic {
  width: 22px;
  height: 22px;
  display: block;
  flex-shrink: 0;
}

/* scroll-progress bar (fills as the page scrolls) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green-dim), var(--green-bright));
  box-shadow: 0 0 12px -1px var(--green-glow);
  z-index: 60;
  will-change: transform;
}

/* ---------- animated background ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden; /* clip the glow blobs so they can't widen the page */
  background: radial-gradient(120% 80% at 50% -10%, #0a0f14 0%, var(--base) 60%);
}
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image: linear-gradient(var(--line-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 78%);
}
.bg-scan {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 2px,
    rgba(255, 255, 255, 0.012) 2px 3px
  );
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.55;
}
.bg-glow-1 {
  width: 680px;
  height: 680px;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  animation: float1 16s var(--ease) infinite alternate;
}
.bg-glow-2 {
  width: 560px;
  height: 560px;
  bottom: -10%;
  right: -8%;
  background: radial-gradient(circle, rgba(10, 207, 131, 0.08), transparent 70%);
  animation: float2 20s var(--ease) infinite alternate;
}
@keyframes float1 {
  to {
    transform: translateX(-44%) translateY(40px);
  }
}
@keyframes float2 {
  to {
    transform: translateY(-50px);
  }
}

/* ---------- layout + headings ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 132px 32px;
}
.section-head {
  max-width: 820px;
  margin-bottom: 60px;
}
.sec-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-num::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--green);
}
.sec-h {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  overflow-wrap: break-word;
}
.lede {
  color: var(--tx-2);
  font-size: clamp(17px, 1.7vw, 20px);
  margin-top: 20px;
  max-width: 680px;
}
.grad {
  background: linear-gradient(100deg, var(--green-bright), var(--green-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- cut-corner buttons ---------- */
.btn {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  clip-path: var(--clip);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease),
    filter 0.25s var(--ease);
}
.btn-lg {
  font-size: 15px;
  padding: 16px 28px;
}
.btn .arr {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arr {
  transform: translateX(4px);
}
.btn-primary {
  background: var(--green);
  color: #04140d;
}
.btn-primary:hover {
  background: var(--green-bright);
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 22px var(--green-glow));
}
.btn-secondary {
  background: var(--overlay);
  color: var(--tx);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-secondary:hover {
  background: var(--highlight);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--line-brand);
}
.btn-ghost:hover {
  background: var(--green-subtle);
  transform: translateY(-2px);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(7, 9, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 16px 32px;
}
.nav-brand {
  margin-right: auto;
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: var(--tx-2);
}
.nav-links a {
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--tx);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-ghost {
  font-size: 14px;
  color: var(--tx-2);
  transition: color 0.2s var(--ease);
}
.nav-ghost:hover {
  color: var(--tx);
}

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 150px 32px 44px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}
.hero-copy,
.hero-demo {
  min-width: 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green-glow);
  animation: pulseDot 2.4s var(--ease) infinite;
}
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(10, 207, 131, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(10, 207, 131, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 207, 131, 0);
  }
}
.hero-title {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 900;
  margin-bottom: 26px;
  text-wrap: balance;
  overflow-wrap: break-word;
}
/* redact-word: a green box covers a word, then retracts to reveal it */
.redact-word {
  position: relative;
  display: inline-block;
  color: var(--green-bright);
  padding: 0 0.1em;
}
.redact-word::after {
  content: "";
  position: absolute;
  inset: 8% -0.04em;
  background: var(--green);
  border-radius: 6px;
  z-index: 2;
  transform-origin: right;
  animation: redactReveal 4.6s var(--ease) infinite;
}
@keyframes redactReveal {
  0%,
  28% {
    transform: scaleX(1);
  }
  46%,
  86% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
.hero-sub {
  color: var(--tx-2);
  font-size: clamp(17px, 1.7vw, 21px);
  max-width: 560px;
}
.hero-sub strong {
  color: var(--tx);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin: 36px 0 30px;
  flex-wrap: wrap;
}
.hero-promise {
  list-style: none;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--tx);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-promise li::before {
  content: "▸ ";
  color: var(--green);
}

/* ---------- terminal demo ---------- */
.hero-demo {
  position: relative;
}
.terminal {
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 44px 90px -34px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--line-subtle),
    0 0 70px -22px var(--green-glow);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--line);
}
.tdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--tx-3);
}
.tdot:nth-child(1) {
  background: #ff5f57;
}
.tdot:nth-child(2) {
  background: #febc2e;
}
.tdot:nth-child(3) {
  background: #28c840;
}
.terminal-title {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--tx-2);
  margin-left: 8px;
}
.terminal-state {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mod);
  text-transform: uppercase;
}
.terminal-state.done {
  color: var(--green);
}
.terminal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, 1.06fr);
  transition: opacity 0.45s var(--ease);
}
.terminal-body,
.findings {
  min-width: 0;
}
.terminal-grid.swap {
  opacity: 0;
}
.terminal-body {
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 288px; /* fixed so raw<->token text swaps never resize the terminal */
}
.line-label,
.findings-head {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--tx-3);
  margin-bottom: 14px;
}
.prompt {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.9;
  color: var(--tx);
}
.ent {
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ent[data-sev="crit"] {
  --c: var(--crit);
}
.ent[data-sev="high"] {
  --c: var(--high);
}
.ent.raw {
  color: var(--c);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent);
}
.ent.scanning {
  box-shadow: inset 0 0 0 1px var(--c), 0 0 16px -2px var(--c);
}
.ent.tok {
  color: var(--green);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
}
.prompt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto; /* pinned to the bottom of the fixed-height body */
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}
.chip {
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}
.chip-ok {
  color: var(--green);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
}
.chip-scan {
  color: var(--mod);
  background: rgba(255, 210, 63, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 63, 0.4);
}
.boundary {
  color: var(--tx-3);
}
.findings {
  padding: 22px 15px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.finding .ftype {
  min-width: 0;
}
.findings-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.findings-head .count {
  color: var(--green);
  font-size: 12px;
  letter-spacing: 0;
}
.findings-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 172px;
}
.finding {
  opacity: 0;
  transform: translateX(10px);
  animation: findIn 0.45s var(--ease) forwards;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 9px;
  font-family: var(--mono);
  font-size: 10.5px;
}
@keyframes findIn {
  to {
    opacity: 1;
    transform: none;
  }
}
.finding .ftype {
  color: var(--tx);
  display: flex;
  align-items: center;
  gap: 6px;
}
.finding .fdot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, var(--green));
}
.finding[data-sev="crit"] {
  --c: var(--crit);
}
.finding[data-sev="high"] {
  --c: var(--high);
}
.finding .fmeta {
  color: var(--tx-3);
  margin-top: 3px;
  display: flex;
  justify-content: space-between;
}
.finding .faction {
  color: var(--c, var(--green));
  text-transform: uppercase;
}
.findings-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--tx-2);
}
.val-false {
  color: var(--green);
  font-weight: 700;
}

/* ---------- provider marquee ---------- */
.marquee-wrap {
  max-width: var(--maxw);
  margin: 8px auto 0;
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.marquee-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 0 32px;
  margin-bottom: 28px;
}
.marquee-k {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--green);
}
.marquee-t {
  color: var(--tx-2);
  font-size: 15.5px;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 52s linear infinite;
}
.marquee:hover .marquee-inner {
  animation-play-state: paused;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 14px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.m-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--tx-2);
  padding: 11px 19px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--elevated);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.m-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  /* uniform monochrome logo-cloud: force white, muted, then brighten on hover */
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.2s var(--ease);
}
.m-item:hover {
  color: var(--tx);
  border-color: var(--line-brand);
  transform: translateY(-2px);
}
.m-item:hover .m-logo {
  opacity: 1;
}
.m-more {
  color: var(--tx-3);
  font-size: 13px;
}

/* ---------- cards (problem) ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.card-x {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: rgba(255, 59, 92, 0.1);
  color: var(--crit);
  box-shadow: inset 0 0 0 1px rgba(255, 59, 92, 0.35);
  margin-bottom: 18px;
}
.card-x .ic {
  width: 19px;
  height: 19px;
}
.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.card p {
  color: var(--tx-2);
  font-size: 15.5px;
}

/* ---------- pipeline ---------- */
.pipeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 64px;
}
.pipeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-brand), transparent);
}
.step {
  padding: 0 18px;
  position: relative;
  text-align: center;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-brand);
  color: var(--green);
  font-family: var(--mono);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 7px var(--base), 0 0 24px -8px var(--green-glow);
}
.step b {
  display: block;
  font-size: 17px;
  margin-bottom: 7px;
}
.step p {
  color: var(--tx-2);
  font-size: 14px;
  line-height: 1.55;
}

/* ---------- engine map ---------- */
.brain-map {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.surfaces-col {
  display: grid;
  gap: 14px;
}
.surface-node {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.surface-node:hover {
  border-color: var(--line-brand);
  transform: translateX(6px);
}
.surface-node b {
  display: block;
  font-size: 16px;
}
.surface-node span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--tx-3);
}
.brain-core {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 52px 28px;
  border-radius: var(--r-lg);
  background: radial-gradient(circle at 50% 40%, var(--green-subtle), var(--surface) 70%);
  border: 1px solid var(--line-brand);
  position: relative;
  overflow: hidden;
}
.brain-pulse {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid var(--line-brand);
  animation: pulse 3s var(--ease) infinite;
}
@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
.brain-core b {
  font-family: var(--mono);
  letter-spacing: 0.1em;
  margin-top: 8px;
  font-size: 15px;
}
.brain-core span {
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

/* ---------- HUD card ---------- */
.hud {
  position: relative;
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 4px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hud:hover {
  transform: translateY(-4px);
  border-color: var(--line-brand);
}
.hud-corners span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--green);
  pointer-events: none;
}
.hud-corners span:nth-child(1) {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.hud-corners span:nth-child(2) {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}
.hud-corners span:nth-child(3) {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}
.hud-corners span:nth-child(4) {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ---------- shields ---------- */
.shields-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
/* each card carries its own --theme (set inline); the shield mark, brackets, tag, glow
   and hover all derive from it so every shield pops in its own colour. */
.shield-card {
  --theme: var(--green);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--theme) 7%, var(--elevated)),
    var(--surface) 72%
  );
}
.shield-card:hover {
  border-color: color-mix(in srgb, var(--theme) 50%, transparent);
  transform: translateY(-5px);
}
.shield-card .hud-corners span {
  border-color: var(--theme);
}
.shield-feature {
  background: radial-gradient(
    130% 130% at 0% 0%,
    color-mix(in srgb, var(--theme) 13%, transparent),
    var(--surface) 60%
  );
}
.shield-trace {
  grid-column: span 2;
}
.shield-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 2px;
}
.shield-mark {
  width: 27px;
  height: 37px;
  color: var(--theme);
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--theme) 50%, transparent));
}
.shield-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--theme);
}
.shield-card h3 {
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.shield-line {
  color: var(--tx-2);
  font-size: 15.5px;
  flex: 1;
}
.shield-use {
  font-size: 14.5px;
  color: var(--tx-2);
  margin-top: auto;
}
.shield-use .use-k {
  color: var(--theme);
  font-weight: 600;
}
.risk-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 8px 13px;
  border-radius: 100px;
  color: var(--theme);
  background: color-mix(in srgb, var(--theme) 11%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme) 38%, transparent);
}
.risk-chip .ic {
  width: 15px;
  height: 15px;
}

/* redaction-reveal bars */
.redact-demo {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 2.1;
  color: var(--tx-2);
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
}
.redact {
  position: relative;
  display: inline-block;
  color: var(--base);
  background: var(--green);
  padding: 2px 8px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s var(--ease);
  user-select: none;
  animation: redactHint 2.8s var(--ease) infinite; /* gentle "i'm interactive" pulse */
}
@keyframes redactHint {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 3px var(--green-subtle);
  }
}
.redact-block {
  background: var(--crit);
  color: var(--base);
  animation-name: redactHintR;
}
@keyframes redactHintR {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  50% {
    box-shadow: 0 0 0 3px rgba(255, 59, 92, 0.13);
  }
}
.redact .hidden-val {
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}
.redact:hover {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--line-brand);
  animation: none; /* settle while revealing */
}
.redact:hover .hidden-val {
  opacity: 1;
}
.redact-block:hover {
  background: transparent;
  color: var(--crit);
  box-shadow: inset 0 0 0 1px rgba(255, 59, 92, 0.4);
}
.redact-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--tx-3);
}
.redact-hint .ic {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}
.redact-hint .hint-g {
  color: var(--green);
  font-weight: 600;
}
.redact-hint .hint-r {
  color: var(--crit);
  font-weight: 600;
}
.trace-edge {
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  overflow-x: auto;
}
.trace-edge code {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.9;
  color: var(--tx-2);
}
.trace-edge .k {
  color: var(--info);
}
.trace-edge .s {
  color: var(--green-bright);
}
.trace-edge .c {
  color: var(--high);
}
.trace-edge .false {
  color: var(--green);
  font-weight: 700;
  background: var(--green-subtle);
  padding: 1px 7px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--line-brand);
}

/* ---------- security / trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trust-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
  color: var(--green);
}
.trust-ic .ic {
  width: 23px;
  height: 23px;
}
.trust-card h3 {
  font-size: 18px;
}
.trust-card p {
  color: var(--tx-2);
  font-size: 14.5px;
}

/* ---------- deployment ---------- */
.deploy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.deploy-card {
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.deploy-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-brand);
}
.deploy-ic {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
  color: var(--green);
  margin-bottom: 18px;
}
.deploy-ic .ic {
  width: 23px;
  height: 23px;
}
.deploy-sub {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--green);
  text-transform: lowercase;
}
.deploy-card h3 {
  font-size: 21px;
  margin: 10px 0 8px;
}
.deploy-card p {
  color: var(--tx-2);
  font-size: 15px;
}

/* ---------- personas ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.persona-card {
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.persona-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-brand);
}
.persona-ic {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
  color: var(--green);
  margin-bottom: 6px;
}
.persona-ic .ic {
  width: 24px;
  height: 24px;
}
.persona-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green);
}
.persona-card h3 {
  font-size: 21px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.persona-card p {
  color: var(--tx-2);
  font-size: 15px;
}

/* ---------- comparison table ---------- */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  overflow-x: auto;
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}
.compare th,
.compare td {
  padding: 17px 20px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-2);
  background: rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid var(--line-strong);
}
.compare tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--tx);
  font-size: 15px;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
  border-bottom: none;
}
.compare tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}
.compare .col-us {
  background: var(--green-subtle);
  box-shadow: inset 1px 0 0 var(--line-brand), inset -1px 0 0 var(--line-brand);
}
.compare thead .col-us {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 14%, transparent);
  box-shadow: inset 1px 0 0 var(--line-brand), inset -1px 0 0 var(--line-brand),
    inset 0 2px 0 var(--green);
}
.c {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.c .ic {
  width: 17px;
  height: 17px;
}
.c-yes {
  color: var(--green);
  background: var(--green-subtle);
}
.c-no {
  color: rgba(255, 59, 92, 0.5);
}
.c-mid {
  color: var(--mod);
}
.compare-pricing .c {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
}
.cell-txt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--tx);
}

/* ---------- pricing ---------- */
.pricing-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}
.pricing-head .sec-num {
  justify-content: center;
}
.pricing-head .lede {
  margin-left: auto;
  margin-right: auto;
}
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 30px;
  padding: 5px;
  border-radius: 100px;
  background: var(--elevated);
  border: 1px solid var(--line);
}
.bt-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--tx-2);
  background: transparent;
  border: none;
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.bt-opt.active {
  color: #04140d;
  background: var(--green);
}
.bt-save {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 100px;
  color: var(--green);
  background: var(--green-subtle);
}
.bt-opt.active .bt-save {
  color: #04140d;
  background: rgba(4, 20, 13, 0.16);
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.tier {
  position: relative;
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tier-pop {
  border-color: var(--line-brand);
  background: radial-gradient(130% 90% at 50% 0%, var(--green-subtle), var(--surface) 62%);
  box-shadow: 0 0 70px -26px var(--green-glow);
}
.tier-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: #04140d;
  background: var(--green);
  padding: 4px 13px;
  border-radius: 100px;
  white-space: nowrap;
}
.tier-name {
  font-size: 19px;
  font-weight: 700;
}
.tier-for {
  color: var(--tx-2);
  font-size: 14px;
  margin-top: 7px;
}
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.tier-price .currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--tx-2);
  align-self: flex-start;
  margin-top: 8px;
}
.tier-price .amount {
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.amount-custom {
  font-size: 38px;
}
.tier-price .per {
  color: var(--tx-2);
  font-size: 14px;
}
.tier-billing {
  color: var(--tx-3);
  font-family: var(--mono);
  font-size: 12px;
  margin-top: -12px;
}
.tier-cta {
  justify-content: center;
}
.tier-feats {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 2px;
}
.tier-feats li {
  position: relative;
  padding-left: 26px;
  color: var(--tx);
  font-size: 14.5px;
}
.tier-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.tier-feats li:has(b)::before {
  content: "";
}
.includes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.includes li {
  position: relative;
  padding: 12px 18px 12px 38px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--elevated);
  font-family: var(--mono);
  font-size: 14px;
  color: var(--tx);
}
.includes li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green);
  font-weight: 700;
}

/* ---------- internal-AI / SDK note ---------- */
.dev-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 38px 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(130% 150% at 0% 0%, rgba(10, 207, 131, 0.08), transparent 58%),
    var(--elevated);
  position: relative;
  overflow: hidden;
}
.dev-note::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green-bright), var(--green-dim));
}
.dev-note-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid rgba(10, 207, 131, 0.32);
  background: rgba(10, 207, 131, 0.07);
  color: var(--green);
}
.dev-note-mark .ic {
  width: 27px;
  height: 27px;
}
.dev-note-h {
  font-size: clamp(22px, 3vw, 29px);
  margin: 10px 0 12px;
  letter-spacing: -0.01em;
}
.dev-note-body p {
  color: var(--tx-2);
  font-size: 16px;
  line-height: 1.62;
  max-width: 64ch;
}
.dev-note-body b {
  color: var(--tx);
  font-weight: 600;
}
.dev-note-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--green);
  text-decoration: none;
}
.dev-note-link:hover {
  text-decoration: underline;
}
.dev-note-link .arr {
  transition: transform 0.25s var(--ease);
}
.dev-note-link:hover .arr {
  transform: translateX(4px);
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.stat {
  padding: 36px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--green-subtle);
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}
.stat span {
  color: var(--tx-2);
  font-size: 14px;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 880px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 0 22px;
  transition: border-color 0.25s var(--ease);
}
.faq-item[open] {
  border-color: var(--line-brand);
}
.faq-item summary {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--tx);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-size: 22px;
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--tx-2);
  font-size: 15.5px;
  padding: 0 0 22px;
  max-width: 680px;
}

/* ---------- cta ---------- */
.cta {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 0 32px;
}
.cta-inner {
  text-align: center;
  padding: 88px 28px;
  border-radius: 24px;
  border: 1px solid var(--line-brand);
  background: radial-gradient(120% 120% at 50% 0%, var(--green-subtle), var(--surface) 60%);
  position: relative;
  overflow: hidden;
}
.cta-mark {
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 32px var(--green-glow));
}
.cta h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 720px;
  margin: 0 auto;
}
.cta p {
  color: var(--tx-2);
  margin: 18px auto 0;
  max-width: 500px;
  font-size: 17px;
}
.cta-actions {
  margin-top: 30px;
}
.cta-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 18px auto 0;
  max-width: 480px;
  flex-wrap: wrap;
}
.cta-form input {
  flex: 1;
  min-width: 220px;
  background: var(--base);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  padding: 13px 16px;
  color: var(--tx);
  font-family: var(--mono);
  font-size: 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cta-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-subtle);
}
.cta-note {
  font-family: var(--mono);
  font-size: 12px !important;
  color: var(--tx-3) !important;
  margin-top: 20px !important;
}
.cta-note.ok {
  color: var(--green) !important;
}

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 96px auto 0;
  padding: 64px 32px 48px;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 100%;
}
.footer-brand img {
  filter: drop-shadow(0 0 36px var(--green-glow));
}
.footer-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--green);
  text-transform: uppercase;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-h {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--tx-3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--tx-2);
  font-size: 14.5px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--green);
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--tx-2);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-dim {
  color: var(--tx-3);
}

/* ---------- security subpage ---------- */
.subhero {
  padding-top: 160px;
}
.sec-h-xl {
  font-size: clamp(36px, 5vw, 60px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.handling-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.handling-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  padding: 7px 13px;
  border-radius: 100px;
}
.tag-do {
  color: var(--green);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
}
.tag-dont {
  color: var(--crit);
  background: rgba(255, 59, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 59, 92, 0.32);
}
.crosses {
  list-style: none;
  display: grid;
  gap: 13px;
}
.crosses li {
  position: relative;
  padding-left: 30px;
  color: var(--tx);
}
.crosses li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 59, 92, 0.1);
  color: var(--crit);
  font-size: 11px;
  box-shadow: inset 0 0 0 1px rgba(255, 59, 92, 0.32);
}
.legal-links {
  margin-top: 30px;
  color: var(--tx-2);
  font-size: 15px;
}
.legal-links a {
  color: var(--green);
}
.legal-links a:hover {
  text-decoration: underline;
}
.head-link {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--green);
}
.head-link:hover {
  text-decoration: underline;
}

/* ---------- founder note ---------- */
.founder {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.founder-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--green-subtle);
  box-shadow: inset 0 0 0 1px var(--line-brand);
}
.founder-mark .shield-mark {
  width: 24px;
  height: 33px;
  color: var(--green);
}
.founder blockquote {
  margin: 0;
}
.founder blockquote p {
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--tx);
}
.founder blockquote p + p {
  margin-top: 20px;
}
.founder blockquote em {
  color: var(--green);
  font-style: normal;
}
.founder figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.founder figcaption b {
  font-size: 16px;
}
.founder figcaption span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--tx-3);
}

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #04140d;
  padding: 11px 18px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 55;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(27, 33, 42, 0.8);
  color: var(--green);
  border: 1px solid var(--line-brand);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  backdrop-filter: blur(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
}
.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--green-subtle);
  transform: translateY(-2px);
}
.to-top .ic {
  width: 20px;
  height: 20px;
}

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero,
  .brain-map {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 138px;
  }
  .cards-3,
  .stats,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pipeline {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 48px;
  }
  .pipeline::before {
    display: none;
  }
  .step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 4px 18px;
    text-align: left;
    align-items: center;
  }
  .step-n {
    grid-row: span 2;
    margin: 0;
  }
  .nav-links {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .terminal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .terminal-body {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .cards-3,
  .stats,
  .trust-grid,
  .shields-grid,
  .deploy-grid,
  .persona-grid,
  .grid-2,
  .tiers,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .shield-trace {
    grid-column: span 1;
  }
  .dev-note {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    gap: 18px;
  }
  .nav-ghost {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: clamp(29px, 8.8vw, 44px);
  }
  .sec-h {
    font-size: clamp(25px, 7.6vw, 38px);
  }
  .sec-h-xl {
    font-size: clamp(27px, 8vw, 42px);
  }
  .cta-inner h2 {
    font-size: clamp(26px, 7.8vw, 40px);
  }
  .section {
    padding: 88px 22px;
  }
  .hero {
    padding: 128px 22px 36px;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .redact-word::after {
    transform: scaleX(0);
  }
  .marquee-inner {
    animation: none !important;
    transform: none !important;
  }
}
