/* AffiLayer Docs — navy/gold, same brand as affilayer.com. Static, no JS. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #070d1a;
  color: #e2e8f0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a { color: #fbbf24; text-decoration: none; }
a:hover { color: #f59e0b; text-decoration: underline; }
:focus-visible { outline: 2px solid #fbbf24; outline-offset: 2px; }
header {
  border-bottom: 1px solid #1e2a3f;
  background: rgba(7, 13, 26, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.logo { font-size: 18px; font-weight: 800; color: #fff; white-space: nowrap; }
.logo span { background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.docs-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
nav.docs-nav a { color: #cbd5e1; padding: 6px 2px; }
nav.docs-nav a[aria-current="page"] { color: #fbbf24; font-weight: 700; }
nav.docs-nav a:hover { color: #fff; text-decoration: none; }
main { max-width: 960px; margin: 0 auto; padding: 32px 20px 64px; }
h1 { color: #fff; font-size: 32px; line-height: 1.2; margin: 0 0 8px; }
h1 span { background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { color: #fff; font-size: 22px; margin: 36px 0 8px; }
h3 { color: #fff; font-size: 17px; margin: 24px 0 6px; }
p, li { color: #cbd5e1; }
.lede { font-size: 18px; color: #e2e8f0; max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #f59e0b; }
.note {
  border: 1px solid #1e2a3f;
  border-left: 3px solid #d97706;
  background: #111c30;
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
}
.note p { margin: 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; background: #0f1b2e; border: 1px solid #1e2a3f; border-radius: 6px; padding: 1px 6px; color: #fcd34d; }
pre {
  background: #0f1b2e;
  border: 1px solid #1e2a3f;
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.55;
}
pre code { background: none; border: none; padding: 0; color: #e2e8f0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #1e2a3f; vertical-align: top; }
th { color: #fff; font-weight: 700; }
td { color: #cbd5e1; }
.cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 24px; }
.card { border: 1px solid #1e2a3f; background: #111c30; border-radius: 14px; padding: 18px; transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(245, 158, 11, 0.55); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; font-size: 14px; }
ol.steps { counter-reset: step; list-style: none; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 20px 44px; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #d97706, #f59e0b, #fbbf24);
  color: #0b1220; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
ol.steps li strong { color: #fff; }
footer { border-top: 1px solid #1e2a3f; }
.footer-inner { max-width: 960px; margin: 0 auto; padding: 20px; font-size: 13px; color: #8a97a8; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 600px) {
  h1 { font-size: 26px; }
  main { padding-top: 24px; }
}
