:root {
  --flow-space: clamp(24px, 4vw, 64px);
  --flow-card: 18px;
}
.acquisition {
  min-height: 100vh;
}
.flow-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4vw;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.flow-nav .brand {
  width: 135px;
}
.flow-nav > a:last-child {
  font-size: 14px;
}
.onboarding {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  max-width: 1800px;
  margin: auto;
  min-height: calc(100svh - 85px);
}
.story-panel {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  background: var(--ink);
  color: var(--paper);
}
.story-panel > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.54;
}
.story-panel:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
}
.story-overlay {
  position: relative;
  z-index: 1;
  padding: var(--flow-space);
  padding-top: 80px;
}
.story-overlay .eyebrow {
  color: var(--lime);
  max-width: 280px;
}
.story-overlay #story-title {
  font-size: clamp(55px, 6.3vw, 98px);
  margin: 34px 0 28px;
  line-height: 0.98;
}
.story-overlay #story-title span {
  color: var(--lime);
  display: inline-block;
  margin-left: 10px;
}
.story-overlay > p:last-child {
  max-width: 300px;
  font-size: 20px;
}
.story-stamp {
  position: absolute;
  bottom: 42px;
  left: var(--flow-space);
  z-index: 1;
  font-size: 12px;
  letter-spacing: 0.13em;
  line-height: 1.6;
}
.flow-panel {
  padding: 36px var(--flow-space) 32px;
  align-self: center;
  min-width: 0;
}
.flow-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--muted);
}
.progress-track {
  height: 3px;
  background: var(--line);
  margin: 14px 0 42px;
}
.progress-track > div {
  height: 100%;
  background: var(--blue);
  transition: width 0.25s;
}
#step-content {
  min-height: 380px;
  animation: step-enter 0.25s ease-out;
}
#step-content .eyebrow {
  color: var(--blue);
  margin-bottom: 14px;
}
#step-content h2 {
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}
#step-content .intro {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 460px;
}
.path-options {
  display: grid;
  gap: 10px;
}
.path-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: var(--flow-card);
  cursor: pointer;
  transition:
    background 0.15s,
    border 0.15s;
}
.path-option:has(input:checked) {
  border-color: var(--blue);
  background: #edf0ff;
}
.path-option input {
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.path-option strong {
  display: block;
  font-size: 17px;
}
.path-option small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.path-number {
  font-family: Archivo, sans-serif;
  color: var(--blue);
  font-size: 24px;
}
.benefit-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
  margin: 26px 0;
}
.benefit-list li {
  display: flex;
  gap: 16px;
}
.benefit-list b {
  display: block;
  margin-bottom: 3px;
}
.benefit-list p {
  font-size: 14px;
  color: var(--muted);
}
.benefit-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--lime);
  border-radius: 50%;
  font-size: 18px;
}
.flow-panel label.field-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 18px 0 8px;
}
.flow-panel input:not([type="radio"]):not([type="checkbox"]),
.flow-panel textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
}
.flow-panel textarea {
  resize: vertical;
  min-height: 90px;
}
.choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.choice-chip {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
  font-size: 14px;
}
.choice-chip:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.choice-chip input {
  accent-color: var(--blue);
  margin-right: 6px;
}
.flow-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.back-button {
  background: none;
  border: none;
  padding: 14px 0;
  min-height: 48px;
  font-size: 14px;
}
.flow-footnote {
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.flow-panel .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 22px;
}
.consent input {
  margin-top: 4px;
  accent-color: var(--blue);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.consent a {
  text-decoration: underline;
}
#flow-error {
  color: #9b3319;
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px;
}
.flow-summary {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 20px 0;
  font-size: 14px;
}
.flow-summary strong {
  display: block;
  margin-bottom: 5px;
}
.success-symbol {
  font-size: 54px;
  color: var(--blue);
  margin-bottom: 22px;
}
.success-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.success-links a {
  text-decoration: underline;
}
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.join-path-copy {
  font-size: 14px !important;
  border-left: 3px solid var(--blue);
  padding-left: 16px;
  margin: 18px 0 !important;
}
.join-profile-link {
  display: block;
  margin-top: 16px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: underline;
}
.join-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  margin: 18px 0;
}
.join-form .consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
}
.join-form .consent a {
  text-decoration: underline;
}
@keyframes step-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 850px) {
  .onboarding {
    grid-template-columns: 1fr;
  }
  .story-panel {
    min-height: 265px;
  }
  .story-overlay {
    padding: 30px;
  }
  .story-overlay #story-title {
    font-size: 44px;
    margin: 14px 0;
  }
  .story-overlay #story-title br {
    display: none;
  }
  .story-overlay > p:last-child {
    font-size: 16px;
    max-width: 100%;
  }
  .story-stamp {
    display: none;
  }
  .story-overlay .eyebrow {
    max-width: 100%;
  }
  .flow-panel {
    padding: 30px 24px 40px;
  }
  .progress-track {
    margin-bottom: 28px;
  }
  #step-content {
    min-height: 0;
  }
  .flow-controls .button {
    font-size: 15px;
  }
  .flow-nav {
    padding: 20px 24px;
  }
  .flow-nav .brand {
    width: 112px;
  }
  .flow-nav > a:last-child {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #step-content {
    animation: none;
  }
  .progress-track > div {
    transition: none;
  }
}

/* The same onboarding lives within the landing page's join section. */
.landing-onboarding {
  background: var(--lime);
  padding: 64px 0;
}
.landing-flow {
  width: min(1320px, calc(100% - 96px));
  min-height: 760px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.landing-flow .flow-panel {
  padding-inline: clamp(28px, 3.4vw, 48px);
}
.landing-flow .story-panel {
  min-height: 760px;
}
.landing-flow .story-overlay {
  padding-inline: 40px;
}
.landing-flow #story-title {
  font-size: clamp(52px, 5.6vw, 80px);
}
@media (max-width: 850px) {
  .landing-onboarding {
    padding: 24px 0;
  }
  .landing-flow {
    width: calc(100% - 32px);
    min-height: 0;
    border-radius: 22px;
  }
  .landing-flow .story-panel {
    min-height: 245px;
  }
  .landing-flow .story-overlay {
    padding: 28px 24px;
  }
  .landing-flow #story-title {
    font-size: 40px;
  }
  .landing-flow .flow-panel {
    padding: 28px 22px 36px;
  }
}
