@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/static/fonts/fraunces-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/static/fonts/fraunces-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/figtree-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/figtree-lat.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-aqua: #eaf6f9;
  --bg-hero: #d6f1f8;
  --bg-deep: #13235b;
  --text-primary: #13235b;
  --text-secondary: #3b4a6b;
  --text-on-deep: #c9d3ea;
  --accent: #0b5f73;
  --accent-strong: #08485a;
  --accent-on-deep: #7ee0f2;
  --sun: #f6a623;
  --cream: #fde7c4;
  --line: rgba(19, 35, 91, 0.14);
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', 'Segoe UI', Arial, sans-serif;
  --space-1: 0.618rem;
  --space-2: 1rem;
  --space-3: 1.618rem;
  --space-4: 2.618rem;
  --space-5: 4.236rem;
  --radius: 0.75rem;
  --radius-lg: 1.1rem;
  --frame: min(92vw, 1180px);
}

[data-theme="dark"] {
  --bg-primary: #0e1736;
  --bg-secondary: #13235b;
  --bg-hero: #10204f;
  --text-primary: #f2f6ff;
  --text-secondary: #c9d3ea;
  --accent: #7ee0f2;
  --accent-strong: #b5f0fa;
  --line: rgba(255, 255, 255, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.125rem);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: normal;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 4.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 3vw, 2.9rem); font-weight: 800; line-height: 1.12; margin-bottom: var(--space-3); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.4rem); font-weight: 700; line-height: 1.25; }
p { line-height: 1.7; margin-bottom: var(--space-2); }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-strong); }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.srOnly { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
