:root {
  --bg: #f7f8f6;
  --surface: #ffffff;
  --ink: #14201f;
  --muted: #5c6a67;
  --line: #dfe5e1;
  --brand: #0f5f55;
  --brand-dark: #0a403a;
  --accent: #c6f06b;
  --shadow: 0 24px 60px rgba(14, 42, 38, 0.12);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 246, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand strong { font-weight: 700; }

.brand-mark {
  width: 30px;
  height: 30px;
  fill: var(--brand);
  flex: 0 0 auto;
}

.brand.small { font-size: 16px; }
.brand.small .brand-mark { width: 26px; height: 26px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--brand);
}

.hero {
  padding: 84px 0 64px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(15, 95, 85, 0.14), transparent 60%),
    radial-gradient(600px 300px at 0% 20%, rgba(198, 240, 107, 0.18), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

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

h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

p { margin: 0 0 14px; }

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 58ch;
}

.narrow { max-width: 62ch; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.primary:hover { background: var(--brand-dark); }

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .6);
}

.button.ghost:hover { border-color: #b9c6c1; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.meta li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 1px;
}

.hero-card {
  background: #10201e;
  color: #dce7e3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(1.2deg);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  color: #8fa39e;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4b47;
}

.card-title { margin-left: 8px; }

.code {
  margin: 0;
  padding: 22px 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  line-height: 1.65;
  color: #b8f0d9;
  overflow-x: auto;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 12px;
  color: #8fa39e;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 240, 107, .12);
}

.section { padding: 74px 0; }

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 640px; margin-bottom: 34px; }

.grid {
  display: grid;
  gap: 18px;
}

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

.feature,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.feature p,
.panel p { color: var(--muted); margin-bottom: 0; }

.feature h3 { color: var(--brand-dark); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.stats span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.text-link {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 95, 85, .3);
}

.text-link:hover { border-color: var(--brand); }

.checklist,
.ticks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li,
.ticks li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.checklist li:last-child,
.ticks li:last-child { border-bottom: 0; }

.checklist li::before,
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  box-sizing: border-box;
}

.page-head {
  padding: 64px 0 34px;
  background: linear-gradient(180deg, rgba(15, 95, 85, .06), transparent);
  border-bottom: 1px solid var(--line);
}

.page-head h1 { font-size: clamp(32px, 4vw, 48px); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  background: #fbfcfb;
}

tr:last-child td { border-bottom: 0; }

.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 30px; }
.prose p { color: var(--muted); }

.site-footer {
  padding: 46px 0;
  background: #0e1a18;
  color: #cfdad6;
}

.site-footer .brand { color: #fff; }
.site-footer .brand-mark { fill: var(--accent); }
.site-footer .muted { color: #8fa39e; }
.site-footer .small { margin: 14px 0 0; }

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 14px;
}

.footer-links a {
  color: #cfdad6;
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero-grid,
  .split { grid-template-columns: 1fr; }
  .hero-card { transform: none; }
  .grid.three,
  .grid.two { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { min-height: 62px; }
  .nav { gap: 14px; font-size: 13px; }
  .nav a:nth-child(3) { display: none; }
  .hero { padding: 56px 0 44px; }
  .grid.three,
  .grid.two { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  h1 { font-size: 38px; }
}
