/* Landing layout */
.asmt-landing {
  max-width: 720px;
  margin: 0 auto;
}

.asmt-hero {
  margin-bottom: 64px;
}

.asmt-eyebrow {
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.asmt-hero h1 {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: #111;
}

.asmt-hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.asmt-hero p {
  color: #444;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 560px;
}

.asmt-hero-cta {
  margin-top: 32px;
}

.asmt-hero-cta-meta {
  color: #aaa;
  font-size: 13px;
  margin-top: 12px;
}

.asmt-section {
  margin-top: 64px;
}

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

/* Steps */
.asmt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.asmt-step {
  padding: 8px 0;
}

.asmt-step-num {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.asmt-step h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #111;
}

.asmt-step p {
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* Categories */
.asmt-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.asmt-category {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 18px 20px;
  background: #fff;
}

.asmt-category h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #111;
}

.asmt-category-sub {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.asmt-category-meta {
  font-size: 12px;
  color: #aaa;
}

.asmt-cta-block {
  margin-top: 56px;
  text-align: center;
}

.asmt-skip {
  margin-top: 64px;
  text-align: center;
}

.asmt-skip p {
  color: #888;
  font-size: 14px;
  margin-bottom: 8px;
}

.asmt-skip a {
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 1px;
  text-decoration: none;
  font-size: 14px;
}

.asmt-skip a:hover {
  opacity: 0.6;
}

.asmt-disclaimer {
  color: #aaa;
  font-size: 12px;
  text-align: center;
  margin-top: 64px;
}

/* ─── Section-grouped progress (top of every question) ────── */
.asmt-progress-wrap {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 18px 20px;
  background: #f7f7f7;
  border-radius: 12px;
}

.asmt-progress-header {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
  text-align: center;
  margin-bottom: 16px;
}

.asmt-progress-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.asmt-progress-row {
  display: grid;
  grid-template-columns: 110px 1fr 18px;
  align-items: center;
  gap: 12px;
}

.asmt-progress-name {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.02em;
  text-align: right;
  transition: color 0.2s;
}

.asmt-progress-row.current .asmt-progress-name {
  color: #111;
  font-weight: 500;
}

.asmt-progress-row.complete .asmt-progress-name {
  color: #1a1a1a;
}

.asmt-progress-track {
  height: 5px;
  background: #e8e8e8;
  border-radius: 3px;
  overflow: hidden;
}

.asmt-progress-fill {
  height: 100%;
  background: #b0b0b0;
  border-radius: 3px;
  transition: width 0.3s;
}

.asmt-progress-row.current .asmt-progress-fill,
.asmt-progress-row.complete .asmt-progress-fill {
  background: #1a1a1a;
}

.asmt-progress-mark {
  font-size: 13px;
  color: #1a7f37;
  text-align: center;
}

/* ─── Section pill ────────────────────────────────────────── */
.asmt-section-pill {
  display: inline-block;
  padding: 6px 16px;
  background: #1a1a1a;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ─── Question card ───────────────────────────────────────── */
.asmt-card {
  max-width: 720px;
  margin: 0 auto;
}

.asmt-question {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  color: #111;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.asmt-hint {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ─── Tier-style answer buttons ───────────────────────────── */
.asmt-tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.asmt-tier-btn {
  text-align: left;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.asmt-tier-btn:hover {
  border-color: #1a1a1a;
  background: #fafafa;
}

.asmt-tier-btn.selected {
  border-color: #1a1a1a;
  background: #fafafa;
  box-shadow: 0 0 0 1px #1a1a1a inset;
}

.asmt-tier-label {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
}

.asmt-tier-sub {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  line-height: 1.4;
}

.asmt-tier-btn.selected .asmt-tier-sub {
  color: #555;
}

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

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

/* ─── Nav ─────────────────────────────────────────────────── */
.asmt-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
}

.asmt-nav-back {
  padding: 8px 12px;
  background: transparent;
  border: none;
  font-size: 14px;
  color: #888;
  font-family: inherit;
  cursor: pointer;
}

.asmt-nav-back:hover:not(:disabled) {
  color: #111;
}

.asmt-nav-back: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;
}

/* ─── Email gate ──────────────────────────────────────────── */
.asmt-emailgate {
  max-width: 520px;
  margin: 32px auto 0;
  padding: 0 16px;
}

.asmt-emailgate-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #111;
}

.asmt-emailgate-sub {
  text-align: center;
  color: #555;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
}

.asmt-emailgate-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.asmt-units-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.asmt-units-btn {
  padding: 12px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  color: #444;
  transition: border-color 0.15s, background 0.15s;
}

.asmt-units-btn.selected {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 1px #1a1a1a inset;
  color: #111;
  font-weight: 500;
}

.asmt-units-btn:hover {
  border-color: #1a1a1a;
}

.asmt-field-label {
  font-size: 13px;
  color: #888;
  margin-bottom: -8px;
  margin-top: 4px;
}

.asmt-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.asmt-emailgate-promise {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin: 0;
}

.asmt-emailgate-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  margin-top: 8px;
}

.asmt-emailgate-skip {
  background: none;
  border: none;
  color: #888;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  padding: 8px;
  margin-top: 8px;
}

.asmt-emailgate-skip:hover {
  color: #111;
}

/* ─── Results ─────────────────────────────────────────────── */
.asmt-results {
  max-width: 720px;
  margin: 0 auto;
}

.asmt-result-score {
  text-align: center;
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  position: relative;
}

.asmt-result-score-num {
  font-size: 88px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  line-height: 1;
}

.asmt-result-score-pct {
  font-size: 32px;
  color: #888;
  margin-left: 4px;
}

.asmt-result-score-tier {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.asmt-result-overall-label {
  text-align: center;
  margin-top: 28px;
  color: #555;
  font-size: 15px;
}

.asmt-pace-block {
  margin: 32px auto 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  text-align: center;
}

.asmt-pace-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  font-weight: 600;
  margin-bottom: 8px;
}

.asmt-pace-num {
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #1a1a1a;
}

.asmt-pace-meta {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
}

.asmt-pace-note {
  font-style: italic;
  margin-top: 4px;
  color: #aaa;
}

.asmt-result-section {
  margin-top: 56px;
}

.asmt-result-section h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #111;
}

