:root {
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #4a5568;
  --muted2: #718096;
  --border: #e5e7eb;
  --card: #ffffff;
  --accent: #2563eb;
  --accent2: #1d4ed8;
  --accentSoft: #eff6ff;
  --radius: 16px;
  --max: 1120px;
  --proseMax: 840px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.small { font-size: 12px; color: var(--muted2); }
.muted { color: var(--muted); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.navlinks {
  display: flex; align-items: center; gap: 18px;
  color: var(--muted); font-size: 14px; flex-wrap: wrap; justify-content: flex-end;
}
.navlinks a { padding: 6px 2px; }
.navlinks a.btn { padding: 11px 22px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 14px;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  transition: transform .05s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { border-color: #cbd5e1; box-shadow: 0 10px 25px rgba(17,24,39,0.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); border-color: var(--accent2); color: #fff;
  box-shadow: 0 14px 35px rgba(37,99,235,0.22);
}
.btn-primary:hover { background: var(--accent2); border-color: var(--accent2); text-decoration: none; }

.page-hero {
  padding: 48px 0 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin: 0 0 12px; font-size: 34px; letter-spacing: -0.02em; line-height: 1.12; }
.page-hero .lead { margin: 0; color: var(--muted); font-size: 17px; max-width: 68ch; }

footer {
  border-top: 1px solid var(--border); padding: 28px 0; margin-top: 20px;
  color: var(--muted); font-size: 13px; background: #fff;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

@media (max-width: 760px) {
  .page-hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}
