/* Tutoring site styles on the Boson design system (Swiss Blueprint Grid).
   Tokens come from boson/boson-tokens.css & boson/boson.css (generated by boson-kit/sync.mjs).
   The palette follows <html data-brand>: "swiftskills" in production, "axiom" when NEXT_PUBLIC_BRAND_STAGE=boson. */

:root {
  /* Compatibility aliases mapped cleanly onto Boson tokens */
  --indigo: var(--brand-accent-dark);
  --indigo-dark: var(--brand-accent-dark);
  --indigo-light: var(--brand-tint);
  --coral: var(--brand-accent);
  --coral-dark: var(--brand-accent-dark);
  --ink: var(--text-primary);
  --ink-soft: var(--text-muted);
  --paper: var(--bg-surface);
  --paper-soft: var(--bg-canvas);
  --line: var(--border-hairline);
  --success: var(--status-ok);

  --radius-sm: var(--radius-control);
  --radius-md: var(--radius-control);
  --radius-lg: var(--radius-card);

  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
@media (max-width: 720px) {
  section { padding: 56px 0; }
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 12px;
}

.lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 620px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--indigo-dark); box-shadow: var(--shadow-md); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo); }

.btn-coral {
  background: var(--coral);
  color: #fff;
}
.btn-coral:hover { background: var(--coral-dark); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--indigo), var(--coral));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--indigo);
  font-weight: 700;
}
.nav-links a.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-login:hover { border-color: var(--indigo); color: var(--indigo); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); display: block; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; }
  .nav { position: relative; }
}

/* Hero */
.hero {
  padding: 76px 0 96px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.pill {
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: var(--indigo-light);
  color: var(--indigo-dark);
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.06;
  margin-bottom: 20px;
}
@media (max-width: 560px) {
  .hero h1 { font-size: 38px; }
}

.hero .lede { margin-bottom: 32px; }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .cta-row .btn { min-width: 260px; padding-left: 40px; padding-right: 40px; }
@media (max-width: 560px) { .hero .cta-row .btn { min-width: 0; width: 100%; } }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--indigo) 0%, #6D63F0 55%, var(--coral) 130%);
  min-height: 420px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.hero-stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 20px;
  width: 100%;
}
.hero-stat-card .stat { text-align: left; }
.hero-stat-card .stat strong { display: block; font-size: 22px; }
.hero-stat-card .stat span { font-size: 13px; color: var(--ink-soft); }
.hero-stat-card .divider { width: 1px; background: var(--line); }

/* Mission band */
.mission {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.mission .eyebrow { color: var(--coral); }
.mission h2 {
  font-size: 34px;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.3;
}
@media (max-width: 560px) { .mission h2 { font-size: 26px; } }

/* Features */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head h2 { font-size: 34px; }
@media (max-width: 560px) { .section-head h2 { font-size: 26px; } }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}
.feature-card:nth-child(2) .icon-badge { background: var(--coral); }
.feature-card:nth-child(3) .icon-badge { background: var(--ink); }

.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; }

/* Subject detail cards */
.subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .subject-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .subject-grid { grid-template-columns: 1fr; } }

