:root {
  --text: #0f172a;
  --muted: #475569;
  --bg: #ffffff;
  --border: #e2e8f0;
  --accent: #052791;
}

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

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 18px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 36px;
  height: 36px;
  display: block;
}

.brand .name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.2;
}

.brand .tagline {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover, .nav a:focus {
  color: var(--text);
  background: #f1f5f9;
  outline: none;
}

.hero {
  padding: 42px 0 26px;
}

h1 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

.lead {
  font-size: 16px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 18px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #ffffff;
}

.cta:hover, .cta:focus {
  border-color: #cbd5e1;
  background: #f8fafc;
  outline: none;
}

.small {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

.footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer a { color: inherit; text-decoration: none; }
.footer a:hover, .footer a:focus { text-decoration: underline; outline: none; }

.page h1 {
  font-size: 28px;
  margin-top: 28px;
}

.page h2 {
  font-size: 16px;
  margin: 20px 0 8px;
}

.page p, .page li { color: var(--muted); }
.page ul { padding-left: 18px; }
