:root {
  --color-accent: #C8A46E;
  --color-accent-soft: rgba(200, 164, 110, 0.10);
  --color-accent-glow: rgba(200, 164, 110, 0.20);
  --color-text: #F5F5F5;
  --color-text-secondary: #999999;
  --color-text-muted: #5A5A5A;
  --color-bg: #0A0A0A;
  --color-surface: #131313;
  --color-surface-hover: #1A1A1A;
  --color-surface-raised: #1C1C1C;
  --color-border: #282828;
  --color-border-subtle: #1E1E1E;
  --color-success: #4ADE80;
  --color-success-soft: rgba(74, 222, 128, 0.08);
  --color-warm: #C8A46E;
  --color-warm-soft: rgba(200, 164, 110, 0.10);
  --font: 'Manrope', -apple-system, system-ui, sans-serif;
  --quiz-max-width: 620px;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-text);
}

::selection { background: var(--color-accent-soft); color: var(--color-text); }

/* ===== TOOLBAR (hidden — widget mode for Tilda) ===== */
.toolbar { display: none; }
.toolbar h1 { font-size: 14px; font-weight: 500; color: var(--color-text); letter-spacing: 0.3px; margin-right: auto; }

/* ===== LAYOUT ===== */
.main-area { flex: 1; display: flex; align-items: flex-start; }

/* ===== QUIZ AREA ===== */
.quiz-area { flex: 1; display: flex; justify-content: center; padding: 48px 32px; min-height: 100vh; }

.quiz-card {
  width: 100%; max-width: var(--quiz-max-width);
  background: var(--color-surface); border-radius: var(--radius);
  border: 1px solid var(--color-border-subtle);
  display: flex; flex-direction: column; overflow: hidden; align-self: flex-start;
}

.quiz-card[data-theme="success"] { border-color: rgba(74, 222, 128, 0.15); }
.quiz-card[data-theme="warm"] { border-color: rgba(245, 200, 122, 0.15); }

/* ===== PROGRESS ===== */
.progress-section { padding: 24px 32px 0; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 10px; }
.progress-counter { font-size: 12px; font-weight: 400; color: var(--color-text-muted); }
.progress-pct { font-size: 12px; font-weight: 500; color: var(--color-accent); }
.progress-track { height: 2px; background: var(--color-border); border-radius: 1px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--color-accent); border-radius: 1px; transition: width 0.5s ease; }

/* ===== CONTENT ===== */
.quiz-content { padding: 36px 32px 24px; flex: 1; }

.quiz-content.centered {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; min-height: 340px;
}

.hero-icon {
  width: 48px; height: 48px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.hero-icon svg { width: 24px; height: 24px; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-icon.accent { background: var(--color-accent-soft); }
.hero-icon.accent svg { stroke: var(--color-accent); fill: none; }
.hero-icon.success { background: var(--color-success-soft); }
.hero-icon.success svg { stroke: var(--color-success); fill: none; }

.quiz-title { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -0.3px; color: var(--color-text); margin-bottom: 8px; }
.quiz-subtitle { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--color-text-secondary); margin-bottom: 24px; }
.quiz-subtitle strong { font-weight: 600; color: var(--color-text); }
.quiz-subtitle:last-child { margin-bottom: 0; }

.quiz-intro {
  font-size: 14.5px; font-weight: 300; line-height: 1.75; color: var(--color-text-secondary);
  margin-bottom: 28px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(200, 164, 110, 0.06), rgba(200, 164, 110, 0.02));
  border: 1px solid rgba(200, 164, 110, 0.12);
  border-left: 3px solid var(--color-accent);
}
.quiz-intro strong { font-weight: 600; color: var(--color-accent); }

.medal-badge { font-size: 20px; line-height: 1; flex-shrink: 0; margin-top: 1px; }

/* ===== STAT BLOCK ===== */
.stat-block { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-bottom: 12px; }
.stat-number { font-size: 56px; font-weight: 300; letter-spacing: -2px; line-height: 1; }
.stat-number.accent { color: var(--color-accent); }
.stat-number.success { color: var(--color-success); }

