:root {
  --bg-0: #060809;
  --bg-1: #0a0c0d;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --panel: #0f0f0f;

  --fg-1: #e6e6ee;
  --fg-2: #c7c7d2;
  --fg-3: #b2b2c3;
  --fg-4: #7f7f93;

  --accent: #2dd4bf;
  --accent-strong: #0d9488;
  --accent-mint: #2dd4bf;
  --accent-blue: #60a5fa;
  --accent-violet: #a78bfa;
  --accent-amber: #fbbf24;
  --accent-rose: #fb7185;

  --success: #34d399;
  --warning: #fbbf24;

  --border-1: #2a2a35;
  --border-2: #343444;

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.55);

  --font-display: "Sora", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--fg-2);
  font-size: 16px;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ─────────────── Background Glows ─────────────── */

.bg-glow {
  position: fixed;
  inset: -15% auto auto -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center, rgba(45, 212, 191, 0.08), transparent 70%);
  filter: blur(40px);
  z-index: -2;
  pointer-events: none;
}

.bg-glow-violet {
  position: fixed;
  top: -8%;
  right: -5%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle at center, rgba(167, 139, 250, 0.05), transparent 70%);
  filter: blur(40px);
  z-index: -2;
  pointer-events: none;
  animation: drift-violet 12s ease-in-out infinite alternate;
}

@keyframes drift-violet {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 20px) scale(1.08); }
  100% { transform: translate(15px, -15px) scale(0.95); }
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 148, 136, 0.10) 0%, rgba(10, 80, 72, 0.04) 50%, rgba(167, 139, 250, 0.04) 100%),
    radial-gradient(ellipse 160% 50% at 50% 0%, rgba(13, 148, 136, 0.16), transparent 55%),
    radial-gradient(circle at 70% 10%, rgba(13, 148, 136, 0.16), transparent 50%),
    radial-gradient(circle at 30% 5%, rgba(45, 212, 191, 0.08), transparent 45%),
    radial-gradient(circle at 92% 5%, rgba(167, 139, 250, 0.12), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(167, 139, 250, 0.10), transparent 45%),
    radial-gradient(ellipse 140% 50% at 50% 100%, rgba(167, 139, 250, 0.08), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(45, 212, 191, 0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.06), transparent 45%);
  z-index: -3;
}

/* ─────────────── Scroll Progress ─────────────── */

.scroll-progress {
  position: fixed;
  right: 18px;
  top: 90px;
  width: 2px;
  height: calc(100vh - 180px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  z-index: 12;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 120ms ease-out;
}

/* ─────────────── Navigation ─────────────── */

.nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 20px 6vw;
  backdrop-filter: blur(16px);
  background: rgba(9, 9, 11, 0.80);
  border-bottom: 1px solid var(--border-1);
  z-index: 10;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg-1);
}

.logo-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(45, 212, 191, 0.6);
}

.logo-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.4;
  filter: blur(8px);
  animation: pulse-slow 3s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.logo-text {
  font-size: 18px;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 15px;
  color: var(--fg-3);
}

.nav__links a {
  position: relative;
  padding-bottom: 4px;
  font-weight: 500;
}

.nav__links a.is-active {
  color: var(--fg-1);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

.nav__links a:hover {
  color: var(--fg-1);
}

.nav__cta {
  display: flex;
  gap: 12px;
}

/* ─────────────── Main Layout ─────────────── */

main {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

section {
  display: grid;
  gap: 28px;
  position: relative;
}

.scene {
  scroll-margin-top: 90px;
  padding: 72px 0 88px;
}

.scene + .scene {
  border-top: none;
}

.scene--alt {
  position: relative;
  margin-left: calc(-1 * max(24px, 5vw));
  margin-right: calc(-1 * max(24px, 5vw));
  padding-left: max(24px, 5vw);
  padding-right: max(24px, 5vw);
  background: linear-gradient(180deg, rgba(14, 16, 22, 0.6), rgba(8, 10, 14, 0.3));
  border-top: 1px solid rgba(45, 212, 191, 0.08);
  border-bottom: 1px solid rgba(45, 212, 191, 0.08);
}

.scene--compact {
  min-height: auto !important;
  padding: 40px 0 48px;
}

/* ─────────────── Section Intro ─────────────── */

.section-intro {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  color: var(--fg-1);
  line-height: 1.15;
}

.section-intro p,
.section-intro__sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 620px;
}

.section-eyebrow,
.chapter {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::after,
.chapter::after {
  content: "";
  width: 64px;
  height: 1px;
  background: rgba(45, 212, 191, 0.45);
  display: inline-block;
}

/* ─────────────── HERO ─────────────── */

.hero {
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.hero__copy {
  display: grid;
  gap: 18px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  color: var(--fg-1);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.hero__copy p {
  font-size: 19px;
  color: var(--fg-2);
  max-width: 600px;
  line-height: 1.75;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 8px 0 0;
}

.hero__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 0;
  color: var(--fg-2);
  font-size: 14px;
}

.hero__list li::before {
  content: "";
}

.hero__list li {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.25);
  background: rgba(45, 212, 191, 0.1);
}

.hero__note {
  margin-top: 0;
  font-size: 14px;
  color: var(--fg-3);
}

.hero__visual {
  display: grid;
  gap: 18px;
  justify-items: center;
}

/* ─────────────── Built For Tags ─────────────── */

.built-for {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-4);
}

.built-for__tag {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-3);
  font-size: 13px;
}

