:root {
  --primary: #ffffff;
  --on-primary: #000000;
  --accent-blue: #0099ff;
  --ink: #ffffff;
  --ink-muted: #999999;
  --canvas: #090909;
  --surface-1: #141414;
  --surface-2: #1c1c1c;
  --hairline: #262626;
  --hairline-soft: #1a1a1a;
  --gradient-magenta: #d44df0;
  --gradient-violet: #6a4cf5;
  --gradient-orange: #ff7a3d;
  --gradient-coral: #ff5577;

  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 15px;
  --r-xl: 20px;
  --r-xxl: 30px;
  --r-pill: 100px;
  --r-full: 9999px;

  --sp-hair: 1px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 15px;
  --sp-lg: 20px;
  --sp-xl: 30px;
  --sp-xxl: 40px;
  --sp-section: clamp(56px, 8vw, 96px);

  --container-max: 1199px;

  color-scheme: dark;
}

* { box-sizing: border-box; }

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-lg);
  z-index: 1000;
  background: var(--primary);
  color: var(--on-primary);
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: var(--sp-lg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11" 1, "cv01" 1, "ss03" 1, "dlig" 1;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-xl);
}

.section { padding: var(--sp-section) 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin: 0 0 var(--sp-md);
}

.display-xxl {
  font-family: "Inter", sans-serif;
  font-size: clamp(44px, 8.5vw, 108px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
}

.display-xl {
  font-size: clamp(36px, 6vw, 85px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
}

.display-lg {
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 var(--sp-xl);
}

.display-md {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.headline {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

.subhead {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  margin: 0;
}

.body-lg {
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.body-sm {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.caption {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.micro {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.wordmark {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,9,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline-soft);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

.nav-links {
  display: flex;
  gap: var(--sp-xl);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a { color: var(--ink-muted); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  min-height: 44px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible,
.nav-links a:focus-visible,
.link-arrow:focus-visible,
.choice-card:focus-within,
.faq-q:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { opacity: 0.88; }

.btn-secondary { background: var(--surface-1); color: var(--ink); border: 1px solid var(--hairline); }
.btn-secondary:hover { background: var(--surface-2); }

.btn-translucent {
  background: rgba(255,255,255,0.14);
  color: var(--ink);
  border-radius: var(--r-xxl);
  backdrop-filter: blur(6px);
}
.btn-translucent:hover { background: rgba(255,255,255,0.22); }

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

.link-arrow {
  color: var(--accent-blue);
  font-size: 15px;
  font-weight: 500;
}
.link-arrow:hover { text-decoration: underline; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 140px) 0 var(--sp-section);
  text-align: center;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 0%, transparent 35%, var(--canvas) 92%);
  pointer-events: none;
}
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero .display-xxl { max-width: 900px; margin: 0 auto; }
.hero-sub {
  max-width: 620px;
  margin: var(--sp-xl) auto 0;
  color: var(--ink-muted);
  text-align: center;
}
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  margin-top: var(--sp-xxl);
  flex-wrap: wrap;
}
.hero-note {
  margin-top: var(--sp-xl);
  color: var(--ink-muted);
}

.vertical-pills {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-xxl);
}
.vertical-pill {
  padding: 8px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.serve-intro { max-width: 720px; margin: 0 0 var(--sp-xl); color: var(--ink-muted); }

/* Gradient spotlight cards */
.gradient-spotlight-card {
  border-radius: var(--r-xxl);
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
}
.gradient-violet { background: linear-gradient(135deg, #7a5cf7 0%, var(--gradient-violet) 60%, #4a35b8 100%); }
.gradient-magenta { background: linear-gradient(135deg, #e468f5 0%, var(--gradient-magenta) 55%, #a238b8 100%); }
.gradient-spotlight-card .subhead { color: #fff; max-width: 720px; margin: 0 auto; }

.spotlight-band { padding-top: 0; }

/* Card grid / services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.surface-card {
  background: var(--surface-1);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
}
.card-title { margin-bottom: var(--sp-sm); }
.card-hook { color: var(--ink); font-weight: 500; margin-bottom: var(--sp-sm); }

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.case-grid { grid-template-columns: repeat(2, 1fr); }
.case-card { display: flex; flex-direction: column; }
.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: var(--sp-sm);
}
.case-tag { color: var(--ink-muted); text-transform: uppercase; margin-bottom: var(--sp-xs); }
.case-card .card-title { margin-top: var(--sp-xxs); }

/* Feature rows / approach */
.feature-rows { display: flex; flex-direction: column; gap: 0; }
.feature-row {
  display: flex;
  gap: var(--sp-xl);
  align-items: flex-start;
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.feature-row:last-child { border-bottom: none; }
.step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-blue);
  min-width: 40px;
}
.feature-row .headline { margin-bottom: var(--sp-xs); }

/* Guarantee / engagement */
.guarantee-banner {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  margin-top: var(--sp-xl);
  text-align: center;
}
.guarantee-label { color: var(--accent-blue); text-transform: uppercase; margin-bottom: var(--sp-xs); }
.guarantee-banner .body-lg { color: var(--ink); max-width: 640px; margin: 0 auto; }

.pricing-footnote { margin-top: var(--sp-lg); text-align: center; }
.pricing-footnote a { color: var(--accent-blue); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-xxl);
  align-items: start;
}
.about-p { margin-top: var(--sp-lg); margin-bottom: var(--sp-xl); }

.guardrail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.guardrail {
  background: var(--surface-1);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
}
.guardrail-label { color: var(--ink); margin-bottom: var(--sp-xxs); }
.guardrail-body { color: var(--ink-muted); }

/* Readiness checklist */
.readiness-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-xxl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  max-width: 720px;
}
.readiness-item {
  display: flex;
  gap: var(--sp-md);
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.readiness-box {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 2px 0 0;
  border: 1px solid var(--hairline);
  border-radius: var(--r-xs);
  background: var(--canvas);
  position: relative;
  cursor: pointer;
}
.readiness-box:checked {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
}
.readiness-box:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--on-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.readiness-box:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.faq-row {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  text-align: left;
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-lg);
  cursor: pointer;
  font-family: inherit;
}
.faq-icon {
  font-size: 20px;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-row.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 var(--sp-xl);
}
.faq-a p { margin: 0 0 var(--sp-lg); }
.faq-row.open .faq-a { max-height: 300px; }

/* Final CTA */
.final-cta { padding: clamp(48px, 8vw, 80px) clamp(24px, 6vw, 56px); }
.final-cta .display-lg { color: #fff; margin-bottom: var(--sp-md); }
.final-cta .body-lg { color: rgba(255,255,255,0.85); margin-bottom: var(--sp-xl); }

/* Footer */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline-soft);
  padding: 64px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-xxl);
  padding-bottom: var(--sp-xxl);
}
.footer-brand p { margin: 0 0 var(--sp-xs); }
.footer-brand .caption { color: var(--ink-muted); }
.footer-col { display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer-heading { color: var(--ink-muted); text-transform: uppercase; margin: 0 0 var(--sp-xs); }
.footer-col a { color: var(--ink-muted); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline-soft);
  padding-top: var(--sp-lg);
}
.footer-bottom .micro { margin: 0; }

/* Assessment */
.container-narrow { max-width: 680px; }
.assessment-header { padding-bottom: var(--sp-lg); }
.assessment-form-section { padding-top: 0; }

.form-progress {
  width: 100%;
  height: 4px;
  background: var(--surface-1);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--sp-sm);
}
.form-progress-fill {
  height: 100%;
  background: var(--accent-blue);
  transition: width 0.25s ease;
}
.form-step-label { color: var(--ink-muted); margin: 0 0 var(--sp-xl); }

.form-step { display: none; border: none; padding: 0; margin: 0; }
.form-step.active { display: block; }
.form-step-title { margin-bottom: var(--sp-xl); }

.form-group { margin-bottom: var(--sp-xl); }
.form-label { color: var(--ink); margin-bottom: var(--sp-md); }
.form-group label.body-sm { display: block; color: var(--ink); margin-bottom: var(--sp-sm); }

.text-input {
  width: 100%;
  background: var(--surface-1);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.text-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15);
}
textarea.text-input { resize: vertical; }

.choice-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.choice-card {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  min-height: 44px;
  padding: var(--sp-md) var(--sp-lg);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 15px;
  color: var(--ink);
}
.choice-card:hover { border-color: var(--ink-muted); }
.choice-card.selected {
  border-color: var(--accent-blue);
  background: var(--surface-2);
  box-shadow: 0 0 0 1px rgba(0, 153, 255, 0.35);
}
.choice-card input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--hairline);
  background: var(--canvas);
  margin: 0;
  position: relative;
  cursor: pointer;
}
.choice-card input[type="radio"] { border-radius: var(--r-full); }
.choice-card input[type="checkbox"] { border-radius: var(--r-xs); }
.choice-card input:checked {
  border-color: var(--accent-blue);
  background: var(--accent-blue);
}
.choice-card input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: var(--r-full);
  background: var(--on-primary);
}
.choice-card input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--on-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-error {
  color: var(--ink);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-sm) var(--sp-md);
  margin: 0 0 var(--sp-lg);
}
.form-error:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.form-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}
.form-nav-buttons #btn-next,
.form-nav-buttons #btn-submit { margin-left: auto; }

.form-success { text-align: center; padding: var(--sp-xxl) 0; }
.form-success .body-lg { color: var(--ink-muted); margin: var(--sp-md) 0 var(--sp-xl); }

/* Responsive */
@media (max-width: 810px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .guardrail-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline-soft);
    flex-direction: column;
    gap: 0;
    padding: var(--sp-sm) var(--sp-xl) var(--sp-lg);
  }
  .nav-links a { padding: var(--sp-sm) 0; }
  .nav-links.nav-links-open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { padding: 10px 18px; }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .container { padding: 0 var(--sp-lg); }
}
