:root {
  --bg: #E8F0F8;
  --surface: #fff;
  --text: #0F2440;
  --text-mid: #3D5674;
  --brand: #1877F2;
  --border: rgba(24, 80, 150, 0.12);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Instrument Serif", Georgia, serif;
  --max: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  background: linear-gradient(180deg, #DCE8F4 0%, var(--bg) 40%, #F2F6FB 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(232, 240, 248, 0.9);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 720px;
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--brand); }
.logo:hover { text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #4D9BFF 0%, var(--brand) 50%, #0F5FD8 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.25);
}
.btn:hover { text-decoration: none; filter: brightness(1.03); }

.doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin: 2rem auto 3rem;
  box-shadow: 0 12px 40px rgba(24, 80, 150, 0.08);
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.meta {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin: 0 0 1.75rem;
}

h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.65rem;
}

p, li { color: var(--text); font-size: 1rem; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; color: var(--text-mid); }
li strong { color: var(--text); }

.foot-links {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

.footer {
  padding: 0 0 2.5rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  text-align: center;
}
