@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/SpaceGrotesk-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/PlexMono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070a;
  --panel: #0d131a;
  --text: #eef3f7;
  --muted: #a8b5c1;
  --line: #263241;
  --accent: #7ddfc1;
  --maxw: 760px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.nav,
.footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0 0 1px;
}

.footer {
  border-width: 1px 0 0;
}

.nav,
.footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 20px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-dot {
  background: var(--accent);
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  width: 9px;
}

.nav-links {
  color: var(--muted);
  font-size: 14px;
}

.legal {
  margin: 0 auto;
  max-width: var(--maxw);
  padding: 56px 20px 72px;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin: 0 0 24px;
}

h2 {
  font-size: 22px;
  margin: 36px 0 12px;
}

p,
li {
  color: var(--muted);
}

.meta {
  color: var(--muted);
  font-family: "Plex Mono", ui-monospace, monospace;
  font-size: 13px;
}

.notice {
  background: var(--panel);
  border: 1px solid var(--line);
  margin: 24px 0;
  padding: 16px;
}

.placeholder {
  color: #ffd59e;
}

.footer-copy {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 620px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
