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

[x-cloak] { display: none !important; }

: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 {
  margin-bottom: 16px;
  color: var(--brand);
  display: flex;
  justify-content: center;
}
.value-item .icon svg {
  width: 32px;
  height: 32px;
}
.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 {
  margin-bottom: 14px;
  color: var(--brand);
  display: flex;
  justify-content: center;
}
.value-card .icon svg {
  width: 28px;
  height: 28px;
}
.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;
  color: var(--text-muted);
}
.team-card .photo svg {
  width: 36px;
  height: 36px;
}
.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;
}

/* ── Product Mockups ──
   Lightweight HTML representations of v3 product UI.
   Uses v3's 5-point color scale for data visualization. */

.mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 13px;
}
.mockup-chrome {
  background: #fff;
}
.mockup-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 8px;
}
.mockup-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-actions {
  display: flex;
  gap: 6px;
}
.mockup-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: #E6F4EA;
  color: #28A745;
}
.mockup-pill.pill-warn {
  background: #FEF9E1;
  color: #E67E22;
}
.mockup-pill.pill-danger {
  background: #FDE8EA;
  color: #DC3545;
}

/* Mockup table */
.mockup-table {
  width: 100%;
  border-collapse: collapse;
}
.mockup-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: #FAFAF8;
}
.mockup-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #f0eeeb;
}
.mockup-table .student-name {
  font-weight: 600;
  color: var(--text);
}
.mockup-table .col-meta {
  color: var(--text-secondary);
  font-size: 12px;
}