.asmt-result-section-sub {
  color: #555;
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Category cards */
.asmt-result-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.asmt-result-cat {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 18px 20px;
}

.asmt-result-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.asmt-result-cat-name {
  font-size: 16px;
  font-weight: 600;
  color: #111;
}

.asmt-result-cat-badges {
  display: flex;
  gap: 6px;
  align-items: center;
}

.asmt-result-cat-tier {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.asmt-result-cat-issue {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: #555;
  background: #f0f0f0;
}

.asmt-result-cat-pct {
  font-size: 22px;
  font-weight: 600;
  margin: 6px 0 10px;
  color: #1a1a1a;
}

.asmt-result-cat-bar {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.asmt-result-cat-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: #1a1a1a;
}

/* Blindspots */
.asmt-blindspots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.asmt-blindspot {
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  font-size: 13px;
  color: #444;
}

/* Final CTA — minimal, centered, no box */
.asmt-result-final {
  margin-top: 64px;
  text-align: center;
}

.asmt-result-final .btn {
  text-decoration: none;
}

/* ─── Mobile ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .asmt-hero h1 { font-size: 30px; }
  .asmt-question { font-size: 22px; }
  .asmt-steps { grid-template-columns: 1fr; gap: 8px; }
  .asmt-step { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .asmt-step:last-child { border-bottom: none; }
  .asmt-categories { grid-template-columns: 1fr; }
  .asmt-result-cats { grid-template-columns: 1fr; }
  .asmt-result-score-num { font-size: 64px; }
  .asmt-result-score-pct { font-size: 24px; }
  .asmt-pace-num { font-size: 44px; }
  .asmt-progress-row {
    grid-template-columns: 84px 1fr 18px;
    gap: 8px;
  }
  .asmt-progress-name { font-size: 11px; }
  .asmt-emailgate-title { font-size: 28px; }
  .intake-save-indicator { top: 16px; right: 16px; }
}
