:root {
  --ink: #111827;
  --muted: #64748b;
  --soft: #f3f7fb;
  --soft-2: #eaf1f8;
  --line: rgba(100, 116, 139, 0.2);
  --white: #ffffff;
  --navy: #08111f;
  --navy-2: #111b2a;
  --cyan: #16d8f3;
  --blue: #1687ff;
  --violet: #7c4dff;
  --green: #22c55e;
  --yellow: #ffb020;
  --pink: #ff4fa3;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fafd;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(22, 135, 255, 0.14);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 760;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  color: #5f7088;
  font-size: 14px;
  font-weight: 850;
}

.nav a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #12c8ef, #1687ff 52%, #7c4dff);
  box-shadow: 0 16px 34px rgba(22, 135, 255, 0.28);
}

.button-soft {
  border-color: rgba(100, 116, 139, 0.2);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.button-glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(14px);
}

.button-dark {
  color: #fff;
  background: #101827;
  box-shadow: 0 14px 34px rgba(16, 24, 39, 0.18);
}

.button-large {
  min-height: 54px;
  padding-inline: 24px;
}

.section {
  padding: clamp(70px, 8vw, 118px) clamp(18px, 4vw, 56px);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 78px);
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(8, 17, 31, 0.98) 0%, rgba(8, 17, 31, 0.93) 52%, rgba(13, 34, 52, 0.94) 100%),
    #08111f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    url("assets/hero_background.png");
  background-position: center;
  background-size:
    72px 72px,
    72px 72px,
    cover;
  animation: gridDrift 22s linear infinite;
}

.emoji-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.emoji-field span {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  animation: floatEmoji 7s ease-in-out infinite;
}

.emoji-field span:nth-child(1) {
  top: 18%;
  left: 48%;
}

.emoji-field span:nth-child(2) {
  top: 73%;
  left: 54%;
  animation-delay: -1s;
}

.emoji-field span:nth-child(3) {
  top: 22%;
  right: 6%;
  animation-delay: -2.4s;
}

.emoji-field span:nth-child(4) {
  bottom: 12%;
  right: 12%;
  animation-delay: -3.2s;
}

.emoji-field span:nth-child(5) {
  top: 76%;
  left: 45%;
  animation-delay: -4s;
}

.emoji-field span:nth-child(6) {
  bottom: 8%;
  left: 56%;
  animation-delay: -5.4s;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #05bfe0;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow span,
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.14);
  animation: pulse 1.8s ease-in-out infinite;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 12px;
  color: #e7f7ff;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 900;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(239, 247, 255, 0.78);
  font-size: 19px;
}

.hero-actions,
.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.logo-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.logo-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}

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

.metric-grid article {
  min-height: 152px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.metric-grid article:hover,
.feature-grid article:hover,
.source-grid article:hover,
.revenue-grid article:hover,
.method-card:hover {
  transform: translateY(-4px);
}

.metric-grid b,
.metric-grid span {
  display: block;
}

.metric-grid b {
  margin-bottom: 8px;
  font-size: 18px;
}

.metric-grid span {
  color: rgba(239, 247, 255, 0.76);
  font-size: 14px;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(100, 116, 139, 0.16);
  background: #fff;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 16px 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 135, 255, 0.14);
  border-radius: 999px;
  padding: 8px 14px;
  color: #1e5aa7;
  background: #f8fbff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.light-section {
  background: #fff;
}

.traffic-section,
.revenue-section,
.docs-section {
  background: var(--soft-2);
}

.section-head {
  max-width: 880px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head p,
.demo-copy p,
.launch-card p,
.api-copy p,
.doc-head p {
  color: var(--muted);
  font-size: 18px;
}

.steps,
.source-grid,
.feature-grid,
.control-grid,
.revenue-grid,
.method-grid {
  display: grid;
  gap: 16px;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps article,
.source-grid article,
.feature-grid article,
.control-grid article,
.revenue-grid article,
.method-card {
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.steps article {
  min-height: 255px;
  padding: 24px;
}

.steps span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
}

.steps p,
.feature-grid p,
.control-grid p,
.revenue-grid p,
.method-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1100px;
  margin-inline: auto;
}

.source-grid article {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 18px;
  padding: 20px;
}

.source-grid span,
.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(22, 135, 255, 0.16);
  border-radius: 8px;
  background: #f4fbff;
  font-size: 24px;
}

.source-grid b {
  font-size: 17px;
}

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

.feature-grid article {
  min-height: 250px;
  padding: 28px;
}

.feature-icon {
  margin-bottom: 28px;
}

.feature-grid article:nth-child(2n) {
  border-top-color: rgba(22, 216, 243, 0.58);
}

.feature-grid article:nth-child(3n) {
  border-top-color: rgba(255, 176, 32, 0.62);
}

.catalog-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.catalog-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(22, 135, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(22, 135, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

.catalog-shell,
.catalog-flow {
  position: relative;
  z-index: 1;
}

.catalog-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.34fr);
  gap: 18px;
  align-items: stretch;
}

.catalog-main,
.catalog-card {
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.catalog-main {
  display: grid;
  align-content: start;
  min-height: 100%;
  padding: clamp(24px, 3vw, 36px);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(8, 17, 31, 0.96), rgba(17, 27, 42, 0.96)),
    #08111f;
}

.catalog-badge {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(22, 216, 243, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  color: #a7f3ff;
  background: rgba(22, 216, 243, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.catalog-main h3 {
  margin: 24px 0 14px;
  font-size: clamp(28px, 3vw, 42px);
}

.catalog-main p,
.catalog-main li {
  color: rgba(239, 247, 255, 0.78);
}

.catalog-main ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding-left: 20px;
}

.catalog-result {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.catalog-result b {
  color: #fff;
}

.catalog-result span {
  color: rgba(239, 247, 255, 0.75);
}

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

.catalog-card {
  display: grid;
  min-height: 245px;
  align-content: start;
  padding: 24px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 135, 255, 0.28);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.catalog-card span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(22, 135, 255, 0.16);
  border-radius: 8px;
  margin-bottom: 22px;
  background: #f4fbff;
  font-size: 24px;
}

.catalog-card p {
  color: var(--muted);
}

.catalog-card b {
  display: block;
  margin-top: 14px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.45;
}

.catalog-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  max-width: 980px;
  margin: 28px auto 0;
}

.catalog-flow span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 135, 255, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  color: #174e91;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.catalog-flow i {
  height: 2px;
  min-width: 28px;
  background: linear-gradient(90deg, rgba(22, 135, 255, 0.18), rgba(22, 216, 243, 0.75));
}

.monetization-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(22, 216, 243, 0.18), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(255, 79, 163, 0.16), transparent 26%),
    linear-gradient(135deg, #07111f, #111b2a 54%, #0b1321);
}

