:root {
  --bg: #0b1220;
  --bg-elevated: #111a2e;
  --border: #1f2a44;
  --text: #e7ecf7;
  --text-dim: #93a1bf;
  --accent: #5ee6a5;
  --accent-dark: #17b478;
  --radius: 10px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  line-height: 1.55;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; color: var(--text-dim); }

code {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15em 0.45em;
  font-size: 0.9em;
  color: var(--accent);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 18, 32, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-right: auto;
}
.brand-badge {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  color: #06251a;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--text-dim); font-size: 14px; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #06251a; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 8px 14px; font-size: 13px; }

main { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.hero {
  padding: 96px 0 64px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(28px, 4vw, 44px); max-width: 760px; margin: 0 auto 20px; }
.lede { max-width: 620px; margin: 0 auto 32px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.split-col h2 { font-size: 20px; }

section h2 {
  font-size: 26px;
  margin-bottom: 24px;
}

.agents { padding: 48px 0; border-top: 1px solid var(--border); }
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.agent-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.agent-card h3 { font-size: 16px; color: var(--accent); }
.agent-card p { margin: 0; font-size: 14px; }

.screenshots { padding: 48px 0; border-top: 1px solid var(--border); }
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.shot-grid figure { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-elevated); cursor: zoom-in; }
.shot-grid img { display: block; width: 100%; height: auto; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  z-index: 1000;
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.install { padding: 48px 0 96px; border-top: 1px solid var(--border); }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 8px; color: var(--text-dim); }
.note {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14px;
  margin: 20px 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}
.footer p { color: var(--text-dim); font-size: 13px; margin: 0; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; }
}
