/* Shared look for the small pages: terms, privacy, 404. Same tokens as index.html. */
:root {
  --pine: #03211c;
  --pine-2: #0a342c;
  --pine-3: #11473d;
  --mint: #97fce4;
  --red: #e3182d;
  --bone: #e9f6f1;
  --muted: #a8c9bf;
  --display: "Bungee", "Impact", sans-serif;
  --body: "Chakra Petch", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; }
body {
  margin: 0;
  background: var(--pine);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
a { color: var(--mint); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.1rem; text-decoration: none; color: var(--bone); }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--mint); }
.back { color: var(--muted); font-weight: 500; text-decoration: none; }
.back:hover { color: var(--mint); }

.doc { max-width: 720px; margin: 0 auto; padding: 48px var(--gutter) 96px; }
.doc h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1;
  color: var(--mint); margin: 0 0 12px;
}
.doc .updated { color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin: 40px 0 10px; }
.doc p, .doc li { color: #cfe6de; }
.doc ul { padding-left: 1.2em; }

footer {
  color: var(--muted); font-size: .85rem;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--pine-3);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
footer p { margin: 0; }
footer nav { display: flex; gap: 20px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--mint); }

/* 404 */
.lost {
  min-height: 70vh;
  display: grid; place-items: center; text-align: center;
  padding: 48px var(--gutter);
}
.lost h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(5rem, 20vw, 12rem); line-height: .9;
  color: var(--red); text-shadow: 6px 6px 0 var(--pine-3);
  margin: 0;
}
.lost p { font-size: 1.2rem; color: var(--muted); margin: 16px 0 32px; }
.btn {
  display: inline-flex; align-items: center;
  font-family: var(--display); font-size: 1rem;
  padding: 14px 22px; text-decoration: none;
  color: var(--bone); background: var(--red);
  box-shadow: 5px 5px 0 var(--mint);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--mint); }
