/* Shared styles for the static legal pages (privacy.html, terms.html). Tokens match src/styles.css. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,400..800&display=swap');

:root {
  --paper: #f3f5f4;
  --sheet: #ffffff;
  --ink: #17242c;
  --pencil: #56646b;
  --grid: #cbd5d3;
  --flag: #e5307a;
  --flag-text: #c2185b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: var(--ink);
  text-decoration-color: var(--flag);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--flag-text); }

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

header, main, footer {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
}

header {
  padding: 24px 0;
  border-bottom: 1px solid var(--grid);
}

.brand {
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.05rem;
  text-decoration: none;
}

main { padding: 48px 0 32px; }

h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}

h2 {
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 110%;
  margin: 2.4rem 0 0.6rem;
}

p, li { max-width: 66ch; }
strong { font-weight: 650; }
ul { padding-left: 1.25rem; }

.updated { margin: 0.5rem 0 1.75rem; color: var(--pencil); font-size: 0.95rem; }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 12px;
  margin: 1.25rem 0 0.5rem;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--sheet);
  border: 1px solid var(--grid);
  border-radius: 4px;
  text-decoration: none;
}

.product:hover { border-color: var(--ink); color: var(--ink); }
.product span { color: var(--pencil); font-size: 0.92rem; line-height: 1.45; }
.product .link { color: var(--flag-text); margin-top: 6px; }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0 40px;
  border-top: 2px solid var(--ink);
  font-size: 0.92rem;
  color: var(--pencil);
}