.subject-card {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.subject-card:hover { border-color: var(--indigo); box-shadow: var(--shadow-sm); }
.subject-card.open { border-color: var(--indigo); box-shadow: var(--shadow-md); background: var(--indigo-light); }

.subject-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.subject-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--indigo-light);
  color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.subject-card.open .subject-icon { background: var(--indigo); color: #fff; }
.subject-card-head h3 { font-size: 16px; flex: 1; }
.subject-toggle {
  font-size: 18px;
  font-weight: 700;
  color: var(--indigo);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.subject-card.open .subject-toggle { transform: rotate(45deg); }

.subject-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.22s ease, opacity 0.18s ease, margin-top 0.22s ease;
  margin-top: 0;
}
.subject-card.open .subject-detail {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 14px;
}
.subject-detail-inner { overflow: hidden; }
.subject-detail p { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.subject-detail p:last-child { margin-bottom: 0; }
.subject-detail .grade-range { font-weight: 700; color: var(--ink); }

.subject-card-other {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper-soft);
  border-style: dashed;
  text-decoration: none;
}
.subject-card-other:hover { border-color: var(--coral); box-shadow: var(--shadow-sm); }
.subject-card-other .subject-icon { background: var(--coral); color: #fff; }
.subject-card-other .subject-toggle { color: var(--coral); }
.subject-card-other p { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; }

/* Who we are */
.who-we-are { background: var(--paper-soft); }
.who-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
}
.who-grid h2 { font-size: 36px; margin: 12px 0 24px; }

.stat-rows { display: flex; flex-direction: column; gap: 28px; }
.stat-row { display: flex; gap: 18px; }
.stat-row .dot {
  width: 10px; height: 10px; border-radius: var(--radius-sm);
  background: var(--coral);
  margin-top: 8px;
  flex-shrink: 0;
}
.stat-row h4 { font-size: 17px; margin-bottom: 4px; }
.stat-row p { color: var(--ink-soft); font-size: 15px; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card .stars { color: var(--coral); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p.quote { font-size: 15px; color: var(--ink); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--indigo-light);
  color: var(--indigo-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.testimonial-person strong { display: block; font-size: 14px; }
.testimonial-person span { font-size: 13px; color: var(--ink-soft); }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  margin: 0 24px;
}
.final-cta-wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.final-cta h2 { font-size: 32px; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 32px; font-size: 16px; }
.final-cta .cta-row { justify-content: center; }
.final-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.final-cta .btn-secondary:hover { border-color: #fff; color: #fff; }

/* Newsletter band */
.newsletter-band {
  background: var(--ink);
  padding: 56px 0;
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.newsletter-inner p { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 24px; }
.newsletter-embed-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 8px;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Page header (interior pages) */
.page-header {
  padding: 64px 0 48px;
  text-align: center;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: 42px; margin-bottom: 14px; }
@media (max-width: 560px) { .page-header h1 { font-size: 30px; } }
.page-header p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; font-size: 17px; }

/* Team cards (About) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--indigo-light);
}
.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 800;
  color: var(--indigo);
}
.team-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.team-body h3 { font-size: 19px; }
.team-body .pronouns { font-size: 13px; color: var(--ink-soft); margin-top: -6px; }
.team-body p.bio { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.team-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.team-actions a {
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.team-actions a:hover { border-color: var(--indigo); background: var(--indigo-light); }

/* Values row (About) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; } }
.value-item { text-align: center; padding: 8px; }
.value-item .icon-badge { margin: 0 auto 18px; }
.value-item h3 { font-size: 17px; margin-bottom: 8px; }
.value-item p { color: var(--ink-soft); font-size: 14.5px; }

/* Pricing */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .plans-grid { grid-template-columns: 1fr; } }
.plans-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
@media (max-width: 600px) { .plans-grid--two { grid-template-columns: 1fr; } }

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.plan-card.featured { border-color: var(--indigo); box-shadow: var(--shadow-md); }
.plan-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--coral);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}
.plan-card h3 { font-size: 18px; }
.plan-price { font-size: 30px; font-weight: 800; }
.plan-price sup { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.plan-price .strike { font-size: 15px; color: var(--ink-soft); text-decoration: line-through; font-weight: 500; margin-left: 6px; }
.plan-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-soft); flex: 1; }
.plan-list li { padding-left: 22px; position: relative; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  border-radius: var(--radius-sm);
  background: var(--success);
  opacity: 0.15;
}
.plan-list li::after {
  content: "✓";
  position: absolute;
  left: 2px; top: 2px;
  font-size: 11px;
  color: var(--success);
  font-weight: 800;
}

/* Quote builder */
.quote-builder {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
@media (max-width: 860px) { .quote-builder { grid-template-columns: 1fr; padding: 28px; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.field select, .field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
}
.field select:focus, .field input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px var(--indigo-light); }

.quote-summary {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: fit-content;
}
.quote-summary h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); }
.quote-line { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); }
.quote-line strong { color: var(--ink); font-weight: 600; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.quote-total span { font-size: 15px; font-weight: 700; }
.quote-total strong { font-size: 28px; color: var(--indigo); }
.quote-ticket { font-size: 12px; color: var(--ink-soft); background: var(--paper-soft); padding: 8px 12px; border-radius: var(--radius-sm); }

.faq-grid { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px 24px; }
.faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--indigo); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }

