@font-face {
  font-family: "Doto";
  src: url("assets/fonts/Doto.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0A0A0A;
  --bg-low: #121214;
  --bg-mid: #18181B;
  --bg-high: #222226;
  --line: #26262C;
  --outline: #46464F;
  --text: #F0F0F2;
  --text-dim: #A6A6B0;
  --primary: #4DA8FF;
  --primary-deep: #0B243D;
  --on-primary: #001C38;
  --warning: #FFB800;
  --warning-deep: #2A1E00;
  --error: #FF5449;
  --dot: rgba(228, 255, 244, 0.07);
  --display: "Doto", ui-monospace, Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.2px);
  background-size: 8px 8px;
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(77, 168, 255, 0.05) 50%, transparent 100%);
  background-size: 100% 240px;
  background-repeat: no-repeat;
  animation: scan 3.2s ease-out 1;
  z-index: 50;
}

@keyframes scan {
  from { background-position: 0 -240px; }
  to { background-position: 0 calc(100vh + 240px); }
}

img, video, canvas { display: block; max-width: 100%; }

a { color: var(--primary); text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--primary); color: var(--on-primary);
  padding: 8px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

h1, h2, h3, .kicker, .eyebrow, .pill, .status, .btn, .n, .brand, figcaption, summary, .tag {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(16px, calc((100% - 1120px) / 2));
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 20px; }
.brand img { border-radius: 6px; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--text-dim); text-decoration: none; font-size: 15px; }
.nav nav a:hover { color: var(--text); }

main > section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 16px;
}

.kicker { color: var(--primary); font-size: 15px; margin: 0 0 8px; text-transform: uppercase; }
.kicker.warn { color: var(--warning); }

h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0 0 36px; text-transform: uppercase; }
h3 { font-size: 19px; margin: 0 0 6px; text-transform: uppercase; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  min-height: 640px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 15px; text-transform: uppercase; margin: 0 0 18px; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); }
h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  margin: 0 0 22px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(77, 168, 255, 0.25);
}
h1 span { color: var(--primary); }
.lede { color: var(--text-dim); font-size: 19px; max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.meta { color: var(--text-dim); font-size: 14px; margin: 20px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-size: 16px; text-decoration: none; text-transform: uppercase;
  border: 1px solid var(--primary);
  transition: background-color 0.18s, box-shadow 0.18s, color 0.18s;
}
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 0 24px rgba(77, 168, 255, 0.35); }
.btn-primary:hover { box-shadow: 0 0 36px rgba(77, 168, 255, 0.6); }
.btn-ghost { color: var(--primary); background: rgba(11, 36, 61, 0.5); }
.btn-ghost:hover { background: var(--primary-deep); }

.stage { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.dial {
  width: min(360px, 82vw); aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 45%, var(--bg-mid), var(--bg-low) 70%);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(77, 168, 255, 0.08);
}
#mouse { width: 58%; height: auto; aspect-ratio: 84 / 104; cursor: pointer; border-radius: 12px; }

.pill {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(400px, 100%); min-height: 64px; padding: 0 12px 0 28px;
  border-radius: 999px; cursor: pointer;
  font-size: 20px; text-transform: uppercase; color: var(--primary);
  background: rgba(11, 36, 61, 0.7);
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 40px rgba(77, 168, 255, 0.25);
  transition: color 0.18s, border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
}
.knob {
  position: relative; width: 72px; height: 40px; border-radius: 999px;
  background: var(--primary); transition: background-color 0.18s;
}
.knob::after {
  content: ""; position: absolute; top: 5px; left: 37px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--on-primary); transition: left 0.18s ease-out, background-color 0.18s;
}
.pill[aria-checked="false"] { color: var(--text-dim); border-color: var(--outline); background: var(--bg-mid); box-shadow: none; }
.pill[aria-checked="false"] .knob { background: var(--bg-high); }
.pill[aria-checked="false"] .knob::after { left: 5px; background: #94949E; }

.status { margin: 0; font-size: 16px; text-transform: uppercase; color: var(--primary); text-align: center; }
.status.off { color: var(--text-dim); }
.hint { margin: -12px 0 0; font-size: 14px; color: var(--text-dim); }

.demo { padding-top: 0 !important; }
.frame {
  max-width: 480px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  background: var(--bg-low);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(77, 168, 255, 0.08);
}
.frame video { width: 100%; height: auto; aspect-ratio: 720 / 840; object-fit: cover; }

.grid { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.features { grid-template-columns: repeat(3, 1fr); }
.features li {
  padding: 26px; border-radius: 16px;
  background: rgba(18, 18, 20, 0.85); border: 1px solid var(--line);
}
.features p { margin: 0; color: var(--text-dim); font-size: 16px; }
.dot-icon { display: block; width: 40px; height: 40px; margin-bottom: 16px; }

.shots { grid-template-columns: repeat(4, 1fr); }
figure { margin: 0; }
figure img { border-radius: 14px; border: 1px solid var(--line); width: 100%; height: auto; }
figcaption { margin-top: 10px; font-size: 15px; color: var(--text-dim); text-transform: uppercase; text-align: center; }
.menubar { max-width: 360px; margin: 32px auto 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split p { color: var(--text-dim); margin: 0 0 16px; }
.split strong { color: var(--warning); }
.apps {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--warning-deep); border: 1px solid rgba(255, 184, 0, 0.45);
  border-radius: 16px; overflow: hidden; font-size: 16px;
}
.apps th, .apps td { text-align: left; padding: 13px 18px; border-bottom: 1px solid rgba(255, 184, 0, 0.15); }
.apps th { color: var(--warning); font-family: var(--display); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 14px; }
.apps tr:last-child td { border-bottom: 0; }
.apps td:last-child { text-align: right; }
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: 13px; text-transform: uppercase;
  color: #FFD15C; border: 1px solid rgba(255, 184, 0, 0.5);
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { border-top: 2px solid var(--primary); padding-top: 18px; }
.steps p { margin: 8px 0 0; color: var(--text-dim); }
.steps em { color: var(--text); font-style: normal; font-weight: 600; }
.note { margin: 32px 0 0; max-width: 62ch; color: var(--text-dim); font-size: 18px; }
.n { color: var(--primary); font-size: 28px; }

.faq { max-width: 820px; display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: rgba(18, 18, 20, 0.85); }
summary {
  cursor: pointer; padding: 18px 22px; font-size: 17px; text-transform: uppercase;
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); }
details[open] summary::after { content: "−"; }
details p { margin: 0; padding: 0 22px 20px; color: var(--text-dim); }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.92em; color: var(--text); background: var(--bg-mid); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }

.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1120px; margin: 0 auto; padding: 32px 16px 48px;
  border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: 15px;
}
.foot .brand { font-size: 17px; }

@media (max-width: 900px) {
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: 0; gap: 56px; padding-top: 56px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  main > section { padding: 64px 16px; }
  .nav { flex-wrap: wrap; padding: 12px 16px; }
  .nav nav { flex-wrap: wrap; gap: 8px 14px; width: 100%; }
  .nav nav a { font-size: 14px; }
  .features, .steps { grid-template-columns: 1fr; }
  .apps { font-size: 14px; }
  .apps th, .apps td { padding: 11px 12px; }
  .pill { font-size: 17px; padding-left: 20px; min-height: 58px; }
  .knob { width: 64px; height: 36px; }
  .knob::after { width: 26px; height: 26px; left: 33px; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { animation: none; display: none; }
  *, *::before, *::after { transition: none !important; }
}
