:root {
  --bg: #0B1220;
  --surface: #121A2A;
  --surface-2: #182237;
  --line: #24304A;
  --text: #F2F4F7;
  --muted: #B7C0CC;
  --faint: #8792A2;
  --blue: #3D8BFF;
  --blue-soft: #7FB0FF;
  --yellow: #FFD84D;
  --radius: 18px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--blue-soft); }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(11, 18, 32, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.top nav { margin-inline-start: auto; display: flex; gap: 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--text); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2f7cf0; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero::before { content: ""; position: absolute; inset-inline-end: -160px; top: -120px; width: 620px; height: 620px; border-radius: 50%; background: var(--blue); opacity: .18; filter: blur(110px); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(61, 139, 255, .14); color: var(--blue-soft); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 18px 0 16px; }
.hero h1 span { color: var(--yellow); }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; color: var(--faint); font-size: 14px; }

/* Remote illustration */
.remote { justify-self: center; width: 260px; padding: 28px 24px 30px; border-radius: 44px; background: linear-gradient(180deg, #151E31, #0E1524); border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.remote .row { display: flex; justify-content: space-between; align-items: center; }
.dot { width: 44px; height: 44px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; }
.power { background: rgba(255, 92, 92, .16); }
.pad { margin: 26px auto; width: 190px; height: 190px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; position: relative; }
.pad .ok { width: 80px; height: 80px; border-radius: 50%; background: #22304A; display: grid; place-items: center; font-weight: 700; }
.pad i { position: absolute; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 2.5px 2.5px 0; }
.pad i.u { top: 22px; transform: rotate(-135deg); }
.pad i.d { bottom: 22px; transform: rotate(45deg); }
.pad i.l { left: 22px; transform: rotate(135deg); }
.pad i.r { right: 22px; transform: rotate(-45deg); }
.pill { width: 52px; height: 104px; border-radius: 26px; background: var(--surface-2); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 12px 0; color: var(--muted); font-weight: 600; font-size: 20px; }
.play { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); box-shadow: 0 10px 30px rgba(61, 139, 255, .45); display: grid; place-items: center; }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: clamp(30px, 4vw, 40px); margin: 0 0 12px; }
.section-lead { color: var(--muted); margin: 0 0 36px; max-width: 640px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 14px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(61, 139, 255, .14); display: grid; place-items: center; }
.ico svg { width: 22px; height: 22px; stroke: var(--blue-soft); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.brands { display: flex; flex-wrap: wrap; gap: 10px; }
.brands span { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price.featured { border: 2px solid var(--blue); background: linear-gradient(180deg, rgba(61, 139, 255, .12), var(--surface)); }
.price .tag { color: var(--faint); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.price .amount { font-family: "Space Grotesk", sans-serif; font-size: 36px; font-weight: 700; margin: 6px 0 4px; }
.price ul { padding-inline-start: 18px; margin: 14px 0 0; color: var(--muted); }
.price li { margin: 6px 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

.support { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; gap: 20px; margin-inline-start: auto; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; }

/* Legal pages */
.doc { max-width: 780px; padding-top: 48px; padding-bottom: 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc .meta { color: var(--faint); margin-top: 0; }
.doc p, .doc li { color: #D5DAE1; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: start; vertical-align: top; }
.doc th { background: var(--surface); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid, .pricing, .support { grid-template-columns: 1fr; }
  .top nav a.hide-sm { display: none; }
  footer nav { margin-inline-start: 0; }
}
@media (max-width: 420px) {
  .top nav { gap: 14px; }
  .remote { width: 230px; }
  .pad { width: 170px; height: 170px; }
}

.brand img { border-radius: 24%; }
