/*
 * Elmer Suite Marketing Site — Supplementary CSS
 * Extends Tailwind with component-specific styles from mockup 02.
 */

:root {
  --brand: hsl(18, 78%, 55%);
  --brand-light: hsl(18, 60%, 94%);
  --brand-lighter: hsl(18, 50%, 97%);
  --brand-dark: hsl(18, 78%, 42%);
  --brand-text: hsl(18, 78%, 30%);
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-alt: #F5F3F0;
  --border: #E8E4DF;
  --text: #2D2A26;
  --text-secondary: #6B6560;
  --text-muted: #9C9590;
  --success: #3D9A5F;
  --success-bg: #E8F5ED;
  --info: #3B82C4;
  --info-bg: #EBF2FA;
  --warning: #D4920A;
  --warning-bg: #FFF8E6;
  --danger: #C44040;
  --danger-bg: #FDECEC;
}

/* ── Topbar ── */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height: 64px;
}
.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo .mark {
  width: 32px;
  height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
}
.nav {
  display: flex;
  gap: 2px;
  margin-left: 40px;
  flex: 1;
}
.nav a {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  text-decoration: none;
}
.nav a:hover {
  background: var(--brand-lighter);
  color: var(--text);
}
.nav a.active {
  color: var(--brand-dark);
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-text {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 14px;
  text-decoration: none;
}
.btn-demo {
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: var(--brand);
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-demo:hover {
  background: var(--brand-dark);
  color: white;
}

/* ── Hero ── */
.hero {
  padding: 100px 32px 80px;
  text-align: center;
  background: var(--bg);
}
.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 span {
  color: var(--brand);
}
.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ── Buttons ── */
.btn-primary {
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--brand);
  padding: 16px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: white;
}
.btn-secondary {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 16px 24px;
  text-decoration: none;
}
.btn-white {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-dark);
  background: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.btn-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.btn-link:hover {
  color: var(--brand-dark);
}

/* ── Divider ── */
.divider {
  max-width: 1100px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Page Header (inner pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--brand-lighter) 0%, var(--brand-light) 100%);
  padding: 64px 32px;
  text-align: center;
}
.page-header .breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}
.page-header h1 span {
  color: var(--brand);
}
.page-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Values (three-column) ── */
.values {
  padding: 80px 32px;
}
.values-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}
.value-item .icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.value-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Logo Strip ── */
.logos {
  padding: 48px 32px;
  text-align: center;
}
.logos-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.logos-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.logo-box {
  width: 100px;
  height: 36px;
  background: var(--surface-alt);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Platform Visual ── */
.platform {
  padding: 80px 32px;
  background: var(--surface);
}
.platform-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.platform h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}
.platform > .platform-inner > p,
.platform-inner > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.platform-frame {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}

/* ── Testimonial ── */
.testimonial-section {
  padding: 80px 32px;
  text-align: center;
}
.testimonial-inner {
  max-width: 640px;
  margin: 0 auto;
}
.testimonial-section blockquote {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-section .attribution {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}
.testimonial-section .role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Final CTA ── */
.final-cta {
  background: linear-gradient(135deg, var(--brand-light) 0%, #FEF0E8 50%, var(--brand-lighter) 100%);
  padding: 80px 32px;
  text-align: center;
}
.final-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.final-cta p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CTA Section (brand gradient) ── */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 64px 32px;
  text-align: center;
  color: white;
}
.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 24px;
}

/* ── CTA Section (light) ── */
.cta-section-light {
  padding: 64px 32px;
  text-align: center;
}
.cta-section-light h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-section-light p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Footer ── */
.footer {
  background: var(--text);
  color: var(--text-muted);
  padding: 48px 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .name {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 13px;
  color: #9C9590;
  max-width: 260px;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-size: 13px;
  color: #C0BAB5;
  text-decoration: none;
}
.footer-links a:hover {
  color: white;
}
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #6B6560;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #3D3A36;
}

/* ── Solution Blocks (solutions page) ── */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.solution-block:last-child {
  border-bottom: none;
}
.solution-block.reverse {
  direction: rtl;
}
.solution-block.reverse > * {
  direction: ltr;
}
.solution-text .label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.solution-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.solution-text p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}
.solution-text .features {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}
.solution-text .features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}
.solution-text .features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.solution-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