/* ─────────────── Abstract / Hero Visual ─────────────── */

.abstract {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(8, 10, 14, 0.95));
  box-shadow: 0 28px 60px rgba(3, 8, 12, 0.6);
}

.abstract::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.8), rgba(99, 102, 241, 0.2), transparent);
  opacity: 0.6;
}

.abstract::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.18), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.abstract--hero {
  max-width: 680px;
  width: 100%;
  animation: float 8s ease-in-out infinite;
}

.abstract__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(8, 10, 14, 0.85);
  border-bottom: 1px solid rgba(45, 212, 191, 0.12);
}

.chrome-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  opacity: 0.8;
}

.chrome-dot--red { background: #ff8a8a; }
.chrome-dot--yellow { background: #ffd166; }
.chrome-dot--green { background: #7ef2c2; }

.abstract__chrome--centered {
  justify-content: center;
  gap: 6px;
}

.chrome-logo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #5eecd5, var(--accent) 60%, #0d9488);
  box-shadow: 0 0 10px rgba(45, 212, 191, 0.5), 0 0 3px rgba(45, 212, 191, 0.3);
}

.abstract__chrome-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-1);
  letter-spacing: 0.02em;
}

.abstract__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  padding: 20px;
}

.abstract__panel {
  background: rgba(15, 18, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 16px;
}

.abstract__panel--steps {
  display: grid;
  gap: 10px;
}

.abstract__panel--preview {
  display: grid;
  gap: 12px;
}

.abstract__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-4);
}

.abstract__step {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg-2);
  font-size: 13px;
}

.abstract__step.is-active {
  background: rgba(45, 212, 191, 0.15);
  color: var(--fg-1);
  border: 1px solid rgba(45, 212, 191, 0.35);
}

.abstract__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.abstract__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c7fff4;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.18), rgba(45, 212, 191, 0.06));
  box-shadow: inset 0 0 0 1px rgba(10, 12, 16, 0.6);
}

.abstract__chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.9);
  box-shadow: 0 0 6px rgba(45, 212, 191, 0.6);
}

.abstract__chip--mint {
  border-color: rgba(45, 212, 191, 0.4);
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.22), rgba(45, 212, 191, 0.08));
}

.abstract__chip--mint::before {
  background: var(--accent-mint);
}

.abstract__chip--violet {
  border-color: rgba(167, 139, 250, 0.5);
  color: #e8ddff;
  background: linear-gradient(180deg, rgba(167, 139, 250, 0.22), rgba(167, 139, 250, 0.08));
}

.abstract__chip--violet::before {
  background: var(--accent-violet);
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.6);
}

.abstract__chip--amber {
  border-color: rgba(251, 191, 36, 0.45);
  color: #fff4c2;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.22), rgba(251, 191, 36, 0.08));
}

.abstract__chip--amber::before {
  background: var(--accent-amber);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

.abstract__screen {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(14, 16, 22, 0.9), rgba(8, 12, 18, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 160px;
}

.screen-card {
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.18), rgba(255, 255, 255, 0.05));
}

.screen-card--wide {
  height: 46px;
}

.abstract__logs {
  display: grid;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-4);
}

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

.abstract__log .log-time { color: var(--fg-4); }
.abstract__log .log-msg { color: var(--fg-3); }

.abstract__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 20px;
}

.abstract__pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--fg-3);
}

.abstract__pill--accent {
  background: rgba(45, 212, 191, 0.18);
  color: var(--fg-1);
  border-color: rgba(45, 212, 191, 0.4);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ─────────────── Log Tags (shared) ─────────────── */

.log-time { color: var(--fg-4); }
.log-tag { font-weight: 600; letter-spacing: 0.12em; }
.log-tag--thinking { color: #7dd3fc; }
.log-tag--action { color: #34d399; }
.log-tag--detective { color: #fbbf24; }
.log-tag--healer { color: #a78bfa; }
.log-tag--approved { color: #22d3ee; }
.log-tag--sentinel { color: #f472b6; }

/* ─────────────── Hero Mock — Session UI ─────────────── */

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(14, 14, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--fg-3);
}

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

.mock-progress__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  min-width: 28px;
}

.mock-progress__track {
  width: 80px;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.mock-progress__bar {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.6s ease;
}

.mock-toolbar__info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-4);
}

.mock-toolbar__pill {
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--fg-4);
}

.mock-toolbar__spacer {
  flex: 1;
}

.mock-toolbar__btn {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.mock-toolbar__btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--fg-3);
}

.mock-toolbar__btn--danger {
  background: rgba(251, 113, 133, 0.18);
  border: 1px solid rgba(251, 113, 133, 0.3);
  color: var(--accent-rose);
}

/* Session layout: steps + browser */
.mock-session {
  display: grid;
  grid-template-columns: 260px 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* Steps panel */
.mock-steps {
  background: rgba(18, 18, 21, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mock-steps__header {
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-steps__header span {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg-4);
}

/* Individual step */
.mock-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--fg-4);
  border-left: 2px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mock-step.is-passed {
  color: var(--fg-3);
}

.mock-step.is-active {
  background: rgba(45, 212, 191, 0.08);
  border-left-color: var(--accent);
  color: var(--fg-1);
}

.mock-step__check {
  font-size: 10px;
  color: var(--success);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.mock-step__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.5);
  margin: 0 4.5px;
  flex-shrink: 0;
}

.mock-step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-4);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Action type badges */
.mock-step__badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.mock-step__badge--nav {
  background: rgba(96, 165, 250, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: #60a5fa;
}

.mock-step__badge--click {
  background: rgba(251, 146, 60, 0.12);
  border: 1px solid rgba(251, 146, 60, 0.2);
  color: #fb923c;
}

.mock-step__badge--fill {
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.2);
  color: #a78bfa;
}

.mock-step__badge--assert {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: #34d399;
}

.mock-step__desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
}

/* Browser panel */
.mock-browser {
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 14, 0.9);
  overflow: hidden;
}

