/* focale design tokens — from landing-page-design + redesign-existing-projects */
:root {
  /* Approved dark surfaces only */
  --bg: #000000;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --surface-3: #272727;
  --surface-4: #313131;
  --surface-warm: #131209;

  --border: #272727;
  --border-strong: #313131;

  --text: #ffffff;
  --muted: #9b9b9b;
  --faint: #666666;

  /* Single accent — calm amber, sat under 80% */
  --accent: #d4a017;
  --accent-ink: #131209;
  --danger: #e05a5a;
  --ok: #3cb88a;
  --warn: #d4a017;

  /* Spacing scale (skill only) */
  --s-0: 0;
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* Tailwind radius scale */
  --radius-sm: 0.125rem; /* 2px */
  --radius: 0.25rem; /* 4px */
  --radius-md: 0.375rem; /* 6px */
  --radius-lg: 0.5rem; /* 8px */
  --radius-xl: 0.75rem; /* 12px */
  --radius-2xl: 1rem; /* 16px */
  --radius-3xl: 1.5rem; /* 24px */
  --radius-full: 9999px;

  /* Motion — fluid dynamics */
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-micro: 200ms;
  --dur-base: 700ms;
  --dur-reveal: 800ms;

  --font: "Geist", "Geist Sans", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1200px;
  --hero-measure: 680px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.55);

  --z-nav: 40;
  --z-menu: 50;
  --z-sticky: 45;
  --z-skip: 60;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5; /* text-base */
  font-size: 1rem; /* 16px */
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle grain for depth — not a gradient background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

body > * {
  position: relative;
  z-index: 2;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-fluid);
}

a:hover {
  color: var(--text);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-200);
  top: -100px;
  z-index: var(--z-skip);
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.875rem; /* text-sm */
}

.skip-link:focus {
  top: var(--s-200);
  color: var(--accent-ink);
}

.container {
  width: min(100% - var(--s-400), var(--max));
  margin-inline: auto;
}

@media (max-width: 700px) {
  .container {
    width: min(100% - var(--s-400), var(--max));
  }
}

/* —— Island nav (B7) —— */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding: var(--s-300) var(--s-200) 0;
  pointer-events: none;
}

.nav-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  width: max-content;
  max-width: calc(100% - var(--s-0));
  margin-inline: auto;
  padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  border-radius: var(--radius-full);
  background: rgba(24, 24, 24, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1rem;
}

.logo:hover {
  color: var(--text);
}

.mark {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}

.mark::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-200);
}

.nav-link {
  color: var(--muted);
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-micro) var(--ease-fluid);
}

.nav-link:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  color: var(--text);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  margin: 0 auto;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  border-radius: var(--radius-full);
  transition: transform var(--dur-base) var(--ease-fluid), top var(--dur-base) var(--ease-fluid),
    opacity var(--dur-micro) var(--ease-fluid);
}

.nav-toggle-bars span:first-child {
  top: 2px;
}

.nav-toggle-bars span:last-child {
  top: 9px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child {
  top: 5.5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child {
  top: 5.5px;
  transform: rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-700) var(--s-400);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-fluid), visibility var(--dur-base) var(--ease-fluid);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu[hidden] {
  display: flex !important;
  pointer-events: none;
}

.mobile-menu.is-open[hidden] {
  pointer-events: auto;
}

.mobile-menu-panel {
  display: flex;
  flex-direction: column;
  gap: var(--s-300);
  width: min(100%, 360px);
  text-align: center;
}

.mobile-link {
  color: var(--text);
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity var(--dur-base) var(--ease-fluid), transform var(--dur-base) var(--ease-fluid);
  transition-delay: calc(var(--i, 0) * 50ms + 80ms);
}

.mobile-menu.is-open .mobile-link,
.mobile-menu.is-open .mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-cta {
  margin-top: var(--s-200);
  opacity: 0;
  transform: translateY(48px);
  transition: opacity var(--dur-base) var(--ease-fluid), transform var(--dur-base) var(--ease-fluid),
    background var(--dur-micro) var(--ease-fluid);
  transition-delay: calc(var(--i, 0) * 50ms + 80ms);
}

/* —— Buttons —— */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem; /* text-base */
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius-full);
  padding: var(--s-75) var(--s-100); /* 8px 12px main buttons */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  transition: transform var(--dur-micro) var(--ease-fluid), background var(--dur-base) var(--ease-fluid),
    border-color var(--dur-base) var(--ease-fluid), opacity var(--dur-micro) var(--ease-fluid),
    color var(--dur-micro) var(--ease-fluid), filter var(--dur-micro) var(--ease-fluid);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: var(--accent-ink);
}

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

