@font-face { font-family: "Nunito"; font-weight: 500; font-display: swap; src: url("fonts/Nunito-Medium.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("fonts/Nunito-Bold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/Nunito-ExtraBold.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("fonts/Nunito-Black.ttf") format("truetype"); }

/* Zwap's design tokens (CLAUDE.md), day and night. */
:root {
  --base: #FFFFFF; --raised: #F5F5F7; --inverse: #111111;
  --text: #111111; --text-2: #555555; --muted: #6E6E73;
  --line: #E5E5EA; --accent: #0657DC;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --base: #0A0A0A; --raised: #1C1C1E; --inverse: #F5F5F5;
    --text: #F5F5F5; --text-2: #AEAEB2; --muted: #8A8A8F;
    --line: #38383A; --accent: #5896FF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --base: #0A0A0A; --raised: #1C1C1E; --inverse: #F5F5F5;
  --text: #F5F5F5; --text-2: #AEAEB2; --muted: #8A8A8F;
  --line: #38383A; --accent: #5896FF;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--base); color: var(--text);
  font: 500 17px/1.6 "Nunito", ui-rounded, -apple-system, system-ui, "Segoe UI", sans-serif;
}
.page { max-width: 40rem; margin: 0 auto; padding: 28px 20px 56px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.home-link { display: block; border-radius: 12px; }
.mark { display: block; width: 88px; height: auto; }
.mark .outline { fill: var(--inverse); }
.mark .shape { fill: var(--base); }
.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--text-2); font-weight: 700; text-decoration: none; padding: 8px 0; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 6px; }

h1 { font-weight: 900; font-size: 34px; line-height: 40px; letter-spacing: -0.5px;
  margin: 40px 0 6px; text-wrap: balance; }
h2 { font-weight: 800; font-size: 22px; line-height: 28px; letter-spacing: -0.2px;
  margin: 40px 0 6px; text-wrap: balance; }
h3 { font-weight: 800; font-size: 18px; line-height: 24px; margin: 28px 0 4px; text-wrap: balance; }
p, li { color: var(--text-2); }
p { margin: 0 0 14px; }
ul { padding-left: 1.2em; margin: 0 0 14px; }
li { margin: 4px 0; }
strong { color: var(--text); font-weight: 800; }
.meta { color: var(--muted); font-size: 15px; font-weight: 700; margin: 0 0 24px; }
.lede { font-size: 19px; line-height: 1.55; color: var(--text); }

a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.card { background: var(--raised); border-radius: 24px; padding: 18px 22px; margin: 24px 0; }
.card p:last-child { margin-bottom: 0; }
.card h2 { font-size: 18px; line-height: 24px; letter-spacing: 0; margin: 0 0 4px; }

.hero { text-align: center; padding: 56px 0 8px; }
.hero .mark { width: min(240px, 70vw); margin: 0 auto 28px; }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.links a { background: var(--raised); color: var(--text); font-weight: 800; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; }
.links a:hover { background: var(--line); }

.site-footer { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 15px; font-weight: 700; }
.site-footer p { color: var(--muted); margin: 0 0 6px; }
.site-footer a { color: var(--text-2); }

@media (max-width: 480px) {
  h1 { font-size: 28px; line-height: 34px; }
  .site-nav { gap: 16px; }
}
