:root {
  --bg: #000;
  --paper: #0c0c0c;
  --paper-strong: #151515;
  --ink: #fff;
  --muted: #c7c7c7;
  --line: #2b2b2b;
  --line-strong: #565656;
  --accent: #fff;
  --accent-soft: #1f1f1f;
  --accent-strong: #fff;
  --success: #8ee5b6;
  --shadow: none;
}

* { box-sizing: border-box; }
html {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}
p { margin: 0; }
.policy-content {
  max-width: 920px;
  margin-top: 42px;
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.policy-content h2 {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.1;
}
.policy-content ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}
.policy-content a,
.privacy-note a {
  color: var(--ink);
  font-weight: 700;
}
.shell { min-height: 100vh; }
.public-shell {
  background: var(--bg);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  width: clamp(176px, 24vw, 260px);
  height: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a {
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--accent);
}
.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: clamp(28px, 5vw, 64px);
  padding: 30px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-brand {
  display: grid;
  gap: 12px;
  max-width: 560px;
}
.footer-logo {
  display: inline-flex;
  width: fit-content;
}
.footer-logo img {
  display: block;
  width: clamp(156px, 20vw, 230px);
  height: auto;
}
.footer-brand p,
.footer-copyright {
  color: var(--muted);
  line-height: 1.5;
}
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.94rem;
}
.footer-actions a {
  font-weight: 700;
  text-decoration: none;
}
.footer-actions a:hover,
.footer-language-select:hover {
  color: var(--ink);
}
.footer-language-select {
  width: auto;
  min-width: 132px;
  min-height: 38px;
  border-color: var(--line-strong);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 8px 34px 8px 12px;
  font-weight: 700;
}
.footer-language-select:focus {
  outline: 2px solid rgba(255, 255, 255, 0.22);
  border-color: var(--accent);
}
.footer-copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}
.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lede {
  max-width: 920px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.55vw, 1.22rem);
  line-height: 1.62;
}
.lede.compact { max-width: 860px; }
.secondary-lede { max-width: 1180px; }
.hero-lede-wide { max-width: 1180px; }
.hero,
.page-hero,
.section,
.simple-page,
.consult-main {
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}
.hero-home,
.services-main,
.simple-page,
.consult-main {
  padding-top: clamp(40px, 7vw, 92px);
  padding-bottom: clamp(40px, 7vw, 92px);
}
.hero-home {
  display: block;
  padding-bottom: 24px;
}
.hero-copy,
.page-hero,
.service-card,
.flow-step,
.confirmation,
.about-card,
.callout-band,
.queue-list,
.record-detail {
  border-radius: 8px;
}
.hero-copy {
  max-width: min(1320px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.hero h1,
.page-hero h1,
.flow-intro h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  max-width: 1180px;
}
.hero-subheading {
  margin-top: 34px;
  max-width: 1040px;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.05;
}
.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
}
.btn.primary {
  background: var(--accent);
  color: #000;
}
.btn.primary:hover { background: #dcdcdc; }
.btn.secondary {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.panel-kicker,
.method-number {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.panel-list,
.service-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.5;
}
.section {
  padding-top: 24px;
  padding-bottom: 24px;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section h2,
.about-card h2,
.service-card h2,
.flow-step h2,
.confirmation h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.02;
}
.method-grid,
.service-preview-grid,
.about-grid,
.founders-grid {
  display: grid;
  gap: 16px;
}
.method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.method-card,
.service-preview,
.about-card,
.founder-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.method-card p,
.service-preview p,
.about-card p,
.founder-card p,
.service-card p,
.callout-band p {
  color: var(--muted);
  line-height: 1.6;
}
.text-link {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}
.services-main { max-width: 1400px; margin: 0 auto; }
.page-hero,
.callout-band {
  padding-top: 28px;
  padding-bottom: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.page-hero.narrow { max-width: 900px; margin: 0 auto 28px; }
.short-line {
  margin-top: 18px;
  color: var(--ink);
  font-weight: 700;
}
.page-hero .btn {
  margin-top: 34px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.steps-grid div {
  padding: 18px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  line-height: 1.5;
}
.services-stack {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.service-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.service-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.service-outcome {
  font-size: 1.12rem;
  color: var(--ink) !important;
}
.service-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.service-columns h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.service-output {
  margin-top: 16px;
}
.consult-flow {
  max-width: 980px;
  margin: 0 auto;
}
.flow-intro {
  margin-bottom: 30px;
}
.service-context-banner {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  background: rgba(234, 215, 191, 0.72);
  border: 1px solid rgba(184, 168, 143, 0.45);
  border-radius: 999px;
}
.service-context-label {
  color: var(--muted);
}
.choice-stack {
  display: grid;
  gap: 14px;
  max-width: 820px;
}
.choice-or {
  justify-self: center;
  color: var(--muted);
  font-weight: 700;
}
.path-choice {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 4vw, 30px);
  border-radius: 8px;
  border: 1px solid var(--line);
  text-align: left;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.path-choice:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.primary-choice {
  background: var(--paper-strong);
}
.path-choice span {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 700;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
}
.path-choice small,
.future-note,
.privacy-note,
.error,
.confirmation p {
  color: var(--muted);
  line-height: 1.55;
}
.confirmation .eyebrow {
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
.confirmation h2 + p {
  margin-top: clamp(18px, 2.6vw, 28px);
}
.privacy-note {
  margin-top: 18px;
}
.progressive-form { max-width: 860px; }
.flow-step,
.confirmation {
  padding: clamp(24px, 4vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.consult-flow[data-submitted="true"] .flow-intro,
.consult-flow[data-submitted="true"] .choice-stack,
.consult-flow[data-submitted="true"] .flow-step {
  display: none;
}
.step-copy { margin-bottom: 20px; }
.step-copy [data-path-note] { margin-top: 16px; }
.step-label {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.diagnostic-progress {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.diagnostic-panels {
  min-height: 146px;
}
.diagnostic-panel {
  display: grid;
  gap: 16px;
  opacity: 1;
  transition: opacity 1s ease;
}
.diagnostic-panel[hidden] {
  display: none;
}
.diagnostic-panel.is-entering,
.diagnostic-panel.is-exiting {
  opacity: 0;
}
.diagnostic-panel .field {
  gap: 14px;
}
.diagnostic-panel label,
.diagnostic-panel legend {
  line-height: 1.35;
}
.choice-field {
  border: 0;
  margin: 0;
  padding: 0;
}
.choice-field legend {
  margin-bottom: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}
.choice-field label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 7px 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
.choice-field input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  justify-self: start;
}
.choice-field span {
  min-width: 0;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field {
  display: grid;
  gap: 8px;
}
.anti-spam-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field.full { grid-column: 1 / -1; }
label {
  font-size: 0.9rem;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 12px 14px;
}
textarea {
  min-height: 160px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(255, 255, 255, 0.22);
  border-color: var(--accent);
}
.error {
  margin-top: 12px;
  color: #ff8fa1;
  display: none;
}
.error[data-visible="true"] { display: block; }
.confirmation strong { color: var(--accent-strong); }
.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.founders-section {
  margin-top: 28px;
}
.founders-section .section-head {
  display: block;
  max-width: 1180px;
}

.founders-section .lede {
  max-width: 1180px;
  margin-top: 18px;
}
.founders-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.founder-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}
.callout-band {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.callout-band .btn {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
}
.review-layout {
  min-height: calc(100vh - 72px);
  padding: 34px clamp(18px, 4vw, 56px);
}
.review-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.queue-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.storage-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  background: var(--paper-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}
.queue-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.35fr);
  gap: 16px;
}
.queue-list,
.record-detail {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.queue-list {
  display: grid;
  gap: 10px;
  align-content: start;
}
.queue-item {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  text-align: left;
}
.queue-item[data-active="true"] {
  border-color: var(--accent);
  background: #1c1c1c;
}
.queue-line strong { font-size: 1rem; }
.queue-id,
.queue-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.status {
  color: var(--success);
  font-weight: 700;
}
.detail-section + .detail-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.detail-section h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}
.kv {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 16px;
}
.kv dt {
  color: var(--muted);
  font-weight: 700;
}
.kv dd {
  margin: 0;
  line-height: 1.5;
}
.history {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.5;
}
.empty {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-home,
  .section-grid,
  .service-columns,
  .service-preview-grid,
  .about-grid,
  .founders-grid,
  .site-footer,
  .queue-grid {
    grid-template-columns: 1fr;
  }
  .method-grid,
  .steps-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }
  .service-card-head,
  .section-head,
  .review-header,
  .topbar {
    flex-direction: column;
    align-items: start;
  }
  .nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar,
  .site-footer,
  .hero,
  .page-hero,
  .section,
  .simple-page,
  .consult-main,
  .review-layout {
    padding-left: 16px;
    padding-right: 16px;
  }
  .btn,
  .callout-band .btn,
  .actions .btn {
    width: 100%;
  }
  .kv {
    grid-template-columns: 1fr;
  }
}
