:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f6f8fb;
  --brand: #4f6bf6;
  --brand-ink: #3349c9;
  --brand-wash: #eef1fe;
  --ok: #16a34a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.3; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 14px;
}

.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

.section { padding: 104px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .lede { margin-top: 16px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink-2); font-size: .95rem; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; }
.doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.doors-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 96px; background: radial-gradient(1000px 500px at 85% -10%, var(--brand-wash), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 .accent { color: var(--brand); }
.hero .lede { margin-top: 24px; }
.hero-shot {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
  max-width: 420px;
  justify-self: end;
}
.hero-shot figcaption { font-size: .85rem; color: var(--muted); padding: 12px 16px; border-top: 1px solid var(--line); }

/* Works-with strip */
.works { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.works .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.works-label { font-size: .85rem; color: var(--muted); margin-right: 8px; }
.chip {
  font-size: .88rem; font-weight: 550; color: var(--ink-2);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}

/* Handoff diagram */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 16px; }
.flow-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.flow-step .num {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: var(--brand-wash); color: var(--brand-ink); font-weight: 700; font-size: .85rem; margin-bottom: 14px;
}
.flow-step p { color: var(--ink-2); margin-top: 8px; font-size: .98rem; }
.flow-arrow { display: grid; place-items: center; color: #94a3b8; }
.flow-arrow svg { width: 24px; height: 24px; }
.orgs { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.orgs li {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .88rem; padding: 8px 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line);
}
.orgs li span { color: var(--muted); font-size: .8rem; }
.runs { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.runs li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--ink-2); }
.runs li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none;
}

.shot {
  margin-top: 40px;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow); overflow: hidden;
}
.shot figcaption { font-size: .88rem; color: var(--muted); padding: 12px 18px; border-top: 1px solid var(--line); }

/* Proof grid */
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.card-body { padding: 26px; flex: 1; }
.card-body p { color: var(--ink-2); margin-top: 10px; font-size: .98rem; }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-wash); color: var(--brand-ink); margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; }
.card-media { border-top: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.where { list-style: none; padding: 20px 26px 26px; display: grid; gap: 10px; border-top: 1px solid var(--line); background: var(--bg-2); }
.where li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.where li b { font-weight: 600; white-space: nowrap; }
.where li span { color: var(--muted); text-align: right; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.compare-item { padding-top: 20px; border-top: 2px solid var(--ink); }
.compare-item h3 { font-size: 1.05rem; }
.compare-item .them { color: var(--muted); margin-top: 10px; font-size: .95rem; }
.compare-item .us { margin-top: 10px; font-size: .98rem; }

/* Install */
.install .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.terminal { background: #0b1020; color: #e2e8f0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.terminal-bar { display: flex; gap: 6px; padding: 12px 14px; background: #121933; }
.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.terminal pre {
  padding: 20px 22px; overflow-x: auto;
  font: 500 .92rem/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.terminal .c { color: #64748b; }
.terminal .p { color: #818cf8; user-select: none; }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--ink-2); }
.checks li svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.pkgs { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .92rem; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 24px; max-width: 60ch; }

/* Final CTA */
.final { text-align: center; padding: 112px 0; background: var(--ink); color: #fff; }
.final h2 { color: #fff; }
.final .lede { color: #cbd5e1; margin: 16px auto 0; }
.final .doors { justify-content: center; }
.final .btn-ghost { background: transparent; color: #fff; border-color: #334155; }
.final .btn-ghost:hover { border-color: #64748b; }
.final .doors-note { color: #94a3b8; }

/* Footer */
.footer { padding: 56px 0 40px; border-top: 1px solid var(--line); font-size: .92rem; }
.footer .wrap { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer p { color: var(--muted); margin-top: 8px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; font-weight: 650; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer-col a { color: var(--ink-2); }
.footer .wrap.footer-bottom { display: block; margin-top: 40px; color: var(--muted); font-size: .85rem; }

/* Responsive */
.only-mobile { display: none; }

@media (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero .wrap, .install .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-shot { justify-self: start; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); height: 24px; }
  .proof, .compare { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-links a:not(.btn) { display: none; }
  .doors .btn { flex: 1 1 100%; }
  .only-desktop { display: none; }
  .only-mobile { display: block; }
  .hero-shot { max-width: 100%; }
  .footer .wrap { grid-template-columns: 1fr; }
}
