:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #536072;
  --line: #dce3ec;
  --accent: #1456d9;
  --accent-dark: #0b2f78;
  --surface: #f5f8fc;
  --white: #ffffff;
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

.shell { width: min(920px, calc(100% - 40px)); margin: 0 auto; }

header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { color: var(--ink); font-weight: 750; text-decoration: none; letter-spacing: -0.02em; }
.links { display: flex; gap: 20px; }
.links a { color: var(--muted); text-decoration: none; }
.links a:hover { color: var(--ink); }

main { padding: 72px 0 88px; }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
h1 { max-width: 760px; margin: 10px 0 22px; font-size: clamp(2.4rem, 7vw, 4.7rem); line-height: 1.02; letter-spacing: -0.055em; }
h2 { margin: 42px 0 10px; font-size: 1.35rem; letter-spacing: -0.02em; }
p, li { max-width: 760px; }
.lead { color: var(--muted); font-size: 1.18rem; max-width: 700px; }
.panel { margin-top: 48px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.panel h2 { margin-top: 0; }
.meta { color: var(--muted); font-size: .92rem; }
footer { border-top: 1px solid var(--line); padding: 28px 0 42px; color: var(--muted); }
footer .shell { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 920px); }
  nav { align-items: flex-start; padding: 18px 0; flex-direction: column; gap: 8px; }
  main { padding: 48px 0 64px; }
  .panel { padding: 22px; }
}