/* v3 color scale (1-5) */
.scale {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
  min-width: 32px;
  text-align: center;
}
.scale-1 { background: #FDE8EA; color: #DC3545; }
.scale-2 { background: #FDF0E2; color: #E67E22; }
.scale-3 { background: #FEF9E1; color: #B8860B; }
.scale-4 { background: #E6F4EA; color: #28A745; }
.scale-5 { background: #E8F0FE; color: #3B82F6; }

/* Tier badges */
.tier {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 11px;
}
.tier-1 { background: #E6F4EA; color: #28A745; }
.tier-2 { background: #FEF9E1; color: #B8860B; }
.tier-3 { background: #FDE8EA; color: #DC3545; }

/* IEP status badges */
.status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}
.status-ok { background: #E6F4EA; color: #28A745; }
.status-warn { background: #FEF9E1; color: #E67E22; }
.status-danger { background: #FDE8EA; color: #DC3545; }
.due-soon { color: #E67E22; font-weight: 600; }

/* Hall pass mockup */
.pass-list {
  padding: 0;
}
.pass-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #f0eeeb;
  gap: 12px;
}
.pass-row.pass-overdue {
  background: #FDE8EA08;
}
.pass-student {
  font-weight: 600;
  color: var(--text);
  min-width: 90px;
}
.pass-detail {
  flex: 1;
  color: var(--text-secondary);
  font-size: 13px;
}
.pass-time {
  font-weight: 700;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.pass-ok { color: var(--text-secondary); }
.pass-warn { color: #DC3545; }
.pass-footer {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  background: #FAFAF8;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* Platform hub mockup */
.platform-hub {
  padding: 24px 16px;
}
.hub-center {
  text-align: center;
  padding: 16px;
  margin-bottom: 20px;
  background: var(--brand-light);
  border-radius: 10px;
}
.hub-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  font-weight: 700;
}
.hub-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 2px;
}
.hub-meta {
  font-size: 13px;
  color: var(--text-secondary);
}
.hub-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hub-module {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hub-module span {
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
}
.hub-module small {
  font-size: 11px;
  color: var(--text-secondary);
}
.hub-module svg {
  color: var(--brand);
}
.mod-ic { border-left: 3px solid #3B82C4; }
.mod-wall { border-left: 3px solid #D4920A; }
.mod-hall { border-left: 3px solid #C44040; }
.mod-iep { border-left: 3px solid #7C3AED; }
.mod-warn { border-left: 3px solid #E67E22; }
.mod-comm { border-left: 3px solid #3D9A5F; }

/* IEP Compliance dashboard */
.compliance-body { padding: 16px; }
.compliance-stats { display: flex; gap: 10px; margin-bottom: 16px; }
.cstat {
  flex: 1; text-align: center; padding: 10px 8px;
  background: #FAFAF8; border-radius: 8px; border: 1px solid var(--border);
}
.cstat-value { font-size: 20px; font-weight: 700; color: var(--text); }
.cstat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cstat-warn .cstat-value { color: #DC3545; }
.compliance-section { margin-bottom: 16px; }
.compliance-section-title {
  font-size: 12px; font-weight: 600; color: var(--text-secondary);
  margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
}
.ct-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px; border-bottom: 1px solid #f0eeeb; font-size: 13px;
}
.ct-row:last-child { border-bottom: none; }
.ct-date { width: 56px; font-weight: 600; color: var(--text-secondary); font-size: 12px; }
.ct-student { font-weight: 600; color: var(--text); min-width: 80px; }
.ct-type { flex: 1; color: var(--text-secondary); font-size: 12px; }
.ct-status { flex-shrink: 0; }
.ct-overdue { background: #FDE8EA08; }
.goal-list { padding: 0 4px; }
.goal-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.goal-name { font-size: 12px; color: var(--text-secondary); width: 200px; flex-shrink: 0; }
.goal-bar {
  flex: 1; height: 8px; background: #f0eeeb; border-radius: 4px; overflow: hidden;
}
.goal-fill { height: 100%; background: #28A745; border-radius: 4px; }
.goal-behind { background: #E67E22; }
.goal-pct { font-size: 12px; font-weight: 600; width: 36px; text-align: right; color: var(--text); }
.goal-pct-behind { color: #E67E22; }

/* District comparison */
.district-body { padding: 16px; }
.district-row {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid #f0eeeb;
}
.district-row:last-child { border-bottom: none; }
.district-row-flag { background: #FDE8EA08; }
.district-row-total { border-top: 2px solid var(--border); font-weight: 600; }
.district-school { width: 140px; font-size: 13px; font-weight: 500; color: var(--text); flex-shrink: 0; }
.district-bar {
  flex: 1; height: 18px; background: #f0eeeb; border-radius: 3px;
  overflow: hidden; display: flex;
}
.bar-seg { height: 100%; }
.seg-green { background: #28A745; }
.seg-yellow { background: #F1C40F; }
.seg-red { background: #DC3545; }
.district-counts { display: flex; gap: 6px; width: 140px; justify-content: flex-end; flex-shrink: 0; }
.dc { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 3px; }
.dc-green { color: #28A745; background: #E6F4EA; }
.dc-yellow { color: #B8860B; background: #FEF9E1; }
.dc-red { color: #DC3545; background: #FDE8EA; }
.district-legend {
  display: flex; gap: 16px; justify-content: center;
  padding: 8px 0 4px; font-size: 11px; color: var(--text-muted);
}
.legend-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 2px;
  margin-right: 4px; vertical-align: middle;
}
.dot-green { background: #28A745; }
.dot-yellow { background: #F1C40F; }
.dot-red { background: #DC3545; }

/* Early Warning */
.warning-body { padding: 12px; }
.warning-card {
  border: 1px solid var(--border); border-radius: 8px;
  margin-bottom: 10px; overflow: hidden;
}
.warning-card:last-child { margin-bottom: 0; }
.warning-active { border-left: 3px solid #DC3545; }
.warning-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 10px 14px; background: #FAFAF8; border-bottom: 1px solid var(--border);
}
.warning-name { font-weight: 600; font-size: 14px; color: var(--text); }
.warning-grade { font-weight: 400; font-size: 12px; color: var(--text-muted); margin-left: 6px; }
.warning-triggers { font-size: 11px; color: var(--text-secondary); margin-top: 2px; }
.warning-signals { padding: 10px 14px; }
.signal {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0; border-bottom: 1px solid #f0eeeb;
}
.signal:last-child { border-bottom: none; }
.signal-icon {
  width: 28px; height: 28px; border-radius: 6px; display: flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.signal-red .signal-icon { background: #FDE8EA; color: #DC3545; }
.signal-orange .signal-icon { background: #FDF0E2; color: #E67E22; }
.signal-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.3px; }
.signal-value { font-size: 13px; font-weight: 500; color: var(--text); }
.signal-trend { font-size: 11px; color: var(--text-muted); margin-left: 4px; }

/* Tabbed mockup pills */
.mockup-tabs {
  display: flex;
  gap: 4px;
}
.mockup-tabs button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
}
.mockup-tabs button:hover {
  background: var(--border);
  color: var(--text);
}
.mockup-tabs button.tab-active {
  background: var(--brand);
  color: white;
}
.mockup-tabs button.tab-active svg {
  color: white;
}

/* ── Mobile hamburger toggle ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  /* Nav: hamburger menu */
  .nav-toggle { display: flex; }
  .topbar-inner { padding: 0 16px; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 8px 16px 16px;
    margin-left: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav-actions {
    display: none;
    /* Actions move into mobile menu — shown via CSS when open */
  }
  .nav.nav-open ~ .nav-actions {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(64px + 200px); /* rough — below nav items */
    left: 0; right: 0;
    background: var(--surface);
    padding: 0 16px 16px;
    z-index: 99;
  }
  /* Simpler: hide desktop nav-actions, show them inside mobile nav */
  .topbar .nav-actions { gap: 8px; }
  .btn-text { font-size: 13px; padding: 6px 10px; }
  .btn-demo { font-size: 13px; padding: 8px 14px; }

  /* Hero */
  .hero { padding: 60px 20px 48px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; margin-bottom: 24px; }
  .hero-ctas { flex-direction: column; align-items: center; gap: 10px; }

  /* Page headers */
  .page-header { padding: 40px 20px; }
  .page-header h1 { font-size: 28px; }
  .page-header p { font-size: 15px; }

  /* Value props (three-column → single) */
  .values { padding: 48px 20px; }
  .values-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Platform section */
  .platform-inner { padding: 48px 20px; }
  .platform-frame { margin: 0 -8px; }

  /* Solution blocks (two-column → stacked) */
  .solution-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .solution-block.reverse { direction: ltr; }
  .solution-text h2 { font-size: 22px; }
  .solution-visual { order: -1; }

  /* Mockup tables: horizontal scroll */
  .mockup { overflow-x: auto; }
  .mockup-table { font-size: 12px; min-width: 500px; }
  .mockup-table th, .mockup-table td { padding: 6px 8px; }
  .mockup-toolbar { flex-wrap: wrap; }

  /* Hub modules */
  .hub-modules { grid-template-columns: repeat(2, 1fr); }
  .platform-hub { padding: 16px 12px; }

  /* Compliance / IEP */
  .compliance-stats { flex-wrap: wrap; }
  .cstat { min-width: calc(50% - 8px); }
  .goal-name { width: 140px; }
  .ct-row { flex-wrap: wrap; gap: 4px; }
  .ct-date { width: auto; }
  .ct-type { width: auto; }

  /* District comparison */
  .district-school { width: 80px; font-size: 11px; }
  .district-counts { width: auto; gap: 4px; }
  .district-bar { min-width: 80px; }

  /* Early warning */
  .warning-signals { padding: 8px 10px; }

  /* Values grid (about page) */
  .values-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Team grid */
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Resource grid */
  .resource-grid { grid-template-columns: 1fr; }

  /* Demo form (two-column → stacked) */
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 32px 20px !important;
  }

  /* Testimonial */
  .testimonial-inner { padding: 48px 20px; }
  .testimonial-inner blockquote { font-size: 18px; }

  /* CTA sections */
  .cta-section, .cta-section-light, .final-cta { padding: 48px 20px; }
  .cta-section h2, .cta-section-light h2, .final-cta h2 { font-size: 24px; }

  /* Tabs */
  .mockup-tabs { flex-wrap: wrap; justify-content: center; }

  /* Logo strip */
  .logos-strip { flex-wrap: wrap; gap: 12px; justify-content: center; }

  /* Quick links on resources */
  [style*="display: flex; gap: 16px; margin-bottom: 48px"] {
    flex-direction: column !important;
  }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; }

  /* Inline styles that need overrides */
  [style*="max-width: 1100px"][style*="display: grid"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hub-modules { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .mockup-table { min-width: 400px; }
  .compliance-stats { gap: 6px; }
  .cstat { min-width: 100%; }
}
