.intake-page {
  padding-bottom: 80px;
}

.intake-main {
  max-width: 720px;
  margin: 0 auto;
}

/* Progress */
.intake-progress {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 12px 0 16px;
  z-index: 5;
}

.intake-progress-bar {
  height: 2px;
  background: #eee;
  border-radius: 1px;
  overflow: hidden;
}

.intake-progress-fill {
  height: 100%;
  background: #1a1a1a;
  width: 0%;
  transition: width 0.3s ease;
}

.intake-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: #888;
}

/* Section header */
.intake-section-header {
  margin-top: 48px;
}

.intake-section-header h2 {
  font-size: 24px;
  font-weight: 400;
  color: #111;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.intake-section-header p {
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.intake-section-header .scale-info {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #444;
  margin-bottom: 32px;
}

/* Question card */
.intake-card {
  margin-top: 32px;
}

.intake-question {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
  color: #111;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

/* Answers */
.intake-answers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.intake-answer-stack {
  flex-direction: column;
}

.intake-answer-btn {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  flex: 1;
  min-width: 64px;
  text-align: center;
}

.intake-answer-btn:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.intake-answer-btn.selected {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.intake-answer-stack .intake-answer-btn {
  text-align: left;
  padding: 14px 18px;
}

.intake-answer-btn-number {
  font-size: 16px;
  font-weight: 500;
}

.intake-answer-btn-label {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  white-space: pre-line;
  line-height: 1.3;
}

.intake-answer-btn.selected .intake-answer-btn-label {
  color: #ccc;
}

/* Inputs */
.intake-input {
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 8px;
  color: #111;
  background: #fff;
}

.intake-input:focus {
  outline: none;
  border-color: #1a1a1a;
}

.intake-input-unit {
  color: #888;
  font-size: 13px;
  margin-bottom: 16px;
}

/* Nav */
.intake-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
}

.intake-nav-btn {
  padding: 8px 12px;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #888;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}

.intake-nav-btn:hover:not(:disabled) {
  color: #111;
}

.intake-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Save indicator */
.intake-save-indicator {
  position: fixed;
  top: 32px;
  right: 32px;
  font-size: 12px;
  color: #bbb;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.intake-save-indicator.visible {
  opacity: 1;
}

/* Welcome */
.intake-welcome h1 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.intake-welcome p {
  color: #555;
  margin-bottom: 14px;
  line-height: 1.6;
}

.intake-welcome .intake-input {
  margin-top: 32px;
}

/* Results */
.intake-results h1 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.intake-neurotype-code {
  font-family: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  background: #f7f7f7;
  padding: 28px 24px;
  border-radius: 12px;
  text-align: center;
  margin: 16px 0 8px;
}

.intake-neurotype-name {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

.intake-results-section {
  margin-top: 48px;
}

.intake-results-section h2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 18px;
  color: #111;
  letter-spacing: -0.01em;
}

/* Axis bars */
.intake-axes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intake-axis-block {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}

.intake-axis-block:last-child {
  border-bottom: none;
}

.intake-axis-row {
  display: grid;
  grid-template-columns: 110px 1fr 56px;
  align-items: center;
  gap: 16px;
}

.intake-axis-name {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.intake-axis-bar {
  position: relative;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
}

.intake-axis-marker {
  position: absolute;
  top: -5px;
  width: 14px;
  height: 14px;
  background: #1a1a1a;
  border-radius: 50%;
  transform: translateX(-50%);
}

.intake-axis-poles {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #aaa;
  padding-left: 126px;
  padding-right: 72px;
  margin-top: 4px;
}

.intake-axis-value {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  text-align: right;
  font-family: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
}

/* Coaching block */
.intake-coach-block {
  margin-bottom: 22px;
}

.intake-coach-label {
  color: #888;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.intake-coach-text {
  color: #333;
  line-height: 1.6;
}

/* Raw scores grid */
.intake-raw-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  font-size: 14px;
  color: #444;
}

.intake-raw-grid .label {
  color: #888;
}

.intake-raw-grid .value {
  font-family: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  text-align: right;
}

/* VIA list */
.intake-via {
  padding-left: 20px;
  line-height: 2;
  color: #333;
}

/* Action buttons */
.intake-results-actions {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  body {
    padding: 24px 20px 80px;
  }
  .intake-question {
    font-size: 19px;
  }
  .intake-answer-btn {
    padding: 12px 10px;
    font-size: 13px;
    min-width: 52px;
  }
  .intake-axis-row {
    grid-template-columns: 80px 1fr 48px;
    gap: 10px;
  }
  .intake-axis-poles {
    padding-left: 90px;
    padding-right: 58px;
  }
  .intake-save-indicator {
    top: 16px;
    right: 16px;
  }
  .intake-neurotype-code {
    font-size: 24px;
  }
}
