:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0b0d;
  --surface: #14171d;
  --ink: #ffffff;
  --mute: #9ca3ad;
  --accent: #6B76FF;
  --accent-ink: #0a0b0d;
  --border: #262b35;
  --danger: #f07178;
  --ok: #7dcea0;
  --link-hover: #9aa2ff;
  --inset: #0d0f13;
  --brand-mark-bg: #000;
  --warn: #e6c07b;
  --range-track: #262b35;
  --elev: 0 18px 40px color-mix(in srgb, #000 35%, transparent);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1120px;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #12141a;
  --mute: #5c6270;
  --accent: #6B76FF;
  --accent-ink: #ffffff;
  --border: #ddd8cd;
  --danger: #c2464e;
  --ok: #2f8a5b;
  --link-hover: #4d56d4;
  --inset: #efece6;
  --brand-mark-bg: transparent;
  --warn: #9a6f16;
  --range-track: #ddd8cd;
  --elev: 0 16px 36px color-mix(in srgb, #12141a 8%, transparent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--link-hover); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
p { margin: 0 0 1em; color: var(--mute); }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--brand-mark-bg);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.88rem;
}
.nav a {
  color: var(--mute);
  text-decoration: none;
}
.nav a:hover, .nav a:focus-visible { color: var(--ink); }
.nav-cta {
  color: var(--ink) !important;
  border: 1px solid var(--border);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.nav-cta:hover { border-color: var(--accent); }

.masthead-tools {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
}
.theme-toggle {
  appearance: none;
  flex: 0 0 auto;
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.theme-icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: none;
}
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: block; }

[data-theme="light"] .masthead {
  background: color-mix(in srgb, var(--bg) 82%, var(--surface));
}
[data-theme="light"] .steps,
[data-theme="light"] .grid-4,
[data-theme="light"] .wizard,
[data-theme="light"] .panel,
[data-theme="light"] .product-cta {
  box-shadow: var(--elev);
}
[data-theme="light"] .product-cta {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--surface)) 0%, var(--surface) 48%),
    var(--surface);
}
[data-theme="light"] .btn-primary:hover { filter: brightness(0.96); }


.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.hero {
  display: grid;
  gap: 2.5rem;
  padding: clamp(2.5rem, 8vw, 6rem) 0 clamp(3rem, 8vw, 5rem);
  align-items: center;
}
.lede { font-size: 1.08rem; max-width: 40rem; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  line-height: 1.2;
}
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.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(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); }
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hero-media { justify-self: center; }
.portrait {
  margin: 0;
  max-width: 360px;
  padding: 4px;
  background: var(--accent);
  border-radius: 3px;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}
.grid-4 h3 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.card-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.section { padding: clamp(2.25rem, 6vw, 4.125rem) 0; }
#form, #wizard { scroll-margin-top: 72px; }
.section-head { max-width: 38rem; margin-bottom: 2rem; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.steps li {
  background: var(--surface);
  padding: 1.4rem 1.3rem 1.5rem;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.grid-4 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.grid-4 li {
  background: var(--surface);
  padding: 1.4rem 1.3rem 1.5rem;
}

.product-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: clamp(1.5rem, 4vw, 2.15rem) clamp(1.3rem, 4vw, 2rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, var(--surface)) 0%, var(--surface) 42%),
    var(--surface);
  border: 1px solid var(--border);
  position: relative;
}
.product-cta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}
.product-cta-copy {
  max-width: 38rem;
  padding-left: 0.35rem;
}
.product-cta-copy .kicker {
  margin-bottom: 0.45rem;
}
.product-cta-copy p:last-child {
  margin: 0;
  color: var(--mute);
  font-size: 1.05rem;
}
.product-cta-btn {
  padding: 0.95rem 1.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}
.product-cta-btn:hover {
  filter: brightness(1.08);
}

.experience-copy {
  max-width: 46rem;
}
.experience-copy p {
  color: var(--mute);
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
}
.experience-copy p:last-child { margin-bottom: 0; }
.lines {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.lines li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--mute);
  max-width: 46rem;
}

.callout {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  position: relative;
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
}

.form { display: grid; gap: 1rem; max-width: 44rem; }
.form-grid {
  display: grid;
  gap: 1rem;
}
.form label { display: grid; gap: 0.4rem; }
.form label span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
input, select, textarea {
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.7rem 0.8rem;
  font: inherit;
}
textarea { resize: vertical; min-height: 5.5rem; }
.honey {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: 0.92rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.4rem;
  min-height: 8rem;
}
.placeholder {
  color: var(--mute);
}
.placeholder code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--ink);
  background: var(--inset);
  padding: 0.1em 0.35em;
  border: 1px solid var(--border);
}
.desk {
  display: grid;
  gap: 1rem;
}
.voice-embed {
  display: block;
  width: 100%;
  min-height: 520px;
  height: 62vh;
  border: 0;
  border-radius: 10px;
  background: var(--inset);
}
.voice-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}
.mono-label, .voice-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.voice-status { color: var(--mute); }
.voice-status.live { color: var(--ok); }
.voice-status.warn { color: var(--warn); }
.voice-status.err { color: var(--danger); }
.hint { font-size: 0.88rem; margin: 0.85rem 0 0; }
.transcript {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
  min-height: 4rem;
}
.bubble {
  border: 1px solid var(--border);
  background: var(--inset);
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  color: var(--ink);
}
.bubble .who {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.phone-row {
  display: grid;
  gap: 0.4rem;
}
.phone-row .num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
}
.phone-row .num[aria-disabled="true"] {
  color: var(--mute);
  pointer-events: none;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  gap: 0.6rem;
  align-items: center;
}
.footer-inner p {
  margin: 0;
  line-height: 1.2;
}
.mute { color: var(--mute); }

