/* heiter website. Flat colours, no gradients or shadows; values mirror the design tokens in README.md. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --background: #edf1f5;
  --ink: #14213a;
  --ink-secondary: #46526b;
  --card: #ffffff;
  --sunny: #ffd23f;
  --heiter: #ffe9a3;
  --radius: 20px;
  --radius-small: 12px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
h2 { font-size: 1.4rem; margin-top: 2em; }
h3 { font-size: 1.1rem; margin-top: 1.5em; }

p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.35em; }

a { color: var(--ink); text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.site-header { padding: 8px 0 24px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
}
.brand svg { width: 48px; height: 48px; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.hero { text-align: center; }
.hero svg { width: 128px; height: 128px; margin: 8px auto 16px; display: block; }
.lead { font-size: 1.25rem; color: var(--ink-secondary); }

.pill {
  display: inline-block;
  background: var(--heiter);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 0.95rem;
}

.secondary { color: var(--ink-secondary); }

/* Draft notice on legal pages; delete the <div class="draft-banner"> element to remove it. */
.draft-banner {
  background: var(--sunny);
  border-radius: var(--radius-small);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-weight: 600;
}

.code {
  display: block;
  margin: 16px 0;
  padding: 20px 12px;
  background: var(--heiter);
  border-radius: var(--radius-small);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 9vw, 2.75rem);
  letter-spacing: 0.04em;
  text-align: center;
  overflow-wrap: anywhere;
}

.site-footer {
  padding-top: 16px;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}
.site-footer a {
  display: inline-block;
  min-height: 44px;
  line-height: 44px;
  margin-right: 16px;
  color: var(--ink-secondary);
}

.placeholder { background: var(--heiter); border-radius: 4px; padding: 0 4px; }

/* Keep the hidden attribute effective even on elements with their own display value. */
[hidden] { display: none !important; }
.card > h2:first-child { margin-top: 0; }
