/* ═══════════════════════════════════════════════════
   BPM-AI.com — AI Process Readiness Assessment
   Design System & Styles
   ═══════════════════════════════════════════════════ */

/* ─── Design Tokens ─── */
:root {
  /* Primary */
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-medium: #334155;

  /* Accent */
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-light: #dbeafe;
  --accent-muted: rgba(59, 130, 246, 0.1);

  /* Surfaces */
  --surface: #f8fafc;
  --surface-card: #ffffff;
  --surface-dark: #f1f5f9;

  /* Text */
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;

  /* Score Indicators */
  --score-red: #ef4444;
  --score-orange: #f97316;
  --score-amber: #eab308;
  --score-blue: #3b82f6;
  --score-green: #22c55e;

  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Font */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-py: 5rem;
  --section-py-mobile: 3.5rem;
  --container-px: 1.5rem;
  --max-w: 1200px;

  /* Radius */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-card);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ─── Typography ─── */
h1, h2, h3, h4 {
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
}

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

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background: var(--surface);
}

.section--dark {
  background: var(--primary);
  color: #ffffff;
}

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.section--gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
  color: #ffffff;
}

.section--gradient h2 {
  color: #ffffff;
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-py-mobile) 0;
  }
}

/* ─── Grid Utilities ─── */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: #ffffff;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--accent);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}

.nav__cta:hover {
  background: var(--accent-hover);
  color: #ffffff !important;
}

/* Mobile nav */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary);
    padding: 1rem var(--container-px) 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav__links.active { display: flex; }
  .nav__links li { width: 100%; }
  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav__cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
  }
}

/* ─── Hero ─── */
.hero {
  padding: 140px 0 80px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.hero__sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__trust {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 500;
}

.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero__sub {
    font-size: 1.05rem;
  }
  .hero__trust {
    gap: 1rem;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-muted);
  color: var(--accent-hover);
}

.btn--outline-white {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── Cards ─── */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.section--dark .section-header p {
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Steps (How It Works) ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-light);
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ─── Credibility Bar ─── */
.credibility {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.credibility__item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.credibility__item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

@media (max-width: 640px) {
  .credibility {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── About Section ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.about-grid__sidebar {
  text-align: center;
}

.about-grid__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 3rem;
  color: var(--accent);
}

.about-grid__name {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.about-grid__role {
  font-size: 0.875rem;
  color: var(--text-light);
}

.about-grid__content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.about-grid__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-grid__content {
    text-align: left;
  }
}

/* ─── Footer ─── */
.footer {
  background: var(--primary);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer__logo span {
  color: var(--accent);
}

.footer__text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════
   ASSESSMENT PAGE
   ═══════════════════════════════════════════════════ */

.assessment-page {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Progress Bar */
.progress {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 64px;
  z-index: 50;
}

.progress__bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress__bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.progress__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.progress__sublabel {
  font-size: 0.8rem;
  color: var(--text-muted);
  float: right;
}

/* Question Container */
.questions {
  flex: 1;
  padding: 2.5rem 0;
}

.question {
  margin-bottom: 2rem;
}

.question:last-child {
  margin-bottom: 0;
}

.question__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.question__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Radio Card Options */
.options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  background: var(--surface-card);
}

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

.option.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 1px var(--accent);
}

.option__radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

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

.option.selected .option__radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.option__label {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-light);
}

.option.selected .option__label {
  color: var(--text);
}

.option__score {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
}

.option.selected .option__score {
  background: var(--accent);
  color: #ffffff;
}

/* Validation Warning */
.question__warning {
  display: none;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #dc2626;
}

.question__warning.visible {
  display: block;
}

/* Assessment Navigation */
.assessment-nav {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface-card);
  position: sticky;
  bottom: 0;
}

.assessment-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Resume Prompt */
.resume-prompt {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.resume-prompt__card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.resume-prompt__card h3 {
  margin-bottom: 0.75rem;
}

.resume-prompt__card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.resume-prompt__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════
   RESULTS PAGE
   ═══════════════════════════════════════════════════ */

/* Score Hero */
.results-hero {
  padding: 140px 0 60px;
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.results-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.score-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
}

.score-circle__value {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.score-circle__max {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.25rem;
}

.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tier-description {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Radar Chart */
.chart-section {
  padding: 3rem 0;
}

.chart-container {
  max-width: 500px;
  margin: 0 auto;
}

/* Dimension Breakdown */
.dimension-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.dimension-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dimension-card__icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.dimension-card__content {
  flex: 1;
  min-width: 0;
}

.dimension-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.dimension-card__name {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

.dimension-card__score {
  font-weight: 700;
  font-size: 0.95rem;
}

.dimension-card__bar {
  height: 8px;
  background: var(--surface-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.dimension-card__bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.dimension-card__summary {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
}

.dimension-card__focus {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 3px 10px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
}

/* CTA Section */
.results-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
  text-align: center;
}

.results-cta h2 {
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.results-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 1rem;
}

.cta-features {
  list-style: none;
  max-width: 440px;
  margin: 0 auto 2rem;
  text-align: left;
}

.cta-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.cta-features li svg {
  width: 20px;
  height: 20px;
  color: var(--score-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Results Actions */
.results-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════════════
   CONTACT / FORM PAGE
   ═══════════════════════════════════════════════════ */

.form-page {
  padding-top: 64px;
}

.form-section {
  padding: 4rem 0;
}

.form-container {
  max-width: 640px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-header p {
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form__label .required {
  color: var(--score-red);
}

.form__input,
.form__select,
.form__textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface-card);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-muted);
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

.form__submit {
  margin-top: 0.5rem;
}

.form__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

/* Score Summary Card (on contact page) */
.score-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.score-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.score-summary__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.score-summary__badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.score-summary__dimensions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.score-summary__dim {
  font-size: 0.8rem;
  color: var(--text-light);
}

.score-summary__dim strong {
  color: var(--primary);
}

@media (max-width: 640px) {
  .score-summary__dimensions {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }

/* ─── Print Styles ─── */
@media print {
  .nav, .footer, .assessment-nav, .results-cta,
  .results-actions, .btn, .no-print {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .results-hero {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 2rem 0 1rem !important;
  }

  .score-circle {
    border-color: #333 !important;
  }

  .score-circle__value {
    color: #000 !important;
  }

  .tier-description {
    color: #333 !important;
  }

  .dimension-card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }

  .chart-container {
    max-width: 400px;
  }
}
