:root {
  --bg: #0f1117;
  --bg-2: #12141c;
  --stage: #171a22;
  --card: #171a22;
  --line: #2a3040;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #f97316;
  --accent-strong: #f97316;
  --accent-ink: #1a1006;
  --glow: rgba(249, 115, 22, 0.28);
  --wa: #1ebe5d;
  --wa-ink: #ffffff;
  --device: #0b0f16;
  --device-bar: #151720;
  --pending: #12141c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f6f8;
  --bg-2: #eef1f5;
  --stage: #ffffff;
  --card: #ffffff;
  --line: #e4e7ee;
  --text: #171a21;
  --muted: #5c6575;
  --accent: #f97316;
  --accent-strong: #ea580c;
  --accent-ink: #ffffff;
  --glow: rgba(249, 115, 22, 0.22);
  --device: #0d121a;
  --device-bar: #171e2b;
  --pending: #243044;
  --shadow: 0 24px 60px rgba(20, 24, 32, 0.1);
  color-scheme: light;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

#top,
#features,
#commands,
#hub,
#getting-started,
#faq,
#plans,
#more,
#support {
  scroll-margin-top: 88px;
}

html.is-holding-scroll {
  scroll-behavior: auto;
  opacity: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(900px 480px at 78% 0%, var(--glow), transparent 58%),
    radial-gradient(720px 520px at 12% 100%, rgba(249, 115, 22, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 46%, var(--bg-2) 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 48px;
}

.stage {
  position: relative;
  overflow: hidden;
  padding: 8px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.beam {
  position: absolute;
  top: 0;
  right: 8%;
  width: 220px;
  height: 520px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(249, 115, 22, 0.1) 42%, transparent 78%);
  transform: rotate(16deg);
  transform-origin: top center;
  filter: blur(2px);
  pointer-events: none;
  animation: beam 7s ease-in-out infinite;
}

@keyframes beam {
  50% { opacity: 0.55; transform: rotate(16deg) translateY(12px); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
}

.nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: transparent;
  border-bottom: 1px solid transparent;
  pointer-events: none;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav.is-scrolled::before {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

:root[data-theme="light"] .nav.is-scrolled::before {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  box-shadow: 0 10px 28px rgba(20, 24, 32, 0.08);
}

.brand img { height: 34px; width: auto; }

.nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}

.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--stage) 80%, transparent);
}

.lang-switch a {
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.lang-switch a.is-active { background: var(--accent-strong); color: #fff; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.theme-toggle__dark { display: none; }
.theme-toggle__light { display: inline; }
:root[data-theme="light"] .theme-toggle__dark { display: inline; }
:root[data-theme="light"] .theme-toggle__light { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 15px/1 "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
}

.btn-pill {
  background: var(--accent-strong);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.28);
}

.btn-pill:hover { background: #ea580c; filter: none; }

.note-box .btn {
  margin-top: 24px;
  background: var(--accent-strong);
  color: #fff;
  border-color: transparent;
  cursor: pointer;
}
.note-box .btn:hover {
  background: #ea580c;
  color: #fff;
  filter: none;
}

.btn-wa {
  background: var(--wa);
  color: var(--wa-ink);
  box-shadow: 0 8px 22px rgba(30, 190, 93, 0.28);
}

.btn-wa:hover { filter: brightness(1.05); }

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover { color: var(--accent); }
.btn-block { width: 100%; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  margin-top: 96px;
}

.hero {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 span { color: var(--accent); }

.lead, .band-head p, .copy p, .steps p, .faq p, .plan-tagline, .close p {
  color: var(--muted);
}

.lead {
  max-width: 520px;
  margin: 16px 0 0;
  font-size: 17px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px 7px 10px;
  border: 1px solid color-mix(in srgb, var(--wa) 45%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wa) 14%, transparent);
  color: #4ade80;
  font-size: 13px;
  font-weight: 600;
}

:root[data-theme="light"] .hero-badge { color: #14924a; }

.hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.hero-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  margin-top: 8px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa);
}

.device-wrap {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
}

.device-wrap::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18px;
  height: 80px;
  background: var(--glow);
  filter: blur(36px);
  opacity: 0.75;
}

