:root {
  --surface-canvas: #050506;
  --surface-panel: #0f1115;
  --surface-panel-active: #14171c;
  --stroke-subtle: rgba(255, 255, 255, 0.07);
  --stroke-default: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-muted: #a1a1aa;
  --text-faint: #6b6b75;
  --accent-action: #2997ff;
  --accent-action-hover: #0071e3;
  --accent-action-soft: #64d2ff;
  --status-success: #34d399;
  --status-attention: #ff5a5f;
  --corner-default: 14px;
  --corner-large: 20px;
}

html,
body {
  overflow-x: hidden;
  min-height: 100vh;
  color: var(--text-primary);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  background: var(--surface-canvas);
}

.journey-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size:
    64px 64px,
    64px 64px,
    16px 16px,
    16px 16px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(
    ellipse 92% 82% at 50% 38%,
    #000 25%,
    transparent 90%
    );
  mask-image: radial-gradient(
    ellipse 92% 82% at 50% 38%,
    #000 25%,
    transparent 90%
    );
  pointer-events: none;
}

.journey-grid::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(100, 210, 255, 0.35) 1px,
    transparent 1.5px
    );
  background-size: 64px 64px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(
    ellipse 55% 42% at 50% 26%,
    #000 0%,
    transparent 80%
    );
  mask-image: radial-gradient(
    ellipse 55% 42% at 50% 26%,
    #000 0%,
    transparent 80%
    );
  opacity: 0.6;
  content: "";
}

.journey-glow {
  position: fixed;
  z-index: 0;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 520px;
  filter: blur(60px);
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(41, 151, 255, 0.22) 0%,
    rgba(41, 151, 255, 0) 70%
    );
  pointer-events: none;
  transform: translateX(-50%);
}

.journey-pointer-light {
  position: fixed;
  width: 460px;
  height: 460px;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(41, 151, 255, 0.2) 0%,
    rgba(41, 151, 255, 0) 60%
    );
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

.intake-header {
  position: relative;
  z-index: 3;
  padding: 22px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.intake-wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 16px;
}

.intake-wordmark__mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-action) 0%, #4f37cf 100%);
  box-shadow: 0 4px 12px -4px rgba(41, 151, 255, 0.5);
}

.intake-wordmark__mark svg {
  width: 13px;
  height: 13px;
}

.intake-progress {
  width: 100%;
  max-width: 760px;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.intake-progress.is-visible {
  opacity: 1;
}

.intake-progress-meter {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--accent-action),
    var(--accent-action-soft)
    );
  box-shadow: 0 0 12px var(--accent-action-soft);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.intake-stage {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 64px;
}

.journey-card {
  display: none;
  width: 100%;
  max-width: 640px;
}

.journey-card.is-active {
  display: block;
  animation: intake-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes intake-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.journey-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 22px;
  color: var(--text-faint);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.journey-back:hover {
  color: var(--text-muted);
}

.journey-back svg {
  width: 15px;
  height: 15px;
}

.journey-step-label {
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--accent-action-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.intake-title {
  margin-bottom: 8px;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.intake-description {
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 15px;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid.choice-grid--paired {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
  .choice-grid.choice-grid--paired {
    grid-template-columns: 1fr;
  }
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  width: 100%;
  position: relative;
  text-align: left;
  background: var(--surface-panel);
  border: 1.5px solid var(--stroke-subtle);
  border-radius: var(--corner-default);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.12s ease;
}

.choice-card:hover {
  border-color: rgba(41, 151, 255, 0.4);
  background: var(--surface-panel-active);
  transform: translateY(-1px);
}

.choice-card.is-selected {
  border-color: var(--accent-action);
  background: linear-gradient(
    180deg,
    rgba(41, 151, 255, 0.1),
    var(--surface-panel-active)
    );
}

.choice-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(41, 151, 255, 0.13);
  border: 1px solid rgba(41, 151, 255, 0.25);
  transition: background 0.2s ease;
}

.choice-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent-action-soft);
}

.choice-card.is-selected .choice-icon {
  background: rgba(41, 151, 255, 0.28);
}

.choice-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.choice-check {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--stroke-default);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.choice-check svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.choice-card.is-selected .choice-check {
  background: var(--accent-action);
  border-color: var(--accent-action);
}

.choice-card.is-selected .choice-check svg {
  opacity: 1;
}

.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
}

