/* Grundlagen: Reset, Typografie, Layout */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); font-weight: 600; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--rose); }

p { margin: 0 0 var(--space-2); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--rose); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

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

button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--space-4)); margin-inline: auto; padding-inline: var(--space-4); }
@media (max-width: 600px) { .wrap { padding-inline: 1.25rem; } }

.section { padding-block: var(--space-7); }
.section--tint { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
}
.lead { font-size: var(--step-1); color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.center p { margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link { position: absolute; left: var(--space-2); top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.skip-link:focus { top: var(--space-2); }
