.intake-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}

.intake-hero {
  padding: 160px 0 88px;
  color: var(--text-light);
  background:
    radial-gradient(circle at 82% 34%, rgba(47, 128, 255, 0.34), transparent 30%),
    linear-gradient(135deg, #030712, #07111f);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intake-hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -4px;
  margin-bottom: 24px;
}

.intake-hero p:not(.eyebrow) {
  max-width: 660px;
  color: #cbd5e1;
  font-size: 1.08rem;
}

.intake-hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.intake-hero-points div {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: #dbeafe;
  font-weight: 800;
}

.intake-section {
  padding: 72px 0;
  background: #05070d;
  color: var(--text-light);
}

.intake-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.intake-progress-card,
.intake-form-card,
.help-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.intake-progress-card {
  position: sticky;
  top: 24px;
  padding: 26px;
}

.intake-progress-card h3,
.intake-form-card h2,
.help-card h4 {
  color: white;
}

.intake-progress-card > p,
.form-subtitle,
.help-card p,
.project-option p,
.intake-tip p,
.trust-band-inner p {
  color: #cbd5e1;
}

.progress-bar {
  height: 10px;
  margin: 18px 0 24px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  box-shadow: 0 0 22px rgba(90, 162, 255, 0.55);
}

.progress-steps {
  list-style: none;
  display: grid;
  gap: 10px;
}

.progress-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-weight: 800;
}

.progress-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-size: 0.82rem;
}

.progress-steps .done {
  color: #bbf7d0;
}

.progress-steps .done span {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.progress-steps .active {
  color: white;
}

.progress-steps .active span {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  box-shadow: var(--shadow-blue);
}

.help-card {
  margin-top: 26px;
  padding: 22px;
}

.help-card > div {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(47, 128, 255, 0.18);
  border: 1px solid rgba(90, 162, 255, 0.36);
}

.help-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue-light);
  font-weight: 900;
}

.intake-form-card {
  padding: 34px;
}

.step-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--blue-light);
  background: rgba(47, 128, 255, 0.14);
  border: 1px solid rgba(90, 162, 255, 0.3);
  font-weight: 900;
  font-size: 0.82rem;
}

.intake-form-card h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 12px;
}

.intake-form {
  margin-top: 28px;
}

.intake-step-panel {
  display: grid;
  gap: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-grid label,
.full-field {
  display: grid;
  gap: 10px;
  min-width: 0;
  color: #e5efff;
  font-size: 0.92rem;
  font-weight: 900;
}

.full-field {
  grid-column: 1 / -1;
}

.intake-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.intake-form select,
.intake-form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.82);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.intake-form textarea {
  min-height: 150px;
  padding-block: 15px;
  line-height: 1.65;
  resize: vertical;
}

.intake-form select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, #93c5fd 50%),
    linear-gradient(135deg, #93c5fd 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.intake-form input::placeholder,
.intake-form textarea::placeholder {
  color: #718096;
}

.intake-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: var(--blue-light);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 0 0 4px rgba(47, 128, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.intake-form input[type="file"] {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: 1px dashed rgba(90, 162, 255, 0.45);
  background: rgba(47, 128, 255, 0.08);
  color: #dbeafe;
  cursor: pointer;
}

.intake-form input[type="file"]::file-selector-button {
  margin-right: 14px;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 900;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.052);
  color: white;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.choice-card:hover,
.choice-card:has(input:checked) {
  border-color: rgba(90, 162, 255, 0.62);
  background: rgba(47, 128, 255, 0.12);
}

.choice-card:has(input:checked) {
  box-shadow: 0 14px 34px rgba(47, 128, 255, 0.18);
}

.choice-card input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue-light);
}

.intake-welcome-card,
.review-grid > div {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.052);
}

.intake-welcome-card h3,
.review-grid h3 {
  color: white;
  margin-bottom: 10px;
}

.intake-welcome-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #cbd5e1;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-grid p {
  color: #cbd5e1;
  overflow-wrap: anywhere;
}

.intake-success,
.intake-error {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  padding: 20px;
  border-radius: 18px;
}

.intake-success {
  background: rgba(16, 185, 129, 0.11);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.intake-success h3 {
  color: white;
  margin-bottom: 4px;
}

.intake-success p {
  color: #cbd5e1;
}

.intake-error {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.11);
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-weight: 800;
}

.project-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-option {
  position: relative;
  min-height: 190px;
  display: block;
  padding: 24px;
  border-radius: 22px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.052);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.project-option:hover {
  transform: translateY(-3px);
  border-color: rgba(90, 162, 255, 0.5);
  background: rgba(47, 128, 255, 0.08);
}

.project-option.selected {
  border-color: var(--blue-light);
  background: linear-gradient(135deg, rgba(47, 128, 255, 0.22), rgba(90, 162, 255, 0.09));
  box-shadow: 0 16px 44px rgba(47, 128, 255, 0.22);
}

.project-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(47, 128, 255, 0.18);
  border: 1px solid rgba(90, 162, 255, 0.32);
  font-size: 1.35rem;
}

.project-option h3 {
  margin-bottom: 8px;
  color: white;
  font-size: 1.16rem;
}

.project-option p {
  font-size: 0.94rem;
}

.checkmark {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #10b981;
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}

.intake-tip {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(47, 128, 255, 0.11);
  border: 1px solid rgba(90, 162, 255, 0.28);
}

.intake-tip > div {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.intake-tip strong {
  color: white;
}

.intake-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.back-btn,
.intake-actions button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 900;
}

.back-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.intake-actions button {
  border: none;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  box-shadow: var(--shadow-blue);
}

.intake-trust-band {
  padding: 58px 0;
  color: var(--text-light);
  background:
    radial-gradient(circle at 18% 30%, rgba(47, 128, 255, 0.24), transparent 32%),
    linear-gradient(135deg, #07111f, #020617);
  border-top: 1px solid rgba(47, 128, 255, 0.25);
}

.trust-band-inner {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.trust-band-inner > div {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-main {
  display: flex;
  gap: 16px;
  align-items: center;
}

.trust-main > div:first-child {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(47, 128, 255, 0.18);
}

.trust-band-inner h3,
.trust-band-inner strong {
  color: white;
}

.trust-band-inner p {
  margin-top: 6px;
  font-size: 0.94rem;
}

.autosave-status {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(-4px);
  transition: 0.2s ease;
}

.autosave-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.intake-step-panel {
  animation: intakeFadeUp 0.28s ease both;
}

.intake-form.is-submitting {
  opacity: 0.7;
  pointer-events: none;
}

@keyframes intakeFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .intake-hero-points,
  .trust-band-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intake-layout {
    grid-template-columns: 1fr;
  }

  .intake-progress-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .intake-hero {
    padding: 135px 0 68px;
  }

  .intake-hero h1 {
    letter-spacing: -2px;
  }

  .intake-hero-points,
  .form-grid,
  .choice-grid,
  .project-type-grid,
  .review-grid,
  .trust-band-inner {
    grid-template-columns: 1fr;
  }

  .intake-form-card,
  .intake-progress-card {
    padding: 24px;
  }

  .intake-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .back-btn,
  .intake-actions button {
    width: 100%;
  }
}

/* Keep the absolute navbar from showing the light body background on intake. */
.site-header {
  background:
    radial-gradient(circle at 82% 34%, rgba(47, 128, 255, 0.2), transparent 30%),
    linear-gradient(135deg, #030712, #07111f);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intake-hero {
  padding-top: 172px;
}

