:root {
  --bg: #08090a;
  --bg-2: #0f1012;
  --panel: #131416;
  --line: #ffffff14;
  --line-2: #ffffff22;
  --text: #f7f8f8;
  --muted: #8a8f98;
  --dim: #62666d;
  --accent: #9de3c1;
  --accent-ink: #0d2419;
  --radius: 14px;
  --wrap: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.dim { color: var(--muted); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  background: #08090acc;
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; height: 60px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; }
.brand svg { color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px;
  font-weight: 500; font-size: 15px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn.sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn.block { width: 100%; }
.btn.primary { background: var(--text); color: var(--bg); }
.btn.primary:hover { background: #fff; transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line-2); background: #ffffff08; color: var(--text); }
.btn.ghost:hover { background: #ffffff12; border-color: #ffffff38; }

/* Hero */
.hero { padding: 96px 0 0; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line-2); background: #ffffff06;
  font-size: 13px; color: var(--muted);
}
.pill:hover { color: var(--text); }
.pill-tag {
  background: #9de3c11f; color: var(--accent); border-radius: 999px;
  padding: 2px 10px; font-weight: 500;
}
.hero h1 {
  margin-top: 28px;
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 30%, #ffffffb0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .dim {
  background: linear-gradient(90deg, var(--accent), #7fb8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 24px auto 0; max-width: 620px; font-size: 19px; color: var(--muted); line-height: 1.55; }
.hero-cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 20px; font-size: 13px; color: var(--dim); letter-spacing: 0.02em; }

.hero-shot { position: relative; margin-top: 72px; perspective: 2000px; }
.hero-shot .frame {
  transform: rotateX(18deg) scale(0.96);
  transform-origin: top center;
  animation: tilt 1.4s cubic-bezier(.2,.7,.2,1) .2s forwards;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
@keyframes tilt { to { transform: rotateX(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-shot .frame { animation: none; transform: none; } }
.glow {
  position: absolute; inset: -10% 10% auto; height: 70%;
  background: radial-gradient(ellipse at center, #9de3c140, transparent 65%);
  filter: blur(60px); pointer-events: none;
}

.frame {
  position: relative; margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 6px;
  box-shadow: 0 0 0 1px #00000080, 0 40px 120px -20px #000, inset 0 1px 0 #ffffff14;
}
.frame img { border-radius: calc(var(--radius) - 6px); }

/* Logos */
.logos { padding: 24px 0 40px; text-align: center; }
.logos p { font-size: 14px; color: var(--dim); }
.logos ul {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 48px;
  font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: #ffffff70;
}

/* Sections */
.section { padding: 120px 0 0; }
.section-head h2, .feature h2 { font-size: clamp(32px, 4.6vw, 52px); }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: 0.01em;
}

.trio {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.trio article { padding: 32px 32px 0 0; }
.trio article + article { padding-left: 32px; border-left: 1px solid var(--line); }
.num { font: 500 13px "JetBrains Mono", monospace; color: var(--dim); }
.trio h3 { margin: 14px 0 10px; font-size: 20px; letter-spacing: -0.02em; }
.trio p { color: var(--muted); font-size: 15px; }
kbd {
  display: inline-block; min-width: 22px; padding: 0 6px; margin: 0 1px;
  border: 1px solid var(--line-2); border-radius: 5px; background: #ffffff0a;
  font: 500 12px/20px "JetBrains Mono", monospace; text-align: center; color: var(--text);
}

/* Feature rows */
.feature {
  padding-top: 140px;
  display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: center;
}
.feature.reverse { grid-template-columns: 1.4fr 0.8fr; }
.feature.reverse .feature-copy { order: 2; }
.feature-copy p { margin-top: 20px; color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; color: #d0d6e0; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #9de3c120 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%239de3c1' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

/* Agents */
.agents .frame.wide { margin-top: 64px; }
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps div {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff07, transparent);
}
.steps span {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  background: #9de3c11a; color: var(--accent); font: 500 13px "JetBrains Mono", monospace;
}
.steps h4 { margin: 16px 0 6px; font-size: 17px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: 15px; }

/* Bento */
.bento {
  padding-top: 120px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cell {
  position: relative; overflow: hidden;
  padding: 32px; border-radius: 20px;
  border: 1px solid var(--line);
  background: radial-gradient(120% 100% at 0% 0%, #ffffff0a, transparent 60%), var(--bg-2);
}
.cell h3 { font-size: 24px; letter-spacing: -0.03em; }
.cell p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.cell .eyebrow { margin-bottom: 12px; }
.cell.big { grid-column: 1 / -1; display: grid; grid-template-columns: 0.7fr 1.5fr; gap: 40px; align-items: center; padding-right: 0; padding-bottom: 0; }
.cell.big img { border-radius: 12px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; margin-top: 32px; }
.cell.big .cell-copy { padding-bottom: 32px; }
.cell.phone { padding: 24px 24px 0; display: flex; justify-content: center; align-items: flex-start; max-height: 420px; }
.cell.phone img { width: 78%; border-radius: 28px 28px 0 0; border: 1px solid var(--line-2); border-bottom: 0; }
.mini {
  margin: 24px 0 0; padding: 16px; border-radius: 10px;
  background: #000; border: 1px solid var(--line);
  font: 13px/1.7 "JetBrains Mono", monospace; color: #d0d6e0; overflow-x: auto;
}
.mini .c { color: var(--accent); }

/* Pricing */
.free .lede { margin-top: 20px; }
.price { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-card {
  padding: 36px; border-radius: 20px;
  border: 1px solid #9de3c140;
  background: radial-gradient(100% 80% at 50% 0%, #9de3c114, transparent 70%), var(--bg-2);
  box-shadow: 0 0 80px -30px #9de3c160;
}
.price-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.plan { font-weight: 500; color: var(--muted); }
.amount { font-size: 56px; font-weight: 600; letter-spacing: -0.05em; }
.amount small { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.price-card .checks { margin: 24px 0 32px; }
.open { padding: 36px; border-radius: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.open h3 { font-size: 28px; letter-spacing: -0.03em; }
.open p { color: var(--muted); }
.open .fine { font-size: 13px; color: var(--dim); }
.open .fine a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.open .btn { margin-top: auto; align-self: flex-start; }

/* Install */
.install-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.install-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2);
}
.install-card h4 { font-size: 18px; letter-spacing: -0.02em; }
.install-card p { color: var(--muted); font-size: 14px; }
.install-card pre {
  margin: 16px 0; padding: 14px; border-radius: 10px; background: #000; border: 1px solid var(--line);
  font: 12px/1.7 "JetBrains Mono", monospace; color: #d0d6e0; overflow-x: auto; flex: 1;
}
.install-card .btn { align-self: flex-start; }

/* Final CTA */
.final { padding: 160px 0 140px; text-align: center; }
.final-mark { color: var(--accent); margin: 0 auto 28px; filter: drop-shadow(0 0 30px #9de3c180); }
.final h2 { font-size: clamp(36px, 5.5vw, 64px); }

.footer { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 40px; padding-top: 100px; }
  .feature.reverse .feature-copy { order: 0; }
  .trio, .steps, .install-grid, .price { grid-template-columns: 1fr; }
  .trio article, .trio article + article { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .cell.big { grid-template-columns: 1fr; gap: 0; }
  .cell.big .cell-copy { padding: 0 32px 0 0; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 64px; }
  .nav-cta .ghost { display: none; }
  .lede { font-size: 17px; }
  .section { padding-top: 88px; }
  .cell, .price-card, .open { padding: 24px; }
  .amount { font-size: 44px; }
}

/* Grid children with code blocks must be allowed to shrink. */
.install-card, .cell, .trio article, .steps div, .price > *, .feature > * { min-width: 0; }
.install-card pre { white-space: pre-wrap; overflow-wrap: anywhere; }
