/* School Year Calendar — "Warm Schoolhouse" design system.
   Cream + apple-red + chalk-green + sunny. Fraunces display, Inter body.
   Mobile-first, accessible (AA). Shared across district, hub, root, 404, unlocked. */

:root {
  --cream: #FBF7EF;
  --cream-deep: #F4ECDC;
  --ink: #2B2A28;
  --ink-soft: #5A574F;
  --apple: #E4572E;
  --apple-deep: #C8431E;
  --apple-btn: #C8431E;       /* primary-button fill: white-on-this = 4.9:1, passes AA */
  --apple-btn-shadow: #A8371A; /* darker 3D drop-shadow under the darkened fill */
  --apple-chip-text: #A8371A; /* "No school" chip/tag text on apple-tint = 5.6:1, passes AA */
  --green: #2E6E5A;
  --green-deep: #245646;
  --sun: #F2B705;
  --sky: #D9E7EC;
  --paper: #FFFFFF;
  --line: #E6DCC8;
  --shadow-sm: 0 2px 8px rgba(43, 42, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(43, 42, 40, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 42, 40, 0.14);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(242, 183, 5, 0.10), transparent 38%),
    radial-gradient(circle at 88% 4%, rgba(46, 110, 90, 0.08), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(228, 87, 46, 0.06), transparent 45%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
}

a { color: var(--green-deep); }

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

/* ---------- focus / a11y ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 12px;
}
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 200;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.06rem;
  text-decoration: none; cursor: pointer; border: none;
  padding: 16px 26px; border-radius: 999px;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.btn-primary {
  background: var(--apple-btn); color: #fff;
  box-shadow: 0 8px 0 var(--apple-btn-shadow), var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 0 var(--apple-btn-shadow), var(--shadow-lg); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 4px 0 var(--apple-btn-shadow), var(--shadow-sm); }
.btn-primary[disabled], .btn-primary.is-busy { opacity: .85; cursor: progress; }
.btn-ghost {
  background: var(--paper); color: var(--green-deep);
  border: 2px solid var(--line); box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green); }
.btn-price { font-size: .82em; opacity: .95; font-weight: 600; }

/* ---------- masthead ---------- */
header.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 239, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.5rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.02em;
}
.wordmark .mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--apple); color: var(--sun); font-size: 1.05rem; transform: rotate(-6deg);
  box-shadow: var(--shadow-sm);
}
.wordmark .wm-text { line-height: 1; }
.wordmark .wm-accent { color: var(--apple); }
.mast-cta { display: none; }
@media (min-width: 720px) { .mast-cta { display: inline-flex; padding: 11px 20px; font-size: .98rem; box-shadow: 0 5px 0 var(--apple-btn-shadow); } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 38px; position: relative; }
.hero--hub { padding: 64px 0 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky); color: var(--green-deep);
  font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: 7px 15px 7px 12px; border-radius: 999px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .star { color: var(--sun); }
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.5rem);
  font-weight: 600; max-width: 16ch; margin-bottom: 20px;
}
.hero--hub h1 { max-width: 22ch; }
.hero h1 .hl {
  position: relative; white-space: nowrap; color: var(--apple-deep);
}
.hero h1 .hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 6%;
  height: 38%; background: var(--sun); opacity: .42; z-index: -1; border-radius: 6px;
  transform: rotate(-1deg);
}
.hero .sub {
  font-size: clamp(1.08rem, 2vw, 1.32rem); color: var(--ink-soft);
  max-width: 50ch; margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.reassure {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px;
  font-size: .92rem; color: var(--ink-soft);
}
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure .ck { color: var(--green); font-weight: 800; }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 30px; } }

