/* Shared by index.html and privacy.html. Page-specific layout lives in each page. */

@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: oklch(0.19 0.006 260);
  --line: oklch(0.32 0.008 260);
  --ink: oklch(0.96 0.004 260);
  --soft: oklch(0.76 0.008 260);
  --nib: oklch(0.83 0.16 78);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-width: min(1180px, 100% - 3rem);
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  font-family: "Onest", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  /* The ink speckles from the icon, scattered with mismatched tile sizes so no grid shows. */
  background-image:
    radial-gradient(circle, oklch(0.83 0.16 78 / 0.55) 1.2px, transparent 1.6px),
    radial-gradient(circle, oklch(0.74 0.17 150 / 0.45) 1px, transparent 1.4px),
    radial-gradient(circle, oklch(0.96 0 0 / 0.35) 0.8px, transparent 1.2px);
  background-size: 263px 311px, 389px 241px, 157px 199px;
  background-position: 40px 70px, 190px 20px, 90px 130px;
}

a:focus-visible {
  outline: 2px solid var(--nib);
  outline-offset: 3px;
  border-radius: 4px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; }

footer {
  width: var(--page-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.1rem 0 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--soft);
}
footer a { color: var(--ink); text-underline-offset: 3px; }