.device {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--device);
  box-shadow: var(--shadow);
}

.device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: var(--device-bar);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.device-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.device-bar em {
  margin-left: 8px;
  color: #9aa6b8;
  font-size: 12px;
  font-style: normal;
}

.device img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #0b0f16;
}

.shot-pending {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  min-height: 240px;
  padding: 24px;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(240px 120px at 80% 0%, var(--glow), transparent 70%),
    var(--card);
}

.shot-pending strong { font-size: 18px; }
.shot-pending span { color: var(--muted); font-size: 13px; }
.shot-pending-sm { min-height: 150px; }

.mock {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(280px 140px at 80% 0%, var(--glow), transparent 70%),
    var(--card);
  padding: 18px;
  min-height: 280px;
  color: var(--text);
}

.mock-top,
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-top {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.mock-top strong { color: var(--text); font-size: 16px; }

.mock-row {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.mock-row span { color: var(--muted); }

.mock-action {
  margin-top: 18px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  font-weight: 700;
}

.mock-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mock-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.mock-list i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.band { margin-top: 128px; }

.band-tint {
  position: relative;
  padding: 80px 0;
}

.band-tint::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: color-mix(in srgb, var(--accent) 9%, var(--bg));
  border-block: 1px solid var(--line);
}

:root[data-theme="light"] .band-tint::before {
  background: #fff4eb;
}

.band-head { max-width: 720px; margin-bottom: 36px; }
.band-head h2, .copy h3, .close h2 { margin: 0; letter-spacing: -0.03em; }
.band-head h2 { font-size: clamp(28px, 4vw, 40px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-top: 56px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.copy h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.copy ul, .plan ul { margin: 16px 0 0; padding: 0; list-style: none; }
.copy li, .plan li { position: relative; padding-left: 18px; margin-top: 8px; }
.copy li::before, .plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

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

.channel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.channel .device img { max-height: 220px; }

.bleed {
  width: 100%;
  max-width: 100%;
  margin-top: 28px;
  overflow: hidden;
}

.rail-wrap { margin-top: 88px; }

.band-head-inset {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

.rail-track {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: max-content;
  padding: 8px 0 18px;
  animation: rail 72s linear infinite;
}

.rail:hover .rail-track { animation-play-state: paused; }

.rail-card {
  width: 300px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.rail-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: top center;
  background: #0b0f16;
}

.rail-card figcaption {
  padding: 10px 12px 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot-open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.shot-open img { pointer-events: none; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  background: #0b0f16;
}

.gallery figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 600;
}

.hub-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 24px;
  background:
    radial-gradient(420px 180px at 100% 0%, var(--glow), transparent 70%),
    var(--card);
  box-shadow: var(--shadow);
}

.hub-card h2 { margin: 0; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; }
.hub-card > div > p { margin: 14px 0 0; color: var(--muted); }

.hub-stage { margin-top: 0; }

.hub-toggle {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}

.hub-toggle button {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.hub-toggle button.is-on {
  background: var(--accent);
  color: #fff;
}

.hub-stage figure { margin: 0; }
.hub-stage figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.cmd-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}

.cmd-samples code {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}

.support {
  margin-top: 72px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(420px 160px at 50% 0%, var(--glow), transparent 70%),
    var(--card);
}

.support h2 { margin: 0; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.03em; }
.support p { max-width: 560px; margin: 12px auto 0; }
.support .btn { margin-top: 22px; }

.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 28px 72px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

.lightbox::backdrop { background: rgba(7, 11, 18, 0.92); }

.lightbox figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.lightbox figcaption { display: none; }

.lightbox .lightbox-x {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.lightbox-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ticker {
  overflow: hidden;
  margin-top: 28px;
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--accent-strong) 10%, var(--stage));
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  animation: ticker 32s linear infinite;
}

.ticker span {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.ticker span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-1px);
}

@keyframes rail { to { transform: translateX(-50%); } }
@keyframes ticker { to { transform: translateX(-50%); } }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.steps li {
  position: relative;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.step-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 18px;
}

.steps h3 { margin: 0 0 8px; font-size: 16px; }
.steps p { margin: 0; font-size: 14px; }

.mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.mini-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.mini-ico .bi::before {
  display: block;
  line-height: 1;
  vertical-align: 0;
}

.mini-card h3 { margin: 0 0 6px; font-size: 16px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.hub {
  display: grid;
  grid-template-columns: 1fr minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.hub h2 { margin: 0; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.03em; }
.hub .btn { margin-top: 22px; }
.hub-shot { margin: 0; }
.hub-shot img { border-radius: 0 0 16px 16px; }
.hub p { margin: 12px 0 0; color: var(--muted); max-width: 640px; }
.hub ul { margin: 16px 0 0; padding: 0; list-style: none; }
.hub li { position: relative; padding-left: 18px; margin-top: 8px; color: var(--muted); }
.hub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hub-points {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hub-points li { position: relative; padding-left: 18px; color: var(--muted); }
.hub-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

#hub > .btn { margin-top: 22px; }

.hub-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.info-i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--accent);
  cursor: pointer;
}

.note-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: 0;
  padding: 36px 32px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--stage);
  color: var(--text);
  box-shadow: var(--shadow);
}