/* phone mock */
.phone {
  justify-self: center; width: min(290px, 80vw);
  background: var(--ink); border-radius: 38px; padding: 12px;
  box-shadow: var(--shadow-lg); transform: rotate(2deg);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 6px; background: #444; border-radius: 99px; z-index: 3;
}
.phone-screen {
  background: var(--cream); border-radius: 28px; padding: 30px 16px 18px; overflow: hidden;
}
.phone-month { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 4px; }
.phone-year { font-size: .78rem; color: var(--ink-soft); margin-bottom: 12px; }
.phone-evt {
  display: flex; gap: 11px; align-items: center; background: var(--paper);
  border-radius: 14px; padding: 10px 12px; margin-bottom: 9px; box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--green);
}
.phone-evt.is-off { border-left-color: var(--apple); }
.phone-evt.is-first { border-left-color: var(--sun); }
.phone-evt .d {
  text-align: center; min-width: 34px;
  font-weight: 700; font-size: 1.1rem; line-height: 1; color: var(--ink);
}
.phone-evt .d small { display: block; font-size: .58rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; }
.phone-evt .t { font-size: .82rem; font-weight: 600; }
.phone-evt .t small { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-soft); }
.float-tag {
  position: absolute; font-family: 'Fraunces', serif; font-weight: 600; font-size: .82rem;
  background: var(--paper); padding: 8px 13px; border-radius: 12px; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 7px;
}
.float-tag.t1 { top: -14px; left: -22px; transform: rotate(-7deg); color: var(--green-deep); }
.float-tag.t2 { bottom: 18px; right: -26px; transform: rotate(6deg); color: var(--apple-deep); }
@media (max-width: 520px){ .float-tag { display: none; } }

/* ---------- section shells ---------- */
section { padding: 52px 0; }
.sec-head { text-align: center; max-width: 42ch; margin: 0 auto 34px; }
.sec-kicker {
  display: inline-block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; color: var(--green); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 600; }
.sec-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.06rem; }

/* ---------- calendar preview ---------- */
.preview-band { background:
    linear-gradient(180deg, transparent, rgba(217, 231, 236, 0.35) 12%, rgba(217, 231, 236, 0.35) 88%, transparent);
}
.free-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; font-weight: 700; font-size: .85rem;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.cal-card {
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  overflow: hidden; max-width: 760px; margin: 0 auto;
}
.cal-card-top {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--cream); border-bottom: 1px solid var(--line);
}
.cal-card-top .name { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.18rem; }
.cal-card-top .yr { font-size: .9rem; color: var(--ink-soft); }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip::before { content:""; width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.chip.milestone { background: rgba(242,183,5,.18); color: #8a6800; }
.chip.milestone::before { background: var(--sun); }
.chip.off { background: rgba(228,87,46,.12); color: var(--apple-chip-text); }
.chip.off::before { background: var(--apple); }
.chip.heads { background: rgba(46,110,90,.12); color: var(--green-deep); }
.chip.heads::before { background: var(--green); }

ul.evt-list { list-style: none; }
.evt {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 14px; align-items: center;
  padding: 15px 24px; border-bottom: 1px solid var(--line);
  transition: background-color .12s ease;
}
.evt:last-child { border-bottom: none; }
.evt:hover { background: var(--cream); }
.evt .date {
  font-weight: 700; font-size: .98rem; color: var(--ink);
  border-left: 4px solid var(--green); padding-left: 11px; line-height: 1.25;
}
.evt .date small { display:block; font-weight: 600; font-size: .72rem; color: var(--ink-soft); }
.evt.is-off .date { border-left-color: var(--apple); }
.evt.is-milestone .date { border-left-color: var(--sun); }
.evt .what { font-weight: 600; font-size: 1.02rem; }
.evt .what .dc {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 8px;
  font-size: .72rem; font-weight: 700; color: #8A4A11;
  background: rgba(242,183,5,.20); padding: 2px 8px; border-radius: 999px;
  vertical-align: middle;
}
.evt .tag {
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(46,110,90,.12); color: var(--green-deep);
}
.evt.is-off .tag { background: rgba(228,87,46,.12); color: var(--apple-chip-text); }
.evt.is-milestone .tag { background: rgba(242,183,5,.20); color: #8a6800; }
@media (max-width: 560px) {
  .evt { grid-template-columns: 108px 1fr; }
  .evt .tag { grid-column: 2; justify-self: start; margin-top: -4px; }
}
.cal-foot {
  padding: 18px 24px; background: var(--cream); border-top: 1px solid var(--line);
  font-size: .88rem; color: var(--ink-soft); text-align: center;
}

/* ---------- gate / purchase card ---------- */
.gate-anchor { scroll-margin-top: 80px; }
.gate {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 44px 36px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  text-align: center;
}
.gate::before, .gate::after {
  content: ""; position: absolute; border-radius: 50%; opacity: .14; background: var(--sun);
}
.gate::before { width: 220px; height: 220px; top: -90px; right: -70px; }
.gate::after { width: 160px; height: 160px; bottom: -80px; left: -50px; background: var(--apple); opacity: .22; }
.gate-inner { position: relative; z-index: 2; }
.gate h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 600; margin-bottom: 8px; }
.gate .lead { color: rgba(255,255,255,.9); font-size: 1.08rem; max-width: 40ch; margin: 0 auto 8px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 24px 0 6px; }
.price-row .big { font-family: 'Fraunces', serif; font-weight: 900; font-size: 3.6rem; line-height: 1; color: var(--sun); }
.price-row .unit { font-size: 1rem; color: rgba(255,255,255,.85); font-weight: 600; }
.price-note { font-size: .92rem; color: rgba(255,255,255,.82); margin-bottom: 24px; }
.gate .btn-primary { box-shadow: 0 8px 0 var(--apple-btn-shadow), var(--shadow-md); font-size: 1.14rem; padding: 18px 30px; }
.gate-includes {
  display: grid; gap: 10px; text-align: left; max-width: 420px; margin: 26px auto 0;
}
.gate-includes li {
  list-style: none; display: flex; gap: 11px; align-items: flex-start;
  color: rgba(255,255,255,.95); font-size: .98rem;
}
.gate-includes .ck {
  flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); color: var(--green-deep);
  display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-top: 1px;
}
.works-with {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 22px; font-size: .86rem; color: rgba(255,255,255,.8);
}
.works-with b { color: #fff; }

.gate-eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  font-size: .78rem; color: #fff; margin-bottom: 10px;
}
.gate .under-btn { font-size: .9rem; color: rgba(255,255,255,.85); max-width: 42ch; margin: 14px auto 0; }
.gate .price-frame {
  font-family: 'Fraunces', serif; font-style: italic; font-size: 1.02rem;
  color: rgba(255,255,255,.92); max-width: 44ch; margin: 22px auto 0;
}
.gate-includes { margin-bottom: 26px; }

/* hero sub-CTA line (root + hub: free to search, $10 to keep) */
.hero-subcta { margin-top: 16px; font-size: .96rem; color: var(--ink-soft); font-weight: 600; }

/* checkout status microcopy under buy buttons */
.buy-status {
  display: block; margin-top: 12px; font-size: .92rem; font-weight: 600;
  color: var(--ink-soft); min-height: 1.2em;
}
.gate .buy-status { color: rgba(255,255,255,.92); }
.final .buy-status { color: var(--ink-soft); }
.buy-status.err { color: var(--apple-deep); }
.gate .buy-status.err { color: #fff; text-decoration: underline; }

/* ---------- objection / two-col ---------- */
.objection {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); max-width: 800px; margin: 0 auto;
  padding: 38px 36px; position: relative;
}
.objection .quote {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--ink); line-height: 1.3;
  padding-left: 26px; border-left: 5px solid var(--sun); margin-bottom: 22px;
}
.objection .answer { font-size: 1.08rem; color: var(--ink); margin-bottom: 14px; }
.objection .answer strong { color: var(--apple-deep); }
.risk {
  margin-top: 22px; background: var(--cream); border-radius: var(--radius);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
  border: 1px dashed var(--green);
}
.risk .ic { font-size: 1.6rem; line-height: 1; }
.risk p { font-size: .98rem; color: var(--ink-soft); }
.risk strong { color: var(--ink); }

