:root {
  --bg: #f5f8fc;
  --ink: #07152f;
  --text: #334155;
  --muted: #64748b;
  --line: #d7e2ef;
  --card: #ffffff;
  --green: #0f8a55;
  --blue: #2563eb;
  --amber: #d97706;
  --shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 12% 0%, rgba(15, 138, 85, 0.13), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(37, 99, 235, 0.11), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  line-height: 1.65;
}
a { color: inherit; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}
.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.topnav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  padding: 6px 11px;
  text-decoration: none;
}
.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 58px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}
.eyebrow,
.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #075234;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}
h1 {
  margin: 12px 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
}
h2 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}
h3 {
  margin: 0 0 8px;
  color: var(--ink);
}
p { margin: 0 0 14px; }
.lead {
  max-width: 780px;
  color: #475569;
  font-size: 17px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hero-card,
.card,
.flow article,
.app-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 18px;
}
.hero-card strong {
  display: block;
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
}
.hero-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}
.grid,
.flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}
.flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card,
.flow article {
  padding: 16px;
}
.flow span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #fff;
  background: #0f172a;
  font-weight: 900;
}
.list,
.steps {
  margin: 0;
  padding-left: 20px;
}
.list li,
.steps li {
  margin: 8px 0;
}
code {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #f8fafc;
  color: var(--ink);
  padding: 2px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}
pre {
  overflow: auto;
  border-radius: 10px;
  background: #0f172a;
  color: #e5edf7;
  padding: 16px;
}
pre code {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}
.app-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.app-table th,
.app-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.app-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.app-table tr:last-child td { border-bottom: 0; }
.pager {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}
.pager a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  padding: 10px 13px;
  text-decoration: none;
}
@media (max-width: 820px) {
  .topbar,
  .hero {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
  .topbar {
    flex-direction: column;
  }
  .topnav {
    justify-content: flex-start;
  }
  .grid,
  .flow {
    grid-template-columns: 1fr;
  }
}
