:root {
  color-scheme: light;
  --ink: #172033;
  --muted: #667085;
  --line: #e6e9ef;
  --paper: #fbfcfe;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

* { box-sizing: border-box; }

html { background: var(--paper); }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 28px 0;
}

.brand { color: var(--ink); font-size: 1.05rem; font-weight: 750; letter-spacing: -0.02em; }
.header-link { font-size: 0.9rem; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }

.hero { max-width: 720px; padding: 100px 0 64px; }
h1, h2 { letter-spacing: -0.04em; line-height: 1.12; }
h1 { max-width: 720px; margin: 0 0 24px; font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { margin: 42px 0 12px; font-size: 1.45rem; }
.lede { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.card h2 { margin-top: 8px; }
.card p:not(.eyebrow) { color: var(--muted); }
.icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; color: var(--accent); background: var(--accent-soft); border-radius: 16px; font-size: 0.84rem; font-weight: 800; }
.links { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 24px; font-size: 0.92rem; font-weight: 650; }

.note { margin: 22px 0 96px; padding: 22px 24px; border-left: 3px solid var(--accent); color: var(--muted); background: #f2f6ff; border-radius: 0 14px 14px 0; }
.note p:last-child { margin-bottom: 0; }

.document { max-width: 760px; padding: 72px 0 80px; }
.document h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.document p, .document li { color: #3d4657; }
.document .muted { color: var(--muted); font-size: 0.92rem; }
.document ul { padding-left: 24px; }
.back-link { margin-top: 52px; font-weight: 650; }

.site-footer { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0 34px; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); }

@media (max-width: 600px) {
  .shell, .site-header { width: min(100% - 28px, 980px); }
  .site-header { align-items: flex-start; padding: 20px 0; }
  .header-link { text-align: right; }
  .hero { padding: 72px 0 48px; }
  .note { margin-bottom: 68px; }
}