/* ===== BULLET LIST ===== */
.bullet-list { list-style: none; text-align: left; max-width: 480px; margin: 0 auto; }
.bullet-list li {
  display: flex; gap: 12px; margin-bottom: 14px;
  font-size: 14px; font-weight: 300; color: var(--color-text-secondary); line-height: 1.55;
}
.bullet-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-accent); margin-top: 8px; flex-shrink: 0;
}

/* ===== QUOTE ===== */
.quote-block {
  border-left: 2px solid var(--color-accent);
  padding: 16px 20px; margin-top: 20px;
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left; max-width: 480px;
}
.quote-text { font-size: 14px; font-style: italic; font-weight: 300; color: var(--color-text-secondary); line-height: 1.6; }
.quote-author { font-size: 12px; font-weight: 400; color: var(--color-text-muted); margin-top: 10px; }

/* ===== OPTIONS ===== */
.options-list { display: flex; flex-direction: column; gap: 8px; }

.option-card {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border-radius: var(--radius); border: 1px solid var(--color-border);
  background: var(--color-surface-raised); cursor: pointer;
  transition: all 0.15s; user-select: none;
}
.option-card:hover { border-color: #383838; background: #222222; }
.option-card.selected { border-color: var(--color-accent); background: var(--color-accent-soft); }
.option-card.selected .option-title { color: var(--color-text); }
.option-card.max-reached { opacity: 0.35; cursor: default; }
.option-card.max-reached:hover { border-color: var(--color-border); background: var(--color-surface-raised); }

/* ===== DUAL-SINGLE COLUMNS ===== */
.dual-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dual-column-label { font-size: 12px; font-weight: 500; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.dual-column .option-card { padding: 12px 14px; }
.dual-column .option-title { font-size: 13px; }
.dual-column.col-disabled { opacity: 0.3; pointer-events: none; }
.option-card.col-disabled { cursor: default; }
.option-hint { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; line-height: 1.3; }
.option-card.selected .option-hint { color: var(--color-text-secondary); }
@media (max-width: 560px) { .dual-columns { grid-template-columns: 1fr; } }

.option-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.option-icon svg { width: 20px; height: 20px; stroke: var(--color-text-muted); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.option-card.selected .option-icon svg { stroke: var(--color-accent); }

.option-text { flex: 1; min-width: 0; }
.option-title { font-size: 14px; font-weight: 400; color: var(--color-text); line-height: 1.4; }
.option-subtitle { font-size: 12px; font-weight: 300; color: var(--color-text-muted); margin-top: 4px; line-height: 1.5; }
.option-card.selected .option-subtitle { color: var(--color-text-secondary); }

.option-indicator {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--color-border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; margin-top: 1px;
}
.option-card.selected .option-indicator { background: var(--color-accent); border-color: var(--color-accent); }
.option-card.selected .option-indicator::after {
  content: ''; display: block; width: 8px; height: 5px;
  border-left: 1.5px solid #0A0A0A; border-bottom: 1.5px solid #0A0A0A;
  transform: rotate(-45deg) translateY(-1px);
}
.option-indicator.checkbox { border-radius: 5px; }
.option-card.selected .option-indicator.checkbox { border-radius: 5px; }

/* ===== LIMIT HINT ===== */
.limit-hint { font-size: 12px; color: var(--color-text-muted); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.limit-hint svg { width: 14px; height: 14px; stroke: var(--color-text-muted); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.limit-hint .count { color: var(--color-accent); font-weight: 500; }

/* ===== TEXT INPUT ===== */
.text-input-wrapper { margin-top: 4px; }
.text-input {
  width: 100%; padding: 16px 18px; font-size: 14px; font-weight: 400;
  font-family: var(--font); border: 1px solid var(--color-border);
  border-radius: var(--radius); background: var(--color-surface-raised);
  outline: none; color: var(--color-text); transition: border-color 0.15s;
}
.text-input:focus { border-color: var(--color-accent); box-shadow: 0 0 0 2px var(--color-accent-soft); }
.text-input::placeholder { color: var(--color-text-muted); font-weight: 300; }
textarea.text-input { min-height: 120px; resize: vertical; line-height: 1.6; }

.form-fields { display: flex; flex-direction: column; gap: 14px; }
.form-field-label { font-size: 12px; font-weight: 500; color: var(--color-text-muted); letter-spacing: 0.3px; margin-bottom: 6px; display: block; }

/* Profile fields */
.profile-field { display: flex; flex-direction: column; }
.profile-options { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-option {
  padding: 10px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: var(--color-surface-raised);
  color: var(--color-text); font-size: 13px; font-weight: 400; font-family: var(--font);
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.profile-option:hover { border-color: #383838; background: #222222; }
.profile-option.selected { border-color: var(--color-accent); background: var(--color-accent-soft); }

.text-input.invalid { border-color: #e05555; }
.text-input.invalid:focus { border-color: #e05555; box-shadow: 0 0 0 2px rgba(224, 85, 85, 0.15); }
.field-error { font-size: 11px; color: #e05555; margin-top: 4px; line-height: 1.3; display: none; }
.field-error.visible { display: block; }

/* ===== GETCOURSE WIDGET ===== */
.gc-widget-container { margin-top: 8px; }
.gc-widget-container form { max-width: 100%; }
.gc-widget-container input[type="text"],
.gc-widget-container input[type="email"],
.gc-widget-container input[type="tel"] {
  width: 100%; box-sizing: border-box;
  background: var(--color-surface-raised); border: 1px solid var(--color-border);
  color: var(--color-text); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 14px; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}
.gc-widget-container input:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(106, 91, 205, 0.18);
}
.gc-widget-container button[type="submit"] {
  width: 100%; padding: 16px; border: none; border-radius: var(--radius-sm);
  background: var(--color-accent); color: #fff; font-size: 15px;
  font-weight: 600; font-family: inherit; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  margin-top: 6px;
}
.gc-widget-container button[type="submit"]:hover { background: var(--color-accent-hover); }
.gc-widget-container button[type="submit"]:active { transform: scale(0.98); }

/* ===== GC FORM CONSENT & VALIDATION ===== */
.gc-field-error {
  display: none; font-size: 11px; color: #e05555; margin: -6px 0 10px; line-height: 1.3;
}
.gc-field-error.visible { display: block; }
.gc-input-invalid { border-color: #e05555 !important; }
.gc-input-invalid:focus { box-shadow: 0 0 0 2px rgba(224, 85, 85, 0.15) !important; }

.gc-consent {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  margin: 8px 0 4px; user-select: none;
}
.gc-consent input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.gc-consent-check {
  width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--color-border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; margin-top: 1px; background: transparent;
}
.gc-consent input:checked ~ .gc-consent-check {
  background: var(--color-accent); border-color: var(--color-accent);
}
.gc-consent input:checked ~ .gc-consent-check::after {
  content: ''; display: block; width: 8px; height: 5px;
  border-left: 1.5px solid #0A0A0A; border-bottom: 1.5px solid #0A0A0A;
  transform: rotate(-45deg) translateY(-1px);
}
.gc-consent-text {
  font-size: 12px; font-weight: 300; color: var(--color-text-secondary); line-height: 1.5;
}
.gc-consent-text a { color: var(--color-accent); text-decoration: none; }
.gc-consent-text a:hover { text-decoration: underline; }

/* ===== INFO BUBBLE ===== */
.info-bubble {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px;
  border-radius: var(--radius-sm); background: var(--color-accent-soft); margin-top: 20px;
}
.info-bubble[data-color="success"] { background: var(--color-success-soft); }
.info-bubble[data-color="warm"] { background: var(--color-warm-soft); }
.info-bubble-icon { flex-shrink: 0; margin-top: 1px; width: 16px; height: 16px; }
.info-bubble-icon svg { width: 16px; height: 16px; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.info-bubble[data-color="default"] .info-bubble-icon svg,
.info-bubble:not([data-color]) .info-bubble-icon svg { stroke: var(--color-accent); }
.info-bubble[data-color="success"] .info-bubble-icon svg { stroke: var(--color-success); }
.info-bubble[data-color="warm"] .info-bubble-icon svg { stroke: var(--color-warm); }
.info-bubble-text { font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--color-text-secondary); }

/* ===== CONSENT ===== */
.consent-list { display: flex; flex-direction: column; gap: 6px; }

.consent-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px;
  border-radius: var(--radius); border: 1px solid var(--color-border);
  background: var(--color-surface-raised); cursor: pointer; transition: all 0.15s;
}
.consent-item:hover { border-color: #383838; }
.consent-item.checked { border-color: var(--color-accent); background: var(--color-accent-soft); }

.consent-check {
  width: 20px; height: 20px; border-radius: 5px; border: 1.5px solid var(--color-border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s; margin-top: 1px;
}
.consent-item.checked .consent-check { background: var(--color-accent); border-color: var(--color-accent); }
.consent-item.checked .consent-check::after {
  content: ''; display: block; width: 8px; height: 5px;
  border-left: 1.5px solid #0A0A0A; border-bottom: 1.5px solid #0A0A0A;
  transform: rotate(-45deg) translateY(-1px);
}
.consent-text { font-size: 13px; font-weight: 300; color: var(--color-text-secondary); line-height: 1.5; }
.consent-text a { color: var(--color-accent); text-decoration: none; }
.consent-text a:hover { text-decoration: underline; }

/* ===== SERVICE DATA ===== */
.service-table { width: 100%; text-align: left; }
.service-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--color-border-subtle); gap: 16px; }
.service-row:last-child { border-bottom: none; }
.service-label { font-size: 13px; font-weight: 400; color: var(--color-text-muted); flex-shrink: 0; min-width: 140px; }
.service-value { font-size: 13px; font-weight: 300; color: var(--color-text-secondary); text-align: right; }
.service-section-title { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text-muted); padding: 16px 0 6px; }

/* ===== FOOTER / CTA ===== */
.quiz-footer { padding: 16px 32px 28px; display: flex; gap: 10px; }

.btn-cta {
  flex: 1; height: 48px; border: none; border-radius: var(--radius-sm);
  background: var(--color-accent); color: #0A0A0A;
  font-size: 14px; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.2px;
}
.btn-cta:hover { background: #D4B47E; }
.btn-cta:disabled { background: var(--color-border); color: var(--color-text-muted); cursor: default; }

.btn-back {
  width: 48px; height: 48px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s;
}
.btn-back:hover { background: var(--color-surface-hover); border-color: #383838; }
.btn-back svg { width: 18px; height: 18px; stroke: var(--color-text-secondary); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ===== RESULTS SCREEN ===== */
.results-section { margin-bottom: 28px; }
.results-section-title {
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--color-text); margin-bottom: 14px;
}
.results-cards { display: flex; flex-direction: column; gap: 8px; }
.results-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--color-surface-raised); border: 1px solid var(--color-border-subtle);
}
.results-card-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }
.results-card-icon svg { width: 18px; height: 18px; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.results-card-icon.accent svg { stroke: var(--color-text); }
.results-card-icon.success svg { stroke: var(--color-success); }
.results-card-icon.warn svg { stroke: #e05555; }
.results-section-title.warn { color: #e05555; }

.results-grid { display: grid; gap: 10px; }
.results-grid[data-cols="1"] { grid-template-columns: 1fr; }
.results-grid[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.results-grid[data-cols="3"] { grid-template-columns: 1fr 1fr 1fr; }
.results-grid .results-card {
  flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px;
}
.results-grid .results-card-icon { margin-top: 0; }
.results-grid .results-card-text { font-size: 12.5px; }
.results-card-text { font-size: 13px; font-weight: 300; line-height: 1.55; color: var(--color-text-secondary); }
.results-card-text strong { font-weight: 500; color: var(--color-text); }

/* ── Focus cards — split layout ── */
.focus-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px;
}
.focus-name {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 16px;
  background: var(--color-surface-raised); border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
}
.focus-name.primary { border-color: var(--color-text); }
.focus-name-text { font-size: 14px; font-weight: 400; color: var(--color-text); line-height: 1.4; }
.focus-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-accent); color: #0A0A0A;
  font-size: 11px; font-weight: 600; flex-shrink: 0; vertical-align: middle;
}
.focus-bullets { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.focus-bullet {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--color-text-secondary);
}
.focus-bullet.is-quote { font-style: normal; }
.focus-check {
  flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px;
}
.focus-check svg {
  width: 16px; height: 16px; stroke: #fff; stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 520px) {
  .focus-row { grid-template-columns: 1fr; }
}

.obstacle-card { flex-direction: row; align-items: flex-start; gap: 14px; }
.obstacle-card .results-card-icon { margin-top: 2px; flex-shrink: 0; }
.obstacle-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.obstacle-card-title { font-size: 14px; font-weight: 500; color: var(--color-text); line-height: 1.3; }
.obstacle-card-text { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--color-text-secondary); }

/* ── ROADMAP — straight-line timeline with fork ── */
.roadmap { position: relative; padding: 4px 0 0 0; }

.roadmap-step {
  display: grid; grid-template-columns: 1fr 48px 1fr; column-gap: 12px;
  opacity: 0; animation: rmFadeIn 0.5s ease forwards;
  animation-delay: calc(var(--step) * 0.35s);
}
.roadmap-center { display: flex; flex-direction: column; align-items: center; }
.roadmap-side { padding-bottom: 16px; min-height: 20px; }
.roadmap-step[data-side="left"] > .roadmap-side:first-child { text-align: right; }

/* Straight dashed connector between dots */
.roadmap-line-dash {
  flex-grow: 1; width: 0; min-height: 28px;
  border-left: 2px dashed rgba(200,164,110,0.4);
}
.roadmap-line-dash.green {
  border-left-color: rgba(74,222,128,0.35);
}

/* Dots */
.roadmap-dot {
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--color-text-muted);
  background: var(--color-surface); position: relative; z-index: 1; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.roadmap-dot.accent-dot { border-color: var(--color-accent); background: var(--color-accent); }
.roadmap-dot-ping {
  position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--color-accent);
  animation: rmPing 2s ease-out infinite; opacity: 0;
}
.roadmap-dot.success-dot { border-color: var(--color-success); background: var(--color-success); }
.roadmap-dot.goal-dot { width: 26px; height: 26px; border: none; background: var(--color-success); }
.roadmap-dot.goal-dot svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2.5; fill: none; }
.roadmap-dot.fade-dot { border-color: rgba(255,255,255,0.15); background: var(--color-surface); }
.roadmap-dot.decision-dot {
  width: 32px; height: 32px; border: 2px solid var(--color-accent);
  background: rgba(200,164,110,0.12); box-shadow: 0 0 20px rgba(200,164,110,0.25);
}
.roadmap-dot.decision-dot svg { width: 16px; height: 16px; stroke: var(--color-accent); stroke-width: 2; fill: none; }

.roadmap-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-accent); margin-bottom: 4px;
}
.roadmap-text { font-size: 13px; font-weight: 300; line-height: 1.55; color: var(--color-text-secondary); }

/* Fork — SVG with two diverging dashed lines */
.roadmap-fork-svg {
  display: block; width: 100%; height: 56px; margin: 0;
  opacity: 0; animation: rmFadeIn 0.5s ease forwards;
  animation-delay: calc(var(--step) * 0.35s);
}

/* Branch columns — flex, centered, with visible gap */
.roadmap-branches {
  display: flex; justify-content: center; gap: 80px; margin: 0;
  opacity: 0; animation: rmFadeIn 0.5s ease forwards;
  animation-delay: calc(var(--step) * 0.35s + 0.15s);
}
.roadmap-branch {
  position: relative; flex: 0 1 220px;
  display: flex; flex-direction: column; padding: 0;
}

/* Continuous vertical dashed lines on inner edges — extend upward to overlap fork */
.branch-no::after {
  content: ''; position: absolute; right: -1px; top: -8px; bottom: 14px;
  width: 0; z-index: 0;
  border-left: 2px dashed rgba(255,255,255,0.15);
}
.branch-yes::before {
  content: ''; position: absolute; left: -1px; top: -8px; bottom: 14px;
  width: 0; z-index: 0;
  border-left: 2px dashed rgba(74,222,128,0.35);
}

/* Branch steps — horizontal layout */
.roadmap-branch-step {
  display: flex; flex-direction: row; align-items: flex-start; gap: 12px;
  position: relative; z-index: 1; padding-bottom: 24px;
  opacity: 0; animation: rmFadeIn 0.4s ease forwards;
  animation-delay: calc((var(--step, 4) * 0.35s) + (var(--bs) * 0.3s) + 0.2s);
}
.roadmap-branch-content { flex: 1; min-width: 0; }

/* branch-no: text on LEFT, dot on the RIGHT (over the line) */
.branch-no .roadmap-branch-step { justify-content: flex-end; }
.branch-no .roadmap-branch-content { text-align: right; order: 1; }
.branch-no .roadmap-dot { order: 2; margin-right: -8px; flex-shrink: 0; }

/* branch-yes: dot on the LEFT (over the line), text on RIGHT */
.branch-yes .roadmap-branch-step { justify-content: flex-start; }
.branch-yes .roadmap-branch-content { text-align: left; }
.branch-yes .roadmap-dot { margin-left: -8px; flex-shrink: 0; }
.branch-yes .roadmap-dot.goal-dot { margin-left: -14px; }

.branch-yes .roadmap-label { color: var(--color-success); }
.branch-no .roadmap-label { color: var(--color-text-muted); }
.branch-no .roadmap-text { color: var(--color-text-muted); opacity: 0.7; }

@keyframes rmFadeIn { to { opacity: 1; } }
@keyframes rmPing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.results-stat-row {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  background: var(--color-success-soft); border: 1px solid rgba(74,222,128,0.15);
  margin-bottom: 28px;
}
.results-stat-num { font-size: 32px; font-weight: 300; color: var(--color-success); line-height: 1; flex-shrink: 0; white-space: nowrap; }
.results-stat-label { font-size: 13px; font-weight: 300; color: var(--color-text-secondary); line-height: 1.5; }

.results-note {
  font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--color-text-muted);
  padding: 16px; border-radius: var(--radius-sm);
  background: var(--color-accent-soft); margin-bottom: 0;
}
.results-note strong { font-weight: 500; color: var(--color-text-secondary); }

.dual-footer { display: flex; gap: 10px; width: 100%; }
.btn-cta-outline {
  flex: 1; height: 48px; border: 1px solid var(--color-accent); border-radius: var(--radius-sm);
  background: transparent; color: var(--color-accent);
  font-size: 14px; font-weight: 500; font-family: var(--font);
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.2px;
}
.btn-cta-outline:hover { background: var(--color-accent-soft); }

/* ===== CURATOR POINTS ===== */
.curator-points { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.curator-point { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.curator-point-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--color-accent); margin-top: 1px; }
.curator-point-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.curator-point-text { font-size: 14px; line-height: 1.55; color: var(--color-text); }
.curator-point-text strong { font-weight: 600; }

/* ===== PDF BUTTON ===== */
.btn-cta-outline svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 4px; }
.btn-cta svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 4px; }

/* ===== EMBED MODE (iframe widget) ===== */
.embed {
  --color-accent: #ffffff;
  --color-accent-soft: rgba(255, 255, 255, 0.08);
  --color-accent-glow: rgba(255, 255, 255, 0.12);
  --color-text: #ffffff;
  --color-text-secondary: #93979f;
  --color-text-muted: #696e77;
  --color-bg: #17181A;
  --color-surface: #212226;
  --color-surface-hover: #2a2b30;
  --color-surface-raised: #303236;
  --color-border: #43464c;
  --color-border-subtle: #303236;
  --color-warm: #ffffff;
  --color-warm-soft: rgba(255, 255, 255, 0.08);
  --font: 'Mulish', Arial, sans-serif;
  --radius: 16px;
  --radius-sm: 12px;
  background: var(--color-bg);
}
.embed .toolbar { display: none; }
.embed .main-area { height: 100vh; overflow: hidden; }
.embed .quiz-area { padding: 16px 0; min-height: auto; height: 100%; }
.embed .quiz-card { border-color: var(--color-border-subtle); height: calc(100vh - 32px); display: flex; flex-direction: column; }
.embed .quiz-content { flex: 1; overflow-y: auto; }
.embed .quiz-footer { flex-shrink: 0; }
.embed .progress-section { padding: 24px 32px 0; }
.embed .dual-column { display: flex; flex-direction: column; gap: 8px; }
.embed .progress-fill { background: #ffffff; }
.embed .progress-pct { color: #ffffff; }
.embed .quiz-title { font-family: 'Mulish', Arial, sans-serif; font-weight: 700; }
.embed .quiz-subtitle { font-family: 'Mulish', Arial, sans-serif; font-weight: 400; }
.embed .option-card.selected { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.embed .option-card.selected .option-indicator { background: #ffffff; border-color: #ffffff; }
.embed .option-card.selected .option-icon svg { stroke: #ffffff; }
.embed .option-card:hover { border-color: #505050; }
.embed .hero-icon.accent { background: rgba(255, 255, 255, 0.08); }
.embed .hero-icon.accent svg { stroke: #ffffff; }
.embed .info-bubble { background: rgba(255, 255, 255, 0.05); }
.embed .info-bubble-icon svg { stroke: #93979f !important; }
.embed .limit-hint .count { color: #ffffff; }
.embed .limit-hint svg { stroke: #93979f; }
.embed .text-input:focus { border-color: #ffffff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); }
.embed .consent-item.checked { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.embed .consent-item.checked .consent-check { background: #ffffff; border-color: #ffffff; }
.embed .btn-cta {
  background: #ffffff; color: #17181A; border-radius: 32px;
  font-family: 'Mulish', Arial, sans-serif; font-weight: 600; font-size: 14px;
}
.embed .btn-cta:hover { background: #e8e8e8; }
.embed .btn-cta:disabled { background: var(--color-surface-raised); color: var(--color-text-muted); }
.embed .btn-back { border-radius: 32px; }
.embed .btn-back svg { stroke: #ffffff; }
.embed .option-card { border-radius: var(--radius); }
.embed .profile-option.selected { border-color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.embed .gc-widget-container input:focus { border-color: #ffffff; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1); }
.embed .gc-widget-container button[type="submit"] {
  background: #ffffff; color: #17181A; border-radius: 32px;
  font-family: 'Mulish', Arial, sans-serif; font-weight: 600; font-size: 14px;
}
.embed .gc-widget-container button[type="submit"]:hover { background: #e8e8e8; }
.embed .gc-widget-container button[type="submit"]:disabled { background: var(--color-surface-raised); color: var(--color-text-muted); }
.embed .quiz-card[data-theme="results"] .stat-number.accent,
.embed .roadmap-dot.accent-dot { border-color: #C8A46E; background: #C8A46E; }
.embed .roadmap-dot.decision-dot { border-color: #C8A46E; background: rgba(200,164,110,0.12); box-shadow: 0 0 20px rgba(200,164,110,0.25); }
.embed .roadmap-dot.decision-dot svg { stroke: #C8A46E; }
.embed .roadmap-label { color: #C8A46E; }
.embed .roadmap-line-dash { border-left-color: rgba(200,164,110,0.4); }
.embed .focus-num { background: #C8A46E; }
.embed .results-note { background: rgba(200,164,110,0.08); }

@media print {
  .toolbar, .quiz-footer, .progress-section { display: none !important; }
  .main-area { display: block !important; }
  .quiz-area { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
  .quiz-card { box-shadow: none !important; border: none !important; background: #fff !important; color: #111 !important; }
  .quiz-content { color: #111 !important; }
  .quiz-title, .results-section-title, .results-card-text strong, .results-stat-num { color: #111 !important; }
  .quiz-subtitle, .results-card-text, .results-stat-label { color: #444 !important; }
  .results-card { background: #f8f8f8 !important; border-color: #ddd !important; }
  .results-card-icon.accent svg { stroke: #333 !important; }
  .results-card-icon.warn svg { stroke: #c33 !important; }
  .results-card-icon.success svg { stroke: #2a9d5c !important; }
  .results-section-title.warn { color: #c33 !important; }
  .obstacle-card-title { color: #111 !important; }
  .obstacle-card-text { color: #444 !important; }
  .roadmap-step, .roadmap-fork, .roadmap-branches, .roadmap-branch-step { opacity: 1 !important; animation: none !important; }
  .roadmap-label { color: #666 !important; }
  .roadmap-text { color: #444 !important; }
  .branch-no .roadmap-text { color: #999 !important; }
  .results-stat-row { background: #eefaf0 !important; border-color: #bde6c8 !important; }
  .results-stat-num { color: #2a9d5c !important; }
}
