/* Sunrise Public School: white, navy, sunrise orange and sky. Bitter for headings, Nunito Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F1F6FC;
  --ink: #12233F;
  --muted: #4F5D73;
  --line: #DFE7F1;
  --line-strong: #C5D3E4;
  --brand: #16325C;
  --brand-hover: #0F2546;
  --brand-ink: #FFFFFF;
  --brand-text: #16325C;
  --orange: #F28C28;
  --eyebrow: #C2620B;
  --announce-bg: #F28C28;
  --announce-ink: #12233F;
  --head: "Bitter", Georgia, serif;
  --body: "Nunito Sans", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --btn-radius: 10px;
  --wrap: 1200px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--orange); }
.btn { font-weight: 800; }
.btn-primary { background: var(--orange); color: #12233F; }
.btn-primary:hover { background: #E07A14; }

/* header */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 800 1.45rem var(--head); color: var(--brand); }
.logo small { font-size: .74rem; color: var(--muted); font-weight: 700; }
.nav a { font-weight: 700; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--soft); }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); background: linear-gradient(180deg, #F1F6FC, #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #FDE6CF; color: #8A4A0B; font-weight: 800; font-size: .86rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.06; margin: 16px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-art { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 50px -28px rgba(18,35,63,.45); }
.hero-art svg { width: 100%; height: auto; display: block; }
.facts-strip { background: var(--brand); color: #fff; }
.kfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .kfacts { grid-template-columns: 1fr 1fr; } }
.kfacts div { display: grid; gap: 2px; padding: 20px 16px; border-left: 1px solid rgba(255,255,255,.18); }
.kfacts div:first-child { border-left: 0; }
.kfacts b { font: 800 1.8rem var(--head); color: var(--orange); }
.kfacts span { color: #CFDCEC; font-size: .92rem; }
.results-band { background: var(--soft); }

/* fee calculator */
.fee { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .fee { grid-template-columns: minmax(0, 1fr); } }
.fee-in { display: grid; gap: 20px; }
.fee-out { position: sticky; top: 96px; display: grid; gap: 12px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: var(--brand); color: #fff; }
.fee-out .eyebrow { color: #F9C08A; }
.fee-total b { font: 800 clamp(2.4rem, 5vw, 3.2rem)/1 var(--head); color: var(--orange); }
.fee-lines { display: grid; gap: 6px; margin: 0; font-size: .94rem; }
.fee-lines div { display: flex; justify-content: space-between; gap: 12px; }
.fee-lines dt { color: #CFDCEC; }
.fee-lines dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.fee-lines .is-disc dd { color: #9FE0B2; }
.fee-out h3 { font-size: 1.1rem; margin-top: 6px; }
.fee-plan { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.fee-plan th, .fee-plan td { padding: 6px 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.15); }
.fee-plan td:last-child, .fee-plan th:last-child { text-align: right; }
.fee-plan thead th { color: #CFDCEC; font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

/* inner pages */
.page-head { background: var(--soft); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--orange); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: var(--brand); color: #fff; }
.cta-band .btn-ghost { border-color: var(--ink); }
.footer { background: var(--ink); color: #C2CDDB; --footer-line: rgba(255,255,255,.14); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #C2CDDB; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
