:root {
  --bg: #f7f9fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #5b6472;
  --brand: #1f4e79;
  --brand-2: #26715f;
  --line: #d8e0e8;
  --code: #101828;
  --code-bg: #eef3f7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

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

a:hover {
  text-decoration: underline;
}

.shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 800;
  color: var(--brand);
  font-size: 19px;
}

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

.hero {
  padding: 72px 0 40px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: center;
}

h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.subtitle {
  font-size: 19px;
  color: var(--muted);
  max-width: 760px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: white;
  border-radius: 6px;
  font-weight: 700;
}

.button.secondary {
  background: white;
  color: var(--brand);
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.hero-card h2 {
  margin-top: 0;
  color: var(--brand);
}

.section {
  padding: 42px 0;
}

.section h2 {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card h3 {
  margin-top: 0;
  color: var(--brand);
}

pre {
  overflow-x: auto;
  background: var(--code-bg);
  color: var(--code);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
}

code {
  font-family: "Cascadia Code", Consolas, ui-monospace, monospace;
  font-size: 0.94em;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: 1px solid var(--line);
}

th,
td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--brand);
  color: white;
}

.callout {
  border-left: 5px solid var(--brand-2);
  background: #ecf6f2;
  padding: 14px 16px;
  border-radius: 6px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 26px 0;
  background: white;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  header {
    position: static;
  }
}