.monetization-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.monetization-copy p {
  color: rgba(239, 247, 255, 0.76);
  font-size: 18px;
}

.money-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.money-tags span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 14px;
  color: #eaf8ff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

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

.monetization-actions .button-soft {
  color: #0f172a;
}

.money-orbit {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.money-orbit span {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 22px;
  backdrop-filter: blur(14px);
  animation: floatEmoji 7.5s ease-in-out infinite;
}

.money-orbit span:nth-child(1) {
  top: 12%;
  left: 47%;
}

.money-orbit span:nth-child(2) {
  bottom: 12%;
  left: 8%;
  animation-delay: -1.4s;
}

.money-orbit span:nth-child(3) {
  top: 18%;
  right: 5%;
  animation-delay: -2.2s;
}

.money-orbit span:nth-child(4) {
  bottom: 16%;
  right: 34%;
  animation-delay: -3.5s;
}

.money-orbit span:nth-child(5) {
  top: 58%;
  right: 8%;
  animation-delay: -4.8s;
}

.bot-sale-panel {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 16px;
}

.bot-screen {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0 14px 14px;
  background: #0f1b2a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.bot-topline {
  height: 18px;
  margin-inline: -14px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 79, 163, 0.3), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
}

.bot-message {
  padding: 14px 2px 10px;
}

.bot-message b {
  display: block;
  margin-bottom: 8px;
}

.bot-message p {
  margin: 0 0 8px;
  color: #e5eef8;
  font-size: 14px;
}

.telegram-row {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  margin-top: 6px;
  color: #fff;
  background: #1f3043;
  font-weight: 900;
  cursor: pointer;
}

.add-row {
  color: #f8fbff;
  background: #22364c;
}

.accent-screen {
  transform: translateX(28px);
  border-color: rgba(22, 216, 243, 0.2);
}

.bot-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.bot-actions-grid button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #fff;
  background: #22364c;
  font-weight: 900;
  cursor: pointer;
}

.bot-actions-grid button:first-child,
.bot-actions-grid button:last-child {
  grid-column: 1 / -1;
}

.revenue-section {
  background:
    linear-gradient(180deg, #eef4fa, #f8fbff);
}

.revenue-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.revenue-grid article {
  display: grid;
  min-height: 294px;
  align-content: start;
  padding: 26px;
}

.revenue-grid span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(22, 135, 255, 0.16);
  border-radius: 8px;
  margin-bottom: 28px;
  background: #f4fbff;
  font-size: 24px;
}

.revenue-grid b {
  display: block;
  margin-top: 18px;
  color: #0f172a;
  font-size: 14px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  background:
    linear-gradient(180deg, #f8fbff, #eef4fa);
}

.demo-copy {
  max-width: 620px;
}

.subscribe-demo {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  background: #141f2f;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sponsor-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 10px;
  background: #253041;
}

.sponsor-row span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.sponsor-row button,
.done-button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #139be8;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.sponsor-row button {
  min-height: 32px;
  padding: 0 14px;
}

.done-button {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  background: #28a745;
}

.launch-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, #07111f, #0c1728 58%, #111827);
}

.launch-card {
  max-width: 760px;
}

.launch-card p {
  color: rgba(239, 247, 255, 0.72);
}

.launch-flow {
  display: grid;
  gap: 12px;
}

