/* ==========================================================================
   Alumnis website — shared stylesheet
   Brand: navy #14213D carries the brand, lime #B8E62E is a highlight only.
   Lime is never text on a light ground (use --lime-ink instead).
   ========================================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #14213D;
  --navy-2: #2A3A64;
  --navy-3: #1B2B4F;
  --lime: #B8E62E;
  --lime-ink: #4E6B00;
  --surface: #F3F4F7;
  --raised: #FFFFFF;
  --ink: #14213D;
  --muted: #545B6E;
  --muted-on-navy: #A9B1C4;
  --border: #D6D8E0;
  --success: #1E7A46;
  --danger: #B42318;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px rgba(20, 33, 61, .08);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--raised);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--lime-ink); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--lime); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .lead, .section--navy p { color: var(--muted-on-navy); }

.kicker {
  display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--lime-ink); margin-bottom: .9rem;
}
.section--navy .kicker, .hero .kicker, .page-hero .kicker { color: var(--lime); }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 700 1rem/1 var(--font); padding: 15px 24px; border-radius: 999px;
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lime { background: var(--lime); color: var(--navy); }
.btn--lime:hover { background: #C8F046; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 16px rgba(20,33,61,.05); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 150px; height: auto; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .975rem; color: var(--ink);
}
.nav-list a:hover { background: var(--surface); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--raised); cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--raised);
    border-bottom: 1px solid var(--border); box-shadow: 0 16px 32px rgba(20,33,61,.12);
    padding: 12px var(--gutter) 24px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { padding: 14px 16px; border-radius: 12px; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; }
  .nav-cta .btn { display: flex; width: 100%; padding: 15px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 104px) 0 clamp(64px, 10vw, 120px); }
.hero::before {
  /* oversized crest outline as a background motif */
  content: ""; position: absolute; right: -140px; top: -80px; width: 620px; height: 620px;
  background: url("../img/alumnis-mark-reversed.svg") center/contain no-repeat; opacity: .06; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: var(--muted-on-navy); margin-bottom: 2rem; }
.hero-note { margin-top: 1.25rem; font-size: .925rem; color: var(--muted-on-navy); }

/* Product mock — illustrative UI, built in HTML */
.mock {
  background: var(--raised); color: var(--ink); border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
  overflow: hidden; font-size: .9rem; transform: rotate(1.2deg);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-bar b { margin-left: 10px; font-size: .8rem; color: var(--muted); font-weight: 700; }
.mock-body { padding: 18px; display: grid; gap: 14px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-title { font-weight: 800; font-size: 1.05rem; }
.mock-chip { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); white-space: nowrap; }
.mock-chip--ok { background: #E6F4EC; color: var(--success); }
.mock-chip--lime { background: var(--lime); color: var(--navy); }
.mock-person { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; }
.mock-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex-shrink: 0; }
.mock-person div { flex: 1; min-width: 0; line-height: 1.3; }
.mock-person strong { display: block; font-size: .9rem; }
.mock-person span { font-size: .78rem; color: var(--muted); }
.mock-event { background: var(--navy); color: #fff; border-radius: 12px; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-event small { display: block; color: var(--muted-on-navy); font-size: .75rem; }
.mock-caption { text-align: center; font-size: .8rem; color: var(--muted-on-navy); margin-top: 14px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .mock { transform: none; max-width: 520px; }
}

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--navy); color: #fff; padding: clamp(48px, 8vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -120px; width: 340px; height: 340px;
  background: url("../img/alumnis-mark-reversed.svg") center/contain no-repeat; opacity: .07; pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 18ch; }
.page-hero .lead { color: var(--muted-on-navy); }
.breadcrumb { font-size: .875rem; color: var(--muted-on-navy); margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted-on-navy); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--lime);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problem-list li {
  display: flex; gap: 14px; align-items: flex-start; background: var(--raised); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; font-weight: 700;
}
.problem-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: #FDECEA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/12px no-repeat;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.aside-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.aside-panel p { color: var(--muted-on-navy); }
.aside-panel .big { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; line-height: 1.3; color: #fff; margin-bottom: .75rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-weight: 800; font-size: 2.25rem; letter-spacing: -.03em; color: var(--navy);
}
.step::after { content: ""; position: absolute; top: 22px; left: 64px; right: 0; height: 2px; background: var(--border); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .step::after { display: none; } }

