:root {
  --bg: #070a12;
  --fg: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.66);
  --muted-2: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.10);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.085);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
  /* Palette extracted from vector-logo-rounded.png (orange + graphite) */
  --accent: #f09810;
  --accent-2: #b88030;
  --ok: #34d399;
  --warn: #fbbf24;
  --agent-catty: #f09810;
  --agent-claude: #f97316;
  --agent-codex: #34d399;
  --radius: 18px;
  --radius-sm: 12px;
  --ring: 0 0 0 4px rgba(240, 152, 16, 0.22);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --header-h: 72px;
}

[data-theme="light"] {
  --bg: #f7f7fb;
  --fg: rgba(10, 12, 16, 0.92);
  --muted: rgba(10, 12, 16, 0.64);
  --muted-2: rgba(10, 12, 16, 0.52);
  --border: rgba(10, 12, 16, 0.10);
  --card: rgba(10, 12, 16, 0.04);
  --card-strong: rgba(10, 12, 16, 0.055);
  --shadow: 0 20px 46px rgba(8, 10, 12, 0.12);
}

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

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

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

.icon--os {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .icon--os {
  color: rgba(10, 12, 16, 0.82);
}

.icon--agent {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .icon--agent {
  color: rgba(10, 12, 16, 0.88);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

/* Ensure hash navigation never hides headings under sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--fg);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(240, 152, 16, 0.10), transparent 60%),
    radial-gradient(1000px 650px at 100% 10%, rgba(184, 128, 48, 0.10), transparent 58%), var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 0.45rem;
  border: 1px solid var(--border);
}

[data-theme="light"] code {
  background: rgba(10, 12, 16, 0.06);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg__glow {
  position: absolute;
  width: 720px;
  height: 720px;
  filter: blur(70px);
  opacity: 0.55;
  transform: translateZ(0);
  background: radial-gradient(circle at 30% 30%, rgba(240, 152, 16, 0.55), rgba(184, 128, 48, 0.0) 62%);
}

.bg__glow--a {
  left: -180px;
  top: -240px;
}

.bg__glow--b {
  right: -220px;
  bottom: -240px;
  opacity: 0.45;
  background: radial-gradient(circle at 40% 40%, rgba(184, 128, 48, 0.44), rgba(240, 152, 16, 0.0) 64%);
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.08;
  mask-image: radial-gradient(circle at 30% 10%, black 0%, transparent 60%);
  pointer-events: none;
}

[data-theme="light"] .bg::before {
  background-image: linear-gradient(rgba(10, 12, 16, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 12, 16, 0.06) 1px, transparent 1px);
  opacity: 0.10;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: linear-gradient(to bottom, rgba(10, 12, 18, 0.78), rgba(10, 12, 18, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .header {
  background: linear-gradient(to bottom, rgba(247, 247, 251, 0.92), rgba(247, 247, 251, 0.62));
  border-bottom: 1px solid rgba(10, 12, 16, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo {
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--border);
}

.brand__name {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 18px;
  align-items: center;
}

.nav__link {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 10px;
  border-radius: 999px;
}

.nav__link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav__link:hover {
  background: rgba(10, 12, 16, 0.05);
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Mobile header: fit actions without horizontal scroll */
@media (max-width: 520px) {
  html,
  body {
    overflow-x: clip;
  }

  .header__inner {
    gap: 10px;
  }

  .brand__name {
    display: none;
  }

  .header__actions {
    gap: 8px;
    flex-wrap: wrap; /* only wraps if needed */
    justify-content: flex-end;
  }

  /* Keep theme toggle compact */
  .chip {
    padding: 10px 10px;
  }

  .chip__text {
    display: none;
  }

  .header__actions .btn {
    padding: 10px 12px;
  }

  /* On the landing page this is "Цены" (href="#pricing") — hide it on very narrow screens */
  .header__actions > .btn.btn--ghost[href^="#"] {
    display: none;
  }
}

.chip {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease;
}

[data-theme="light"] .chip {
  background: rgba(10, 12, 16, 0.04);
}

.chip:hover {
  transform: translateY(-1px);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.085);
}

.chip:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

[data-theme="light"] .chip__icon {
  background: rgba(10, 12, 16, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.09);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.btn--primary {
  border-color: rgba(240, 152, 16, 0.42);
  background: linear-gradient(135deg, rgba(240, 152, 16, 0.95), rgba(184, 128, 48, 0.80));
  box-shadow: 0 18px 40px rgba(240, 152, 16, 0.18);
}

[data-theme="light"] .btn--primary {
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.18);
}

.btn--primary:hover {
  background: linear-gradient(135deg, rgba(240, 152, 16, 0.98), rgba(184, 128, 48, 0.90));
}

.btn--primary[disabled],
.btn--primary[aria-disabled="true"] {
  opacity: 1;
}

.btn--primary[data-state="locked"] {
  border-color: rgba(240, 152, 16, 0.28);
  background: linear-gradient(135deg, rgba(240, 152, 16, 0.82), rgba(184, 128, 48, 0.70));
}

.btn--primary[data-state="ready"] {
  border-color: rgba(255, 184, 66, 0.52);
  background: linear-gradient(135deg, rgba(255, 176, 32, 1), rgba(240, 152, 16, 0.92));
}

.btn--ghost {
  background: transparent;
}

.btn--full {
  width: 100%;
}

.hero {
  padding: 78px 0 28px;
}

.hero__head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding-bottom: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border-radius: 999px;
  width: fit-content;
}

[data-theme="light"] .pill {
  background: rgba(10, 12, 16, 0.04);
}

.pill__icon {
  color: var(--ok);
  font-size: 14px;
}

.hero__title {
  margin: 14px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.gradient-text {
  background: linear-gradient(90deg, rgba(240, 152, 16, 1), rgba(184, 128, 48, 1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  justify-content: center;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
}

.hero__bullet {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .hero__bullet {
  border: 1px solid rgba(10, 12, 16, 0.10);
  background: rgba(10, 12, 16, 0.03);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(240, 152, 16, 0.75);
  box-shadow: 0 0 0 4px rgba(240, 152, 16, 0.16);
}

.link {
  color: var(--fg);
  border-bottom: 1px solid rgba(240, 152, 16, 0.35);
}

.link:hover {
  border-bottom-color: rgba(240, 152, 16, 0.75);
}

.hero__media {
  position: relative;
  padding: 0 0 18px;
}

.hero__mediaInner {
  position: relative;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-shot {
  width: 100%;
  border-radius: calc(var(--radius) + 10px);
}
.hero-shot {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.14s ease, box-shadow 0.2s ease;
  will-change: transform;
}

[data-theme="light"] .hero-shot {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.10), rgba(10, 12, 16, 0.05));
  box-shadow: 0 18px 46px rgba(10, 12, 16, 0.16);
}

.hero-shot__viewport {
  border-radius: calc(var(--radius) + 9px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .hero-shot__viewport {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
}

.hero-shot__img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
  transform: translateZ(0);
}

.orb--a {
  left: 10%;
  top: 8%;
  background: rgba(240, 152, 16, 0.42);
}

.orb--b {
  right: 6%;
  bottom: 10%;
  background: rgba(184, 128, 48, 0.34);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 152, 16, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .card:hover {
  background: rgba(10, 12, 16, 0.045);
  border-color: rgba(240, 152, 16, 0.22);
}

.card--glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

[data-theme="light"] .card--glass {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.05), rgba(10, 12, 16, 0.03));
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .hero-card__top {
  border-bottom: 1px solid rgba(10, 12, 16, 0.08);
  background: rgba(10, 12, 16, 0.02);
}

.dots {
  display: inline-flex;
  gap: 7px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
}

[data-theme="light"] .dots span {
  background: rgba(10, 12, 16, 0.14);
}

.hero-card__title {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.hero-card__body {
  padding: 16px;
}

.terminal {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .terminal {
  background: rgba(10, 12, 16, 0.05);
  border: 1px solid rgba(10, 12, 16, 0.10);
}

.terminal__line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0;
}

.terminal__prompt {
  color: rgba(34, 211, 238, 0.95);
}

.terminal__cmd {
  color: var(--fg);
}

.terminal__muted {
  color: rgba(255, 255, 255, 0.64);
}

[data-theme="light"] .terminal__muted {
  color: rgba(10, 12, 16, 0.62);
}

.terminal__ok {
  color: var(--ok);
}

.terminal__spacer {
  height: 10px;
}

.hero-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.badge--accent {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(240, 152, 16, 0.18);
  border-color: rgba(240, 152, 16, 0.32);
}

.section {
  padding: 62px 0;
}

.section--alt {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(240, 152, 16, 0.04), rgba(255, 255, 255, 0));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .section--alt {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0), rgba(240, 152, 16, 0.05), rgba(10, 12, 16, 0));
  border-top: 1px solid rgba(10, 12, 16, 0.06);
  border-bottom: 1px solid rgba(10, 12, 16, 0.06);
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.section__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 72ch;
}

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

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(240, 152, 16, 0.16);
  border: 1px solid rgba(240, 152, 16, 0.34);
  font-weight: 800;
}

.card__icon .icon {
  width: 20px;
  height: 20px;
}

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

.reveal.reveal--in {
  opacity: 1;
  transform: translateY(0);
}

.shots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.shot {
  display: grid;
  gap: 12px;
}

.agents {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.agent {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .agent {
  background: rgba(10, 12, 16, 0.03);
}

.agent__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent__avatar {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -0.03em;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .agent__avatar {
  color: rgba(10, 12, 16, 0.92);
  background: transparent;
}

.agent-logo {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.agent-logo--catty {
  color: var(--agent-catty);
}

.agent-logo--claude {
  color: var(--agent-claude);
}

.agent-logo--codex {
  color: var(--agent-codex);
}

.agent__avatar--catty {
  border-color: transparent;
  background: transparent;
}

.agent__avatar--vector {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 18px;
}

[data-theme="light"] .agent__avatar--vector {
  border: 1px solid rgba(10, 12, 16, 0.10);
  background: rgba(10, 12, 16, 0.03);
  color: rgba(10, 12, 16, 0.92);
}

.agent__avatar--claude {
  border-color: transparent;
  background: transparent;
}

.agent__avatar--codex {
  border-color: transparent;
  background: transparent;
}

.agent__name {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.agent__meta {
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
  font-size: 0.95rem;
}

.agent__text {
  margin: 12px 0 0;
  color: var(--muted);
}

.agent__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Images are used for agent avatars */
.agent__img {
  display: block;
}

/* Termius-like scrolling story */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.story__media {
  position: relative;
}

.story__frame {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.14s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.story__frame::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(240, 152, 16, 0.12), transparent 62%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.story__frame:hover::after {
  opacity: 1;
}

.story__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: calc(var(--radius) + 7px) calc(var(--radius) + 7px) 0 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

[data-theme="light"] .story__bar {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
  border-bottom: none;
}

.story__label {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.story__viewport {
  border-radius: 0 0 calc(var(--radius) + 7px) calc(var(--radius) + 7px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  position: relative;
  aspect-ratio: 16/10;
}

[data-theme="light"] .story__viewport {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
  border-top: none;
}

.story__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  transition: opacity 0.45s cubic-bezier(.2,.8,.2,1), transform 0.55s cubic-bezier(.2,.8,.2,1), filter 0.35s ease;
  filter: saturate(1.05) contrast(1.02);
}

.story__img--on {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.story__stepsList {
  display: grid;
  gap: 12px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 36px 10px 36px 2px;
  scrollbar-gutter: stable;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  scrollbar-width: none; /* Firefox */
  flex: 1 1 auto;
}

.story__stepsList::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.story__counter {
  z-index: 2;
  pointer-events: none;
  align-self: flex-end;
  width: fit-content;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

[data-theme="light"] .story__counter {
  background: rgba(10, 12, 16, 0.04);
  border: 1px solid rgba(10, 12, 16, 0.12);
}

.story__counterN {
  font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .story__counterN {
  color: rgba(10, 12, 16, 0.90);
}

.story__counterTotal {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

[data-theme="light"] .story__counterTotal {
  color: rgba(10, 12, 16, 0.52);
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
}

[data-theme="light"] .step {
  background: rgba(10, 12, 16, 0.03);
}

.step:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.055);
}

[data-theme="light"] .step:hover {
  background: rgba(10, 12, 16, 0.04);
}

.step--on {
  border-color: rgba(240, 152, 16, 0.34);
  background: rgba(240, 152, 16, 0.06);
}

.step__k {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step__t {
  color: var(--muted);
  margin-top: 6px;
}

.step__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.step__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.step__list .icon {
  color: rgba(240, 152, 16, 0.95);
  flex: 0 0 auto;
  margin-top: 2px;
}

.shot__frame {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.14s ease, box-shadow 0.2s ease;
  will-change: transform;
}

[data-theme="light"] .shot__frame {
  box-shadow: 0 18px 46px rgba(10, 12, 16, 0.16);
}

.shot__frame::after {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, rgba(240, 152, 16, 0.12), transparent 62%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.shot__frame:hover::after {
  opacity: 1;
}

.shot__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: calc(var(--radius) + 7px) calc(var(--radius) + 7px) 0 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

[data-theme="light"] .shot__bar {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
  border-bottom: none;
}

.shot__label {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.shot__body {
  border-radius: 0 0 calc(var(--radius) + 7px) calc(var(--radius) + 7px);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

[data-theme="light"] .shot__body {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
  border-top: none;
}

.shot__pane {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .shot__pane {
  border-bottom: 1px solid rgba(10, 12, 16, 0.10);
}

.shot__pane--big {
  border-bottom: none;
}

.shot__k {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shot__v {
  color: var(--muted);
  margin-top: 2px;
  font-size: 0.95rem;
}

.terminal--dense .terminal__line {
  font-size: 0.88rem;
}

.editor {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9rem;
}

[data-theme="light"] .editor {
  background: rgba(10, 12, 16, 0.05);
  border: 1px solid rgba(10, 12, 16, 0.10);
}

.editor__line {
  margin: 2px 0;
  color: rgba(255, 255, 255, 0.78);
}

[data-theme="light"] .editor__line {
  color: rgba(10, 12, 16, 0.70);
}

.editor .m {
  color: rgba(240, 152, 16, 0.95);
}

.chat {
  display: grid;
  gap: 10px;
}

.chat__msg {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 12px 12px;
  color: var(--muted);
}

[data-theme="light"] .chat__msg {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
}

.chat__msg--you {
  color: var(--fg);
  border-color: rgba(240, 152, 16, 0.28);
  background: rgba(240, 152, 16, 0.08);
}

.chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.shot__caption {
  padding: 0 2px;
}

.shot__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.shot__text {
  color: var(--muted);
  margin-top: 4px;
}

.billing {
  display: flex;
  justify-content: flex-start;
  margin-top: 10px;
}

.billing__toggle {
  display: inline-flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .billing__toggle {
  background: rgba(10, 12, 16, 0.03);
}

.seg {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.seg:hover {
  color: var(--fg);
}

.seg--on {
  color: rgba(10, 12, 16, 0.92);
  background: linear-gradient(135deg, rgba(240, 152, 16, 0.95), rgba(184, 128, 48, 0.85));
}

[data-theme="light"] .seg--on {
  color: rgba(255, 255, 255, 0.92);
}

.seg__hint {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85em;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.price {
  position: relative;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .price {
  background: rgba(10, 12, 16, 0.03);
}

.price--best {
  border-color: rgba(240, 152, 16, 0.38);
  background: linear-gradient(180deg, rgba(240, 152, 16, 0.10), rgba(255, 255, 255, 0.04));
}

[data-theme="light"] .price--best {
  background: linear-gradient(180deg, rgba(240, 152, 16, 0.12), rgba(10, 12, 16, 0.03));
}

.price__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(240, 152, 16, 0.34);
  background: rgba(240, 152, 16, 0.10);
  color: var(--fg);
  font-weight: 800;
  font-size: 0.85rem;
}

.price__head {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

.price__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.price__desc {
  color: var(--muted);
}

.price__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 16px;
}

.price__dl {
  margin: 4px 0 12px;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.price__cta {
  margin: 4px 0 14px;
}

.price__ctaSpacer {
  height: 34px; /* aligns with OS icon row */
}

.price__os {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price__formats {
  margin-left: auto;
  color: rgba(240, 152, 16, 0.92);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.price__formats:hover {
  text-decoration: underline;
}

.dl__version {
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.6;
  white-space: nowrap;
}

/* In pricing cards: make dlSplit match other full buttons */
.price .dlSplit {
  width: 100%;
  margin: 0;
  max-width: none;
}

.price__dl,
.price .dlSplit {
  max-width: 520px;
}

@media (max-width: 560px) {
  .price__os {
    width: 100%;
    margin-left: 0;
  }
}

.price .dlSplit__main {
  padding: 12px 14px;
}

.price .dlSplit__fmt {
  padding: 12px 14px;
}

.price__n {
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 2rem;
}

.price__per {
  color: var(--muted);
  font-weight: 700;
}

.feat-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.feat-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feat-list .icon {
  color: rgba(240, 152, 16, 0.95);
  flex: 0 0 auto;
  margin-top: 2px;
}

/* Feature blocks (terminal-like) */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.feat {
  border-radius: calc(var(--radius) + 10px);
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.14s ease, box-shadow 0.2s ease;
  will-change: transform;
}

[data-theme="light"] .feat {
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.10), rgba(10, 12, 16, 0.05));
  box-shadow: 0 18px 46px rgba(10, 12, 16, 0.14);
}

.feat__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
}

[data-theme="light"] .feat__bar {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
  border-bottom: none;
}

.feat__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95rem;
  line-height: 1;
}

.feat__label .icon {
  flex: 0 0 auto;
  display: block;
}

.feat__labelText {
  display: block;
  line-height: 1;
  transform: translateY(1px);
}

.feat__body {
  border-radius: 0 0 calc(var(--radius) + 9px) calc(var(--radius) + 9px);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  padding: 12px 12px 14px;
}

[data-theme="light"] .feat__body {
  background: rgba(10, 12, 16, 0.03);
  border: 1px solid rgba(10, 12, 16, 0.10);
  border-top: none;
}

.feat__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.feat__mono {
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.76);
  display: grid;
  gap: 8px;
}

@media (min-width: 680px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .feat__title {
    margin-bottom: 8px;
  }
}

[data-theme="light"] .feat__mono {
  background: rgba(10, 12, 16, 0.05);
  border: 1px solid rgba(10, 12, 16, 0.10);
  color: rgba(10, 12, 16, 0.74);
}

.feat__line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feat__line .m {
  color: rgba(240, 152, 16, 0.78);
  flex: 0 0 auto;
  margin-top: 1px;
}


.card__title {
  margin: 12px 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.card__text {
  margin: 0;
  color: var(--muted);
}

/* Downloads UI (used inside pricing now) */

@media (max-width: 560px) {
  .dlWide__row {
    grid-template-columns: 1fr;
  }
}

.dlWide__btn {
  font-size: 1.08rem;
  padding: 14px 18px;
  border-radius: 18px;
  width: 100%;
}

/* Split download button */
.dlSplit {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  width: clamp(280px, 34vw, 360px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dlSplit__main {
  border-radius: 0;
  height: auto;
  padding: 12px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dlSplit__fmt {
  height: auto;
  min-width: 84px;
  border: 0;
  padding: 12px 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.dlSplit__fmtVal {
  display: inline-block;
  padding: 0 10px;
}

[data-theme="light"] .dlSplit__fmt {
  border-left: 1px solid rgba(10, 12, 16, 0.12);
  background: rgba(10, 12, 16, 0.04);
  color: rgba(10, 12, 16, 0.88);
}

.dlSplit__fmt:hover {
  filter: brightness(1.03);
}

.dlSplit__fmt:active {
  filter: brightness(0.98);
}

.dlOs {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.14);
}

[data-theme="light"] .dlOs {
  border: 1px solid rgba(10, 12, 16, 0.12);
  background: rgba(10, 12, 16, 0.03);
}


.os {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

/* (legacy) .os__img was used for <img>. Keep empty for compatibility. */
.os__img {
  display: none;
}

/* Downloads modal */
.dlModal[hidden] {
  display: none;
}

.dlModal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
}

.dlModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
}

.dlModal__panel {
  position: relative;
  width: min(560px, calc(100vw - 28px));
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 12, 16, 0.70);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
  padding: 16px;
}

[data-theme="light"] .dlModal__panel {
  border: 1px solid rgba(10, 12, 16, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.dlModal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
}

.dlModal__title {
  font-weight: 850;
  letter-spacing: -0.03em;
}

.dlModal__close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
}

[data-theme="light"] .dlModal__close {
  border: 1px solid rgba(10, 12, 16, 0.12);
  background: rgba(10, 12, 16, 0.03);
}

.dlModal__grid {
  display: grid;
  gap: 10px;
  padding-top: 6px;
}

.note {
  margin-top: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.note--ai {
  position: relative;
  border: 1px solid rgba(240, 152, 16, 0.30);
  background: linear-gradient(180deg, rgba(240, 152, 16, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(240, 152, 16, 0.08) inset;
  padding-left: 22px;
}

.note--ai::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 10px;
  width: 3px;
  border-radius: 10px;
  background: rgba(240, 152, 16, 0.95);
  filter: drop-shadow(0 0 14px rgba(240, 152, 16, 0.35));
}

.note--ai::after {
  content: "ВАЖНО";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(240, 152, 16, 0.16);
  border: 1px solid rgba(240, 152, 16, 0.28);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.12em;
}

[data-theme="light"] .note--ai::after {
  color: rgba(10, 12, 16, 0.78);
}

[data-theme="light"] .note {
  background: rgba(10, 12, 16, 0.03);
}

.note__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.note__icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.note--ai .note__icon {
  color: rgba(10, 12, 16, 0.92);
  background: rgba(240, 152, 16, 0.98);
  box-shadow: 0 0 0 5px rgba(240, 152, 16, 0.18), 0 14px 34px rgba(240, 152, 16, 0.22);
  animation: notePing 2.4s ease-in-out infinite;
}

@keyframes notePing {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 5px rgba(240, 152, 16, 0.18), 0 14px 34px rgba(240, 152, 16, 0.22);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 0 0 9px rgba(240, 152, 16, 0.10), 0 18px 44px rgba(240, 152, 16, 0.28);
  }
}

.note__text {
  margin-top: 6px;
  color: var(--muted);
}

.two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

/* Security section */
.sec {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
  align-items: stretch;
}

.sec__card {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

[data-theme="light"] .sec__card {
  background: rgba(10, 12, 16, 0.03);
}

.sec__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.16);
  color: rgba(255, 255, 255, 0.86);
}

[data-theme="light"] .sec__icon {
  border: 1px solid rgba(10, 12, 16, 0.10);
  background: rgba(10, 12, 16, 0.03);
  color: rgba(10, 12, 16, 0.84);
}

.sec__title {
  margin: 12px 0 6px;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.sec__text {
  margin: 0;
  color: var(--muted);
}

.sec__mono {
  margin-top: 12px;
  margin-top: auto;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.74);
  display: grid;
  gap: 8px;
}

[data-theme="light"] .sec__mono {
  background: rgba(10, 12, 16, 0.05);
  border: 1px solid rgba(10, 12, 16, 0.10);
  color: rgba(10, 12, 16, 0.72);
}

.sec__line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.sec__line .m {
  color: rgba(240, 152, 16, 0.78);
  flex: 0 0 auto;
  margin-top: 1px;
}

.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

[data-theme="light"] .faq__item {
  background: rgba(10, 12, 16, 0.03);
}

.faq__q {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.faq__a {
  margin-top: 10px;
  color: var(--muted);
}

.cta {
  padding: 42px 0 72px;
}

.cta__inner {
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(240, 152, 16, 0.30);
  background: linear-gradient(135deg, rgba(240, 152, 16, 0.18), rgba(184, 128, 48, 0.08));
  padding: 22px;
  display: grid;
  gap: 16px;
}

[data-theme="light"] .cta__inner {
  background: linear-gradient(135deg, rgba(240, 152, 16, 0.14), rgba(184, 128, 48, 0.06));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 6px 0 20px;
}

.footer__brandText {
  display: grid;
  gap: 2px;
}

.footer__name {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.footer__col {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer__h {
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer__col a {
  color: var(--muted);
  width: fit-content;
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.footer__col a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}

.ext {
  display: inline-flex;
  margin-left: 6px;
  opacity: 0.85;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .footer__bottom {
  border-top: 1px solid rgba(10, 12, 16, 0.08);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__legal a {
  color: var(--muted);
  padding: 6px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.footer__legal a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}

.cta__title {
  margin: 0;
  letter-spacing: -0.03em;
}

.cta__text {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 76ch;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer {
  padding: 24px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

[data-theme="light"] .footer {
  border-top: 1px solid rgba(10, 12, 16, 0.08);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.footer__muted {
  font-weight: 500;
  opacity: 0.8;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__links a {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.footer__links a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: min(420px, calc(100% - 36px));
  background: rgba(10, 12, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.34);
}

[data-theme="light"] .toast {
  background: rgba(250, 250, 255, 0.92);
  border: 1px solid rgba(10, 12, 16, 0.12);
  color: rgba(10, 12, 16, 0.85);
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Docs layout (sidebar + content) */
.docsLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.docsNav {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  padding: 14px 14px;
  min-width: 0;
}

[data-theme="light"] .docsNav {
  background: rgba(10, 12, 16, 0.03);
}

.docsNav__h {
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.docsSearch {
  margin: 2px 0 14px;
}

.docsSearch__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}

.docsSearch__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  outline: none;
}

[data-theme="light"] .docsSearch__input {
  background: rgba(10, 12, 16, 0.04);
}

.docsSearch__input:focus {
  box-shadow: var(--ring);
  border-color: rgba(240, 152, 16, 0.45);
}

.docsSearch__meta {
  margin-top: 8px;
  min-height: 1.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.docsSearch__results {
  margin-top: 10px;
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: auto;
  padding-right: 2px;
}

.docsSearch__item,
.docsSearch__empty {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .docsSearch__item,
[data-theme="light"] .docsSearch__empty {
  background: rgba(10, 12, 16, 0.04);
}

.docsSearch__item:hover {
  border-color: rgba(240, 152, 16, 0.32);
  background: rgba(240, 152, 16, 0.08);
}

.docsSearch__title {
  font-weight: 700;
  color: var(--fg);
}

.docsSearch__snippet {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.docsSearch__mark,
.docsHighlight {
  background: rgba(240, 152, 16, 0.26);
  color: inherit;
  border-radius: 0.3rem;
  padding: 0.02rem 0.18rem;
}

.docsNav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.docsNav__section {
  margin-top: 10px;
  padding: 10px 10px 6px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-top: 1px solid var(--border);
}

.docsNav__section:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 4px;
}

.docsNav__list a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 650;
}

.docsNav__list a:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
}

.docsNav__hint {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 0.95rem;
}

.docsContent {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.docsMd {
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.docsH {
  margin: 12px 0 8px;
  color: var(--fg);
  font-weight: 850;
  letter-spacing: -0.02em;
}

.docsP strong,
.docsQuoteP strong {
  color: var(--fg);
  font-weight: 850;
}

.docsP em,
.docsQuoteP em {
  font-style: italic;
  color: var(--fg);
}

.docsP del,
.docsQuoteP del {
  opacity: 0.75;
}

.docsTableWrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .docsTableWrap {
  background: rgba(10, 12, 16, 0.02);
}

.docsTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.docsTable th,
.docsTable td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--muted);
}

.docsTable th {
  position: sticky;
  top: 0;
  background: rgba(10, 12, 18, 0.65);
  color: var(--fg);
  font-weight: 850;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .docsTable th {
  background: rgba(247, 247, 251, 0.85);
}

.docsTable tr:last-child td {
  border-bottom: none;
}

.docsCodeWrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .docsCodeWrap {
  background: rgba(10, 12, 16, 0.02);
}

.docsCodeTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .docsCodeTop {
  background: rgba(10, 12, 16, 0.02);
}

.docsCodeLang {
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  color: var(--muted-2);
}

.docsCodeCopy {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 750;
  cursor: pointer;
}

.docsCodeCopy:hover {
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .docsCodeCopy:hover {
  background: rgba(10, 12, 16, 0.06);
}

.docsCode {
  margin: 0;
  padding: 12px;
  overflow: auto;
}

.docsCode code {
  display: block;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre;
  color: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .docsCode code {
  color: rgba(10, 12, 16, 0.86);
}

.docsP {
  margin: 10px 0 0;
  color: var(--muted);
}

.docsList {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.docsSpacer {
  height: 10px;
}

.docsCode {
  margin: 10px 0 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: auto;
  color: rgba(255, 255, 255, 0.80);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
}

[data-theme="light"] .docsCode {
  background: rgba(10, 12, 16, 0.05);
  border: 1px solid rgba(10, 12, 16, 0.10);
  color: rgba(10, 12, 16, 0.80);
}

.docsQuote {
  margin: 10px 0 0;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

[data-theme="light"] .docsQuote {
  background: rgba(10, 12, 16, 0.03);
}

.docsQuoteP {
  margin: 0;
  color: var(--muted);
}

.docsQuoteP + .docsQuoteP {
  margin-top: 8px;
}

.docsFigure {
  margin: 12px 0 0;
}

.docsImg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

[data-theme="light"] .docsImg {
  border: 1px solid rgba(10, 12, 16, 0.10);
  background: rgba(10, 12, 16, 0.03);
  box-shadow: 0 18px 46px rgba(10, 12, 16, 0.14);
}

[data-theme="light"] .docsCode {
  background: rgba(10, 12, 16, 0.05);
  border: 1px solid rgba(10, 12, 16, 0.10);
  color: rgba(10, 12, 16, 0.80);
}

@media (min-width: 980px) {
  .docsLayout {
    grid-template-columns: 320px 1fr;
    gap: 18px;
  }

  .docsNav {
    position: sticky;
    top: calc(var(--header-h) + 14px);
  }
}

@media (min-width: 860px) {
  .nav {
    display: inline-flex;
  }

  .hero__head {
    gap: 16px;
    padding-bottom: 30px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .agents {
    grid-template-columns: repeat(3, 1fr);
  }

  .downloads {
    grid-template-columns: repeat(3, 1fr);
  }

  .shots {
    grid-template-columns: repeat(3, 1fr);
  }

  .story {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 22px;
    align-items: start;
  }

  .story__media {
    position: sticky;
    top: 92px;
    align-self: start;
  }

  .story__steps {
    max-width: 420px;
    justify-self: end;
  }

  .pricing {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    align-items: start;
    gap: 18px;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .two {
    grid-template-columns: 1fr 1fr;
  }

  .sec {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .download {
    grid-template-rows: auto 1fr;
  }

  .billing {
    justify-content: flex-end;
    margin-top: -46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .chip,
  .toast {
    transition: none;
  }
}