.btn-ghost:hover {
  border-color: var(--muted);
  color: var(--text);
  background: var(--surface);
}

.btn-sm {
  padding: var(--s-75) var(--s-100);
  font-size: 0.875rem; /* text-sm header buttons */
}

/* —— Hero —— */
.hero {
  padding: var(--s-700) 0 var(--s-500);
  min-height: min(100dvh, 920px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-600);
  align-items: center;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--muted);
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  margin: 0 0 var(--s-200);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(60, 184, 138, 0.5);
  animation: pulse 2.4s var(--ease-fluid) infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(60, 184, 138, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(60, 184, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(60, 184, 138, 0);
  }
}

.hero-title {
  max-width: var(--hero-measure);
  font-size: 3rem; /* text-5xl */
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-200);
  font-weight: 700;
  text-wrap: balance;
  /* Hero heading gradient only (B5) */
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-muted {
  display: block;
  margin-top: var(--s-75);
}

.lead {
  color: var(--muted);
  font-size: 1.125rem; /* text-lg */
  line-height: 1.55;
  max-width: var(--hero-measure);
  margin: 0 0 var(--s-300);
  text-wrap: pretty;
}

/* Form card — nested radius: outer 16px, gap 8px → inner 8px */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl); /* 16px */
  padding: var(--s-75);
  box-shadow: var(--shadow);
  max-width: 520px;
}

.form-card-center {
  margin-inline: auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-75);
  align-items: center;
}

.form-row input[type="email"],
.form-row input[type="text"],
textarea {
  width: 100%;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-full);
  padding: var(--s-100) var(--s-200);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--dur-micro) var(--ease-fluid), box-shadow var(--dur-micro) var(--ease-fluid);
}

textarea {
  border-radius: var(--radius-lg); /* 8px nested */
  min-height: 96px;
  resize: vertical;
  width: 100%;
  padding: var(--s-100) var(--s-200);
}

.form-row input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.18);
}

.form-row input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.form-row input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(224, 90, 90, 0.15);
}

.form-row .btn {
  padding: var(--s-100) var(--s-300);
}

.micro {
  margin: var(--s-100) 0 0;
  color: var(--faint);
  font-size: 0.875rem; /* text-sm */
  line-height: 1.4;
}

.secondary-cta {
  margin-top: var(--s-200);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-100) var(--s-200);
  align-items: center;
}

.secondary-cta a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-micro) var(--ease-fluid), border-color var(--dur-micro) var(--ease-fluid);
}

.secondary-cta a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.secondary-cta-center {
  justify-content: center;
}

/* —— Product visual —— */
.product-visual {
  position: relative;
}

.pv-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl); /* 24px */
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pv-chrome {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-200);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.pv-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--surface-4);
}

.pv-dot:nth-child(1) {
  background: #e05a5a88;
}
.pv-dot:nth-child(2) {
  background: #d4a01788;
}
.pv-dot:nth-child(3) {
  background: #3cb88a88;
}

.pv-title {
  margin-left: var(--s-75);
  font-family: var(--mono);
  font-size: 0.75rem; /* text-xs */
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.pv-body {
  padding: var(--s-200);
  position: relative;
  background: var(--bg);
}

.pv-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  margin-bottom: var(--s-200);
}

.pv-status-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--s-50) var(--s-100);
  border-radius: var(--radius-full);
  background: rgba(212, 160, 23, 0.12);
  color: var(--warn);
  border: 1px solid rgba(212, 160, 23, 0.25);
}

.pv-pulse {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
  animation: pulse 2s var(--ease-fluid) infinite;
}

.pv-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.pv-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-75);
  margin-bottom: var(--s-200);
}

.pv-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl); /* 12px — outer 24 gap 16 → 8 would be lg; use xl for breathing */
  padding: var(--s-100);
  display: flex;
  flex-direction: column;
  gap: var(--s-25);
}

.pv-metric-label {
  font-size: 0.75rem;
  color: var(--faint);
}

.pv-metric-value {
  font-family: var(--mono);
  font-size: 1.125rem; /* text-lg */
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.pv-metric-delta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.is-danger {
  color: var(--danger);
}
.is-ok {
  color: var(--ok);
}
.is-warn {
  color: var(--warn);
}

.pv-timeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--s-100);
  margin-bottom: var(--s-600);
}

