:root {
  --navy: #1e4b8e;
  --navy-dark: #153668;
  --cream: #f6f4ef;
  --surface: #ffffff;
  --green: #1f6b3a;
  --green-soft: #e7f4ec;
  --text: #1c2430;
  --muted: #526072;
  --border: #dfd9ce;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--navy-dark);
}

.site-header {
  background: var(--navy);
  color: #ffffff;
  border-bottom: 3px solid var(--green);
}

.header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.brand:hover {
  color: #ffffff;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ffffff;
  padding: 2px;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.8125rem;
  opacity: 0.85;
  display: block;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.92;
}

.nav a:hover,
.nav a.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 24px 64px;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(28, 36, 48, 0.04);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 68ch;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--navy-dark);
  color: #ffffff;
}

.btn-secondary {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: #ede9df;
  color: var(--navy-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 6px rgba(28, 36, 48, 0.03);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.125rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 22px;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  color: var(--navy);
}

.section h3 {
  margin: 20px 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.section p {
  margin: 0 0 12px;
}

.section p:last-child,
.section ul:last-child,
.section ol:last-child {
  margin-bottom: 0;
}

.section ul,
.section ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.section li {
  margin-bottom: 8px;
}

code {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
}

.meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.callout {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  padding: 14px 18px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 26px 24px 40px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 600px) {
  .hero,
  .section {
    padding: 22px 18px;
  }
}
