/* ============================================================
   Captcha Pilot — visual system
   Sleek technical · near-black canvas · acid-lime accent
   Display: Space Grotesk · Body: IBM Plex Sans · Mono: IBM Plex Mono
   ============================================================ */

:root {
  --bg: #0a0b0d;
  --bg-2: #0d0f12;
  --surface: #15181c;
  --surface-2: #1a1e23;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.055);
  --text: #eceef0;
  --text-dim: #969ca4;
  --text-faint: #5b626b;
  --accent: #4da3ff;
  --accent-press: #2f8ae8;
  --accent-ink: #06121f;
  --accent-glow: rgba(77, 163, 255, 0.24);
  --paper: #e8e6dd; /* captcha card light surface */
  --paper-ink: #1b1c1a;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --maxw: 1200px;
  --gut: 28px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* page texture: faint grid + top accent glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    120% 80% at 50% -10%,
    #000 30%,
    transparent 75%
  );
  mask-image: radial-gradient(120% 80% at 50% -10%, #000 30%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  top: -340px;
  left: 50%;
  width: 900px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(
    closest-side,
    var(--accent-glow),
    transparent 70%
  );
  filter: blur(20px);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}

.wrap {
  width: min(100% - 2 * var(--gut), var(--maxw));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* ---------- type ---------- */
h1,
h2,
h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
}
.lead {
  color: var(--text-dim);
  font-size: 19px;
  line-height: 1.6;
  text-wrap: pretty;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
}

/* ---------- buttons ---------- */
.btn {
  --pad: 13px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad);
  border-radius: var(--r);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s, border-color 0.2s,
    box-shadow 0.25s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px var(--accent), 0 10px 30px -12px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-press);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--accent-press),
    0 16px 38px -14px var(--accent-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.btn-lg {
  --pad: 16px 26px;
  font-size: 16.5px;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 11, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 18px -8px var(--accent-glow);
  flex: none;
}
.brand .mark svg,
.brand .mark img {
  width: 30px;
  height: 30px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-toggle {
  display: none;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 74px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.badge-row {
  margin-bottom: 26px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  color: var(--text-dim);
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  margin-bottom: 22px;
}
.hero h1 .hl {
  color: var(--accent);
}
.hero .lead {
  max-width: 30ch;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.trust {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-faint);
  font-size: 13.5px;
  font-family: "IBM Plex Mono", monospace;
  flex-wrap: wrap;
}
.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.trust .tick {
  color: var(--accent);
}
.trust .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
}

/* ---- hero demo card (faux verification form) ---- */
.demo-stage {
  position: relative;
}
.demo-stage .glow {
  position: absolute;
  inset: -40px -20px;
  background: radial-gradient(
    60% 60% at 70% 20%,
    var(--accent-glow),
    transparent 70%
  );
  filter: blur(30px);
  opacity: 0.5;
  pointer-events: none;
}
.browser {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
}
.dots {
  display: flex;
  gap: 7px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2c3138;
  display: block;
}
.url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  padding: 6px 11px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  color: var(--text-faint);
}
.url svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
  flex: none;
}
.ext-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(77, 163, 255, 0.1);
  border: 1px solid rgba(77, 163, 255, 0.28);
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.ext-chip .mk {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.ext-chip .mk svg {
  width: 9px;
  height: 9px;
}

.browser-body {
  padding: 30px 28px 32px;
  background: radial-gradient(
    120% 80% at 50% 0%,
    rgba(255, 255, 255, 0.02),
    transparent 60%
  );
}
.form-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 13px;
  font-family: "IBM Plex Mono", monospace;
  letter-spacing: 0.02em;
}

.captcha-box {
  position: relative;
  width: 100%;
  background: var(--paper);
  border-radius: var(--r);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.captcha-box canvas {
  width: 200px;
  height: 64px;
  display: block;
}
.refresh {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.06);
  color: #5a5a52;
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.2s;
}
.refresh:hover {
  background: rgba(0, 0, 0, 0.12);
}
.refresh svg {
  width: 14px;
  height: 14px;
}
/* scan line */
.scan {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 38px;
  left: -40px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 163, 255, 0.55),
    transparent
  );
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
}
.captcha-box.reading .scan {
  animation: scan 1.05s var(--ease) forwards;
  opacity: 1;
}
@keyframes scan {
  from {
    left: -40px;
  }
  to {
    left: 100%;
  }
}