/* Audience columns */
.audience { border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); }
.audience--school { background: var(--navy); color: #fff; }
.audience--alumni { background: var(--surface); }
.audience h3 { font-size: 1.5rem; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.audience--school .check-list li { color: #E4E8F1; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card .price { font-size: 2.25rem; font-weight: 800; letter-spacing: -.03em; margin: .25rem 0; }
.price-card .price small { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.price-card .check-list { margin-bottom: 1.75rem; flex: 1; }
.price-card .btn { align-self: flex-start; }
.price-card--featured { border: 2px solid var(--navy); position: relative; }
.badge {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: var(--lime); color: var(--navy); margin-bottom: .75rem; align-self: flex-start;
}
.badge--muted { background: var(--surface); color: var(--muted); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; border-radius: 22px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -60px; width: 260px; height: 260px; background: url("../img/alumnis-mark-reversed.svg") center/contain no-repeat; opacity: .08; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: var(--muted-on-navy); margin: 0; max-width: 54ch; }
.cta-band .btn-row { position: relative; z-index: 1; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Values / about */
.value { border-left: 3px solid var(--lime); padding: 4px 0 4px 20px; }
.value p { color: var(--muted); margin: 0; }
.prose-block p { color: var(--muted); }
.prose-block p strong { color: var(--ink); }
.founder { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; margin-bottom: 48px; }
.founder-photo {
  width: 160px; height: 160px; border-radius: 50%; border: 2px dashed var(--border);
  display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 16px;
}
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }

/* Client references */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-btn {
  font: 700 .925rem var(--font); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--raised); color: var(--ink); cursor: pointer;
}
.filter-btn:hover { border-color: var(--navy); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.ref-card { display: flex; flex-direction: column; gap: 18px; }
.ref-card[hidden] { display: none; }
.ref-head { display: flex; align-items: center; gap: 14px; }
.ref-crest {
  width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0; border: 2px dashed var(--border);
  display: grid; place-items: center; font-size: .65rem; color: var(--muted); text-align: center; line-height: 1.2;
}
.ref-head h3 { margin: 0; font-size: 1.1rem; }
.ref-head span { font-size: .875rem; color: var(--muted); }
.ref-card blockquote { margin: 0; font-size: 1.05rem; font-weight: 700; line-height: 1.5; color: var(--ink); }
.ref-card blockquote::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--lime-ink); margin-bottom: 6px; }
.ref-meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ref-meta strong { color: var(--ink); }
.ref-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.empty-state { text-align: center; color: var(--muted); padding: 32px; border: 1px dashed var(--border); border-radius: var(--radius); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form-card { background: var(--raised); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .925rem; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); background: var(--raised);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 13px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(184, 230, 46, .45); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: .85rem; margin-top: 6px; font-weight: 700; }
.field.has-error .error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .925rem; color: var(--muted); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex-shrink: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-foot small { color: var(--muted); }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.is-visible { display: block; }
.form-success .icon { margin: 0 auto 18px; background: var(--lime); color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.info-list strong { display: block; }
.info-list span, .info-list a { color: var(--muted); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--lime-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border-radius: var(--radius); padding: 22px; }
.toc h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: .925rem; display: grid; gap: 6px; }
.toc a { text-decoration: none; color: var(--ink); }
.toc a:hover { text-decoration: underline; }
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.45rem; margin-top: 2.5rem; scroll-margin-top: calc(var(--header-h) + 20px); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal p, .legal li { color: #3A4152; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { background: var(--surface); font-weight: 700; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.notice { background: #F6FBE6; border: 1px solid #DCEFA8; border-left: 4px solid var(--lime-ink); border-radius: 10px; padding: 16px 18px; margin-bottom: 2rem; font-size: .95rem; }
.notice p { margin: 0; color: var(--ink); }
.updated { font-size: .925rem; color: var(--muted-on-navy); margin-top: .5rem; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted-on-navy); padding: clamp(48px, 7vw, 80px) 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand img { width: 160px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-on-navy); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--navy-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--navy); color: var(--lime); cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.text-center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ph { background: #FFF7D6; border-radius: 4px; padding: 0 3px; } /* marks [placeholders] to replace before launch */
.section--navy .ph, .page-hero .ph, .hero .ph, .site-footer .ph, .audience--school .ph, .aside-panel .ph, .cta-band .ph { background: rgba(184,230,46,.18); color: inherit; }

@media print {
  .site-header, .site-footer, .back-to-top, .toc, .cta-band { display: none !important; }
  .page-hero { background: none; color: var(--ink); padding: 0 0 16px; }
  .page-hero h1, .page-hero .lead { color: var(--ink); }
  .legal-layout { display: block; }
}
.required{
  color:var(--danger);
  font-weight:700;
  margin:12px 0 0;
}
.websiteField{
  display:none;
}