/* BoardEvals site styles */
:root {
  --ink: #0E1B2E;
  --text: #545454;
  --muted: #666666;
  --accent: #3B5FC0;
  --accent-hover: #2C4A9A;
  --accent-light: #A9BFF0;
  --ground: #FFFFFF;
  --ground-alt: #F3F5F8;
  --line: #DDE2E9;
  --line-strong: #C5CDD8;
  --on-dark: #C9D3E0;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .container { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; padding: 4px 0; }
.brand img { height: 38px; width: auto; display: block; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--text); text-decoration: none; padding: 12px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }

/* Buttons */
.btn { display: inline-block; text-decoration: none; padding: 14px 25px; border-radius: 6px; font-weight: 600; font-size: 16px; border: 1px solid transparent; text-align: center; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.main-nav .btn { padding: 12px 20px; font-size: 15px; color: #fff; }

/* Type */
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { margin: 0; }
.display { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; }
.h2 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }
.lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--text); }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* Sections */
.section { padding: 104px 0; }
.section-alt { background: var(--ground-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row > * { min-width: 0; }

/* Hero */
.hero { background: var(--ground-alt); border-bottom: 1px solid var(--line); }
.hero .container { padding-top: 88px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lead { font-size: 19px; max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.program { flex: 1 1 340px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 32px; box-shadow: 0 12px 32px rgba(14,27,46,0.08); display: flex; flex-direction: column; gap: 20px; }
.program-title { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check svg { flex: none; margin-top: 2px; }
.check strong { display: block; font-weight: 600; font-size: 16px; }
.check span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* Stats */
.stats .container { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px; }
.stat { flex: 1 1 220px; min-width: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; }
.stat span { display: block; margin-top: 6px; font-size: 15px; color: var(--on-dark); }

/* Steps */
.step { flex: 1 1 300px; border-top: 3px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-num { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--accent); }
.step h3 { font-size: 22px; font-weight: 600; }
.step p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); }

/* Cards */
.card { flex: 1 1 200px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.split-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.split-head > * { flex: 1 1 360px; min-width: 0; }

/* Benefits */
.benefits { flex: 999 1 560px; display: flex; flex-wrap: wrap; gap: 36px 40px; }
.benefit { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.benefit h3 { font-size: 19px; font-weight: 600; }
.benefit p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--text); }

/* Testimonials */
.quotes { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 48px; }
.quotes figure { flex: 1 1 320px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; font-weight: 500; }
.quotes figcaption { font-size: 14px; color: var(--on-dark); }
.section-dark .eyebrow { color: var(--accent-light); }

/* Sector boxes */
.sector { flex: 1 1 200px; background: var(--ground-alt); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.sector h3 { font-size: 18px; font-weight: 600; }
.sector p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

/* Paper cards */
.paper-card { flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.paper-card:hover { border-color: var(--accent); color: var(--ink); }
.paper-card time { font-size: 13px; color: var(--muted); }
.paper-card h3 { font-family: var(--serif); font-size: 22px; line-height: 1.3; font-weight: 600; }
.paper-card .more { font-size: 15px; font-weight: 600; color: var(--accent); margin-top: auto; }
.paper-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }

/* CTA */
.cta .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.cta-copy { flex: 999 1 560px; min-width: 0; }
.cta-actions { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

/* Page header (inner pages) */
.page-head { background: var(--ground-alt); border-bottom: 1px solid var(--line); }
.page-head .container { padding-top: 72px; padding-bottom: 64px; }
.breadcrumb { font-size: 14px; margin: 0 0 20px; }
.breadcrumb a { text-decoration: none; }
.meta { margin: 0; font-size: 15px; color: var(--muted); }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; font-size: 18px; line-height: 1.75; color: #333; }
.article h2 { font-family: var(--serif); font-size: 30px; line-height: 1.25; font-weight: 600; color: var(--ink); margin: 48px 0 16px; }
.article h3 { font-size: 21px; line-height: 1.35; font-weight: 600; color: var(--ink); margin: 36px 0 12px; }
.article h4 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 8px; }
.article p { margin: 0 0 20px; }
.article ul, .article ol { margin: 0 0 20px; padding-left: 26px; }
.article li { margin-bottom: 8px; }
.article > :first-child { margin-top: 0; }
.article ul:has(> li > h3) { list-style: none; padding-left: 0; }
.article li > h3 { margin: 28px 0 8px; font-size: 20px; }
.article li > h3 + p, .article li > p:last-child { margin-bottom: 0; }
.article blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--serif); font-size: 21px; color: var(--ink); }
.article img { display: block; margin: 28px 0; border-radius: 8px; }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.article-foot { max-width: 760px; margin: 0 auto; padding: 0 24px 96px; }
.article-cta { background: var(--ground-alt); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.article-cta p { margin: 0; flex: 1 1 320px; font-size: 17px; line-height: 1.6; color: var(--text); }
.article-cta strong { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer .container { padding-top: 56px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.footer-cols > div, .footer-cols > nav { min-width: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.footer-brand { flex: 1 1 280px; gap: 12px !important; }
.footer-brand img { height: 34px; width: auto; align-self: flex-start; }
.tagline { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; }
.footer-cols p { margin: 0; }
.footer-cols .label { font-weight: 600; color: #fff; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: #fff; }
.footer-base { border-top: 1px solid #2A3A52; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; }
.footer-base p { margin: 0; }

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero .container { padding-top: 56px; padding-bottom: 64px; }
  .main-nav { gap: 0 20px; }
  .article { font-size: 17px; padding-top: 44px; }
}