/* ---------- price compare ---------- */
.compare { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
@media (min-width: 720px){ .compare { grid-template-columns: 1fr 1fr; } }
.cc {
  background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 28px 26px; box-shadow: var(--shadow-sm); text-align: center;
}
.cc.ours { border: 2px solid var(--apple); box-shadow: var(--shadow-md); position: relative; }
.cc.ours .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--apple); color: #fff; font-size: .76rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.cc h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 600; }
.cc .amt { font-family: 'Fraunces', serif; font-weight: 900; font-size: 2.6rem; color: var(--ink); }
.cc.ours .amt { color: var(--apple-deep); }
.cc .per { font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.cc p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- trust ---------- */
.trust-band {
  max-width: 760px; margin: 0 auto; background: var(--sky);
  border-radius: var(--radius-lg); padding: 30px 30px; display: flex; gap: 18px;
  align-items: center; box-shadow: var(--shadow-sm);
}
.trust-band .ic { font-size: 2.4rem; line-height: 1; flex: none; }
.trust-band h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.trust-band p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 520px){ .trust-band { flex-direction: column; text-align: center; } }

/* ---------- how it works (root) ---------- */
.how { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px){ .how { grid-template-columns: repeat(3, 1fr); } }
.how-step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 28px 26px;
}
.how-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--sun); color: var(--ink); font-family: 'Fraunces', serif; font-weight: 800;
  font-size: 1.3rem; margin-bottom: 14px; transform: rotate(-5deg); box-shadow: var(--shadow-sm);
}
.how-step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.how-step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- find-your-district CTA (root) ---------- */
.hub-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- hub index (A-Z district list) ---------- */
.hub-index {
  display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 880px; margin: 0 auto;
}
@media (min-width: 720px){ .hub-index { grid-template-columns: 1fr 1fr; } }
.hub-group {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 22px 24px;
}
.hub-letter {
  font-family: 'Fraunces', serif; font-weight: 800; font-size: 1.5rem; color: var(--apple-deep);
  margin-bottom: 12px; border-bottom: 2px solid var(--line); padding-bottom: 8px;
}
.hub-list { list-style: none; display: grid; gap: 4px; }
.hub-list a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem;
  padding: 9px 11px; border-radius: 12px; transition: background-color .12s ease;
}
.hub-list a:hover { background: var(--cream); }
.hub-count { flex: none; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
details.q {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; box-shadow: var(--shadow-sm); overflow: hidden;
}
details.q[open] { box-shadow: var(--shadow-md); border-color: var(--green); }
details.q summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.12rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
details.q summary::-webkit-details-marker { display: none; }
details.q summary .pm {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; font-size: 1.3rem; color: var(--green-deep); transition: transform .2s ease;
}
details.q[open] summary .pm { transform: rotate(45deg); background: var(--green); color: #fff; }
details.q .a { padding: 0 22px 20px; color: var(--ink-soft); font-size: 1rem; }
details.q .a b { color: var(--ink); }

/* ---------- final CTA ---------- */
.final {
  text-align: center; background: var(--cream-deep);
  border-radius: var(--radius-lg); max-width: 760px; margin: 0 auto;
  padding: 48px 32px; box-shadow: var(--shadow-sm);
}
.final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 12px; }
.final p { color: var(--ink-soft); max-width: 38ch; margin: 0 auto 26px; font-size: 1.08rem; }

/* ---------- footer ---------- */
footer {
  margin-top: 30px; border-top: 1px solid var(--line); background: var(--cream);
  padding: 34px 0 44px; font-size: .9rem; color: var(--ink-soft);
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 34ch; }
.foot-inner .wordmark { font-size: 1.2rem; }
.foot-inner .wordmark .mark { width: 28px; height: 28px; font-size: .9rem; }
footer .fine { max-width: 52ch; }
.foot-meta { display: flex; flex-direction: column; gap: 12px; max-width: 46ch; }
.foot-disclaimer { color: var(--ink-soft); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.foot-links a:hover { color: var(--apple-deep); }
.foot-copy { color: var(--ink-soft); font-size: .82rem; }

/* ---------- legal / policy pages ---------- */
.legal { padding: 40px 0 12px; }
.legal-wrap { max-width: 720px; }
.legal-note {
  background: var(--cream-deep); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 16px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 26px;
}
.legal h1 { font-size: clamp(2rem, 6vw, 2.9rem); margin-bottom: 6px; }
.legal-eff { color: var(--ink-soft); font-size: .92rem; margin-bottom: 30px; }
.legal-body { font-size: 1.02rem; }
.legal-body h2 {
  font-size: 1.4rem; margin: 34px 0 12px; padding-top: 4px;
}
.legal-body p { margin-bottom: 14px; max-width: 68ch; }
.legal-body a { text-decoration: underline; text-underline-offset: 2px; }
.legal-list { margin: 0 0 14px 1.2em; }
.legal-list li { margin-bottom: 10px; max-width: 66ch; }
.legal-callout {
  background: rgba(242, 183, 5, 0.14); border-left: 4px solid var(--sun);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px;
}

/* ---------- install walkthrough (/unlocked) ---------- */
.install {
  max-width: 640px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.install-tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 10px; background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.install-tab {
  flex: 1 1 auto; min-width: 110px; cursor: pointer; border: none; background: transparent;
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: .96rem; color: var(--ink-soft);
  padding: 11px 14px; border-radius: 12px; transition: background-color .12s ease, color .12s ease;
}
.install-tab.is-active { background: var(--green); color: #fff; box-shadow: var(--shadow-sm); }
.install-panels { padding: 26px 26px 8px; }
.install-panel p { font-size: 1.06rem; color: var(--ink); }
.install-panel b { color: var(--apple-deep); }
.install-note {
  padding: 0 26px 26px; font-size: .94rem; color: var(--ink-soft); max-width: 52ch;
}

/* ---------- share loop (/unlocked) ---------- */
.share {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--sky); border-radius: var(--radius-lg); padding: 38px 32px;
  box-shadow: var(--shadow-sm);
}
.share-ic { font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 8px; }
.share h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; margin-bottom: 8px; }
.share-lead { color: var(--ink-soft); max-width: 44ch; margin: 0 auto 24px; font-size: 1.04rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.share-direct { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.share-chip {
  display: inline-flex; align-items: center; text-decoration: none;
  font-weight: 700; font-size: .92rem; color: var(--green-deep);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 9px 18px; border-radius: 999px; transition: transform .12s ease, border-color .12s ease;
}
.share-chip:hover { transform: translateY(-2px); border-color: var(--green); }
.share-status { margin-top: 16px; font-size: .92rem; font-weight: 600; color: var(--green-deep); min-height: 1.2em; }

/* ---------- lead capture (change-alert + request-your-district) ---------- */
.lead-capture {
  max-width: 720px; margin: 0 auto;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 34px 32px; text-align: center;
}
.lead-copy { max-width: 46ch; margin: 0 auto 22px; }
.lead-ic { font-size: 2rem; line-height: 1; display: block; margin-bottom: 8px; }
.lead-copy h2 { font-size: clamp(1.4rem, 3.2vw, 1.95rem); font-weight: 600; }
.lead-copy p { color: var(--ink-soft); margin-top: 10px; font-size: 1.04rem; }
.lead-fields {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center;
  max-width: 540px; margin: 0 auto;
}
.lead-fields--request { flex-direction: column; align-items: stretch; max-width: 460px; }
.lead-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.lead-input {
  flex: 1 1 220px; min-width: 0;
  font-family: 'Inter', sans-serif; font-size: 1.04rem; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: 999px;
  padding: 15px 20px; transition: border-color .12s ease, box-shadow .12s ease;
}
.lead-fields--request .lead-input { flex: none; width: 100%; }
.lead-input::placeholder { color: var(--ink-soft); opacity: .8; }
.lead-input:focus-visible {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 110, 90, 0.18);
}
.lead-btn { flex: none; }
.lead-fields--request .lead-btn { width: 100%; margin-top: 4px; }
.lead-status {
  margin-top: 14px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); min-height: 1.2em;
}
.lead-status.err { color: var(--apple-deep); }
.lead-done {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 8px 0; text-align: center;
}
.lead-done-ic {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; box-shadow: var(--shadow-sm);
}
.lead-done p {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  color: var(--ink); max-width: 38ch;
}

.lead-or { margin-top: 16px; font-size: .92rem; }
.lead-or a { font-weight: 700; color: var(--green-deep); }

/* ---------- bring-your-own-PDF upload (/add/) ---------- */
.upload-card {
  max-width: 640px; margin: 26px 0 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 26px 24px;
}
.drop-zone {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  cursor: pointer; padding: 34px 22px; border-radius: var(--radius);
  background: var(--cream); border: 2px dashed var(--line);
  transition: border-color .14s ease, background-color .14s ease, transform .14s ease;
}
.drop-zone:hover { border-color: var(--green); transform: translateY(-1px); }
.drop-zone.is-drag { border-color: var(--green); background: rgba(46, 110, 90, 0.07); }
.drop-zone.is-busy { cursor: progress; opacity: .8; }
.drop-zone:focus-within { outline: 3px solid var(--green); outline-offset: 3px; }
.drop-ic { font-size: 2.2rem; line-height: 1; }
.drop-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.drop-sub { font-size: .9rem; color: var(--ink-soft); }
.drop-input {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.upload-hint { margin-top: 14px; font-size: .88rem; color: var(--ink-soft); text-align: center; }
.upload-status {
  margin-top: 14px; font-size: .96rem; font-weight: 600; color: var(--green-deep);
  min-height: 1.2em; text-align: center;
}
.upload-status.err { color: var(--apple-deep); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); }
  .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
  .hero .eyebrow { animation: pop .6s ease both; }
  .hero h1 { animation: pop .7s ease .08s both; }
  .hero .sub { animation: pop .7s ease .16s both; }
  .hero-actions { animation: pop .7s ease .24s both; }
  .reassure { animation: pop .7s ease .32s both; }
  .phone { animation: floaty 6s ease-in-out infinite; }
  @keyframes pop { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
  @keyframes floaty { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
}