@media (min-width: 720px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .desk { grid-template-columns: 1.4fr 0.8fr; }
  .nav { gap: 1.25rem; }
}

@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (max-width: 520px) {
  .nav a:not(.nav-cta) { display: none; }
}

.wizard {
  width: 100%;
  max-width: none;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: clamp(1.4rem, 4vw, 2rem);
}
.wiz-bar {
  height: 2px;
  background: var(--border);
  margin-bottom: 1.1rem;
}
.wiz-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}
.wiz-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 1.4rem;
  margin-bottom: 1.4rem;
}
.wiz-back {
  appearance: none;
  background: none;
  border: 0;
  color: var(--mute);
  font: inherit;
  font-size: 0.88rem;
  padding: 0;
  cursor: pointer;
}
.wiz-back:hover { color: var(--ink); }
.wiz-count {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.wiz-q {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.45rem;
}
.wiz-help { margin: 0 0 1.3rem; }
.wiz-opts { display: grid; gap: 0.6rem; }
.wiz-opts.is-tiles {
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.5rem;
}
.wiz-opts.is-tiles .wiz-opt {
  padding: 0.9rem 0.7rem 0.75rem;
  text-align: center;
  justify-items: center;
  min-height: 4.7rem;
  align-content: center;
  gap: 0.4rem;
}
.wiz-opts.is-tiles .wiz-opt b {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
}

.wiz-opts.is-cols {
  grid-template-columns: 1fr;
}
.wiz-opts.is-cols .wiz-opt {
  min-width: 0;
  height: 100%;
  align-content: start;
  text-align: left;
}
@media (min-width: 640px) {
  .wiz-opts.is-cols {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .wiz-opts.is-cols .wiz-opt {
    padding: 0.8rem 0.85rem;
  }
}
.wiz-opt-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.wiz-opt {
  text-align: left;
  width: 100%;
  appearance: none;
  background: var(--inset);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 1rem 1.05rem;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.15s, background 0.15s;
}
.wiz-opt:hover, .wiz-opt.is-on {
  border-color: var(--accent);
}
.wiz-opt b {
  font-family: var(--font-display);
  font-weight: 500;
}
.wiz-opt span { color: var(--mute); font-size: 0.92rem; }
.wiz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}
.wiz-chip {
  appearance: none;
  background: var(--inset);
  color: var(--ink);
  border: 1px solid var(--border);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
}
.wiz-chip.is-on { border-color: var(--accent); }
.wiz-fields { display: grid; gap: 0.85rem; margin-bottom: 1.2rem; }
.wiz-fields.is-split { grid-template-columns: 1fr 1fr; }
.wiz-fields label span {
  display: block;
  font-size: 0.82rem;
  color: var(--mute);
  margin-bottom: 0.35rem;
}
@media (max-width: 520px) {
  .wiz-fields.is-split { grid-template-columns: 1fr; }
}
.wiz-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-top: 1.5rem; }
.wiz-end p { margin-bottom: 1.1rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.wiz-fields input {
  font-size: 1.05rem;
  min-height: 3rem;
}
.wiz-months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.wiz-month {
  appearance: none;
  background: var(--inset);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.85rem 0.4rem;
  cursor: pointer;
  font: inherit;
  display: grid;
  gap: 0.15rem;
  min-height: 4.2rem;
}
.wiz-month b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.wiz-month span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.wiz-month.is-on, .wiz-month:hover { border-color: var(--accent); }
@media (max-width: 520px) {
  .wizard { padding: 1.15rem; }
  .wiz-opt { padding: 0.95rem 0.9rem; }
  .wiz-months { grid-template-columns: repeat(3, 1fr); gap: 0.45rem; }
  .wiz-month { min-height: 3.8rem; padding: 0.7rem 0.25rem; }
}

.wiz-fields label em {
  font-style: normal;
  font-weight: 400;
  color: var(--mute);
}
.wiz-other { margin-top: 0.9rem; }
.wiz-range { margin: 0.4rem 0 0.2rem; }
.wiz-range-scale {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mute);
}
.wiz-range-scale strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
}
.wiz-range input[type="range"] {
  padding: 0;
  height: 0.45rem;
  background: var(--range-track);
  accent-color: var(--accent);
  cursor: pointer;
  border: 0;
}

[data-theme="light"] .brand-mark { border-color: transparent; }

.discovery-hero { padding-top: clamp(2.5rem, 7vw, 4.5rem); padding-bottom: clamp(3rem, 8vw, 5.5rem); }
.discovery-hero .section-head h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
@media (min-width: 980px) {
  .footer-inner { grid-template-columns: 1fr auto auto auto; }
}