.pv-timeline-head {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: var(--s-100);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pv-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-75);
}

.pv-event {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-100);
  align-items: start;
  padding: var(--s-75);
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid transparent;
}

.pv-event.is-alert {
  border-color: rgba(224, 90, 90, 0.35);
  background: rgba(224, 90, 90, 0.06);
}

.pv-event.is-ok {
  border-color: rgba(60, 184, 138, 0.2);
}

.pv-event-time {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.pv-event-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pv-event-body strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.pv-event-body span {
  font-size: 0.75rem;
  color: var(--muted);
}

.pv-toast {
  position: absolute;
  right: var(--s-200);
  bottom: var(--s-200);
  left: var(--s-200);
  background: var(--surface-2);
  border: 1px solid rgba(224, 90, 90, 0.4);
  border-radius: var(--radius-xl);
  padding: var(--s-100) var(--s-200);
  display: flex;
  gap: var(--s-100);
  align-items: flex-start;
  animation: fadeUp var(--dur-base) var(--ease-fluid) both 0.25s;
  box-shadow: var(--shadow);
}

.pv-toast-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  background: rgba(224, 90, 90, 0.12);
  color: var(--danger);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pv-toast strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.pv-toast span {
  color: var(--muted);
  font-size: 0.75rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* —— Sections —— */
.section {
  padding: var(--s-800) 0;
}

.section-head {
  max-width: var(--hero-measure);
  margin-bottom: var(--s-500);
}

.section-head h2 {
  font-size: 1.875rem; /* text-3xl */
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 var(--s-100);
  font-weight: 700;
  text-wrap: balance;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem; /* text-lg */
  text-wrap: pretty;
}

/* Proof */
.proof {
  padding: 0 0 var(--s-400);
}

.proof-bar {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-200) var(--s-300);
  color: var(--muted);
  text-align: center;
  font-size: 0.875rem;
  background: var(--surface);
  text-wrap: pretty;
}

/* Tagline reveal B11 */
.tagline-reveal {
  padding: var(--s-800) 0;
}

.tagline-text {
  margin: 0;
  max-width: var(--hero-measure);
  font-size: clamp(2.25rem, 5vw, 3.75rem); /* text-4xl → text-6xl */
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.tagline-word {
  display: inline;
  color: rgba(255, 255, 255, 0.28); /* ~28% muted */
  transition: color var(--dur-base) var(--ease-fluid);
  margin-right: 0.28em;
}

.tagline-word.is-active {
  color: var(--text);
}

.tagline-break {
  display: block;
  margin-top: var(--s-200);
  margin-right: 0;
}

.tagline-break + .tagline-word {
  margin-left: 0;
}

/* Benefits asymmetric stack */
.benefit-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-200);
}

.benefit {
  display: flex;
  gap: var(--s-200);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-300);
}

.benefit-wide {
  grid-column: 1 / -1;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--surface-2);
  flex-shrink: 0;
}

.benefit h3 {
  margin: 0 0 var(--s-75);
  font-size: 1.25rem; /* text-xl */
  font-weight: 600;
  letter-spacing: -0.02em;
}

.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 48ch;
  text-wrap: pretty;
}

/* Jobs */
.jobs-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--s-200);
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-300);
  min-height: 160px;
}

.job-card:first-child {
  background: var(--surface-2);
}

.job-num {
  display: block;
  font-family: var(--mono);
  color: var(--faint);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s-100);
}

.job-card h3 {
  margin: 0 0 var(--s-75);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.job-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-200);
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-300);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(212, 160, 23, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: var(--s-200);
}

.step h3 {
  margin: 0 0 var(--s-75);
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  text-wrap: pretty;
}

.code {
  margin-top: var(--s-200);
  font-family: var(--mono);
  font-size: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); /* nested: 16 outer - 16 pad? pad is 24 so square-ish; use lg */
  padding: var(--s-100) var(--s-200);
  color: #c9c9c9;
  overflow-x: auto;
}

/* Split for/not */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-200);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-300);
}

.card h3 {
  margin: 0 0 var(--s-200);
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--s-75);
}

.badge-yes,
.badge-no {
  font-size: 0.75rem;
  padding: var(--s-25) var(--s-75);
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge-yes {
  background: rgba(60, 184, 138, 0.12);
  color: var(--ok);
}

.badge-no {
  background: rgba(224, 90, 90, 0.12);
  color: var(--danger);
}

.split ul {
  margin: 0;
  padding-left: var(--s-300);
  color: var(--muted);
}

.split li {
  margin: var(--s-75) 0;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-200);
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-300);
  display: flex;
  flex-direction: column;
  gap: var(--s-200);
  position: relative;
}

