:root {
  --bg: #0b0a12;
  --panel: #121020;
  --panel-alt: #1a1730;
  --border: #2a2546;
  --text: #e8e4ff;
  --dim: #a49dcb;
  --accent: #a970ff;
  --accent2: #22e3ff;
  --ok: #3ee08f;
  --warn: #ffc857;
  --danger: #ff5c7a;
  --code-bg: color-mix(in srgb, var(--bg) 55%, #000);
  --mono: ui-monospace, 'JetBrains Mono', 'Fira Code', 'DejaVu Sans Mono', monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.6 Inter,
    'Noto Sans',
    'Noto Sans CJK SC',
    'Noto Sans JP',
    'Noto Sans KR',
    'Noto Sans Arabic',
    'Noto Sans Devanagari',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 9%, #cfc4ff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 42%, #9ff3ff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 61%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 83%, #d9ceff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 7% 89%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 74%, #b9f6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 36%, #e8e4ff 50%, transparent 51%);
  background-size: 420px 420px;
}
a {
  color: var(--accent2);
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
nav .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 58px;
}
nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
nav .brand img {
  width: 28px;
  height: 28px;
}
nav .links {
  margin-inline-start: auto;
  display: flex;
  gap: 18px;
  font-size: 14px;
}
nav .links a {
  color: var(--dim);
  text-decoration: none;
}
nav .links a:hover {
  color: var(--text);
}
.grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
header.hero {
  padding: 72px 0 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent),
    radial-gradient(ellipse 40% 40% at 80% 20%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent);
}
.hero img.logo {
  width: 104px;
  height: 104px;
  filter: drop-shadow(0 0 32px color-mix(in srgb, var(--accent) 55%, transparent));
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.08;
  margin: 18px 0 14px;
  letter-spacing: -0.02em;
}
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--dim);
  max-width: 760px;
  margin: 0 auto 28px;
}
.cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--panel-alt);
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, var(--accent2)));
  border-color: transparent;
  color: #fff;
}
.btn:hover {
  filter: brightness(1.1);
}
.shot {
  margin: 44px auto 0;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
  max-width: 1080px;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* "New" pill above the headline and the feature chips under the buttons, as in the hero image and video. */
.pill {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 20px auto 0;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--border));
  background: color-mix(in srgb, var(--panel) 80%, transparent);
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
}
.pill:hover {
  color: var(--text);
  border-color: var(--accent);
}
.pill b {
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 26px auto 0;
  max-width: 820px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 85%, transparent);
  font-size: 14px;
  color: var(--text);
}
.chips li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.chips li.c::before {
  background: var(--accent2);
  box-shadow: 0 0 10px var(--accent2);
}
/* The hero video: plays muted on a loop until the sound button restarts it with the music. */
.shot.video {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}
.shot video {
  display: block;
  width: 100%;
  height: 100%;
}
.sound {
  position: absolute;
  inset-inline-end: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: rgba(12, 10, 22, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.sound:hover {
  border-color: var(--accent2);
}
.sound:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}
.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.showcase figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.showcase figure:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--border);
}
.showcase figcaption {
  padding: 16px 20px 20px;
}
.showcase h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.showcase p {
  margin: 0;
  color: var(--dim);
  font-size: 15px;
}
section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
h2 {
  font-size: clamp(26px, 3.6vw, 36px);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.sub {
  color: var(--dim);
  max-width: 720px;
  margin: 0 0 34px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.card h3 {
  margin: 6px 0 6px;
  font-size: 17px;
}
.card p {
  margin: 0;
  color: var(--dim);
  font-size: 15px;
}
.icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 18%, var(--panel));
  color: var(--accent);
  font-size: 18px;
}
.icon.c {
  background: color-mix(in srgb, var(--accent2) 16%, var(--panel));
  color: var(--accent2);
}
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  counter-reset: s;
}
.flow div {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.flow div::before {
  counter-increment: s;
  content: counter(s);
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}
.flow b {
  display: block;
}
.flow span {
  color: var(--dim);
  font-size: 14px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.two img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
ul.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
ul.checks li {
  padding-inline-start: 28px;
  position: relative;
  color: var(--dim);
}
ul.checks li b {
  color: var(--text);
}
ul.checks li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--ok);
  font-weight: 700;
}
ul.checks.x li::before {
  content: '✕';
  color: var(--danger);
}
pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  font: 14px/1.6 var(--mono);
  color: var(--text);
  direction: ltr;
  text-align: left;
}
pre .c {
  color: var(--dim);
}
pre .p {
  color: var(--accent2);
}
.themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.theme {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14px;
  text-align: start;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.theme:hover {
  transform: translateY(-2px);
}
.theme:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 2px;
}
.theme[aria-pressed='true'] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.theme-hint {
  color: var(--dim);
  font-size: 14px;
  margin: -20px 0 16px;
}
/* Daylight: no starfield, and a code block that reads on a light page. */
.light body::before {
  display: none;
}
.light {
  --code-bg: var(--panel-alt);
}
@media (prefers-reduced-motion: reduce) {
  .theme {
    transition: none;
  }
  .theme:hover {
    transform: none;
  }
  .showcase figure {
    transition: none;
  }
  .showcase figure:hover {
    transform: none;
  }
}
.theme .sw {
  display: flex;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}