/* Color coding for solutions */
.color-mtss { color: var(--info); }
.color-mtss li::before { background: var(--info); }
.color-pbis { color: var(--success); }
.color-pbis li::before { background: var(--success); }
.color-iep { color: #7C3AED; }
.color-iep li::before { background: #7C3AED; }
.color-safety { color: var(--danger); }
.color-safety li::before { background: var(--danger); }
.color-data { color: var(--warning); }
.color-data li::before { background: var(--warning); }

/* ── Values Grid (about page) ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.value-card {
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.value-card .icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.value-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Team Grid (about page) ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
}
.team-card .photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 3px solid var(--border);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--text-muted);
}
.team-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}
.team-card .role {
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  margin-bottom: 8px;
}
.team-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── District Logos (about page) ── */
.district-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.district-logo {
  width: 140px;
  height: 50px;
  background: var(--surface-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Resource Grid (resources page) ── */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 4px;
}
.filter-tab {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.filter-tab:hover {
  color: var(--text);
}
.filter-tab.active {
  color: var(--brand-dark);
  font-weight: 600;
  border-bottom-color: var(--brand);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.resource-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  border-color: var(--brand);
}
.resource-img {
  height: 160px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-muted);
}
.resource-body {
  padding: 20px;
}
.resource-body .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.tag-casestudy { background: var(--success-bg); color: var(--success); }
.tag-blog { background: var(--info-bg); color: var(--info); }
.tag-press { background: var(--brand-light); color: var(--brand-text); }
.tag-guide { background: #F3E8FF; color: #7C3AED; }
.resource-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}
.resource-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}
.resource-body .meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* Press grid */
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.press-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.press-card:hover {
  border-color: var(--brand);
}
.press-logo {
  width: 48px;
  height: 48px;
  background: var(--surface-alt);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.press-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.press-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.press-card .meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── Funding Cards ── */
.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.funding-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.funding-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border-color: var(--brand);
}
.card-front {
  padding: 28px;
}
.card-front .card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.badge-federal { background: var(--info-bg); color: var(--info); }
.badge-state { background: var(--success-bg); color: var(--success); }
.badge-special { background: var(--warning-bg); color: var(--warning); }
.card-front h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card-front .subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.card-front p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-front .eligible {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin-bottom: 4px;
}
.card-front .eligible-list {
  font-size: 12px;
  color: var(--text-muted);
}
.card-front .link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

/* ── Tips Section ── */
.tip {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}
.tip-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.tip p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── FAQ Layout ── */
.faq-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
}
.faq-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}
.faq-sidebar h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.faq-sidebar a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 6px;
  margin-bottom: 2px;
  border-left: 2px solid transparent;
  text-decoration: none;
}
.faq-sidebar a:hover {
  background: var(--brand-lighter);
  color: var(--text);
}
.faq-sidebar a.active {
  background: var(--brand-light);
  color: var(--brand-dark);
  font-weight: 600;
  border-left-color: var(--brand);
}

.faq-category {
  margin-bottom: 48px;
}
.faq-category h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}
.faq-category .cat-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background: var(--brand-lighter);
}
.faq-question .arrow {
  color: var(--text-muted);
  font-size: 18px;
  transition: transform 0.2s;
}
.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-answer p {
  margin-bottom: 10px;
}
.faq-answer ul {
  margin: 8px 0 8px 20px;
}
.faq-answer li {
  margin-bottom: 4px;
}

/* ── CTA Box (FAQ page) ── */
.cta-box {
  background: var(--brand-light);
  border: 1px solid var(--brand);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}
.cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-box p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ── Section Labels ── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ── Mission (about page) ── */
.mission-highlight {
  background: var(--brand-light);
  border-left: 3px solid var(--brand);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--brand-text);
  line-height: 1.6;
}

/* ── Demo Form ── */
.demo-form input,
.demo-form select,
.demo-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
}
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(230, 104, 51, 0.1);
}
.demo-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════════════════
   Assessment Wizard
   ═══════════════════════════════════════════════════ */

.assessment-wizard {
  min-height: 60vh;
}

/* Progress Bar */
.assessment-progress-container {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 32px 16px;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.assessment-progress-inner {
  max-width: 700px;
  margin: 0 auto;
}
.assessment-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.assessment-progress-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.assessment-progress-label.active {
  color: var(--brand);
}
.assessment-progress-label.completed {
  color: var(--success);
}
.assessment-progress-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.assessment-progress-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 2px;
  transition: width 0.4s ease;
}

/* Step Container */
.assessment-step {
  padding: 48px 32px 80px;
}
.assessment-step-inner {
  max-width: 700px;
  margin: 0 auto;
}
.assessment-step-inner h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.assessment-step-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.assessment-hint {
  font-weight: 400;
  color: var(--text-muted);
}

/* Fields */
.assessment-field {
  margin-bottom: 28px;
}
.assessment-field-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Option Cards (single/multi select) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.option-card {
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.option-card:hover {
  border-color: var(--brand);
  background: var(--brand-lighter);
}
.option-card.selected {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-text);
  box-shadow: 0 0 0 1px var(--brand);
}