.mock-browser__bar {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  background: rgba(22, 22, 25, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-browser__url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-4);
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-browser__content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100px;
}

.mock-browser__placeholder {
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.07) 50%, rgba(255, 255, 255, 0.04) 100%);
  width: 65%;
}

.mock-browser__placeholder--wide {
  width: 90%;
  height: 40px;
}

/* Log panel */
.mock-logs {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(14, 14, 18, 0.95);
}

.mock-logs__tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  overflow-x: auto;
}

.mock-logs__tab {
  padding: 8px 10px;
  color: var(--fg-4);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.mock-logs__tab.is-active {
  color: var(--fg-2);
  border-bottom-color: var(--accent);
}

.mock-logs__divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 6px;
  flex-shrink: 0;
}

.mock-logs__agent {
  padding: 8px 8px;
  color: var(--fg-4);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.mock-logs__agent:nth-child(5) { color: rgba(45, 212, 191, 0.6); }   /* Runner */
.mock-logs__agent:nth-child(6) { color: rgba(96, 165, 250, 0.6); }   /* Explorer */
.mock-logs__agent--detective { color: rgba(167, 139, 250, 0.6) !important; }
.mock-logs__agent:nth-child(8) { color: rgba(52, 211, 153, 0.6); }   /* Healer */
.mock-logs__agent:nth-child(9) { color: rgba(251, 191, 36, 0.6); }   /* Sentinel */

.mock-logs__entries {
  padding: 6px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-log {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
}

.mock-log .log-time {
  color: var(--fg-4);
  opacity: 0.6;
  flex-shrink: 0;
}

.mock-log .log-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 1px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

.mock-log .log-tag--action {
  background: rgba(52, 211, 153, 0.1);
  color: #34d399;
}

.mock-log .log-tag--approved {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
}

.mock-log .log-msg {
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Make the abstract--hero contain the mock layout properly */
.abstract--hero {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 440px;
}

/* ─────────────── HOW IT WORKS — Step Cards ─────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.step-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  border: 1px solid var(--border-1);
  display: grid;
  gap: 14px;
  transition: border-color 200ms ease, transform 200ms ease;
  overflow: hidden;
}

.step-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}

.step-card--mint::before { background: linear-gradient(90deg, var(--accent-mint), transparent); }
.step-card--blue::before { background: linear-gradient(90deg, var(--accent-blue), transparent); }
.step-card--violet::before { background: linear-gradient(90deg, var(--accent-violet), transparent); }

.step-card--mint:hover { border-color: rgba(45, 212, 191, 0.4); }
.step-card--blue:hover { border-color: rgba(96, 165, 250, 0.4); }
.step-card--violet:hover { border-color: rgba(167, 139, 250, 0.4); }

.step-card--blue .step-card__number {
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.25), rgba(96, 165, 250, 0.08));
  border-color: rgba(96, 165, 250, 0.5);
  color: var(--accent-blue);
}

.step-card--violet .step-card__number {
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.25), rgba(167, 139, 250, 0.08));
  border-color: rgba(167, 139, 250, 0.5);
  color: var(--accent-violet);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card__number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.25), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.5);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-1);
  line-height: 1.3;
}

.step-card p {
  font-size: 16px;
  color: var(--fg-3);
  line-height: 1.7;
}

/* ─────────────── CAPABILITIES — Cards ─────────────── */

.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.capability-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  border: 1px solid var(--border-1);
  display: grid;
  gap: 14px;
  transition: border-color 200ms ease, transform 200ms ease;
  overflow: hidden;
}

.capability-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  border-radius: inherit;
}

.capability-card--mint::after { background: radial-gradient(circle at 20% 10%, rgba(45, 212, 191, 0.12), transparent 60%); }
.capability-card--violet::after { background: radial-gradient(circle at 20% 10%, rgba(167, 139, 250, 0.12), transparent 60%); }
.capability-card--blue::after { background: radial-gradient(circle at 20% 10%, rgba(96, 165, 250, 0.12), transparent 60%); }

.capability-card:hover::after { opacity: 1; }

.capability-card--mint:hover { border-color: rgba(45, 212, 191, 0.4); }
.capability-card--violet:hover { border-color: rgba(167, 139, 250, 0.4); }
.capability-card--blue:hover { border-color: rgba(96, 165, 250, 0.4); }

.capability-card:hover {
  transform: translateY(-4px);
}

.capability-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.capability-card--mint .capability-card__icon {
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.3), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.5);
  color: var(--accent-mint);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.2);
}

