/* ============================================================
   BrandWise — Shared Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,500;0,600;0,700;1,500&family=Inter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --purple: #6C5CE7;
  --purple-dark: #5847d1;
  --blue: #2962FF;
  --teal: #00BFA5;
  --teal-dark: #009e88;
  --navy: #0D1321;
  --navy-soft: #161d30;
  --gray: #6B7280;
  --gray-light: #9aa0ad;
  --cloud: #F5F6F8;
  --white: #FFFFFF;
  --text: #1a1d26;
  --border: #e5e7eb;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0 0 0.5em; color: var(--navy); line-height: 1.15; }
p { margin: 0 0 1em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
}

/* Focus visibility (accessibility floor) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--purple);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------- Type scale ---------------- */
.h0 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -0.01em; }
.h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -0.01em; }
.h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.h3 { font-size: 1.2rem; }
.lede { font-size: 1.2rem; color: var(--gray); line-height: 1.6; max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  color: var(--purple); text-transform: uppercase; letter-spacing: 0.08em;
  border-left: 3px solid var(--purple); padding-left: 10px; margin-bottom: 14px;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px; border-radius: 8px; border: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* ---------------- Header / Nav ---------------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-lockup img { height: 30px; width: auto; }
.brand-lockup .wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy); }
.brand-lockup .wordmark span { color: var(--blue); }
nav.primary { display: flex; align-items: center; gap: 30px; }
nav.primary a { font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.primary a:hover, nav.primary a.active { color: var(--purple); border-color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

@media (max-width: 900px) {
  nav.primary {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    background: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 28px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.18s ease, transform 0.18s ease;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  nav.primary.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  nav.primary a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------------- Hero ---------------- */
.hero { padding: 76px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-art { background: var(--cloud); border-radius: 20px; padding: 40px; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: 100%; max-width: 320px; }

/* Dark navy full-bleed band (signature brand motif — used sparingly) */
.band-dark {
  background: linear-gradient(160deg, var(--navy) 0%, #171e35 100%);
  color: var(--white);
}
.band-dark h2, .band-dark h1, .band-dark h3 { color: var(--white); }
.band-dark .lede { color: #b7bccc; }

/* ---------------- Path cards (dual audience) ---------------- */
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 780px) { .path-grid { grid-template-columns: 1fr; } }
.path-card {
  background: var(--cloud); border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; gap: 14px;
}
.path-card .icon-badge { margin-bottom: 6px; }
.path-card ul { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.path-card ul li { font-size: 0.95rem; padding-left: 22px; position: relative; }
.path-card ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ---------------- Icon badge ---------------- */
.icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--purple); color: var(--white);
  flex-shrink: 0;
}
.icon-badge.blue { background: var(--blue); }
.icon-badge.teal { background: var(--teal); }
.icon-badge svg { width: 24px; height: 24px; }

/* ---------------- Stat row ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 780px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--cloud); border-radius: var(--radius); padding: 30px 28px; }
.stat-card .value { font-family: var(--font-head); font-weight: 700; font-size: 2.5rem; color: var(--purple); margin-bottom: 10px; }
.stat-card p { font-size: 0.95rem; color: var(--text); margin: 0; }
.source-note { font-size: 0.82rem; color: var(--gray-light); margin-top: 18px; font-style: italic; }

/* ---------------- Pillars / icon row ---------------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 780px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar h3 { margin-top: 18px; margin-bottom: 8px; }
.pillar p { color: var(--gray); font-size: 0.97rem; }

/* ---------------- Process steps ---------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.step { background: var(--cloud); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num { font-family: var(--font-head); font-weight: 700; color: var(--purple); font-size: 1.4rem; margin-bottom: 14px; }
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--gray); margin: 0; }

/* ---------------- Quote band ---------------- */
.quote-block { border-radius: var(--radius); background: var(--navy); color: var(--white); padding: 44px 40px; }
.quote-block p { font-family: var(--font-head); font-style: italic; font-weight: 500; font-size: 1.3rem; line-height: 1.5; margin: 0; }

/* ---------------- Cards / feature list ---------------- */
.card { background: var(--cloud); border-radius: var(--radius); padding: 30px; }
.card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .card-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .card-row { grid-template-columns: 1fr; } }

/* ---------------- Pricing ---------------- */
.price-panel {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 16px;
  padding: 40px; max-width: 460px;
}
.price-panel .badge {
  display: inline-block; background: rgba(0,191,165,0.12); color: var(--teal-dark);
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  padding: 6px 12px; border-radius: 20px; margin-bottom: 18px;
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 4px; }
.price-row .now { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: var(--navy); }
.price-row .was { font-size: 1.2rem; color: var(--gray-light); text-decoration: line-through; }
.price-panel .save { font-family: var(--font-head); font-weight: 600; color: var(--teal-dark); font-size: 0.95rem; margin-bottom: 22px; }
.price-panel ul { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 28px; }
.price-panel ul li { font-size: 0.95rem; padding-left: 24px; position: relative; }
.price-panel ul li::before { content: '\2713'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.price-fine { font-size: 0.82rem; color: var(--gray-light); margin-top: 14px; }

/* ---------------- Forms ---------------- */
.form-panel { background: var(--cloud); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.97rem; background: var(--white); color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--purple); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--gray-light); margin-top: 12px; }
.form-success { display: none; background: rgba(0,191,165,0.1); border: 1px solid var(--teal); color: var(--teal-dark); border-radius: 8px; padding: 16px 18px; font-size: 0.92rem; font-weight: 500; }
.form-success.visible { display: block; }

/* ---------------- Ask Your School campaign ---------------- */
.campaign-panel {
  background: var(--cloud); border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
@media (max-width: 860px) { .campaign-panel { grid-template-columns: 1fr; } }
.email-preview {
  background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; padding: 22px;
  font-size: 0.9rem; color: var(--text);
}
.email-preview .field-line { display: flex; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.email-preview .field-line b { color: var(--gray); font-weight: 600; min-width: 54px; }
.email-preview .body-text { white-space: pre-line; line-height: 1.6; margin-top: 12px; }
.campaign-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.copied-msg { font-size: 0.85rem; color: var(--teal-dark); font-weight: 600; margin-top: 10px; display: none; }
.copied-msg.visible { display: inline-flex; align-items: center; gap: 6px; }

/* ---------------- FAQ accordion ---------------- */
.faq-group { margin-bottom: 46px; }
.faq-group h2 { margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--navy);
}
.faq-q .plus { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ''; position: absolute; background: var(--purple); border-radius: 2px; transition: transform 0.2s ease; }
.faq-q .plus::before { width: 20px; height: 2.5px; top: 9px; left: 0; }
.faq-q .plus::after { width: 2.5px; height: 20px; top: 0; left: 9px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 0 22px; color: var(--gray); font-size: 0.97rem; max-width: 720px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------------- Table (compare formats) ---------------- */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.compare-table th { font-family: var(--font-head); color: var(--gray); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table td:first-child, .compare-table th:first-child { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.table-wrap { overflow-x: auto; }

/* ---------------- Footer ---------------- */
footer.site { background: var(--navy); color: #b7bccc; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid .brand-lockup .wordmark { color: var(--white); }
.footer-grid p { font-size: 0.9rem; color: #8b92a6; margin-top: 12px; max-width: 260px; }
.footer-col h5 { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: 0.9rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: #b7bccc; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; color: #7b8299; }
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------------- Utility ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.badge-pill {
  display: inline-block; background: rgba(108,92,231,0.1); color: var(--purple);
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  padding: 6px 14px; border-radius: 20px;
}

/* ---------------- Legal document pages ---------------- */
.legal-meta { color: var(--gray); font-size: 0.9rem; margin-bottom: 8px; }
.legal-toc { background: var(--cloud); border-radius: var(--radius); padding: 26px 30px; margin: 36px 0 52px; max-width: 760px; }
.legal-toc h2 { font-size: 1rem; margin-bottom: 14px; }
.legal-toc ol { padding-left: 20px; list-style: decimal; margin: 0; }
.legal-toc li { margin-bottom: 7px; font-size: 0.94rem; }
.legal-toc a { color: var(--purple); }
.legal-toc a:hover { text-decoration: underline; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 1.3rem; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--border); scroll-margin-top: 96px; }
.legal-body h2:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body p, .legal-body li { color: var(--text); font-size: 1rem; line-height: 1.7; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul { margin: 4px 0 20px; padding-left: 4px; }
.legal-body ul li { padding-left: 22px; position: relative; margin-bottom: 9px; }
.legal-body ul li::before { content: '\2022'; position: absolute; left: 4px; color: var(--purple); font-weight: 700; }
.legal-body strong { color: var(--navy); }
.legal-caps { font-size: 0.93rem; letter-spacing: 0.005em; }
