:root {
  color-scheme: light;
  --ink: #20201e;
  --muted: #6e6b65;
  --paper: #f4f1ea;
  --panel: #ebe6dc;
  --line: rgba(32, 32, 30, 0.14);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-underline-offset: 0.2em; }

header, main, footer {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.brand { font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: 0.02em; }
nav { display: flex; gap: 18px; font-size: 0.9rem; }

main { padding: 72px 0 96px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.15; }
h1 { max-width: 660px; margin: 0 0 22px; font-size: clamp(2.5rem, 8vw, 5rem); letter-spacing: -0.035em; }
h2 { margin-top: 50px; font-size: 1.65rem; }
p, li { max-width: 670px; }
.lead { color: var(--muted); font-size: 1.15rem; }
.card { margin: 48px 0; padding: 28px; border: 1px solid var(--line); background: var(--panel); }
.eyebrow { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lang { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
footer { padding: 28px 0 52px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

@media (max-width: 560px) {
  header { align-items: flex-start; flex-direction: column; gap: 12px; }
  main { padding-top: 48px; }
}