.capability-card--violet .capability-card__icon {
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.3), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: var(--accent-violet);
  box-shadow: 0 6px 16px rgba(167, 139, 250, 0.2);
}

.capability-card--blue .capability-card__icon {
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: var(--accent-blue);
  box-shadow: 0 6px 16px rgba(96, 165, 250, 0.2);
}

.capability-card p {
  font-size: 15px;
  color: var(--fg-3);
  line-height: 1.65;
}

.capability-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-1);
  line-height: 1.3;
}

.capability-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-card__badges span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--fg-3);
}

/* ─────────────── CREDIBILITY — Numbers Row ─────────────── */

.credibility__container {
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(45, 212, 191, 0.15);
  background: linear-gradient(135deg, rgba(14, 18, 26, 0.7), rgba(8, 12, 16, 0.6));
  box-shadow: 0 20px 50px rgba(3, 8, 12, 0.4);
}

.credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.credibility__item {
  display: grid;
  gap: 6px;
  padding: 16px 12px;
}

.credibility__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.credibility__label {
  font-size: 15px;
  color: var(--fg-3);
  line-height: 1.5;
}

/* ─────────────── Credibility — Pilot Customer ─────────────── */

.credibility__pilot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.credibility__pilot-label {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--fg-4);
  font-weight: 600;
}

.credibility__pilot-logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 200ms ease, background 200ms ease;
}

.credibility__pilot-logo:hover {
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.credibility__pilot-logo img {
  height: 22px;
  width: auto;
  display: block;
}

/* ─────────────── WHY TESAI — Trust + Evidence ─────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.why-grid__trust {
  display: grid;
  gap: 12px;
}

.why-grid__evidence {
  display: grid;
  align-content: start;
}

.edge-item {
  padding: 16px 20px;
  border-radius: var(--radius-s);
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.65;
}

.edge-item strong {
  color: var(--fg-1);
}

/* ─────────────── Proof / Evidence Stream ─────────────── */

.proof__log {
  border-radius: var(--radius-m);
  border: 1px solid var(--border-1);
  background: linear-gradient(180deg, rgba(12, 14, 20, 0.96), rgba(8, 10, 14, 0.98));
  padding: 14px 16px;
}

.proof__log-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-4);
  margin-bottom: 10px;
}

.proof__log-track {
  display: grid;
  gap: 8px;
}

.proof__log-item {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}

/* ─────────────── CI/CD RUNNER ─────────────── */

.runner__panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: linear-gradient(130deg, rgba(12, 15, 22, 0.92), rgba(8, 19, 20, 0.94));
  box-shadow: var(--shadow-2);
}

.runner__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--fg-1);
}

.runner__copy p {
  font-size: 16px;
  color: var(--fg-2);
  max-width: 760px;
  margin-top: 8px;
  line-height: 1.7;
}

.runner__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--fg-4);
}

.runner__badges span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: var(--bg-1);
}

.runner__code {
  position: relative;
  background: linear-gradient(135deg, #0b1120, #0b1618);
  color: #e2eefc;
  border-radius: var(--radius-m);
  padding: 18px 18px 18px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  overflow: auto;
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.08), 0 20px 50px rgba(5, 10, 14, 0.6);
}

.runner__code::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.8), rgba(45, 212, 191, 0));
}

.code-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.runner__code pre {
  margin: 0;
  white-space: pre;
}

.runner__code code {
  display: block;
}

/* ─────────────── EARLY ACCESS ─────────────── */

.early-access__inner {
  display: grid;
  gap: 32px;
}

.early-access__header {
  display: grid;
  gap: 10px;
  text-align: center;
}

.early-access__header h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  color: var(--fg-1);
}

.early-access__header p {
  font-size: 16px;
  color: var(--fg-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Waitlist CTA */

.waitlist-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.waitlist-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  background: var(--accent);
  color: #051b18;
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.3);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.waitlist-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(45, 212, 191, 0.45);
}

.waitlist-note {
  font-size: 13px;
  color: var(--fg-4);
}

.early-access__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-size: 13px;
  color: var(--fg-4);
}

.early-access__info span {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  background: rgba(255, 255, 255, 0.03);
}

.early-access__tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

/* ─────────────── Plan Cards (reused in Early Access) ─────────────── */

.plan-card {
  padding: 20px;
  border-radius: var(--radius-m);
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  display: grid;
  gap: 12px;
  position: relative;
}

.plan-card--primary {
  background: linear-gradient(135deg, rgba(14, 18, 26, 0.95), rgba(10, 16, 20, 0.95));
  border-color: rgba(45, 212, 191, 0.45);
  box-shadow: 0 22px 50px rgba(10, 20, 26, 0.6);
}

.plan-card--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(45, 212, 191, 0.25);
}

.plan-card--team {
  background: linear-gradient(135deg, rgba(14, 18, 26, 0.92), rgba(10, 12, 20, 0.95));
  border-color: rgba(96, 165, 250, 0.35);
}

.plan-card--enterprise {
  background: linear-gradient(135deg, rgba(18, 14, 22, 0.95), rgba(10, 10, 18, 0.96));
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 12px 40px rgba(167, 139, 250, 0.08);
}

.plan-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 600;
}

.plan-title {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--fg-1);
}

.plan-price {
  font-size: 16px;
  color: var(--accent);
}