.launch-flow span {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 0 22px;
  color: #e8f6ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
  font-weight: 900;
}

.launch-flow b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #07111f;
  background: #fff;
}

.control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.control-grid article {
  min-height: 180px;
  padding: 24px;
}

.control-grid strong {
  display: block;
  margin-bottom: 12px;
  font-size: 24px;
}

.api-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: #f7fbff;
}

.api-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.api-points span {
  border: 1px solid rgba(22, 135, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  color: #1e64b7;
  background: #fff;
  font-weight: 850;
}

.code-card {
  position: relative;
  overflow: auto;
  margin: 0;
  border: 1px solid rgba(22, 216, 243, 0.2);
  border-radius: 8px;
  padding: 30px;
  color: #dff8ff;
  background:
    linear-gradient(135deg, rgba(22, 216, 243, 0.1), transparent 45%),
    #08111f;
  box-shadow: var(--shadow);
}

.code-card code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.7;
  white-space: pre;
}

.copy-button {
  position: sticky;
  left: 100%;
  top: 0;
  display: block;
  margin: -12px 0 12px auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.small-code {
  margin-top: 18px;
  padding: 22px;
  box-shadow: none;
}

.small-code code {
  font-size: 13px;
}

.docs-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  max-width: 1220px;
  margin-inline: auto;
}

.docs-nav {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.docs-nav b {
  margin-bottom: 6px;
}

.doc-tab {
  min-height: 42px;
  border: 1px solid rgba(100, 116, 139, 0.16);
  border-radius: 8px;
  padding: 0 14px;
  color: #334155;
  background: #f8fbff;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.doc-tab.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #12c8ef, #1687ff 58%, #7c4dff);
}

.docs-content {
  min-width: 0;
}

.doc-panel {
  display: none;
}

.doc-panel.is-active {
  display: grid;
  gap: 18px;
}

.doc-head {
  border: 1px solid rgba(100, 116, 139, 0.18);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.method-card {
  padding: 24px;
}

.method-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.method-title span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: #12a7dd;
  font-size: 12px;
  font-weight: 950;
}

.method-title h3 {
  margin: 0;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.method-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid rgba(100, 116, 139, 0.16);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(100, 116, 139, 0.14);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: #0f172a;
  background: #f4f8fc;
  font-weight: 950;
}

td {
  color: #475569;
}

td:first-child {
  color: #0f172a;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 850;
}

tr:last-child td {
  border-bottom: 0;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #060d18;
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 850;
}

.footer a:hover {
  color: #fff;
}

.footer-brand strong {
  color: #fff;
}

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

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

@keyframes gridDrift {
  0% {
    background-position:
      0 0,
      0 0,
      center;
  }
  100% {
    background-position:
      72px 0,
      0 72px,
      center;
  }
}

@keyframes floatEmoji {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(7deg);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.62;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .monetization-section,
  .catalog-shell,
  .demo-section,
  .launch-section,
  .api-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    max-width: 760px;
  }

  .steps,
  .revenue-grid,
  .control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .docs-shell {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .docs-nav b {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .source-grid,
  .feature-grid,
  .catalog-grid,
  .revenue-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    gap: 14px;
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .button {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 14px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 14px;
    overflow: visible;
    font-size: 13px;
  }

  .section {
    padding: 58px 16px;
  }

  .hero {
    padding-top: 54px;
  }

  .emoji-field {
    display: none;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text,
  .section-head p,
  .demo-copy p,
  .launch-card p,
  .api-copy p,
  .doc-head p {
    font-size: 16px;
  }

  .hero-actions .button,
  .launch-actions .button {
    width: 100%;
  }

  .metric-grid,
  .steps,
  .catalog-grid,
  .revenue-grid,
  .control-grid {
    grid-template-columns: 1fr;
  }

  .catalog-main,
  .catalog-card {
    min-height: auto;
  }

  .catalog-flow {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .catalog-flow i {
    width: 2px;
    height: 20px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(22, 135, 255, 0.18), rgba(22, 216, 243, 0.75));
  }

  .metric-grid article,
  .steps article,
  .feature-grid article,
  .revenue-grid article,
  .control-grid article {
    min-height: auto;
  }

  .monetization-actions .button {
    width: 100%;
  }

  .bot-sale-panel {
    gap: 12px;
  }

  .accent-screen {
    transform: none;
  }

  .money-orbit {
    display: none;
  }

  .sponsor-row {
    grid-template-columns: 34px 1fr;
  }

  .sponsor-row button {
    grid-column: 1 / -1;
  }

  .api-hero,
  .docs-content,
  .method-card {
    overflow: hidden;
  }

  .code-card {
    padding: 20px;
  }

  .code-card code {
    font-size: 12px;
  }

  .small-code code {
    font-size: 12px;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer p {
    text-align: left;
  }

  .footer div {
    justify-content: flex-start;
  }
}

@media (max-width: 470px) {
  .docs-nav {
    grid-template-columns: 1fr;
  }

  .source-grid article {
    min-height: 66px;
    padding: 16px;
  }

  .api-points span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
