:root {
  color-scheme: light;
  --brand: #d71920;
  --brand-dark: #aa1117;
  --ink: #17181b;
  --muted: #62666d;
  --line: #e6e7e9;
  --canvas: #f7f7f8;
  --surface: #ffffff;
}

* { box-sizing: border-box; }

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

header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.bar, main, footer {
  width: min(100% - 32px, 760px);
  margin-inline: auto;
}

.bar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand span { color: var(--brand); }

nav { display: flex; gap: 16px; }
nav a, footer a { color: var(--brand-dark); }

main { padding-block: 42px 56px; }

.eyebrow {
  color: var(--brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  margin: 6px 0 8px;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.intro { color: var(--muted); font-size: 1.02rem; }

.meta {
  margin: 20px 0 28px;
  padding: 12px 16px;
  border: 1px solid #f0d1d3;
  border-radius: 12px;
  background: #fff7f7;
  color: #5f3235;
  font-size: .9rem;
}

section {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgb(20 20 24 / 4%);
}

h2 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.3; }
h3 { margin: 18px 0 4px; font-size: 1rem; }
p, ul, ol { margin-top: 8px; }
li + li { margin-top: 6px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover, .button:focus-visible { background: var(--brand-dark); }
.warning { border-color: #f2c6c8; background: #fffafa; }

footer {
  padding-block: 0 40px;
  color: var(--muted);
  font-size: .86rem;
}

@media (max-width: 560px) {
  .bar { align-items: flex-start; flex-direction: column; padding-block: 14px; }
  nav { flex-wrap: wrap; }
  main { padding-top: 30px; }
  section { padding: 18px; border-radius: 14px; }
}
