/* The chrome every page shares: face, colours, frame, header, footer, the
   reading column and its titles, the pill. The homepage loads it after
   styles.css; the share, privacy and terms pages load it alone and keep only
   their own content rules inline. Values follow styles.css so the pages match. */
@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/comfortaa-latin-variable.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --ground: #fbf9f4;
  --ink: #111;
  --grey: #60646c;
  --divider: #f0ece5;
  --primary: #d9534a;
  --card: #fff;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
  --font-heading: "Comfortaa", var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* The frame: one width and one set of margins on every page. */
.wrap { width: min(1232px, calc(100% - 96px)); margin-inline: auto; }
@media (max-width: 1000px) { .wrap { width: calc(100% - 64px); } }
@media (max-width: 760px) { .wrap { width: calc(100% - 40px); } }
@media (max-width: 380px) { .wrap { width: calc(100% - 32px); } }

/* Header: the wordmark and its dot over a hairline. */
.site-header { min-height: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 18px 0; border-bottom: 1px solid var(--divider); }
.brand { display: inline-flex; align-items: flex-start; gap: 7px; flex-shrink: 0; }
.brand img { width: 142px; }
.brand-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--primary); margin-top: 2px; }
@media (max-width: 760px) { .brand img { width: 118px; } .brand-dot { width: 7px; height: 7px; } }
@media (max-width: 380px) { .brand img { width: 105px; } }

.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; white-space: nowrap; }

/* The reading column of an inner page, centred under the frame, and its titles. */
.column { max-width: 720px; margin-inline: auto; }
.column h1 { font-family: var(--font-heading); font-size: clamp(2.125rem, 3.6vw, 3rem); font-weight: 600; line-height: 1.07; letter-spacing: -.06em; margin: 12px 0 8px; }
.column h2 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; letter-spacing: -.04em; }

/* Footer: hairline, wordmark, tagline, links. */
.site-footer { margin-top: 56px; border-top: 1px solid var(--divider); min-height: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; padding: 28px 0 40px; font-size: .8125rem; color: var(--grey); }
.site-footer nav { display: flex; gap: 25px; margin-left: auto; width: auto; }
.site-footer nav a { color: inherit; text-decoration: none; }
.site-footer nav a:hover { color: var(--primary); }
.footer-brand { display: inline-flex; }
.footer-brand img { width: 110px; }
@media (max-width: 760px) { .site-footer nav { width: 100%; margin-left: 0; } }
