:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --muted: #f6f7f9;
  --text: #0f172a;
  --textSoft: #475569;
  --line: rgba(15, 23, 42, 0.12);
  --accent: #0f172a;
  --shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a { color: var(--text); }
a:hover { color: var(--text); opacity: 0.8; }

.container {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--text);
  color: #ffffff;
  border: 1px solid var(--text);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--textSoft);
}
.nav-link:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(15, 23, 42, 0.03);
}
.nav-link.is-active {
  color: var(--text);
  border-color: var(--line);
  background: rgba(15, 23, 42, 0.03);
}

.hero { padding: 58px 0 18px; }
.page-hero { padding: 46px 0 10px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--textSoft);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.12;
}

.lead {
  margin: 0;
  max-width: 72ch;
  color: var(--textSoft);
  font-size: 18px;
}

.section { padding: 34px 0; }

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.card-title {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--textSoft);
}

.card-text {
  margin: 0 0 10px;
  color: var(--textSoft);
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

.callout {
  margin-top: 18px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.callout-critical {
  border-color: rgba(15, 23, 42, 0.22);
  background: rgba(15, 23, 42, 0.04);
}

.callout-title {
  margin: 0 0 6px;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.callout-text {
  margin: 0;
  color: var(--textSoft);
}

.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--text);
  background: var(--text);
  color: #ffffff;
  text-decoration: none;
  font-weight: 650;
}
.button:hover { opacity: 0.92; }

.button-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.button-ghost:hover {
  background: rgba(15, 23, 42, 0.03);
  opacity: 1;
}

.steps {
  margin: 0;
  padding-left: 18px;
  max-width: 88ch;
}
.step { margin: 0 0 14px; }
.step-title { margin: 0 0 6px; font-size: 16px; }
.step-text { margin: 0; color: var(--textSoft); }

.prose { max-width: 88ch; }
.prose h2 { margin: 18px 0 8px; font-size: 18px; }
.prose p { margin: 0 0 10px; color: var(--textSoft); }

.bullets {
  margin: 0;
  padding-left: 18px;
  color: var(--textSoft);
}
.bullets li { margin: 6px 0; }

.link-strong {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.35);
}
.link-strong:hover { border-bottom-color: rgba(15, 23, 42, 0.7); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 34px;
  background: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.small {
  margin: 0;
  color: var(--textSoft);
  font-size: 13px;
}
.supporting {
  margin: 14px 0 0;
  max-width: 72ch;
  color: var(--textSoft);
}

.section-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.cta-row-subtle {
  margin-top: 14px;
}

.cta-row-subtle .button {
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.cta-row-subtle .button-ghost {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.14);
  color: var(--textSoft);
}

.cta-row-subtle .button-ghost:hover {
  background: rgba(15, 23, 42, 0.03);
  color: var(--text);
}

.steps {
  max-width: 72ch;
  padding-left: 20px;
}

.step {
  margin-bottom: 18px;
}

.step-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.steps {
  max-width: 72ch;
}

.step-text {
  margin: 0 0 2px;
  color: var(--textSoft);
}

.page-hero h1 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  max-width: 34ch;
}

.page-hero .eyebrow {
  margin-bottom: 6px;
}

.page-hero + .section .prose > h2:first-child {
  margin-top: 4px;
}

.page-hero + .section {
  padding-top: 14px;
}