:root {
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e3e1db;
  --bg: #faf9f6;
  --card: #ffffff;
  --accent: #2f5d8a;
  --max: 920px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
a:hover { text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

header { border-bottom: 1px solid var(--line); background: var(--card); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.wordmark { font-size: 21px; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
.wordmark strong { font-weight: 700; }
.wordmark span { font-weight: 300; }
nav a { color: var(--muted); text-decoration: none; margin-left: 22px; font-size: 15px; }
nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

.hero { padding: 56px 0 40px; display: grid; gap: 32px; align-items: center; }
.hero-art { width: 100%; max-width: 440px; height: auto; justify-self: center; }
@media (min-width: 780px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding: 72px 0 48px; }
  .hero-art { justify-self: end; }
}

.icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #e6eef6; margin-bottom: 14px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.15; margin: 0 0 18px; letter-spacing: -0.01em; max-width: 720px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0; max-width: 640px; }

section { padding: 40px 0; }
h2 { font-size: 24px; margin: 0 0 20px; }
h3 { font-size: 18px; margin: 0 0 6px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact .label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }

.doc { padding: 56px 0 40px; }
.doc h1 { font-size: clamp(28px, 4.5vw, 38px); margin: 0 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 6px; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer p { margin: 0 0 4px; }