.plan-subtitle {
  font-size: 15px;
  color: var(--fg-3);
  line-height: 1.6;
}

.plan-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 4px 0 8px;
  color: var(--fg-2);
  font-size: 14px;
}

.plan-list li {
  display: flex;
  align-items: center;
}

.plan-list li::before {
  content: "\2713";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}

.plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.plan-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: var(--fg-3);
}

/* ─────────────── Footer ─────────────── */

.footer {
  display: grid;
  gap: 12px;
  padding: 40px 6vw 80px;
  border-top: 1px solid var(--border-1);
  background: var(--bg-0);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--fg-1);
}

.footer__note {
  font-size: 14px;
  color: var(--fg-4);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  color: var(--fg-3);
}

.footer__legal {
  font-size: 13px;
  color: var(--fg-4);
}

/* ─────────────── Sticky CTA ─────────────── */

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 24px;
  left: auto;
  transform: translateY(0);
  background: rgba(17, 17, 22, 0.9);
  border: 1px solid rgba(45, 212, 191, 0.3);
  padding: 12px 16px;
  border-radius: 999px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: var(--shadow-2);
  z-index: 20;
  transition: opacity 200ms ease, transform 200ms ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.sticky-cta__text {
  font-size: 13px;
  color: var(--fg-2);
}

.sticky-cta__actions {
  display: flex;
  gap: 8px;
}

/* ─────────────── Buttons ─────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 16px;
}

.btn--primary {
  background: var(--accent);
  color: #051b18;
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.3);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(45, 212, 191, 0.4);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--fg-2);
}

.btn--ghost:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 191, 0.6);
}

/* ─────────────── SELF-HEALING FLOW ─────────────── */

.healing-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.healing-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  border: 1px solid var(--border-1);
  display: grid;
  gap: 10px;
  transition: border-color 200ms ease, transform 200ms ease;
  overflow: hidden;
}

.healing-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}

.healing-card--rose::before { background: linear-gradient(90deg, var(--accent-rose), transparent); }
.healing-card--mint::before { background: linear-gradient(90deg, var(--accent-mint), transparent); }
.healing-card--amber::before { background: linear-gradient(90deg, var(--accent-amber), transparent); }

.healing-card--rose:hover { border-color: rgba(251, 113, 133, 0.4); }
.healing-card--mint:hover { border-color: rgba(45, 212, 191, 0.4); }
.healing-card--amber:hover { border-color: rgba(251, 191, 36, 0.4); }

.healing-card:hover {
  transform: translateY(-4px);
}

.healing-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.healing-card--rose .healing-card__icon {
  background: linear-gradient(160deg, rgba(251, 113, 133, 0.3), rgba(251, 113, 133, 0.08));
  border: 1px solid rgba(251, 113, 133, 0.5);
  color: var(--accent-rose);
  box-shadow: 0 6px 16px rgba(251, 113, 133, 0.2);
}

.healing-card--mint .healing-card__icon {
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.3), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.5);
  color: var(--accent-mint);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.2);
}

.healing-card--amber .healing-card__icon {
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: var(--accent-amber);
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.2);
}

.healing-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-4);
  font-weight: 600;
}

.healing-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-1);
  line-height: 1.3;
}

.healing-card p {
  font-size: 15px;
  color: var(--fg-3);
  line-height: 1.7;
}

.healing-note {
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--fg-4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.healing-flow [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.healing-flow [data-reveal]:nth-child(3) { transition-delay: 200ms; }

/* ─────────────── COMPARISON TABLE ─────────────── */

.comparison-table {
  display: grid;
  gap: 2px;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border-1);
}

.comparison-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
}

.comparison-row--header {
  background: rgba(14, 16, 22, 0.9);
}

.comparison-cell {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comparison-cell--label {
  font-weight: 600;
  color: var(--fg-1);
  font-size: 14px;
  background: rgba(14, 16, 22, 0.8);
}

.comparison-cell--legacy {
  color: var(--fg-4);
}

.comparison-cell--tesai {
  color: var(--fg-1);
  background: rgba(45, 212, 191, 0.04);
}

.comparison-row--header .comparison-cell {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding: 12px 18px;
  background: rgba(10, 12, 18, 0.95);
}

.comparison-row--header .comparison-cell--legacy {
  color: var(--fg-4);
}

.comparison-row--header .comparison-cell--tesai {
  color: var(--accent);
  background: rgba(45, 212, 191, 0.06);
}

.comparison-footer {
  text-align: center;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--fg-4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 8px;
}

/* ─────────────── TRUST BAR ─────────────── */

.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.trust-bar__item {
  padding: 24px;
  border-radius: var(--radius-m);
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  display: grid;
  gap: 8px;
  min-height: 100px;
}

.trust-bar__item strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-1);
  letter-spacing: 0.01em;
}

.trust-bar__item span {
  font-size: 16px;
  color: var(--fg-3);
  line-height: 1.7;
}

/* ─────────────── FAQ ─────────────── */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
}

details.faq-item {
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  transition: border-color 200ms ease;
  overflow: hidden;
}

details.faq-item[open] {
  border-color: rgba(45, 212, 191, 0.3);
  background: linear-gradient(160deg, rgba(20, 24, 32, 0.98), rgba(12, 16, 20, 0.97));
}