.note-box::backdrop { background: rgba(7, 11, 18, 0.78); }
.note-box h3 {
  margin: 0 48px 16px 0;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.note-box p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.note-box .btn { margin-top: 24px; }
.note-box .lightbox-x { top: 16px; right: 16px; }

.commands-view h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.commands-back { margin-top: 18px; }

.cmd-board {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
}

.cmd-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cmd-groups__btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.cmd-groups__btn.is-active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}

.cmd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.cmd-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 6%, var(--card));
}

.cmd-item__top { display: flex; align-items: flex-start; gap: 10px; }
.cmd-item__lead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; min-width: 0; }
.cmd-item__syntax { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: var(--accent); overflow-wrap: anywhere; }
.cmd-item__example { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--muted); }
.cmd-tag {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(154, 52, 18, 0.45);
  color: #fdba74;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
:root[data-theme="light"] .cmd-tag { background: #ffedd5; color: #9a3412; }
.cmd-item p { margin: 8px 0 0; color: var(--text); font-size: 14px; line-height: 1.45; }

@media (min-width: 768px) {
  .cmd-grid { grid-template-columns: 1fr 1fr; }
}

.faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 4px 16px;
}

.faq summary { cursor: pointer; padding: 12px 0; font-weight: 600; }
.faq p { margin: 0 0 14px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--card);
}

.plan.is-featured {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), var(--shadow);
}

.plan-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.plan h3 { margin: 0; font-size: 22px; line-height: 1.25; }
.plan:has(.plan-tag) h3 { padding-right: 120px; }

.plan-price {
  margin: 18px 0 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.plan-price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-tagline { margin: 12px 0 0; line-height: 1.5; }
.plan ul { margin: 22px 0 28px; }
.plan li { color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 12px; }
.plan .btn { margin-top: auto; }

.close {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background:
    radial-gradient(420px 160px at 100% 0%, var(--glow), transparent 70%),
    var(--card);
}

.close h2 { font-size: 28px; }
.close p { margin: 8px 0 0; }

.site-foot {
  display: grid;
  gap: 18px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.site-foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-foot-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-foot-brand strong { display: block; font-weight: 700; }
.site-foot-brand p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.site-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
}

.site-foot-links a:hover { color: var(--accent); }

.site-foot-copy { margin: 0; color: var(--muted); font-size: 13px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .beam, .rail-track, .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 768px) {
  .faq, .mini-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .nav nav { display: none; }
  .steps, .plans { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .split, .channels, .close, .hub-card, .hero-grid { grid-template-columns: 1fr; display: grid; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .page { width: min(1180px, calc(100% - 16px)); padding-top: 0; }
  .stage { padding: 0; border-radius: 0; }
  .gallery { grid-template-columns: 1fr; }
  .hero { margin-top: 0; }
  .steps, .plans { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .nav-tools { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .lang-switch a { padding: 4px 6px; }
}