.theme .sw span {
  flex: 1;
}
.note {
  border: 1px solid color-mix(in srgb, var(--warn) 60%, var(--border));
  background: color-mix(in srgb, var(--warn) 9%, var(--panel));
  border-radius: 12px;
  padding: 16px 18px;
  color: color-mix(in srgb, var(--warn) 30%, var(--text));
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
td,
th {
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  text-align: start;
  vertical-align: top;
}
th {
  color: var(--dim);
  font-weight: 500;
}
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  color: var(--dim);
  font-size: 14px;
}
.phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.phones figure {
  margin: 0;
  text-align: center;
  color: var(--dim);
  font-size: 14px;
}
.phones img {
  width: 100%;
  max-width: 240px;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px color-mix(in srgb, var(--accent2) 22%, transparent);
  margin-bottom: 10px;
}
.wire {
  text-align: center;
  font: 14px/1.6 var(--mono);
  color: var(--dim);
  margin: 0 0 30px;
}
.wire b {
  color: var(--accent2);
  font-weight: 600;
}
details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
details p {
  color: var(--dim);
  margin: 10px 0 0;
}
code {
  unicode-bidi: isolate;
}
.wire {
  direction: ltr;
}
.lang {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
}
.lang summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--panel-alt);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.lang summary::-webkit-details-marker {
  display: none;
}
.lang summary::after {
  content: '▾';
  color: var(--dim);
}
.lang[open] summary,
.lang summary:hover {
  border-color: var(--accent);
}
.lang .menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 190px;
  max-height: 70vh;
  overflow-y: auto;
  display: grid;
  padding: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}
.lang .menu a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 10px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.lang .menu a span {
  color: var(--dim);
  font: 12px var(--mono);
}
.lang .menu a:hover {
  background: var(--panel-alt);
}
.lang .menu a[aria-current] {
  color: var(--accent2);
  background: color-mix(in srgb, var(--accent) 14%, var(--panel));
}
@media (max-width: 760px) {
  .two,
  .showcase {
    grid-template-columns: 1fr;
  }
  .sound {
    inset-inline-end: 10px;
    top: 10px;
    padding: 7px 12px;
    font-size: 13px;
  }
  nav .links a.hide-sm {
    display: none;
  }
  header.hero {
    padding-top: 48px;
  }
  nav .links {
    gap: 12px;
  }
}
@media (max-width: 480px) {
  nav .links a.hide-xs {
    display: none;
  }
}
nav .brand,
nav .links a {
  white-space: nowrap;
}