/* Referrals */
.give-get-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .give-get-grid { grid-template-columns: 1fr; } }

.give-get-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
}
.give-get-card.give { background: linear-gradient(135deg, var(--indigo), var(--indigo-dark)); }
.give-get-card.get { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.give-get-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.give-get-card .amount { font-size: 40px; font-weight: 800; margin-bottom: 10px; }
.give-get-card p { color: rgba(255,255,255,0.9); font-size: 15px; }

.account-prompt {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.account-prompt .icon-badge { margin: 0 auto 16px; }
.account-prompt h3 { font-size: 20px; margin-bottom: 10px; }
.account-prompt p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.account-prompt .btn { min-width: 220px; }
.account-prompt .fine-print { font-size: 13px; color: var(--ink-soft); margin-top: 16px; margin-bottom: 0; }

.tally-embed-wrap {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  max-width: 640px;
  margin: 0 auto;
}

.competitor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 24px 0 40px;
}
.competitor-chip {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.proof-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.proof-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.proof-step .step-num {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--indigo);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.proof-step p { color: var(--ink-soft); font-size: 15px; padding-top: 4px; }
.proof-step strong { color: var(--ink); }

.section-band { background: var(--paper-soft); }


/* Legal / prose pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 20px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.prose strong { color: var(--ink); }

/* Contact modal */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 21, 43, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none; }
.modal-dialog {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: none;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper-soft);
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--indigo-light); color: var(--indigo); border-color: var(--indigo-light); }
.modal-header { margin-bottom: 18px; padding-right: 24px; }
.modal-header h2 { font-size: 22px; }
.modal-fine-print { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 14px; }

/* ---- 2026-11 updates ---- */
.logo-owl { height: 36px; width: auto; display: block; flex: none; }

