:root {
  --brand: #3b63f6;
  --brand-d: #2c4fd6;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e5e7ef;
  --bg: #f6f7fb;
  --card: #fff;
  --violet: #7c5cf6;
  --teal: #0ea5a4;
  --pink: #e8488a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif; color: var(--text); background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; background: #eef1fb; color: var(--ink); padding: 0.1em 0.35em; border-radius: 5px; word-break: break-word; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.fill { fill: currentColor; stroke: none; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 20px -6px rgba(59,99,246,.6); }
.btn-brand:hover { background: var(--brand-d); }
.btn-brand svg { fill: #fff; stroke: none; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #cfd5e6; box-shadow: 0 4px 14px -6px rgba(15,23,42,.15); }
.btn-white { background: #fff; color: var(--brand); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.nav .btn { margin-left: 4px; }

/* Hero */
.hero { background: radial-gradient(1100px 500px at 85% -10%, #e4eaff 0%, transparent 60%), radial-gradient(700px 400px at -10% 10%, #f1ebff 0%, transparent 60%), #fff; padding: 72px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px #dcfce7; }
h1 { font-size: clamp(40px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.035em; }
.hl { color: var(--brand); }
.lead { font-size: 18px; margin: 22px 0 30px; max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; font-weight: 500; }
.ticks li { display: flex; align-items: center; gap: 7px; }
.ticks li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #dcfce7 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='%2316a34a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Dashboard drawing */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(30,41,90,.35), 0 10px 30px -15px rgba(30,41,90,.2); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafbfe; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e5ee; }
.mock-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.mock-body { display: grid; grid-template-columns: 132px 1fr; min-height: 360px; }
.mock-side { border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; font-weight: 600; }
.mock-logo { width: 26px; height: 26px; border-radius: 7px; background: var(--brand); margin: 0 0 12px 6px; }
.mock-side span { padding: 7px 8px; border-radius: 8px; color: var(--muted); display: flex; justify-content: space-between; }
.mock-side span.on { background: #eef2ff; color: var(--brand); }
.mock-side em { font-style: normal; background: var(--brand); color: #fff; border-radius: 99px; padding: 0 6px; font-size: 11px; }
.mock-main { background: var(--bg); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mock-h { font-weight: 800; color: var(--ink); font-size: 15px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.tile small { font-size: 11px; color: var(--muted); font-weight: 600; }
.tile strong { font-size: 20px; color: var(--ink); font-weight: 800; }
.tile span { font-size: 11px; font-weight: 700; }
.up { color: #16a34a; } .ok { color: var(--teal); }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.mock-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mock-card .row.small { font-size: 11px; color: var(--muted); font-weight: 500; }
.badge { font-size: 10.5px; background: #dcfce7; color: #15803d; border-radius: 99px; padding: 1px 8px; }
.bar { height: 6px; border-radius: 99px; background: #eef1f7; margin: 8px 0 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), var(--violet)); }
.bubble { align-self: flex-start; max-width: 80%; background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: 12.5px; color: var(--ink); }
.bubble b { display: block; font-size: 11px; color: var(--muted); }

/* Cost strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-in div { padding: 26px 20px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.strip-in div:first-child { border-left: 0; padding-left: 0; }
.strip-in strong { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.strip-in span { font-size: 14px; color: var(--muted); }

/* Sections */
.sec { padding: 96px 0; }
.sec.alt { background: var(--bg); }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; max-width: 720px; }
.muted { color: var(--muted); font-size: 17px; margin: 14px 0 0; max-width: 620px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(30,41,90,.35); }
.feat h3 { font-size: 17px; margin: 16px 0 6px; }
.feat p { margin: 0; font-size: 15px; }
.ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c1 { background: #eef2ff; color: var(--brand); } .c2 { background: #f1edff; color: var(--violet); } .c3 { background: #e6f7f6; color: var(--teal); } .c4 { background: #fdecf3; color: var(--pink); }
.also { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.also strong { color: var(--ink); }

.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.list li { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list b { color: var(--ink); font-size: 15.5px; }
.list span { grid-column: 1; font-size: 14px; color: var(--muted); }
.tag { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: #eef2ff; color: var(--brand); }
.tag.green { background: #dcfce7; color: #15803d; }

/* Install */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.steps li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.steps li > div { min-width: 0; flex: 1; }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps h3 { font-size: 17px; margin: 4px 0 6px; }
.steps p { margin: 0 0 14px; font-size: 15px; }
.keys { display: flex; flex-direction: column; gap: 12px; }
.keys > .btn { align-self: flex-start; }
.key-list { display: flex; flex-direction: column; gap: 10px; }
.key-list[hidden] { display: none; }
.key label { display: block; font-size: 12px; font-weight: 700; color: var(--ink); font-family: ui-monospace, Menlo, monospace; margin-bottom: 4px; }
.kv { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafbfe; }
.kv input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 12px; height: 42px; font: 14px ui-monospace, Menlo, monospace; color: var(--ink); }
.kv button { border: 0; border-left: 1px solid var(--line); background: #fff; padding: 0 16px; font: inherit; font-weight: 700; font-size: 14px; color: var(--brand); cursor: pointer; min-width: 76px; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; }
details:first-of-type { margin-top: 32px; }
summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 500; color: var(--muted); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 20px 18px; font-size: 15px; }

/* Final */
.final { padding: 0 0 96px; background: var(--bg); }
.final-in { background: linear-gradient(135deg, var(--brand), var(--violet)); color: #fff; border-radius: 24px; padding: 64px 32px; text-align: center; }
.final-in h2 { color: #fff; margin: 0 auto; }
.final-in p { margin: 12px 0 28px; font-size: 18px; opacity: .9; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .hero-grid, .two { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .strip-in div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip-in div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { padding: 44px 0 56px; }
  .lead { font-size: 16.5px; }
  .cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .strip-in div { padding: 18px 12px; }
  .strip-in div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .strip-in strong { font-size: 21px; }
  .steps li { flex-direction: column; gap: 10px; padding: 20px; }
  .final-in { padding: 44px 20px; border-radius: 18px; }
  .final-in .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feat { transition: none; }
  .btn:hover, .feat:hover { transform: none; }
}
