:root {
  --background: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #17212b;
  --muted: #5c6875;
  --brand: #165d9c;
  --brand-dark: #0f416f;
  --border: #d8e0e7;
  --warning-bg: #fff7d6;
  --warning-border: #d2a400;
  --danger-bg: #fff1f1;
  --danger-border: #bd2f2f;
  --success-bg: #edf8f0;
  --success-border: #2f7d45;
  --shadow: 0 8px 24px rgba(26, 42, 58, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.58;
}
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.header-inner,
.container,
.footer-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; font-weight: 650; }
.container { padding: 52px 0 72px; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
h1, h2, h3 { line-height: 1.22; letter-spacing: -0.02em; }
h1 { margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { margin: 38px 0 14px; font-size: 1.55rem; }
h3 { margin: 0 0 8px; font-size: 1.15rem; }
.lead { max-width: 780px; font-size: 1.13rem; color: var(--muted); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
}
.card:hover { border-color: #aebdca; transform: translateY(-1px); }
.card p { margin: 0; color: var(--muted); }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin: 24px 0;
}
.callout {
  border-left: 5px solid var(--brand);
  background: #edf5fb;
  padding: 16px 18px;
  border-radius: 8px;
  margin: 22px 0;
}
.callout.warning { border-left-color: var(--warning-border); background: var(--warning-bg); }
.callout.danger { border-left-color: var(--danger-border); background: var(--danger-bg); }
.callout.success { border-left-color: var(--success-border); background: var(--success-bg); }
.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 24px 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 24px 52px;
  min-height: 42px;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 750;
}
.steps > li:last-child { padding-bottom: 0; }
.steps p { margin: 6px 0 0; }
.button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 8px;
  margin: 6px 8px 6px 0;
}
.button:hover { background: var(--brand-dark); color: #fff; }
.button.secondary { background: #e7eef5; color: var(--brand-dark); }
.button.secondary:hover { background: #d7e3ee; }
.code-like {
  display: inline-block;
  background: #eef2f5;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.checklist { padding-left: 22px; }
.checklist li { margin: 8px 0; }
.support-box {
  margin-top: 42px;
  padding: 24px;
  border-radius: 14px;
  background: #102f49;
  color: #fff;
}
.support-box a { color: #d7ebff; }
.site-footer { background: #e9eef2; border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.small { font-size: 0.92rem; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--border); margin: 36px 0; }
@media (max-width: 660px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 10px; }
  .container { padding-top: 36px; }
  .steps > li { padding-left: 46px; }
}