.ui-button--primary {
  color: #fff;
  background: var(--accent-action);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 10px 28px -8px rgba(41, 151, 255, 0.6);
}

.ui-button--primary::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    140px circle at var(--motion-cursor-x, 50%) var(--motion-cursor-y, 50%),
    rgba(255, 255, 255, 0.32),
    transparent 70%
    );
  opacity: 0;
  content: "";
  transition: opacity 0.25s ease;
}

.ui-button--primary:hover::before {
  opacity: 1;
}

.ui-button--primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 16px 38px -10px rgba(41, 151, 255, 0.8);
}

.ui-button--primary:disabled {
  opacity: 0.4;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.ui-button--primary:disabled::before {
  opacity: 0;
}

.ui-button svg {
  width: 17px;
  height: 17px;
}

.ui-button--full {
  width: 100%;
}

.journey-actions {
  margin-top: 28px;
}

.intake-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #cfc6ff;
  font-weight: 500;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.3);
  border-radius: 999px;
}

.intake-label svg {
  width: 14px;
  height: 14px;
}

.intake-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  background: linear-gradient(180deg, #fff 35%, #c9c2ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intake-intro p.ui-lead {
  max-width: 520px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 16px;
}

.intake-intro {
  text-align: center;
}

.community-proof {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.community-portraits {
  display: inline-flex;
}

.community-portraits span {
  width: 28px;
  height: 28px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2px solid var(--surface-canvas);
  background-image: var(--portrait-image);
  background-size: cover;
  background-position: center;
}

.community-portraits span:first-child {
  margin-left: 0;
}

.availability-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 30px;
  padding: 8px 16px;
  color: #ff9a9d;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(255, 90, 95, 0.08);
  border: 1px solid rgba(255, 90, 95, 0.25);
}

.availability-note .availability-signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-attention);
  box-shadow: 0 0 10px var(--status-attention);
  animation: availability-pulse 1.4s ease-in-out infinite;
}

@keyframes availability-pulse {
  0%,
    100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

.ui-smallprint {
  margin-top: 16px;
  color: var(--text-faint);
  font-size: 13px;
}

.assessment-stage {
  text-align: center;
}

.assessment-spinner {
  width: 58px;
  height: 58px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 3px solid rgba(41, 151, 255, 0.2);
  border-top-color: var(--accent-action);
  animation: assessment-rotate 0.8s linear infinite;
}

@keyframes assessment-rotate {
  to {
    transform: rotate(360deg);
  }
}

.assessment-stage h2 {
  margin-bottom: 30px;
  font-size: clamp(24px, 3.4vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.assessment-list {
  display: grid;
  gap: 14px;
  max-width: 340px;
  margin: 0 auto;
  text-align: left;
}

.assessment-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-faint);
  opacity: 0.4;
  transition:
    opacity 0.4s ease,
    color 0.4s ease;
}

.assessment-item.is-complete {
  color: var(--text-primary);
  opacity: 1;
}

.assessment-item .assessment-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--stroke-default);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.assessment-item .assessment-check svg {
  width: 12px;
  height: 12px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.assessment-item.is-complete .assessment-check {
  background: var(--status-success);
  border-color: var(--status-success);
}

.assessment-item.is-complete .assessment-check svg {
  opacity: 1;
}

.approval-stage {
  text-align: center;
}

.approval-badge {
  width: 78px;
  height: 78px;
  margin: 0 auto 24px;
  position: relative;
}

.approval-badge .celebration-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(52, 211, 153, 0.4);
  animation: approval-ring 2.2s ease-out infinite;
}

@keyframes approval-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.9);
  }

  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

.approval-seal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 16px 40px -10px rgba(52, 211, 153, 0.6);
}

.approval-seal svg {
  width: 38px;
  height: 38px;
  color: #062b20;
}

.approval-stage h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.approval-stage .approval-summary {
  max-width: 500px;
  margin: 0 auto 22px;
  color: var(--text-muted);
  font-size: 16px;
}

