@charset "UTF-8";
:root {
  color-scheme: light;
  --bg: #f5f6f8; --surface: #fff; --ink: #19242f; --muted: #556473; --line: #d2d8e0;
  --accent: #08758a; --violet: #724ac6; --magenta: #b53070; --fourth: #344d89;
  --soft: #edf0f5; --focus: #075dc6; --shadow: 0 10px 45px #263e6310;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none; font-size: 16px; line-height: 1.55; letter-spacing: -.012em;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111820; --surface: #18212c; --ink: #eff3f9; --muted: #adb9ca; --line: #3c495a;
  --accent: #58d9e7; --violet: #b7a0ff; --magenta: #f08abd; --fourth: #87acf3;
  --soft: #202c3a; --focus: #86bbff; --shadow: 0 10px 45px #0002;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111820; --surface: #18212c; --ink: #eff3f9; --muted: #adb9ca; --line: #3c495a;
    --accent: #58d9e7; --violet: #b7a0ff; --magenta: #f08abd; --fourth: #87acf3;
    --soft: #202c3a; --focus: #86bbff; --shadow: 0 10px 45px #0002;
  }
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--bg); }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
button, select, input { font: inherit; color: inherit; }
button, select { min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 4px; }
button { cursor: pointer; padding: .5rem .9rem; }
button:hover, select:hover { border-color: var(--muted); }
button:disabled, select:disabled { cursor: default; opacity: .6; }
select { padding: .45rem 2rem .45rem .7rem; }
select option, select optgroup { color: var(--ink); background-color: var(--surface); }
input[type="range"] { accent-color: var(--accent); min-height: 44px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(2.6rem, 4.7vw, 4.15rem); line-height: 1.075; font-weight: 550; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 550; }
h3 { font-size: 1.2rem; font-weight: 550; }
svg { display: block; max-width: 100%; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 15px; background: var(--surface); z-index: 10; }
.skip-link:focus { top: 15px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1400px; margin: auto; padding: 20px 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.wordmark { font-weight: 750; font-size: 1.5rem; letter-spacing: -.055em; text-decoration: none; white-space: nowrap; }
.preferences { display: flex; flex-shrink: 0; gap: 15px; align-items: center; }
.preferences a { font-size: .78rem; font-weight: 600; text-decoration: none; padding: 12px 0; min-height: 44px; display: inline-flex; align-items: center; }
#theme-toggle { display: grid; place-items: center; width: 44px; min-width: 44px; padding: 0; background: transparent; }
.theme-icon { width: 20px; height: 20px; }
.theme-icon-dark { display: none; }
#theme-toggle[data-theme="dark"] .theme-icon-dark, #theme-toggle[data-theme="light"] .theme-icon-light { display: none; }
#theme-toggle[data-theme="dark"] .theme-icon-light, #theme-toggle[data-theme="light"] .theme-icon-dark { display: block; }
.eyebrow { text-transform: uppercase; font-size: .68rem; font-weight: 650; letter-spacing: .12em; color: var(--muted); }
.small-cross { font-size: 1.25rem; color: var(--accent); margin-right: 10px; font-weight: 400; }
.intro { max-width: 475px; font-size: 1rem; line-height: 1.75; color: var(--muted); }
.topic-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); border-radius: 5px; padding: 28px; text-decoration: none; }
.topic-card:hover { color: var(--ink); border-color: var(--accent); }
.card-index { display: flex; justify-content: space-between; margin-bottom: 26px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-index > span { font-size: 1.2rem; color: var(--accent); }
.topic-card h3 { margin-bottom: 13px; }
.topic-card > p { font-size: .9rem; color: var(--muted); min-height: 65px; margin-bottom: 24px; }
.card-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 18px; font-size: .72rem; }
.card-footer > span:first-child { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding: 32px 48px; display: flex; justify-content: space-between; gap: 25px; max-width: 1400px; margin: auto; }
.site-footer p { color: var(--muted); font-size: .75rem; margin: 6px 0 0; }
.site-footer > div:last-child { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; font-size: .75rem; }
.site-footer > div:last-child > span { color: var(--muted); }
.site-footer a:not(.wordmark) { min-height: 44px; display: inline-flex; align-items: center; }

.title-dot { color: var(--accent); }
.preferences { margin-left: auto; }
main { max-width: 1280px; margin: auto; padding: 0 48px; }
.home-hero { padding: 86px 0 48px; max-width: 820px; }
.home-hero h1 { margin: 24px 0; }
.intro { max-width: 620px; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 0 0 80px; }
.topic-card { position: relative; overflow: hidden; padding: 32px; }
.topic-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--accent), var(--violet), var(--magenta)); }
.topic-card h2 { font-size: 2rem; margin-bottom: 16px; }
.topic-card > p { min-height: 0; max-width: 42ch; }
.card-footer { margin-top: auto; }
.privacy { border-top: 1px solid var(--line); padding: 24px 0 48px; color: var(--muted); font-size: .8rem; }
.privacy summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.privacy summary::before { content: '+'; color: var(--accent); margin-right: 12px; }
.privacy[open] summary::before { content: '−'; }
.privacy p { max-width: 760px; }
.privacy button { font-size: .8rem; }
@media (max-width: 760px) {
  .header-inner { padding: 13px 22px; gap: 12px 16px; }
  .wordmark { font-size: 1.35rem; }
  main { padding: 0 22px; }
  .home-hero { padding: 48px 0 32px; }
  h1 { font-size: clamp(2.65rem, 8vw, 3.8rem); }
  .topic-grid { grid-template-columns: 1fr; gap: 16px; padding-bottom: 48px; }
  .topic-card { padding: 24px; }
  .card-index { margin-bottom: 20px; }
  .card-footer { flex-wrap: wrap; }
  .site-footer { flex-direction: column; padding: 25px 22px; }
}
