/* Ampena — legal pages (Impressum, Datenschutz)
   Standalone stylesheet, matched to the paper homepage (/styles.css). */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-var-latin.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-var-latin-ext.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper:   #f4f6fa;
  --text:    #0b1220;
  --text-2:  #3d475b;
  --text-3:  #5d6880;
  --blue:    #1b4fe0;
  --blue-700: #1642c4;
  --line:    rgba(11, 18, 32, 0.12);
  --line-2:  rgba(11, 18, 32, 0.07);
  --night:   #070b13;
  --on-1:    #f2f5fa;
  --on-2:    #b9c6da;
  --r-btn:   8px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --content-max: 1360px;
  --mast-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

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

html, body { margin: 0; padding: 0; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- SKIP LINK ---------- */

.skip {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  text-decoration: none;
  font-weight: 640;
  transition: top 160ms ease;
}
.skip:focus-visible { top: 12px; }

/* ---------- MASTHEAD ---------- */

.topbar {
  width: 100%;
  height: var(--mast-h);
  display: flex;
  align-items: center;
  background: rgba(244, 246, 250, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
  position: sticky;
  top: 0;
  z-index: 40;
}
.topbar-inner {
  width: 100%;
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
}
.wordmark .mark { width: 22px; height: 26px; display: block; fill: currentColor; }

.founding-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .9rem;
  border-radius: var(--r-btn);
  background: var(--blue);
  color: #fff;
  font-size: .9rem;
  font-weight: 640;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .founding-link:hover { background: var(--blue-700); }
}

/* ---------- PROSE ---------- */

main { padding: 56px var(--gutter) 96px; }

.prose { max-width: 66ch; margin-inline: auto; }

h1, h2, h3, p, ul, address { margin: 0; }

h1 {
  font-stretch: 112%;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

h2 {
  font-stretch: 112%;
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  margin-top: 2.5rem;
  color: var(--text);
}

.updated { color: var(--text-3); margin-top: 1rem; }

.prose p, .prose ul, .prose address { margin-top: 1rem; color: var(--text-2); }

address { font-style: normal; }

ul { padding-left: 1.35rem; }
li { margin-top: .4rem; }
li:first-child { margin-top: 0; }

a { text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--blue); } }

.prose > p:last-child { margin-top: 2.5rem; }

/* ---------- FOOTER ---------- */

.site-footer { background: var(--night); color: var(--on-2); }
.site-footer-inner {
  max-width: calc(var(--content-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 2rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.site-footer-inner a { text-decoration: none; color: var(--on-2); }
@media (hover: hover) and (pointer: fine) {
  .site-footer-inner a:hover { color: var(--on-1); text-decoration: underline; }
}
.footer-links { display: flex; gap: 1.2rem; }

/* ---------- RESPONSIVE ---------- */

@media (max-width: 480px) {
  .topbar-inner { padding-inline: 16px; }
  main { padding: 40px 16px 64px; }
  h2 { margin-top: 2rem; }
  .founding-link { font-size: .82rem; padding: .5rem .75rem; }
  .site-footer-inner { padding: 1.5rem 16px; }
}