.approval-stage .approval-summary b {
  color: var(--text-primary);
  font-weight: 600;
}

.reservation-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 auto 26px;
  padding: 10px 18px;
  font-size: 14px;
  color: #cfc6ff;
  font-weight: 500;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.1);
  border: 1px solid rgba(41, 151, 255, 0.3);
}

.reservation-note svg {
  width: 16px;
  height: 16px;
  color: var(--accent-action-soft);
}

.reservation-note .reservation-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #fff;
}

.approval-note {
  max-width: 440px;
  margin: 18px auto 0;
  color: var(--text-faint);
  font-size: 14px;
}

.consent-stage {
  max-width: 720px;
  text-align: center;
}

.consent-stage h2 {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: clamp(24px, 3.6vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.consent-stage .consent-intro {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-stage .consent-intro b {
  color: var(--text-primary);
  font-weight: 700;
}

.consent-choice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  max-width: 520px;
  margin: 0 auto 32px;
  text-align: left;
  background: var(--surface-panel);
  border: 1.5px solid var(--stroke-subtle);
  border-radius: var(--corner-default);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.consent-choice:hover {
  border-color: var(--stroke-default);
}

.consent-choice.is-checked {
  border-color: rgba(41, 151, 255, 0.5);
  background: var(--surface-panel-active);
}

.consent-choice .consent-indicator {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1.5px solid var(--stroke-default);
  background: rgba(255, 255, 255, 0.02);
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.consent-choice .consent-indicator svg {
  width: 15px;
  height: 15px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.consent-choice.is-checked .consent-indicator {
  background: var(--accent-action);
  border-color: var(--accent-action);
}

.consent-choice.is-checked .consent-indicator svg {
  opacity: 1;
}

.consent-choice p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

.consent-choice a {
  color: var(--accent-action-soft);
  text-decoration: underline;
}

.consent-stage .consent-accept {
  padding: 17px 0;
  width: 100%;
  max-width: 520px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  color: #fff;
  background: #0e0e13;
  border: 1px solid var(--stroke-default);
  border-radius: 14px;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}

.consent-stage .consent-accept:enabled:hover {
  background: #16161d;
  transform: translateY(-1px);
}

.consent-stage .consent-accept:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.consent-stage .consent-accept.is-ready {
  background: var(--accent-action);
  border-color: var(--accent-action);
  box-shadow: 0 14px 36px -10px rgba(41, 151, 255, 0.7);
}

.consent-stage .consent-accept.is-ready:hover {
  background: var(--accent-action-hover);
}

.consent-stage .consent-accept svg {
  width: 18px;
  height: 18px;
}

.choice-icon svg {
  display: none;
}

.choice-icon::before {
  color: var(--accent-action-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 18px;
  line-height: 1;
}

[data-value="designer"] .choice-icon::before {
  content: "◇";
}

[data-value="mechanical_engineer"] .choice-icon::before {
  content: "⚙";
}

[data-value="industrial_designer"] .choice-icon::before {
  content: "⬡";
}

[data-value="product_lead"] .choice-icon::before {
  content: "▤";
}

[data-value="architect"] .choice-icon::before {
  content: "▱";
}

[data-value="fabricator"] .choice-icon::before {
  content: "⌁";
}

[data-value="engineering_firm"] .choice-icon::before {
  content: "⌘";
}

[data-value="maker"] .choice-icon::before {
  content: "+";
}

[data-value="mechanical_components"] .choice-icon::before {
  content: "◉";
}

[data-value="fixtures_jigs"] .choice-icon::before {
  content: "⊥";
}

[data-value="product_enclosures"] .choice-icon::before {
  content: "□";
}

[data-value="architectural_details"] .choice-icon::before {
  content: "△";
}

[data-value="robotic_assemblies"] .choice-icon::before {
  content: "⌬";
}

[data-value="printable_parts"] .choice-icon::before {
  content: "▧";
}

[data-value="brackets_mounts"] .choice-icon::before {
  content: "∩";
}

[data-value="custom_adapters"] .choice-icon::before {
  content: "◎";
}