/* Challenge Cards (step 2) */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.challenge-card {
  padding: 24px 20px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.challenge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.challenge-card.selected[data-color="info"]    { border-color: var(--info);    background: var(--info-bg); }
.challenge-card.selected[data-color="success"] { border-color: var(--success); background: var(--success-bg); }
.challenge-card.selected[data-color="purple"]  { border-color: #7C3AED;       background: #F3E8FF; }
.challenge-card.selected[data-color="danger"]  { border-color: var(--danger);  background: var(--danger-bg); }
.challenge-card.selected[data-color="warning"] { border-color: var(--warning); background: var(--warning-bg); }

.challenge-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 20px;
  font-weight: 700;
}
.challenge-icon[data-color="info"]    { background: var(--info-bg);    color: var(--info); }
.challenge-icon[data-color="success"] { background: var(--success-bg); color: var(--success); }
.challenge-icon[data-color="purple"]  { background: #F3E8FF;          color: #7C3AED; }
.challenge-icon[data-color="danger"]  { background: var(--danger-bg);  color: var(--danger); }
.challenge-icon[data-color="warning"] { background: var(--warning-bg); color: var(--warning); }

.challenge-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}
.challenge-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}
.challenge-check {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--success);
}

/* Challenge Tabs (step 3) */
.challenge-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.challenge-tab {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.challenge-tab:hover {
  color: var(--text);
}
.challenge-tab.active[data-color="info"]    { color: var(--info);    border-bottom-color: var(--info); }
.challenge-tab.active[data-color="success"] { color: var(--success); border-bottom-color: var(--success); }
.challenge-tab.active[data-color="purple"]  { color: #7C3AED;       border-bottom-color: #7C3AED; }
.challenge-tab.active[data-color="danger"]  { color: var(--danger);  border-bottom-color: var(--danger); }
.challenge-tab.active[data-color="warning"] { color: var(--warning); border-bottom-color: var(--warning); }

.challenge-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.challenge-label[data-color="info"]    { background: var(--info-bg);    color: var(--info); }
.challenge-label[data-color="success"] { background: var(--success-bg); color: var(--success); }
.challenge-label[data-color="purple"]  { background: #F3E8FF;          color: #7C3AED; }
.challenge-label[data-color="danger"]  { background: var(--danger-bg);  color: var(--danger); }
.challenge-label[data-color="warning"] { background: var(--warning-bg); color: var(--warning); }

/* Result Cards (step 4) */
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left-width: 4px;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
}
.result-card[data-color="info"]    { border-left-color: var(--info); }
.result-card[data-color="success"] { border-left-color: var(--success); }
.result-card[data-color="purple"]  { border-left-color: #7C3AED; }
.result-card[data-color="danger"]  { border-left-color: var(--danger); }
.result-card[data-color="warning"] { border-left-color: var(--warning); }

.result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.result-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.result-icon[data-color="info"]    { background: var(--info-bg);    color: var(--info); }
.result-icon[data-color="success"] { background: var(--success-bg); color: var(--success); }
.result-icon[data-color="purple"]  { background: #F3E8FF;          color: #7C3AED; }
.result-icon[data-color="danger"]  { background: var(--danger-bg);  color: var(--danger); }
.result-icon[data-color="warning"] { background: var(--warning-bg); color: var(--warning); }

.result-header h3 {
  font-size: 18px;
  font-weight: 600;
}
.result-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.result-features {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
}
.result-feature-preview {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}
.result-feature-preview strong {
  color: var(--text);
}
.result-feature-preview:last-child {
  margin-bottom: 0;
}
.result-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  margin-top: 8px;
}

/* Gate CTA (step 4) */
.gate-cta {
  background: var(--brand-light);
  border: 1px solid var(--brand);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 32px;
}
.gate-cta h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.gate-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Form (step 5) */
.assessment-contact {
  max-width: 560px;
}
.assessment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.assessment-form .form-field {
  margin-bottom: 0;
}
.assessment-form .form-field:only-child {
  margin-bottom: 16px;
}
/* Consent checkbox */
.assessment-consent {
  margin-top: 16px;
  margin-bottom: 16px;
}
.assessment-consent-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}
.assessment-consent-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.assessment-form-error {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Thank You (step 6) */
.assessment-thankyou {
  text-align: center;
  padding-top: 40px;
}
.thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.assessment-download {
  font-size: 18px;
  margin: 24px 0;
}
.assessment-followup {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.assessment-next-steps {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-top: 32px;
}
.assessment-next-steps h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.assessment-next-steps p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Navigation buttons */
.assessment-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.assessment-nav .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
