:root {
  --bg: #f3f5fb;
  --bg-accent: #e8edff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9deea;
  --card: #ffffff;
  --brand: #4f6cff;
  --brand-end: #3d56e0;
  --radius: 18px;
  --max: 720px;
  --font: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(1200px 500px at 10% -10%, var(--bg-accent), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, #dde7ff, transparent 55%),
    var(--bg);
  line-height: 1.55;
}

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-end); }

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.brand {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
}

.hero {
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.04);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-end));
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn:hover { filter: brightness(0.98); }

.doc h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.doc .meta {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.doc h2 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.15rem;
}

.doc p,
.doc li {
  color: #2a3342;
}

.doc ul {
  padding-left: 1.2rem;
}

.doc li { margin: 0.35rem 0; }

.site-footer {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover { color: var(--brand); }

.email {
  font-weight: 700;
  color: var(--ink);
}
