/* Agent-Era Readiness Assessment: landing page styles */
/* Mobile-first, vanilla CSS, no external resources */

:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --border: #e5dfd5;
  --text: #1c1c1a;
  --text-muted: #6b6560;
  --accent: #2d5a4c;
  --accent-light: #eaf2ef;
  --accent-2: #c8956c;
  --radius: 10px;
  --radius-sm: 6px;
  --max-w: 640px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Language visibility */
body.lang-en .nl { display: none; }
body.lang-nl .en { display: none; }

/* Layout wrapper */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Language toggle */
.lang-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 20px;
  gap: 4px;
}

.lang-bar button {
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.lang-bar button.active {
  color: var(--accent);
  background: var(--accent-light);
}

.lang-bar .sep {
  color: var(--border);
  font-size: 0.85rem;
}

/* Progress bar */
.progress-wrap {
  background: var(--border);
  height: 3px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.3s ease;
}

/* Hero */
.hero {
  padding: 40px 0 24px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero .bridge {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* Founder note */
.founder-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0 32px;
}

.founder-note p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* Scan section */
.scan-section { padding-bottom: 48px; }

.scan-intro {
  margin-bottom: 28px;
}

.scan-intro h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.scan-intro p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Questions */
.question {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 16px;
  margin-bottom: 16px;
}

.q-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.q-text {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--text);
}

.options { display: flex; flex-direction: column; gap: 8px; }

.option {
  display: block;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none;
  min-height: 44px;
}

.option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.opt-text {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  display: block;
}

.option:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.option.selected {
  border-color: var(--accent);
  background: var(--accent);
}

.option.selected .opt-text { color: #fff; }

/* Submit */
.submit-wrap {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 52px;
  transition: opacity 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}

.btn-submit:hover { opacity: 0.9; }
.btn-submit:active { transform: scale(0.98); }

.validation-msg {
  font-size: 0.85rem;
  color: var(--accent-2);
  text-align: center;
  display: none;
}

.validation-msg.visible { display: block; }

/* Results */
.results {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 32px;
}

.results.hidden { display: none; }

.result-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.stage-name {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.stage-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}

.stage-dot {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.stage-dot.lit { background: var(--accent); }

.stage-desc {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.dim-insight {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.dim-insight .insight-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.dim-insight p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
}

.bridge-to-full {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 4px;
}

.bridge-to-full p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bridge-to-full .bridge-line {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-style: italic;
}

/* Debrief CTA */
.debrief-cta {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 40px;
  text-align: center;
}

.debrief-cta h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.debrief-cta p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-debrief {
  display: inline-block;
  text-decoration: none;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  transition: opacity 0.15s;
}

.btn-debrief:hover { opacity: 0.88; }

/* Workshop section */
.workshop-cta {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-bottom: 40px;
  background: var(--accent-light);
}

.workshop-cta h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: 1.3;
}

.workshop-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.workshop-detail {
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.workshop-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.btn-workshop {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  transition: opacity 0.15s;
}

.btn-workshop:hover { opacity: 0.88; }

/* Privacy footer */
.privacy-note {
  border-top: 1px solid var(--border);
  padding: 24px 0 48px;
}

.privacy-note p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.privacy-note a {
  color: var(--accent);
  text-decoration: none;
}

/* Ladder self-select poll: T-051 Variant B */
.poll-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.poll-intro { margin-bottom: 20px; }

.poll-intro h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.poll-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.poll-opts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poll-opt {
  width: 100%;
  text-align: left;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  background: var(--surface);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  min-height: 44px;
  font-family: inherit;
}

.poll-opt:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.poll-opt.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.poll-mirror {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-top: 20px;
}

.poll-mirror.hidden { display: none; }

.mirror-rung-header {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.mirror-rung-header strong {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0;
}

.mirror-text {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 12px;
}

.mirror-bridge {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-bottom: 20px;
}

.mirror-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-scan-link {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.btn-scan-link:hover { opacity: 0.88; }

/* Desktop adjustments */
@media (min-width: 640px) {
  .lang-bar { padding: 14px 0; }
  .hero { padding: 56px 0 28px; }
  .hero h1 { font-size: 2.4rem; }
  .question { padding: 26px 24px 20px; }
  .results { padding: 36px 32px; }
  .debrief-cta { padding: 40px 32px; }
}
