:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #121317;
  --muted: #5f6470;
  --line: #ebe8e3;
  --accent: #208aef;
  --accent-ink: #ffffff;
  --accent-soft: #e6f2fe;
  --pink: #ff6fa8;
  --glow-a: rgba(32, 138, 239, 0.22);
  --glow-b: rgba(255, 111, 168, 0.20);
  --shadow: 0 1px 2px rgba(18, 19, 23, 0.04), 0 8px 24px rgba(18, 19, 23, 0.06);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0d10;
    --surface: #15171c;
    --text: #f2f3f5;
    --muted: #9aa1ad;
    --line: #23262d;
    --accent: #4aa3f5;
    --accent-ink: #06121f;
    --accent-soft: #10243a;
    --pink: #ff86b7;
    --glow-a: rgba(74, 163, 245, 0.20);
    --glow-b: rgba(255, 134, 183, 0.14);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; letter-spacing: 0.06em;
  color: var(--text); text-decoration: none;
}
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  color: #fff; font-size: 16px; letter-spacing: 0;
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface); box-shadow: var(--shadow); }

/* ---------- Home ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; text-align: center; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px);
}
.hero::before { width: 520px; height: 520px; background: var(--glow-a); top: -180px; left: -120px; }
.hero::after { width: 480px; height: 480px; background: var(--glow-b); top: -120px; right: -140px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.hero h1 {
  font-size: clamp(42px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 800; margin: 22px auto 18px; max-width: 12ch;
}
.gradient-text {
  background: linear-gradient(100deg, var(--accent), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 34rem; margin: 0 auto 32px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--line); }

.section { padding: 32px 0 80px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.feature .icon {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.band {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: 44px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.band h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 12px; }
.band p { color: var(--muted); margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
  background: var(--accent-soft); color: var(--accent); margin-top: 1px;
}

/* ---------- Document pages ---------- */
.doc-head { padding: 64px 0 28px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.doc-head h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 10px; }
.updated { color: var(--muted); font-size: 15px; margin: 0; }
.doc { padding-bottom: 72px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 44px 0 10px; scroll-margin-top: 84px; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--accent); }
.callout {
  background: var(--accent-soft); border-radius: 16px; padding: 18px 22px; margin: 28px 0 8px;
}
.callout p { margin: 4px 0; color: var(--text); }
.contact-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; margin: 28px 0 8px; box-shadow: var(--shadow);
}
.contact-card .label { font-size: 14px; color: var(--muted); margin: 0; }
.contact-card .value { font-size: 18px; font-weight: 600; margin: 0; }
.urgent {
  border-left: 4px solid #ef4444; background: var(--surface);
  border-radius: 12px; padding: 16px 20px; margin: 12px 0;
}
.urgent ul { margin: 8px 0 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; margin-left: 18px; }
.footer a:first-child { margin-left: 0; }
.footer a:hover { color: var(--text); }

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .hero { padding: 64px 0 48px; }
  .nav-links a { padding: 8px 9px; font-size: 14px; }
  .logo-text { display: none; }
  .doc-head { padding-top: 40px; }
}