.answer-row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.answer-field {
  flex: 1;
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  min-height: 52px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.answer-field.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.answer-field.done {
  border-color: rgba(77, 163, 255, 0.5);
}
.answer-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--text);
  min-height: 26px;
}
.answer-text .caret {
  display: inline-block;
  width: 2px;
  height: 22px;
  background: var(--accent);
  margin-left: 2px;
  vertical-align: -3px;
  animation: blink 1s steps(1) infinite;
}
.answer-field.done .caret {
  display: none;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.placeholder {
  color: var(--text-faint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.status {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) scale(0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.status.show {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
.status .chk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.status .chk svg {
  width: 10px;
  height: 10px;
}

.submit-btn {
  flex: none;
  padding: 0 20px;
  border-radius: var(--r);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: default;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.submit-btn.ready {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

.demo-caption {
  margin-top: 16px;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.demo-caption b {
  color: var(--text-dim);
  font-weight: 500;
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  padding: 96px 0;
  position: relative;
}
.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 18px 0 16px;
}
.section-head .lead {
  font-size: 18px;
}
.rule {
  height: 1px;
  background: var(--line-2);
}

/* ============================================================
   FEATURES — bento
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    80% 60% at 100% 0%,
    rgba(77, 163, 255, 0.06),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover::after {
  opacity: 1;
}
.c-7 {
  grid-column: span 7;
}
.c-5 {
  grid-column: span 5;
}
.c-6 {
  grid-column: span 6;
}
.card .idx {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.card .ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--accent);
  margin: 14px 0 18px;
}
.card .ico svg {
  width: 21px;
  height: 21px;
}
.card h3 {
  font-size: 21px;
  margin-bottom: 9px;
}
.card p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin: 0;
  max-width: 42ch;
}
.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* feature mini visuals */
.viz {
  margin-top: 22px;
}

/* scan viz (auto detect) */
.viz-scan {
  position: relative;
  height: 150px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--bg);
  overflow: hidden;
  padding: 14px;
}
.mini-page {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}
.mini-line {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-2);
}
.mini-line.w1 {
  width: 60%;
}
.mini-line.w2 {
  width: 85%;
}
.mini-line.w3 {
  width: 40%;
}
.mini-target {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--paper-ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
  position: relative;
}
.mini-target .ring {
  position: absolute;
  inset: -5px;
  border: 1.5px dashed var(--accent);
  border-radius: 10px;
  opacity: 0;
  animation: lock 3.4s var(--ease) infinite;
}
@keyframes lock {
  0%,
  20% {
    opacity: 0;
    transform: scale(1.1);
  }
  35%,
  70% {
    opacity: 1;
    transform: scale(1);
  }
  85%,
  100% {
    opacity: 0;
  }
}
.viz-scan .beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 14px 2px var(--accent-glow);
  top: 0;
  animation: beam 3.4s var(--ease) infinite;
}
@keyframes beam {
  0% {
    top: 8%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  60% {
    top: 86%;
    opacity: 1;
  }
  75%,
  100% {
    top: 86%;
    opacity: 0;
  }
}

/* popup viz (per-site controls) */
.viz-popup {
  width: 230px;
  max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.popup-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
.popup-top .mk {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.popup-top .mk svg {
  width: 12px;
  height: 12px;
}
.popup-top b {
  font-family: "Space Grotesk";
  font-size: 13.5px;
  font-weight: 600;
}
.popup-top .on {
  margin-left: auto;
  font-family: "IBM Plex Mono";
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.popup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-dim);
}
.popup-row + .popup-row {
  border-top: 1px solid var(--line-2);
}
.sw {
  width: 34px;
  height: 19px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}
.sw i {
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-faint);
  transition: 0.3s var(--ease);
}
.sw.on {
  background: var(--accent);
  border-color: var(--accent);
}
.sw.on i {
  left: 16px;
  background: var(--accent-ink);
}

/* typing viz (instant auto-fill) */
.viz-type {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.type-field {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  border-radius: var(--r);
  padding: 13px 16px;
}
.type-chars {
  font-family: "IBM Plex Mono";
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--text);
}
.type-caret {
  width: 2px;
  height: 20px;
  background: var(--accent);
  margin-left: 3px;
  animation: blink 1s steps(1) infinite;
}
.type-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "IBM Plex Mono";
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.03em;
}
.chk-sm {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
}
.chk-sm svg {
  width: 10px;
  height: 10px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 30px 28px;
  position: relative;
}
.step:not(:last-child) {
  border-right: 1px solid var(--line-2);
}
.step .num {
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 15px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent);
  margin-bottom: 22px;
}
.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.step p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}
.step .wire {
  margin-top: 22px;
  height: 92px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--bg);
  overflow: hidden;
  position: relative;
}
.steps-shell {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg));
  overflow: hidden;
}

