:root {
  --ink: #15171c;
  --haze: #f2f3f5;
  --line: #e4e6ea;
  --muted: #6b7280;
  --cursor: #3b5bff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--cursor); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 26px; margin: 0 0 16px; }
h3 { font-size: 16px; margin: 0 0 6px; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.92em; }
p code, li code { background: var(--haze); padding: 1px 5px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
section { padding: 48px 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.wordmark { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 650; font-size: 17px; }
.wordmark svg { fill: var(--cursor); }
.wordmark:hover { text-decoration: none; }
nav { display: flex; gap: 20px; font-size: 14px; }
nav a { color: var(--muted); }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.hero h1 { display: flex; align-items: center; gap: 16px; font-size: 48px; margin: 0; letter-spacing: -0.025em; }
.hero h1 img { border-radius: 14px; }
.lead { font-size: 21px; margin: 18px 0 8px; }
.sub { color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-block; padding: 10px 18px; border-radius: 9px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; }
.button:hover { text-decoration: none; background: var(--haze); }
.button.primary { background: var(--cursor); border-color: var(--cursor); color: #fff; }
.button.primary:hover { background: #2f4de0; }
.fine { color: var(--muted); font-size: 13px; }
.hero .fine { margin-top: 14px; }
.picture { margin: 0; }
.picture video { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.why p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: step; background: var(--haze); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cursor); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.steps span { color: var(--muted); font-size: 15px; }

.install > ol, .note ol { padding-left: 22px; }
.install li, .note li { margin: 6px 0; }
.note { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; }
.note h3 { font-size: 17px; }

.code { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #e8eaf0; border-radius: 9px; padding: 10px 10px 10px 16px; margin: 8px 0 16px; }
.code code { flex: 1; min-width: 0; overflow-x: auto; white-space: pre; font-size: 13px; }
.copy { flex: none; font: inherit; font-size: 12px; color: #e8eaf0; background: #2a2e38; border: 0; border-radius: 6px; padding: 5px 10px; cursor: pointer; }
.copy:hover { background: #363b47; }

.agents > p, .privacy ul { max-width: 46em; }
.agents .picture { margin: 24px 0 28px; }
.pairing { max-width: 720px; margin: 28px auto 0; }
.pairing img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.privacy ul { padding-left: 20px; }
.privacy li { margin: 8px 0; }

details { border-bottom: 1px solid var(--line); padding: 12px 0; max-width: 46em; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 8px 0 0; }

footer { padding: 32px 24px 48px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 16px; }
  .hero h1 { font-size: 38px; }
  .why, .steps { grid-template-columns: 1fr; }
  nav { gap: 14px; }
}
@media (max-width: 420px) {
  nav a:not(:last-child) { display: none; }
  .hero h1 { font-size: 32px; gap: 12px; }
  .hero h1 img { width: 52px; height: 52px; }
}
