:root {
  --bg: #0f1115;
  --bg-elev: #171a21;
  --text: #e8eaf0;
  --muted: #9aa3b2;
  --line: #262b36;
  --accent: #ffb020;
  --accent-ink: #1a1200;
  --ok: #3ddc84;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: calc(100dvh + env(safe-area-inset-top, 0px));
}
a { color: inherit; }
.container { width: min(1040px, 100% - 32px); margin: 0 auto; }

.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 20px; }
.brand__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font-size: 14px; letter-spacing: .5px; }
.site-nav { display: flex; gap: 18px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.hero { padding: 72px 0 40px; max-width: 720px; }
.hero__eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.hero__title { margin: 0 0 20px; font-size: clamp(32px, 6vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
.hero__text { margin: 0; color: var(--muted); font-size: 18px; }

.agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding: 16px 0 48px; }
.agent-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.agent-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.agent-card h2 { margin: 0; font-size: 22px; }
.agent-card p { margin: 0; color: var(--muted); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge--on { background: rgba(61, 220, 132, .15); color: var(--ok); }
.badge--off { background: rgba(255, 176, 32, .15); color: var(--accent); }

.how { padding: 0 0 64px; max-width: 720px; }
.how h2 { font-size: 24px; margin: 0 0 16px; }
.how__steps { margin: 0; padding-left: 22px; color: var(--muted); display: grid; gap: 10px; }
.how__steps strong { color: var(--text); }

.error-page { padding: 96px 0; text-align: center; }
.error-page__code { font-size: 64px; font-weight: 800; margin: 0; color: var(--accent); }
.error-page h1 { font-size: 24px; margin: 8px 0 24px; }
.button { display: inline-block; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; background: var(--bg-elev); }

.site-footer { border-top: 1px solid var(--line); padding: 24px 0 calc(24px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0; }

@media (max-width: 640px) {
  .site-nav { display: none; }
  .hero { padding: 48px 0 24px; }
}