details.faq-item > summary {
  padding: 22px 24px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-1);
  cursor: pointer;
  transition: color 200ms ease;
  -webkit-user-select: none;
  user-select: none;
  /* Kill ALL native markers */
  list-style: none;
  list-style-type: none;
}

/* Chrome/Safari native triangle */
details.faq-item > summary::-webkit-details-marker {
  display: none !important;
}

/* Firefox native marker */
details.faq-item > summary::marker {
  display: none !important;
  content: "" !important;
  font-size: 0 !important;
}

details.faq-item > summary:hover {
  color: var(--accent);
}

/* Custom +/- icon via span */
.faq-toggle {
  float: right;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--fg-4);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-1);
  background: rgba(255, 255, 255, 0.03);
  flex-shrink: 0;
  margin-left: 16px;
  transition: color 200ms ease, border-color 200ms ease, background 200ms ease;
}

.faq-toggle::before {
  content: "+";
}

details.faq-item[open] .faq-toggle {
  color: var(--accent);
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.08);
}

details.faq-item[open] .faq-toggle::before {
  content: "\2212";
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 16px;
  color: var(--fg-2);
  line-height: 1.8;
  max-width: 680px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0 24px;
  padding: 16px 0 22px;
}

/* ─────────────── PRICING ─────────────── */

.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.pricing__toggle-label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-4);
  cursor: pointer;
  transition: color 200ms ease;
}

.pricing__toggle-label.is-active {
  color: var(--fg-1);
}

.pricing__toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: 13px;
  border: 1px solid var(--border-2);
  background: var(--bg-3);
  cursor: pointer;
  position: relative;
  transition: background 200ms ease, border-color 200ms ease;
}

.pricing__toggle-switch.is-annual {
  background: rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.4);
}

.pricing__toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fg-3);
  transition: transform 200ms ease, background 200ms ease;
}

.pricing__toggle-switch.is-annual .pricing__toggle-knob {
  transform: translateX(22px);
  background: var(--accent);
}

.pricing__save-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(45, 212, 191, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 4px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.pricing-card {
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  border: 1px solid var(--border-1);
  border-radius: var(--radius-l);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 200ms ease, transform 200ms ease;
}

.pricing-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
}

.pricing-card--featured {
  border-color: rgba(45, 212, 191, 0.4);
  background: linear-gradient(160deg, rgba(20, 28, 30, 0.98), rgba(10, 16, 18, 0.96));
}

.pricing-card--featured:hover {
  border-color: rgba(45, 212, 191, 0.6);
}

.pricing-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-0);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 24px;
}

.pricing-card__header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg-1);
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-card__original {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-4);
  text-decoration: line-through;
  display: none;
  margin-right: 8px;
  align-self: center;
}

.pricing-card__original.is-visible {
  display: inline;
}

.pricing-card__amount {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--fg-1);
  line-height: 1;
}

.pricing-card--featured .pricing-card__amount {
  color: var(--accent);
}

.pricing-card__period {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--fg-4);
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--fg-4);
  margin-top: 8px;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--fg-2);
  padding-left: 22px;
  position: relative;
}

.pricing-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.2);
  border: 1.5px solid var(--accent);
}

.pricing-card__features li.is-disabled {
  color: var(--fg-4);
}

.pricing-card__features li.is-disabled::before {
  background: transparent;
  border-color: var(--border-2);
}

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

.pricing__note {
  text-align: center;
  font-size: 14px;
  color: var(--fg-4);
  margin-top: 32px;
}

.pricing__note a {
  color: var(--accent);
  text-decoration: none;
}

.pricing__note a:hover {
  text-decoration: underline;
}