.price-card.featured {
  border-color: rgba(212, 160, 23, 0.5);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.12), var(--shadow);
}

.price-card .tag {
  position: absolute;
  top: var(--s-200);
  right: var(--s-200);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--radius);
  padding: var(--s-25) var(--s-75);
}

.price-card h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  min-height: 1.5em;
}

.price {
  font-size: 2.25rem; /* text-4xl */
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  min-height: 1.1em;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.price-card ul {
  margin: 0;
  padding-left: var(--s-300);
  color: var(--muted);
  flex: 1;
}

.price-card li {
  margin: var(--s-75) 0;
}

.coming {
  color: var(--faint);
  font-size: 0.875rem;
  margin: 0;
}

/* FAQ grid (not accordion) */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-200) var(--s-400);
}

.faq-item {
  padding: var(--s-200) 0;
  border-top: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0 0 var(--s-75);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 48ch;
  text-wrap: pretty;
}

/* Final CTA */
.final {
  padding: var(--s-400) 0 var(--s-800);
}

.final-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: var(--s-600) var(--s-400);
  text-align: center;
  box-shadow: var(--shadow);
}

.final-card h2 {
  margin: 0 0 var(--s-100);
  font-size: 2.25rem; /* text-4xl */
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
  background: linear-gradient(90deg, #ffffff 0%, #9b9b9b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.final-card .lead {
  margin-inline: auto;
  margin-bottom: var(--s-400);
}

/* Form states */
.success-panel {
  display: none;
  padding: var(--s-100) var(--s-75);
}

.success-panel.show {
  display: block;
  animation: fadeUp 0.5s var(--ease-fluid) both;
}

.success-panel h3 {
  margin: 0 0 var(--s-75);
  font-size: 1.125rem;
  font-weight: 600;
}

.success-panel p {
  margin: 0 0 var(--s-200);
  color: var(--muted);
  font-size: 0.875rem;
}

.form-wrap.hide {
  display: none;
}

.form-msg {
  margin: var(--s-75) 0 0;
  font-size: 0.875rem;
  min-height: 1.25em;
}

.form-msg.error {
  color: var(--danger);
}

.form-msg.ok {
  color: var(--ok);
}

.form-msg.loading {
  color: var(--muted);
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

/* Sticky mobile CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  padding: var(--s-100) var(--s-200) calc(var(--s-100) + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sticky-cta .btn {
  width: 100%;
  padding: var(--s-100) var(--s-200);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: var(--s-300) 0 var(--s-800);
  color: var(--faint);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--s-200);
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-sep {
  opacity: 0.5;
}

/* Thanks / 404 */
.thanks {
  min-height: 70dvh;
  display: grid;
  place-items: center;
  padding: var(--s-600) 0;
}

.thanks-card {
  width: min(100%, 560px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: var(--s-400);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin: 0 0 var(--s-100);
  font-size: 1.875rem; /* text-3xl */
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.thanks-card .lead {
  margin-bottom: var(--s-300);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
  margin-top: var(--s-200);
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(8px);
  transition: opacity var(--dur-reveal) var(--ease-fluid), transform var(--dur-reveal) var(--ease-fluid),
    filter var(--dur-reveal) var(--ease-fluid);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .benefit-stack,
  .jobs-grid,
  .steps,
  .pricing,
  .split,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .benefit-wide {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
    padding: var(--s-500) 0 var(--s-400);
  }

  .hero-title {
    font-size: 2.25rem; /* text-4xl */
  }

  .hide-sm {
    display: none !important;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-island {
    width: min(100%, 420px);
    padding-right: var(--s-50);
  }

  .nav-island .btn-sm {
    margin-left: auto;
  }
}

@media (max-width: 700px) {
  .sticky-cta.show {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row input[type="email"],
  .form-row .btn {
    width: 100%;
    border-radius: var(--radius-xl);
  }

  .form-row .btn {
    padding: var(--s-100) var(--s-200);
  }

  .final-card {
    padding: var(--s-400) var(--s-200);
  }

  .final-card h2 {
    font-size: 1.875rem;
  }

  .pv-metrics {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - var(--s-400), var(--max));
  }

  .tagline-text {
    font-size: 2.25rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .tagline-word {
    color: var(--text);
  }

  .live-dot,
  .pv-pulse {
    animation: none;
  }

  .pv-toast {
    animation: none;
  }
}
