:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --primary: #1b3f6b;
  --title: #0d1f35;
  --body: #2c3e5b;
  --muted: #6b7a99;
  --border: #e0e5ee;
  --danger: #b00020;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--title);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
}

h1 {
  color: var(--title);
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}

h2 {
  color: var(--title);
  font-size: 20px;
  margin: 28px 0 10px;
}

p,
li {
  margin: 0 0 12px;
}

ul {
  padding-left: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.92;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid #bfc8da;
  margin-left: 8px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  h1 {
    font-size: 26px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
