:root {
  color-scheme: light;
  --bg: #f8fbff;
  --surface: #ffffff;
  --text: #172638;
  --muted: #617184;
  --line: #dce6f0;
  --accent: #2879c7;
  --accent-soft: #eaf4ff;
  --radius: 18px;
  --content: 960px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101923;
    --surface: #162331;
    --text: #edf5fd;
    --muted: #aab9c9;
    --line: #2a3a4b;
    --accent: #78baff;
    --accent-soft: #1c344b;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.site-shell { width: min(var(--content), calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.2rem; font-weight: 800; letter-spacing: -.05em; }
.wordmark span { color: var(--accent); }
nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 30px); color: var(--muted); font-size: .94rem; }
nav a:hover, .link-card:hover strong { color: var(--accent); }
.intro { padding: clamp(58px, 9vw, 104px) 0 clamp(46px, 7vw, 76px); max-width: 760px; }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 750; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; }
.intro h1 { margin: 12px 0 18px; font-size: clamp(2.8rem, 8vw, 5rem); line-height: 1.02; font-weight: 900;}
.intro-copy { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2.5vw, 1.23rem); }
.section { margin: 0 0 clamp(54px, 8vw, 84px); }
.section-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.section-number { color: var(--accent); font-size: .78rem; font-weight: 750; letter-spacing: .08em; }
.section-heading h2 { margin: 0; font-size: clamp(1.3rem, 3vw, 1.65rem); letter-spacing: -.035em; }
.card-grid { display: grid; grid-template-columns: repeat( auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.link-card { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; min-height: 100px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .18s ease, transform .18s ease; }
.link-card a { text-decoration: none; }
.link-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.link-card span { color: var(--muted); font-size: .84rem; }
.link-card strong { overflow-wrap: anywhere; font-size: 1rem; font-weight: 650; transition: color .18s ease; }
.about-section { padding-top: 2px; }
.about-copy { max-width: 760px; padding: clamp(22px, 5vw, 42px) 0 0; border-top: 2px solid var(--accent); }
.about-copy > .eyebrow { margin: 0 0 12px; }
.about-copy h3 { margin: 0 0 22px; font-size: clamp(2rem, 5.5vw, 3rem); line-height: 1.12; letter-spacing: -.055em; }
.about-prose { max-width: 680px; }
.about-prose p { margin: 0; color: var(--muted); font-size: clamp(1rem, 2.3vw, 1.08rem); line-height: 1.8; }
.about-prose p + p { margin-top: 18px; }
.about-prose a { text-decoration: underline; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 24px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
footer strong { color: var(--text); }
@media (max-width: 560px) {
  .site-shell { width: min(var(--content), calc(100% - 32px)); }
  .site-header { min-height: 72px; align-items: flex-start; padding: 20px 0 16px; flex-direction: column; gap: 12px; }
  nav { gap: 18px; font-size: .9rem; }
  .intro { padding-top: 54px; }
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .link-card { min-height: 84px; padding: 17px 18px; }
  .about-copy { padding-top: 24px; }
  .about-copy h3 { margin-bottom: 17px; }
  .about-prose p + p { margin-top: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