/* tiny wire visuals inside steps */
.w-detect {
  display: grid;
  place-items: center;
  height: 100%;
}
.w-detect .b {
  width: 96px;
  height: 40px;
  border-radius: 6px;
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: "IBM Plex Mono";
  color: var(--paper-ink);
  letter-spacing: 0.12em;
  font-size: 13px;
  position: relative;
}
.w-detect .b::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px dashed var(--accent);
  border-radius: 9px;
}
.w-read {
  display: grid;
  place-items: center;
  height: 100%;
  gap: 0;
}
.w-read .bars {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 40px;
}
.w-read .bars i {
  width: 5px;
  background: var(--accent);
  border-radius: 2px;
  animation: eq 1.1s ease-in-out infinite;
}
@keyframes eq {
  0%,
  100% {
    height: 30%;
  }
  50% {
    height: 100%;
  }
}
.w-fill {
  display: grid;
  place-items: center;
  height: 100%;
}
.w-fill .f {
  background: var(--bg);
  border: 1px solid var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  border-radius: 7px;
  padding: 8px 14px;
  font-family: "IBM Plex Mono";
  color: var(--text);
  letter-spacing: 0.12em;
  font-size: 15px;
}

/* ============================================================
   INSTALL CTA
   ============================================================ */
.install-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: radial-gradient(
      90% 120% at 50% 0%,
      rgba(77, 163, 255, 0.08),
      transparent 55%
    ),
    var(--surface);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
}
.install-card .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 70%);
  mask-image: radial-gradient(70% 90% at 50% 0%, #000, transparent 70%);
  pointer-events: none;
}
.install-card h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  margin-bottom: 16px;
  position: relative;
}
.install-card .lead {
  max-width: 46ch;
  margin: 0 auto 32px;
  position: relative;
}
.store-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 15px 24px;
  border-radius: var(--r);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.2s var(--ease), background 0.25s;
  text-align: left;
}
.store-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  background: var(--surface-2);
}
.store-btn .bi {
  width: 30px;
  height: 30px;
  flex: none;
}
.store-btn small {
  display: block;
  font-family: "IBM Plex Mono";
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.store-btn b {
  font-family: "Space Grotesk";
  font-weight: 600;
  font-size: 16px;
}
.install-sub {
  margin-top: 26px;
  font-family: "IBM Plex Mono";
  font-size: 12.5px;
  color: var(--text-faint);
  position: relative;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line-2);
}
.faq-item {
  border-bottom: 1px solid var(--line-2);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  color: var(--text);
  font-family: "Space Grotesk";
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq-q:hover {
  color: var(--accent);
}
.faq-ico {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
}
.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  background: var(--text-dim);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}
.faq-ico::before {
  top: 10px;
  left: 3px;
  right: 3px;
  height: 2px;
}
.faq-ico::after {
  left: 10px;
  top: 3px;
  bottom: 3px;
  width: 2px;
}
.faq-item.open .faq-ico::after {
  transform: scaleY(0);
}
.faq-item.open .faq-ico::before {
  background: var(--accent);
}
.faq-a {
  overflow: hidden;
  height: 0;
  transition: height 0.35s var(--ease);
}
.faq-a-inner {
  padding: 0 4px 24px;
  color: var(--text-dim);
  font-size: 16px;
  max-width: 60ch;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 0 44px;
  border-top: 1px solid var(--line-2);
  margin-top: 40px;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer .brand {
  font-size: 17px;
}
.footer-tag {
  color: var(--text-faint);
  font-size: 14px;
  margin-top: 14px;
  max-width: 32ch;
}
.footer-links {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  color: var(--text-dim);
  font-size: 14.5px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  color: var(--text-faint);
  font-size: 13px;
  font-family: "IBM Plex Mono";
  flex-wrap: wrap;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] {
  transition-delay: 0.07s;
}
.reveal[data-d="2"] {
  transition-delay: 0.14s;
}
.reveal[data-d="3"] {
  transition-delay: 0.21s;
}
.reveal[data-d="4"] {
  transition-delay: 0.28s;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero .lead {
    max-width: 46ch;
  }
  .demo-stage {
    max-width: 440px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .c-7,
  .c-5,
  .c-6 {
    grid-column: span 12;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--line-2);
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .nav-links {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 48px 0 64px;
  }
  .install-card {
    padding: 48px 22px;
  }
  .footer-top {
    flex-direction: column;
  }
}
