/* ==========================================================================
   FSBO Academy Inc. — custom stylesheet
   Bootstrap is used ONLY for its grid (container / row / col-*).
   Everything else is custom. Global brand changes: edit the :root tokens.
   ========================================================================== */

/* Inter (variable, latin) is bundled locally — no external font request */
@font-face {
  font-family: "Inter";
  src: url("../assets/vendor/inter-latin-variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --navy: #0B2E59;
  --red: #C1272D;
  --white: #FFFFFF;
  --gray-light: #F4F6F8;
  --navy-dark: #071B33;
  --gray-text: #52606D;
  --line: #DCE2E9;
  --red-dark: #A21F25;

  --font: "Inter", "Manrope", "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(7, 27, 51, .06), 0 4px 14px rgba(7, 27, 51, .06);
  --header-h: 92px;
  --section-pad: clamp(56px, 7vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
strong { color: var(--navy); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 8px; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: 1200px; }
.container-narrow { max-width: 860px; margin-inline: auto; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section--gray { background: var(--gray-light); }
.section--navy { background: var(--navy); color: #d8e1ee; }
.section--navy h2, .section--navy h3, .section--navy strong { color: #fff; }
.section--dark { background: var(--navy-dark); color: #d8e1ee; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head p { font-size: 1.15rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.section--navy .eyebrow, .section--dark .eyebrow, .on-dark .eyebrow { color: #ff9a9e; }
.lead { font-size: 1.2rem; line-height: 1.6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); padding-inline: 8px; text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost:hover { color: var(--red); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gray-light); color: var(--navy); margin-bottom: 18px;
}
.icon-badge--red { background: #fbeaea; color: var(--red); }
.icon-badge .icon { width: 26px; height: 26px; }

/* ---------- Announcement bar ---------- */
.announcement { background: var(--navy-dark); color: #fff; font-size: .95rem; }
.announcement__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 10px; text-align: center; }
.announcement__text { margin: 0; }
.announcement a { color: #fff; font-weight: 600; white-space: nowrap; }
.announcement a:hover { color: #ffb4b7; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { max-width: 1340px; }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 78px; width: auto; display: block; }
.main-nav { margin-left: auto; min-width: 0; }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__link {
  display: block; padding: 10px 8px; border-radius: 6px; text-decoration: none; color: var(--navy);
  font-size: .87rem; font-weight: 600; white-space: nowrap;
}
.main-nav__link:hover { background: var(--gray-light); color: var(--navy); }
.main-nav__link[aria-current="page"] { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 6px 6px 0 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 8px 14px;
  background: #fff; color: var(--navy); border: 2px solid var(--navy); border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s;
}
.menu-toggle__bars::before { position: absolute; top: -6px; }
.menu-toggle__bars::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 767.98px) {
  .announcement { font-size: .88rem; }
  .announcement__inner { flex-direction: column; gap: 4px; padding-block: 8px; }
}

@media (max-width: 1359.98px) {
  .site-header.is-open { max-height: 100vh; overflow-y: auto; }
  .brand img { height: 60px; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header__inner { flex-wrap: wrap; gap: 12px; padding-block: 10px; }
  .main-nav, .header-actions { display: none; width: 100%; }
  .main-nav { margin-left: 0; order: 3; }
  .header-actions { order: 4; padding-bottom: 14px; }
  .site-header.is-open .main-nav, .site-header.is-open .header-actions { display: flex; }
  .main-nav__list { flex-direction: column; align-items: stretch; width: 100%; }
  .main-nav__link { padding: 14px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--red); border-radius: 0; }
  .header-actions .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); background:
  linear-gradient(180deg, #fff 0%, var(--gray-light) 100%); position: relative; overflow: hidden; }
.hero__content { position: relative; }
.hero h1 { margin-bottom: .5em; }
.hero h1 .accent { color: var(--red); }
.hero__lead { font-size: 1.2rem; max-width: 620px; }
.hero__media { position: relative; }
.hero__tracks { margin-top: 56px; }
.hero__partner { margin-top: 28px; text-align: center; }

/* ---------- Hero illustrations ---------- */
.hero-art {
  display: block; width: 100%; height: auto; max-width: 440px; margin-inline: auto;
  filter: drop-shadow(0 18px 34px rgba(7, 27, 51, .14));
}

/* ---------- Track cards ---------- */
.track-card {
  height: 100%; display: flex; flex-direction: column; padding: 36px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative;
}
.track-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.track-card--capital { border-color: #efc6c8; }
.track-card--capital::before { background: var(--red); }
.track-card--wellness { background: var(--navy); border-color: var(--navy); color: #d8e1ee; }
.track-card--wellness::before { background: #fff; opacity: .9; }
.track-card--wellness h3, .track-card--wellness .track-card__title { color: #fff; }
.track-card__tag {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 12px; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.track-card--capital .track-card__tag { background: #fbeaea; color: var(--red-dark); }
.track-card--wellness .track-card__tag { background: rgba(255,255,255,.14); color: #fff; }
.track-card__title { font-size: 1.7rem; margin-bottom: .4em; }
.track-card__body { flex: 1; }
.track-card__outcome { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); font-size: .98rem; }
.track-card--capital .track-card__outcome { background: var(--gray-light); }
.track-card--wellness .track-card__outcome { background: rgba(255,255,255,.1); }
.track-card__outcome strong { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.track-card--wellness .track-card__outcome strong { color: #fff; }
.track-card .btn-row { margin-top: 24px; }

/* ---------- Generic cards ---------- */
.card {
  height: 100%; padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.card--shadow { box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--red-top { border-top: 5px solid var(--red); }
.card--navy-top { border-top: 5px solid var(--navy); }
.card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-text); margin-bottom: 10px; }

.check-list, .dot-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li, .dot-list li { position: relative; padding-left: 28px; margin-bottom: .55em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.check-list--red li::before { background-color: var(--red); }
.dot-list li::before { content: ""; position: absolute; left: 6px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.section--navy .check-list li::before, .track-card--wellness .check-list li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9' fill='none' stroke='%230B2E59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- Pillars ---------- */
.pillar-card { height: 100%; padding: 30px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pillar-card__num { font-size: .8rem; font-weight: 700; color: var(--red); letter-spacing: .12em; }

/* ---------- Pathway ---------- */
.pathway { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.pathway__step {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 28px 24px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 5px solid var(--red);
}
.pathway__num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.pathway__step h3 { font-size: 1.1rem; }
.pathway__step p { margin: 0; font-size: .97rem; }
.pathway__row { display: flex; flex-wrap: wrap; gap: 20px; }
.pathway__row > li { flex: 1 1 230px; position: relative; }
.pathway__row > li:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -17px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9rem; line-height: 1;
}
@media (max-width: 1099.98px) { .pathway__row > li:not(:last-child)::after { display: none; } }
.sequence-line { text-align: center; font-weight: 600; color: var(--navy); margin-top: 28px; }
.sequence-line span { color: var(--red); padding-inline: 6px; }

/* Process steps (navy) */
.process-step { height: 100%; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.process-step__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 14px; }
.process-step--on-dark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.process-step--on-dark .process-step__num { background: #fff; color: var(--navy); }
.process-step--on-dark h3 { color: #fff; }

/* ---------- Institutional card ---------- */
.institutional-card {
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
  padding: 32px; border-radius: var(--radius-lg); background: var(--navy); color: #d8e1ee; margin-top: 32px;
}
.institutional-card h3 { color: #fff; margin-bottom: .3em; }
.institutional-card p { margin: 0; max-width: 640px; }
.institutional-card__tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #ff9a9e; margin-bottom: 8px; display: block; }

/* ---------- Disclaimer ---------- */
.disclaimer {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius);
  background: var(--gray-light); border-left: 4px solid var(--navy); font-size: .95rem; color: var(--navy-dark);
}
.disclaimer .icon { color: var(--navy); margin-top: 2px; }
.disclaimer p { margin: 0; }
.section--gray .disclaimer { background: #fff; }
.section-note { margin-top: 32px; }

/* ---------- Tags / badges ---------- */
.audience-tag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  border: 1px solid currentColor;
}
.audience-tag--business { color: var(--red-dark); background: #fbeaea; }
.audience-tag--personal { color: var(--navy); background: #e8eef7; }
.topic-chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.topic-chip { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .96rem; background: #fff; border: 1.5px solid var(--line); }
.topic-chip--business { color: var(--red-dark); border-color: #efc6c8; background: #fdf3f3; }
.topic-chip--personal { color: var(--navy); border-color: #ccdcef; background: #eef3fa; }
.status-label {
  display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: #eef1f5; color: var(--gray-text); border: 1px dashed #9aa7b6;
}
/* ---------- Partner cards ---------- */
.partner-card { height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.partner-card h3 { margin-bottom: .6em; }
.partner-card h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 8px; }
.partner-card h4.is-capital { color: var(--red-dark); }
.partner-card h4.is-wellness { color: var(--navy); }
.partner-card ul { list-style: none; padding: 0; margin: 0; }
.partner-card li { padding: 5px 0 5px 20px; position: relative; font-size: .96rem; }
.partner-card li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.partner-card--wide { padding: 32px; }

/* ---------- Metrics ---------- */
.metric-panel { height: 100%; padding: 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.metric-panel--capital { border-top: 6px solid var(--red); }
.metric-panel--wellness { border-top: 6px solid var(--navy); background: #f7f9fc; }
.metric-panel h3 { margin-bottom: 4px; }
.metric-panel__sub { font-size: .95rem; margin-bottom: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.metric-card { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 8px; }
.metric-card__name { font-weight: 600; color: var(--navy); line-height: 1.35; font-size: .96rem; }
.metric-card__value { font-size: 1.05rem; font-weight: 700; color: #8a97a6; letter-spacing: .12em; }
.metric-card__def { font-size: .88rem; line-height: 1.45; }
.metric-card__cat { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gray-text); }
.metric-panel--capital .metric-card { background: #fffefe; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #d8e1ee; padding-block: clamp(56px, 7vw, 88px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 720px; margin-inline: auto; font-size: 1.15rem; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }
.cta-band .btn--red { box-shadow: 0 0 0 0 transparent; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: 48px clamp(48px, 6vw, 72px); background: var(--gray-light); border-bottom: 1px solid var(--line); }
.page-hero--capital { border-bottom: 6px solid var(--red); }
.page-hero--wellness { background: var(--navy); border-bottom: 6px solid #fff; color: #d8e1ee; }
.page-hero--wellness h1 { color: #fff; }
.page-hero--wellness .eyebrow { color: #cfe0f7; }
.page-hero--wellness .breadcrumbs a, .page-hero--wellness .breadcrumbs li { color: #cfe0f7; }
.page-hero h1 { margin-bottom: .4em; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero__lead { font-size: 1.2rem; max-width: 760px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { margin-bottom: 26px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: .9rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .55; }
.breadcrumbs a { color: var(--gray-text); }
.breadcrumbs [aria-current="page"] { font-weight: 600; color: var(--navy); }

/* ---------- Profile / definition blocks ---------- */
.profile-card { height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.profile-card__stage { font-size: .78rem; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; color: var(--red-dark); margin-bottom: 10px; display: block; }
.section--navy .profile-card, .section--navy .card { color: var(--gray-text); }
.section--navy .profile-card h3, .section--navy .card h3 { color: var(--navy); }

.split-list { display: grid; gap: 14px; }
.split-item { display: flex; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.split-item h3 { margin: 0 0 2px; font-size: 1.05rem; }
.split-item p { margin: 0; font-size: .96rem; }
.split-item .icon { color: var(--navy); margin-top: 3px; }

/* ---------- Tables (commitments etc.) ---------- */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.info-table th, .info-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .98rem; }
.info-table th { background: var(--gray-light); color: var(--navy); font-weight: 700; width: 32%; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
}

/* ---------- Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__heading { margin: 0; font-size: 1.05rem; }
.accordion__button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px;
  padding: 18px 4px; background: transparent; border: 0; font: inherit; font-weight: 600; color: var(--navy); text-align: left; cursor: pointer;
}
.accordion__button:hover { color: var(--red); }
.accordion__icon { width: 22px; height: 22px; flex: none; position: relative; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s; }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__button[aria-expanded="true"] .accordion__icon::after { transform: translate(-50%, -50%) rotate(0); }
.accordion__panel { padding: 0 4px 20px; }
.accordion__panel[hidden] { display: none; }
.accordion__panel p:last-child { margin-bottom: 0; }

/* ---------- Track selector ---------- */
.track-select { border: 0; margin: 0 0 28px; padding: 0; }
.track-select legend { font-weight: 700; color: var(--navy); margin-bottom: 14px; padding: 0; font-size: 1.1rem; }
.track-select__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.track-option { position: relative; }
.track-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.track-option__label {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px 18px 52px; border: 2px solid var(--line); border-radius: var(--radius); background: #fff;
  position: relative; font-weight: 700; color: var(--navy); transition: border-color .2s, background-color .2s;
}
.track-option__label small { font-weight: 400; color: var(--gray-text); font-size: .9rem; }
.track-option__label::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8b98a7; background: #fff;
}
.track-option input:checked + .track-option__label { border-color: var(--navy); background: #eef3fa; }
.track-option input:checked + .track-option__label::before { border-color: var(--navy); background: radial-gradient(var(--navy) 0 45%, #fff 50%); }
.track-option--capital input:checked + .track-option__label { border-color: var(--red); background: #fdf3f3; }
.track-option--capital input:checked + .track-option__label::before { border-color: var(--red); background: radial-gradient(var(--red) 0 45%, #fff 50%); }
.track-option input:focus-visible + .track-option__label { outline: 3px solid var(--red); outline-offset: 3px; }
.track-option input:checked + .track-option__label::after { content: "Selected"; position: absolute; right: 14px; top: 14px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

/* ---------- Forms ---------- */
.form-card { padding: clamp(24px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-label { font-weight: 600; color: var(--navy); font-size: .98rem; }
.form-label .req { color: var(--red-dark); margin-left: 3px; }
.form-hint { font-size: .88rem; color: var(--gray-text); margin: 0; }
.form-control {
  width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--navy-dark); background: #fff;
  border: 2px solid #8b98a7; border-radius: 8px; appearance: none;
}
select.form-control { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230B2E59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 40px; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-control:hover { border-color: var(--navy); }
.form-control:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-color: var(--navy); }
.form-control[aria-invalid="true"] { border-color: var(--red); background-color: #fff8f8; }
.form-error { display: none; align-items: flex-start; gap: 6px; color: var(--red-dark); font-weight: 600; font-size: .92rem; margin: 0; }
.form-error.is-visible { display: flex; }
.form-error::before { content: "\26A0"; }
.form-consent { display: flex; gap: 12px; align-items: flex-start; }
.form-consent input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.form-consent label { font-size: .95rem; }
.form-summary, .form-success {
  display: none; padding: 18px 22px; border-radius: var(--radius); margin-bottom: 24px;
}
.form-summary { border: 2px solid var(--red); background: #fff5f5; color: var(--navy-dark); }
.form-summary h3 { color: var(--red-dark); font-size: 1.05rem; margin-bottom: .5em; }
.form-summary ul { margin: 0; padding-left: 1.2em; }
.form-summary a { color: var(--red-dark); font-weight: 600; }
.form-success { border: 2px solid var(--navy); background: #eef3fa; color: var(--navy-dark); }
.form-summary.is-visible, .form-success.is-visible { display: block; }
.form-success h3 { margin-bottom: .3em; font-size: 1.1rem; }
.form-success p { margin: 0 0 .5em; }
.form-success p:last-child { margin: 0; }
.form-fineprint { font-size: .9rem; margin-top: 18px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-card { height: 100%; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { color: var(--red); margin-top: 2px; }
.contact-list dt, .contact-list strong { display: block; color: var(--navy); font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Resources ---------- */
.library-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 2px solid var(--line); }
.library-head h2 { margin: 0; }

/* ---------- Statement ---------- */
.statement-box { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.statement-box blockquote { margin: 0; font-size: 1.25rem; line-height: 1.55; color: var(--navy); font-weight: 500; }
.statement-box .eyebrow { margin-bottom: 10px; }

/* ---------- Donate ---------- */
.notice-box { padding: 24px 28px; border-radius: var(--radius-lg); background: #fff; border: 2px solid var(--navy); display: flex; gap: 16px; align-items: flex-start; }
.notice-box .icon { color: var(--navy); width: 30px; height: 30px; margin-top: 2px; }
.notice-box p { margin: 0; font-weight: 600; color: var(--navy); }

/* ---------- Impact categories ---------- */
.stage-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.stage-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stage-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.stage-card p { margin: 0; font-size: .95rem; }
.stage-card__k { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--red); display: block; margin-bottom: 6px; }
.definition-list { margin: 0; }
.definition-list dt { font-weight: 700; color: var(--navy); margin-top: 14px; }
.definition-list dd { margin: 2px 0 0; }

/* ---------- Legal ---------- */
.legal-block { padding-block: 40px; border-bottom: 1px solid var(--line); }
.legal-block:last-of-type { border-bottom: 0; }

/* ---------- 404 ---------- */
.notfound { padding-block: 100px; text-align: center; }
.notfound__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--gray-light); -webkit-text-stroke: 2px var(--navy); line-height: 1; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b9c6d8; padding-top: 64px; font-size: .97rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a { color: #d8e1ee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand__logo { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 8px; line-height: 0; margin-bottom: 16px; }
.footer-brand__logo img { height: 56px; width: auto; display: block; }
.footer-brand__tagline { color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-contact { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.newsletter { margin-top: 22px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter .form-control { border-color: #4a6489; background: #0e2747; color: #fff; }
.newsletter .form-control::placeholder { color: #93a5bd; }
.newsletter .form-error { color: #ffb4b7; }
.newsletter__msg { display: none; margin: 8px 0 0; font-size: .9rem; color: #fff; }
.newsletter__msg.is-visible { display: block; }
.social-list { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 16px; }
.social-list a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4a6489; border-radius: 50%; color: #fff; }
.social-list a:hover { background: #fff; color: var(--navy); }
.footer-legal { margin-top: 48px; padding-block: 28px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.footer-legal p { margin-bottom: .8em; }
.footer-legal__disclaimer { color: #fff; font-weight: 500; }
.footer-legal__ip { color: #93a5bd; }
.footer-legal__row { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }
.gap-y > [class*="col"] { margin-bottom: 24px; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 20px; }
.divider-title { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.divider-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider-title h2, .divider-title h3 { margin: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .card, .track-card, .partner-card { transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s; }
  .track-card:hover, .partner-card:hover { transform: translateY(-2px); }
}

@media print {
  .site-header, .announcement, .cta-band, .site-footer .newsletter { display: none; }
}