.pricing__grid [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.pricing__grid [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.pricing__grid [data-reveal]:nth-child(4) { transition-delay: 240ms; }

/* ─────────────── Reveal Animation ─────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms cubic-bezier(0.22, 1, 0.36, 1), transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for sibling cards */
.steps [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.steps [data-reveal]:nth-child(3) { transition-delay: 200ms; }

.capabilities__grid [data-reveal]:nth-child(2) { transition-delay: 100ms; }
.capabilities__grid [data-reveal]:nth-child(3) { transition-delay: 200ms; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

@media (min-width: 960px) {
  .scene {
    align-content: start;
  }

  .hero {
    min-height: clamp(520px, 76svh, 800px);
  }
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__visual {
    justify-items: start;
  }

  .runner__panel,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .mock-session {
    grid-template-columns: 220px 1fr;
  }

  .mock-toolbar__pill {
    display: none;
  }
}

@media (max-width: 960px) {
  .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: none;
    background: var(--bg-0);
  }

  .nav__cta {
    gap: 12px;
  }

  main {
    padding: 56px 5vw 120px;
    gap: 0;
  }

  .scene {
    padding: 56px 0 84px;
  }

  .scroll-progress {
    display: none;
  }

  .sticky-cta {
    width: calc(100% - 24px);
    border-radius: var(--radius-m);
    left: 12px;
    right: 12px;
    transform: none;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .pricing-card__amount {
    font-size: 32px;
  }

  main {
    padding: 44px 5vw 110px;
    gap: 0;
  }

  .scene {
    padding: 56px 0 84px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .capabilities__grid {
    grid-template-columns: 1fr;
  }

  .healing-flow {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .comparison-row--header {
    display: none;
  }

  .comparison-cell--label {
    padding: 14px 18px 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--fg-4);
    font-weight: 600;
    background: var(--bg-2);
    border-bottom: none;
  }

  .comparison-cell--legacy {
    padding: 6px 18px;
    font-size: 13px;
    border-bottom: none;
    position: relative;
  }

  .comparison-cell--legacy::before {
    content: "Legacy: ";
    color: var(--fg-4);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .comparison-cell--tesai {
    padding: 6px 18px 14px;
    font-size: 13px;
  }

  .comparison-cell--tesai::before {
    content: "Tesai: ";
    color: var(--accent);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }

  .credibility__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .credibility__number {
    font-size: 36px;
  }

  .early-access__tiers {
    grid-template-columns: 1fr;
  }

  .runner__panel {
    padding: 20px;
  }

  .mock-session {
    grid-template-columns: 1fr;
  }

  .mock-browser {
    display: none;
  }

  .mock-steps {
    max-height: 220px;
  }

  .mock-logs__agent {
    display: none;
  }

  .mock-logs__divider {
    display: none;
  }

  .abstract--hero {
    max-height: 360px;
  }

  .bg-glow-violet {
    width: 300px;
    height: 300px;
    opacity: 0.6;
  }

  .bg-glow {
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 520px) {
  .sticky-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .sticky-cta__actions {
    width: 100%;
    justify-content: space-between;
  }

  .built-for {
    flex-direction: column;
    align-items: flex-start;
  }

  .credibility__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .credibility__number {
    font-size: 32px;
  }

  .credibility__label {
    font-size: 12px;
  }

  .hero__copy h1 {
    font-size: 28px;
  }

  .abstract--hero {
    max-width: 100%;
    max-height: 320px;
  }

  .mock-toolbar__info {
    display: none;
  }

  .mock-toolbar__btn--outline {
    display: none;
  }

  .mock-step__desc {
    font-size: 10px;
  }

  .nav {
    padding: 16px 4vw;
  }

  .nav__cta .btn {
    font-size: 13px;
    padding: 8px 16px;
  }

  .footer {
    padding: 32px 4vw 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════
   MULTI-PAGE: Shared Components
   ═══════════════════════════════════════════════════ */

/* ─────────────── Nav Dropdown ─────────────── */

.nav__item {
  position: relative;
}

.nav__item-label {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav__item-label::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.5;
  transition: transform 200ms ease;
}

.nav__item:hover .nav__item-label::after {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 200px;
  padding: 6px 0;
  background: rgba(14, 14, 18, 0.97);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  z-index: 20;
  backdrop-filter: blur(16px);
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  display: block;
}

.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  color: var(--fg-3);
  font-weight: 500;
  transition: background 150ms ease, color 150ms ease;
}

.nav__dropdown a:hover,
.nav__dropdown a.is-active {
  background: rgba(45, 212, 191, 0.08);
  color: var(--fg-1);
}

/* ─────────────── Nav Burger ─────────────── */

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-s);
  color: var(--fg-2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 200ms ease;
}

.nav__burger:hover {
  border-color: var(--accent);
}

@media (max-width: 960px) {
  .nav__burger {
    display: flex;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 61px;
    background: var(--bg-0);
    padding: 16px 6vw 40px;
    gap: 0;
    z-index: 50;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links > a,
  .nav__links > .nav__item {
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border-1);
    display: block;
    width: 100%;
  }

  .nav__links > .nav__item .nav__item-label {
    font-size: 18px;
    font-weight: 500;
  }

  .nav__item .nav__dropdown {
    display: none;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 8px 0 0 16px;
    min-width: 0;
  }

  .nav__item.is-open .nav__dropdown {
    display: block;
  }

  .nav__item .nav__dropdown a {
    padding: 10px 0;
    font-size: 16px;
  }

  .nav__item:hover .nav__dropdown {
    display: none;
  }

  .nav__item.is-open .nav__dropdown {
    display: block;
  }
}

/* ─────────────── Footer Multi-page ─────────────── */

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-1);
  margin-bottom: 20px;
}

.footer__columns {
  display: flex;
  gap: 56px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--fg-4);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 16px;
  color: var(--fg-3);
  transition: color 200ms ease;
}

.footer__col a:hover {
  color: var(--fg-1);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__email {
  font-size: 14px;
  color: var(--accent);
  transition: opacity 200ms ease;
}

.footer__email:hover {
  opacity: 0.8;
}

@media (max-width: 720px) {
  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__columns {
    flex-direction: column;
    gap: 24px;
  }
}

/* ─────────────── Page Hero (subpages) ─────────────── */

.hero--page {
  min-height: auto !important;
  padding-top: 48px;
  padding-bottom: 24px;
}

.hero--page .hero__copy h1 {
  font-size: clamp(28px, 4vw, 48px);
}

/* ─────────────── Homepage: Pillars Grid ─────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.pillar-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  border: 1px solid var(--border-1);
  display: grid;
  gap: 18px;
  transition: border-color 200ms ease, transform 200ms ease;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  border-radius: inherit;
}

.pillar-card:hover::after { opacity: 1; }
.pillar-card:hover { transform: translateY(-4px); }

.pillar-card--mint::before { background: linear-gradient(90deg, var(--accent-mint), transparent); }
.pillar-card--blue::before { background: linear-gradient(90deg, var(--accent-blue), transparent); }
.pillar-card--violet::before { background: linear-gradient(90deg, var(--accent-violet), transparent); }

.pillar-card--mint::after { background: radial-gradient(circle at 20% 10%, rgba(45, 212, 191, 0.12), transparent 60%); }
.pillar-card--blue::after { background: radial-gradient(circle at 20% 10%, rgba(96, 165, 250, 0.12), transparent 60%); }
.pillar-card--violet::after { background: radial-gradient(circle at 20% 10%, rgba(167, 139, 250, 0.12), transparent 60%); }

.pillar-card--mint:hover { border-color: rgba(45, 212, 191, 0.4); }
.pillar-card--blue:hover { border-color: rgba(96, 165, 250, 0.4); }
.pillar-card--violet:hover { border-color: rgba(167, 139, 250, 0.4); }

.pillar-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.pillar-card--mint .pillar-card__icon {
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.3), rgba(45, 212, 191, 0.08));
  border: 1px solid rgba(45, 212, 191, 0.5);
  color: var(--accent-mint);
  box-shadow: 0 6px 16px rgba(45, 212, 191, 0.2);
}

.pillar-card--blue .pillar-card__icon {
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0.08));
  border: 1px solid rgba(96, 165, 250, 0.5);
  color: var(--accent-blue);
  box-shadow: 0 6px 16px rgba(96, 165, 250, 0.2);
}

.pillar-card--violet .pillar-card__icon {
  background: linear-gradient(160deg, rgba(167, 139, 250, 0.3), rgba(167, 139, 250, 0.08));
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: var(--accent-violet);
  box-shadow: 0 6px 16px rgba(167, 139, 250, 0.2);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-1);
  line-height: 1.3;
}

.pillar-card p {
  font-size: 16px;
  color: var(--fg-3);
  line-height: 1.75;
}

.pillar-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pillar-card__badges span {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: var(--fg-3);
}

.pillar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: gap 200ms ease;
}

.pillar-card--mint .pillar-card__link { color: var(--accent-mint); }
.pillar-card--blue .pillar-card__link { color: var(--accent-blue); }
.pillar-card--violet .pillar-card__link { color: var(--accent-violet); }

.pillar-card:hover .pillar-card__link {
  gap: 10px;
}

/* ─────────────── Contact Form ─────────────── */

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 520px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 15px;
  color: var(--fg-3);
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-1);
  background: var(--bg-2);
  color: var(--fg-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%237f7f93' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

@media (max-width: 720px) {
  .hero__grid[style] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

@media (max-width: 520px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* ─────────────── CTA Section (shared) ─────────────── */

.cta-section {
  text-align: center;
  padding: 72px 24px;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 40px);
  color: var(--fg-1);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 18px;
  color: var(--fg-2);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.75;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-section__email {
  font-size: 15px;
  color: var(--fg-4);
}

/* ─────────────── Active Page Indicator ─────────────── */

.nav__item-label.is-active,
.nav__links > a.is-active {
  color: var(--fg-1);
}

.nav__links > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

/* ─────────────── Homepage Hero ─────────────── */

.hero--home {
  min-height: auto !important;
  padding-top: 72px;
  padding-bottom: 40px;
}

.hero--home .hero__copy {
  gap: 22px;
}

.hero--home .hero__copy h1 {
  font-size: clamp(34px, 4.4vw, 56px);
}

.hero__separator {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 16px;
  opacity: 0.5;
}

/* ─────────────── Tool Cards (products, compact) ─────────────── */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.tool-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.96), rgba(10, 12, 16, 0.95));
  border: 1px solid var(--border-1);
  display: grid;
  gap: 12px;
  transition: border-color 200ms ease, transform 200ms ease;
  overflow: hidden;
}

.tool-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  border-radius: inherit;
}

.tool-card:hover::after { opacity: 1; }
.tool-card:hover { transform: translateY(-3px); }

.tool-card--mint::before { background: linear-gradient(180deg, var(--accent-mint), transparent); }
.tool-card--blue::before { background: linear-gradient(180deg, var(--accent-blue), transparent); }

.tool-card--mint::after { background: radial-gradient(circle at 10% 30%, rgba(45, 212, 191, 0.08), transparent 60%); }
.tool-card--blue::after { background: radial-gradient(circle at 10% 30%, rgba(96, 165, 250, 0.08), transparent 60%); }

.tool-card--mint:hover { border-color: rgba(45, 212, 191, 0.3); }
.tool-card--blue:hover { border-color: rgba(96, 165, 250, 0.3); }

.tool-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tool-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.tool-card--mint .tool-card__icon {
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.25), rgba(45, 212, 191, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: var(--accent-mint);
}

.tool-card--blue .tool-card__icon {
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.25), rgba(96, 165, 250, 0.06));
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: var(--accent-blue);
}

.tool-card__header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg-1);
  line-height: 1.3;
}

.tool-card p {
  font-size: 15px;
  color: var(--fg-3);
  line-height: 1.7;
}

.tool-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: gap 200ms ease;
}

.tool-card--mint .tool-card__link { color: var(--accent-mint); }
.tool-card--blue .tool-card__link { color: var(--accent-blue); }

.tool-card:hover .tool-card__link {
  gap: 10px;
}