.free-banner {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
  justify-content: center;
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: #FFF1EC;
  border: 1px solid #FCD3C4;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.free-banner strong { color: var(--coral-dark); }
.free-banner span { color: var(--ink-soft); }
.free-banner:hover { border-color: var(--coral); }
@media (max-width: 600px) { .free-banner { border-radius: var(--radius-md); } }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.quote-sent {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #E9F7F1;
  border: 1px solid #BFE6D5;
}
.quote-sent strong { color: var(--success); }
.quote-sent p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* Testimonials: auto-scrolling bar (cards are listed twice for a seamless loop) */
.testimonial-marquee {
  overflow: hidden;
  padding: 8px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonial-scroll 40s linear infinite;
}
.testimonial-marquee:hover .testimonial-track,
.testimonial-marquee:focus-within .testimonial-track { animation-play-state: paused; }
.testimonial-track .testimonial-card { width: 340px; flex: none; }
@keyframes testimonial-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}
@media (max-width: 600px) {
  .testimonial-track { animation-duration: 30s; }
  .testimonial-track .testimonial-card { width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonial-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .testimonial-track { animation: none; }
  .testimonial-track .testimonial-card[aria-hidden="true"] { display: none; }
}

/* ---- Hero refresh (owl palette + motion) ---- */
.hero {
  padding: 56px 0 72px;
  background:
    radial-gradient(ellipse 55% 60% at 0% 0%, #EEF0FF 0%, rgba(238,240,255,0) 70%),
    radial-gradient(ellipse 45% 55% at 100% 100%, #FFE9E1 0%, rgba(255,233,225,0) 70%),
    #fff;
}
.hero .pill-coral { background: #FFE9E1; color: var(--coral-dark); }
.hero-hl { position: relative; color: var(--indigo); white-space: nowrap; }
.hl-swash { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 16px; overflow: visible; }
.hl-swash path { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 0.9s 0.7s ease-out forwards; }

.hero-visual {
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(79,70,229,0.08) 31px 32px),
    linear-gradient(160deg, #EEF0FF 0%, #F6F5FB 55%, #FFE9E1 100%);
  border: 1px solid #E0E2FA;
  box-shadow: none;
  min-height: 440px;
  overflow: hidden;
}
.hero-visual::before { /* notebook margin line */
  content: ""; position: absolute; top: 0; bottom: 0; left: 44px; width: 2px; background: rgba(251,119,86,0.35);
}
.hero-visual::after { /* soft glow behind the owl */
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: var(--radius-sm);
  top: 30px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(79,70,229,0.18), rgba(79,70,229,0) 65%);
}
.hero-owl {
  position: absolute; z-index: 1; width: 62%; max-width: 330px;
  top: 40px; left: 50%; transform: translateX(-50%);
  overflow: visible;
  animation: owl-float 5s ease-in-out infinite;
  filter: drop-shadow(0 14px 18px rgba(55,48,163,0.22));
}
.owl-wing { transform-box: view-box; transform-origin: 98px 54px; animation: owl-flap 2.6s ease-in-out infinite; }
.owl-trail { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s 0.4s ease-out forwards, trail-fade 5s 2s ease-in-out infinite; }
.hero-stat-card { position: relative; z-index: 2; border: 1px solid #ECEBFA; }
.hero-stat-card .stat strong { font-size: 20px; color: var(--ink); }
.hero-stat-card .stat:first-child strong { color: var(--indigo-dark); }
.hero-stat-card .stat:last-child strong { color: var(--coral-dark); }

.hero-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700;
  box-shadow: none;
  animation: chip-float 4.5s ease-in-out infinite;
}
.chip-free { top: 26px; right: 22px; background: var(--coral); color: #fff; }
.chip-grades { top: 150px; left: 62px; background: #fff; color: var(--indigo-dark); animation-delay: -1.5s; }
.chip-online { top: 222px; right: 26px; background: var(--indigo); color: #fff; animation-delay: -3s; }
.chip-online i { width: 8px; height: 8px; border-radius: var(--radius-sm); background: #7CF0B5; box-shadow: none; animation: pulse 1.8s infinite; }

.reveal { opacity: 0; transform: translateY(18px); animation: reveal 0.7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-copy .reveal:nth-child(1) { animation-delay: 0.05s; }
.hero-copy .reveal:nth-child(2) { animation-delay: 0.15s; }
.hero-copy .reveal:nth-child(3) { animation-delay: 0.25s; }
.hero-copy .reveal:nth-child(4) { animation-delay: 0.35s; }
.hero-visual.reveal { animation-delay: 0.2s; }

@keyframes reveal { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes trail-fade { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes owl-float { 0%, 100% { transform: translate(-50%, 0) rotate(-2deg); } 50% { transform: translate(-50%, -14px) rotate(1deg); } }
@keyframes owl-flap { 0%, 100% { transform: rotate(0deg); } 45% { transform: rotate(-9deg); } 60% { transform: rotate(3deg); } }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pulse { 0% { box-shadow: none; } 70% { box-shadow: none; } 100% { box-shadow: none; } }

@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero-visual { min-height: 400px; }
  .chip-grades { left: 54px; }
}
@media (max-width: 480px) {
  .hero-owl { width: 70%; top: 56px; }
  .hero-chip { font-size: 12px; padding: 7px 11px; }
  .chip-free { top: 16px; right: 14px; }
  .chip-grades { top: 128px; left: 52px; }
  .chip-online { top: 196px; right: 14px; }
  .hero-stat-card { flex-direction: column; gap: 12px; }
  .hero-stat-card .divider { width: 100%; height: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-owl, .owl-wing, .owl-trail, .hero-chip, .chip-online i, .hl-swash path { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .owl-trail, .hl-swash path { stroke-dashoffset: 0; }
}

/* ---- Hero offer card (replaces the image panel) ---- */
.offer-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #E0E2FA;
  box-shadow: none;
  overflow: hidden;
}
.offer-top {
  position: relative;
  padding: 32px 32px 30px;
  color: #fff;
  background: linear-gradient(140deg, var(--indigo) 0%, var(--indigo-dark) 100%);
  overflow: hidden;
}
.offer-top::after { /* coral glow */
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: var(--radius-sm);
  background: radial-gradient(circle, rgba(251,119,86,0.55), rgba(251,119,86,0) 70%);
  animation: glow-drift 6s ease-in-out infinite;
}
.offer-top > * { position: relative; z-index: 1; }
.offer-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.16); padding: 6px 12px; border-radius: var(--radius-sm); margin-bottom: 14px;
}
.offer-title { color: #fff; font-size: 34px; line-height: 1.12; margin-bottom: 10px; }
.offer-free {
  display: inline-block; background: var(--coral); color: #fff; padding: 0 14px 2px; border-radius: var(--radius-sm);
  transform: rotate(-3deg); box-shadow: none;
  animation: free-pop 0.6s 0.7s cubic-bezier(.3,1.6,.5,1) both, free-wiggle 4s 2s ease-in-out infinite;
}
.offer-top p { color: rgba(255,255,255,0.86); font-size: 15.5px; margin-bottom: 20px; max-width: 380px; }
.offer-btn { background: #fff; color: var(--indigo-dark); font-weight: 700; }
.offer-btn:hover { background: #FFE9E1; color: var(--coral-dark); }

.offer-facts { list-style: none; margin: 0; padding: 22px 28px 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.offer-facts li { display: flex; gap: 12px; align-items: flex-start; opacity: 0; animation: reveal 0.5s ease-out forwards; }
.offer-facts li:nth-child(1) { animation-delay: 0.5s; }
.offer-facts li:nth-child(2) { animation-delay: 0.6s; }
.offer-facts li:nth-child(3) { animation-delay: 0.7s; }
.offer-facts li:nth-child(4) { animation-delay: 0.8s; }
.fact-icon {
  flex: none; width: 32px; height: 32px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--indigo-light); color: var(--indigo); font-size: 14px; font-weight: 800;
}
.fact-icon.coral { background: #FFE9E1; color: var(--coral-dark); }
.offer-facts strong { display: block; font-size: 15px; color: var(--ink); }
.offer-facts span { font-size: 13px; color: var(--ink-soft); }
.offer-subjects { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 28px 26px; }
.offer-subjects span {
  font-size: 12.5px; font-weight: 600; color: var(--indigo-dark); background: #F6F5FB; border: 1px solid var(--line);
  padding: 5px 11px; border-radius: var(--radius-sm);
}
.hero-copy + .offer-card { animation-delay: 0.2s; }

@keyframes glow-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes free-pop { from { transform: rotate(-3deg) scale(0.4); opacity: 0; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }
@keyframes free-wiggle { 0%, 88%, 100% { transform: rotate(-3deg); } 92% { transform: rotate(3deg) scale(1.06); } 96% { transform: rotate(-5deg); } }

@media (max-width: 480px) {
  .offer-top { padding: 26px 22px 24px; }
  .offer-title { font-size: 28px; }
  .offer-facts { grid-template-columns: 1fr; padding: 20px 22px 4px; }
  .offer-subjects { padding: 14px 22px 22px; }
  .offer-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-top::after, .offer-free, .offer-facts li { animation: none !important; opacity: 1; }
}


/* ══ Boson Swiss Blueprint Grid Layer ═══════════════════════════════════════════
   16x16px hairline grid, 12px cards, 1px exposed borders, Light + Dark parity. */
.eyebrow { font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.08em; color: var(--brand-ink); }
.eyebrow::before { content: "["; color: var(--text-muted); margin-right: 3px; opacity: 0.7; }
.eyebrow::after { content: "]"; color: var(--text-muted); margin-left: 3px; opacity: 0.7; }
.lede { font-size: 18px; }
section { border-bottom: 1px solid var(--border-hairline); }
section:has(.final-cta) { border-bottom: 0; }

/* Buttons */
.btn { border-radius: var(--radius-control); font-family: var(--font-sans); }
.btn:hover { transform: none; }
.btn-primary, .btn-coral { background: var(--brand-accent-dark); color: #fff; border-color: var(--brand-accent-dark); }
.btn-primary:hover, .btn-coral:hover { background: var(--brand-accent); border-color: var(--brand-accent); }
.btn-secondary { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-canvas); border-color: var(--brand-accent); color: var(--brand-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 2px; }

/* Header: the shared Boson shell (boson/boson.css). Only the mobile menu toggle is local. */
.nav-toggle { border-radius: var(--radius-control); width: 32px; height: 32px; background: var(--bg-surface); border-color: var(--border-strong); }
@media (max-width: 860px) {
  .boson-header__nav { display: none; flex: 1 1 100%; order: 3; flex-direction: column; padding: 0; border-top: 1px solid var(--border-hairline); }
  .boson-header__nav.open { display: flex; }
  .boson-header__nav a { padding: 14px 16px; border-bottom: 1px solid var(--border-hairline); }
  .boson-header__nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Hero: 16x16 Swiss Blueprint Grid field, display type, flat 1px offer panel */
.hero {
  padding: 64px 0 72px;
  background-color: var(--bg-canvas);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 16px 16px;
}
.hero h1 { font-size: 56px; line-height: 1.03; }
@media (max-width: 560px) { .hero h1 { font-size: 38px; } }
.hero-hl { color: var(--brand-accent); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.hl-swash path { stroke: var(--brand-accent); stroke-width: 3; stroke-linecap: butt; }
.offer-card { background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--radius-card); box-shadow: none; }
.offer-top { background: var(--brand-accent-dark); color: #fff; }
.offer-top::after { display: none; }
.offer-eyebrow { font: 600 10.5px/1 var(--font-mono); letter-spacing: 0.08em; background: transparent; border: 1px solid rgb(255 255 255 / 0.4); border-radius: 6px; }
.offer-title { font-size: 32px; color: #fff; }
.offer-free { background: #FFFFFF; color: var(--brand-accent-dark); border-radius: 6px; transform: none; animation: none; box-shadow: none; padding: 0 10px 2px; }
.offer-btn { background: #FFFFFF; border-radius: var(--radius-control); color: var(--brand-accent-dark); }
.offer-btn:hover { background: var(--brand-tint); color: var(--brand-accent-dark); }
.offer-facts { gap: 0; padding: 0; border-bottom: 1px solid var(--border-hairline); }
.offer-facts li { padding: 16px 20px; border-top: 1px solid var(--border-hairline); }
.offer-facts li:nth-child(odd) { border-right: 1px solid var(--border-hairline); }
.offer-facts li:nth-child(-n+2) { border-top: 0; }
.fact-icon, .fact-icon.coral { background: var(--bg-surface); color: var(--brand-ink); border: 1px solid var(--brand-line); font-family: var(--font-mono); }
.offer-subjects { padding: 16px 20px 20px; }
.offer-subjects span, .competitor-chip, .pill { font: 500 11.5px/1.2 var(--font-mono); letter-spacing: 0.03em; text-transform: uppercase; background: var(--bg-surface); color: var(--text-muted); border: 1px solid var(--border-hairline); border-radius: 6px; }
.competitor-chip { padding: 8px 12px; }
@media (max-width: 480px) { .offer-facts li { border-right: 0 !important; border-top: 1px solid var(--border-hairline) !important; } .offer-facts li:first-child { border-top: 0 !important; } }

/* Bands */
.mission { background: #0F172A; color: #F8FAFC; border-bottom: 1px solid var(--border-hairline); }
.mission .eyebrow { color: var(--brand-accent); }
.mission h2 { font-weight: 700; color: #F8FAFC; }
.section-head { text-align: left; max-width: none; margin: 0 0 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border-hairline); }
.section-band, .who-we-are, .page-header { background: var(--bg-surface); }
.page-header { text-align: left; padding: 56px 0 44px; }
.page-header p { margin: 0; }
.page-header h1 { font-size: 44px; }

/* Card grids share their borders: one 12px bordered grid, crisp cells */
.card-grid, .subject-grid, .plans-grid, .team-grid, .values-grid, .give-get-grid {
  gap: 1px; background: var(--border-hairline); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); overflow: hidden;
}
.feature-card, .subject-card, .plan-card, .team-card, .value-item {
  background: var(--bg-surface); border: 0; border-radius: 0; box-shadow: none;
}
.feature-card:hover { transform: none; box-shadow: none; background: var(--bg-canvas); }
.icon-badge, .feature-card:nth-child(2) .icon-badge, .feature-card:nth-child(3) .icon-badge {
  width: 36px; height: 36px; font-size: 15px; border-radius: 6px;
  background: var(--bg-surface) !important; color: var(--brand-ink); border: 1px solid var(--brand-line);
}
.subject-card:hover { background: var(--bg-canvas); box-shadow: none; }
.subject-card.open { background: var(--brand-tint); box-shadow: none; }
.subject-icon { background: var(--bg-surface); border: 1px solid var(--brand-line); font-family: var(--font-mono); font-weight: 600; }
.subject-card-other { background: var(--bg-canvas); }
.subject-card-other .subject-icon { background: var(--brand-accent-dark); color: #fff; border-color: var(--brand-accent-dark); }
.subject-card-other .subject-toggle { color: var(--brand-ink); }
.subject-detail .grade-range { font: 600 11px/1.3 var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-ink); }
.value-item { text-align: left; padding: 28px; }
.value-item .icon-badge { margin: 0 0 18px !important; }
.stat-rows { gap: 0; border: 1px solid var(--border-hairline); border-radius: var(--radius-card); background: var(--bg-surface); }
.stat-row { padding: 20px; border-bottom: 1px solid var(--border-hairline); }
.stat-row:last-child { border-bottom: 0; }
.stat-row .dot { width: 8px; height: 8px; border-radius: 1px; background: var(--brand-accent); }

/* Testimonials */
.testimonial-card { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); box-shadow: none; }
.avatar { border-radius: 6px; background: var(--brand-tint); color: var(--brand-ink); border: 1px solid var(--brand-line); }

/* Pricing & Quote Builder */
.plan-card.featured { box-shadow: inset 0 3px 0 var(--brand-accent); }
.plan-badge { top: 14px; right: 14px; background: var(--brand-tint); color: var(--brand-ink); border: 1px solid var(--brand-line); font: 600 10px/1 var(--font-mono); letter-spacing: 0.06em; border-radius: 6px; }
.plan-price { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.03em; }
.plan-list li::before { display: none; }
.plan-list li::after { left: 0; top: 1px; }
.quote-builder { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); padding: 32px; }
.field label { font: 600 11px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.field select, .field input, .field textarea { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-strong); border-radius: var(--radius-control); }
.field select:focus, .field input:focus, .field textarea:focus { box-shadow: none; border-color: var(--brand-accent); }
.quote-summary { background: var(--bg-canvas); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); }
.quote-summary h3 { font: 600 11px/1.2 var(--font-mono); letter-spacing: 0.08em; }
.quote-total strong { font-family: var(--font-mono); font-weight: 600; letter-spacing: -0.03em; color: var(--brand-ink); }
.quote-ticket { font-family: var(--font-mono); background: var(--bg-surface); border: 1px solid var(--border-hairline); color: var(--text-muted); }
.free-banner { background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: var(--radius-card); }
.free-banner strong { color: var(--brand-ink); }
.quark-handoff-banner { background: #EEF2FF; border: 1px solid #6366F1; border-left: 4px solid #6366F1; border-radius: var(--radius-card); padding: 14px 16px; margin-bottom: 20px; font-size: 14px; color: #0F172A; }
.quark-handoff-banner__eyebrow { font: 600 10.5px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: #4F46E5; margin-bottom: 4px; }
.quote-sent { background: var(--status-ok-soft); border-color: color-mix(in srgb, var(--status-ok) 32%, var(--bg-surface)); }

/* FAQ, referrals, portal, modal, legal */
.faq-grid { gap: 0; max-width: none; border: 1px solid var(--border-hairline); border-radius: var(--radius-card); background: var(--bg-surface); }
.faq-item { border: 0; border-bottom: 1px solid var(--border-hairline); border-radius: 0; background: var(--bg-surface); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary::after { font-family: var(--font-mono); color: var(--brand-ink); }
.give-get-card { border-radius: 0; }
.give-get-card.give { background: var(--brand-accent-dark); color: #fff; }
.give-get-card.get { background: #0F172A; color: #fff; }
.give-get-card .tag { font: 600 10.5px/1 var(--font-mono); background: transparent; border: 1px solid rgb(255 255 255 / 0.4); border-radius: 6px; }
.give-get-card .amount { font-family: var(--font-display); letter-spacing: -0.03em; }
.give-get-grid > .account-prompt { border: 0; border-radius: 0; }
.account-prompt, .tally-embed-wrap { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); text-align: left; margin-left: 0; }
.account-prompt .icon-badge { margin: 0 0 16px; }
.proof-steps { margin-left: 0; }
.proof-step .step-num { border-radius: 6px; background: #0F172A; color: #F8FAFC; font-family: var(--font-mono); font-size: 12px; }
.competitor-list { justify-content: flex-start; }
.final-cta { background: #0F172A; color: #F8FAFC; border: 1px solid var(--border-hairline); border-radius: var(--radius-card); text-align: left; padding: 48px; margin: 0; }
.final-cta h2 { color: #F8FAFC; }
.final-cta p { margin: 0 0 28px; color: rgba(248, 250, 252, 0.84); }
.final-cta .cta-row { justify-content: flex-start; }
.final-cta .btn-coral { background: #FFFFFF; color: #0F172A; border-color: #FFFFFF; }
.final-cta .btn-coral:hover { background: var(--brand-tint); color: #0F172A; }
.newsletter-band { background: var(--bg-surface); border-top: 1px solid var(--border-hairline); }
.newsletter-inner { text-align: left; margin: 0; }
.newsletter-inner h2 { color: var(--text-primary); }
.newsletter-inner p { color: var(--text-muted); }
.newsletter-embed-wrap { background: var(--bg-surface); border: 1px solid var(--border-hairline); border-radius: var(--radius-card); }
.modal-dialog { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border-strong); border-radius: var(--radius-card); box-shadow: none; }
.modal-close { border-radius: var(--radius-control); background: var(--bg-canvas); color: var(--text-primary); border-color: var(--border-hairline); }
.team-photo { background: var(--brand-tint); }
.team-actions a { background: var(--bg-surface); color: var(--text-primary); border-radius: var(--radius-control); border-color: var(--border-strong); }
.prose { margin: 0; }
.legal-note { padding: 12px 14px; border: 1px solid var(--brand-line); background: var(--brand-tint); border-radius: var(--radius-card); }
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--border-hairline); }
.footer-bottom { font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.03em; color: var(--text-muted); }

/* Quark / BirdBrains add-on checkbox in the quote builder */
.field label.check-field { display: flex; flex-direction: row; align-items: center; gap: 10px; cursor: pointer; text-transform: none; letter-spacing: normal; font: 500 15px/1.4 var(--font-sans); color: var(--text-primary); margin: 0; }
.field label.check-field input[type="checkbox"] { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--brand-accent-dark); }

/* Dark Mode parity (#0A0A0C / #111318) */
[data-theme="dark"] .hero .pill-coral { background: var(--brand-tint); color: var(--brand-ink); border-color: var(--brand-line); }
[data-theme="dark"] .hero-stat-card,
[data-theme="dark"] .hero-photo-card,
[data-theme="dark"] .chip-grades,
[data-theme="dark"] .site-header,
[data-theme="dark"] .offer-free { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-hairline); }
[data-theme="dark"] .offer-free { color: var(--brand-ink); }
[data-theme="dark"] .offer-btn { background: #FFFFFF; color: #0F172A; }
[data-theme="dark"] .mission,
[data-theme="dark"] .final-cta,
[data-theme="dark"] .give-get-card.get { background: var(--bg-surface); border: 1px solid var(--border-strong); }
[data-theme="dark"] .quark-handoff-banner { background: rgba(99, 102, 241, 0.14); color: #F8FAFC; }
[data-theme="dark"] .quark-handoff-banner__eyebrow { color: #A5B4FC; }
