:root {
  --bg: #06070a;
  --bg-soft: #0a0c11;
  --panel: #0e1118;
  --panel-2: #121621;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1f6;
  --muted: #99a2b3;
  --dim: #6b7484;
  --lime: #c9f73d;
  --lime-deep: #9ed10f;
  --cyan: #45e6ff;
  --violet: #8b7bff;
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1180px;
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

code, pre, .mono { font-family: var(--font-mono); }

::selection { background: var(--lime); color: #07090a; }

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  border: 1px solid rgba(201, 247, 61, 0.3);
  background: rgba(201, 247, 61, 0.07);
  padding: 7px 14px;
  border-radius: 999px;
}

.section { padding: 96px 0; position: relative; z-index: 1; }
.section--tight { padding: 64px 0; }

.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
.section__head p { color: var(--muted); font-size: 17px; margin: 0; }

.section__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--lime);
  color: #0a0d05;
  box-shadow: 0 0 0 rgba(201, 247, 61, 0);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(201, 247, 61, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.btn--tg {
  background: #229ED9;
  color: #fff;
}
.btn--tg:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(34, 158, 217, 0.35); }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 10, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  color: #07090a;
  font-size: 17px;
  font-weight: 800;
}

.logo .logo__mark { color: #0a0d05; }
.logo__text { color: var(--text); }

.nav__menu { display: flex; align-items: center; gap: 30px; }

.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }

.nav__links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }

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

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 92px 0 70px;
  overflow: hidden;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  pointer-events: none;
}
.orb--lime { width: 420px; height: 420px; background: rgba(158, 209, 15, 0.35); top: -140px; left: -100px; }
.orb--cyan { width: 380px; height: 380px; background: rgba(69, 230, 255, 0.22); top: 120px; right: -120px; }
.orb--violet { width: 300px; height: 300px; background: rgba(139, 123, 255, 0.2); bottom: -160px; left: 40%; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  font-weight: 700;
  margin: 22px 0 20px;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--lime), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--dim);
}
.hero__meta span { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(201, 247, 61, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 247, 61, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(201, 247, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 247, 61, 0); }
}

/* Terminal */
.terminal {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}

.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.terminal__bar i {
  width: 11px; height: 11px; border-radius: 50%; display: block;
}
.terminal__bar i:nth-child(1) { background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.terminal pre {
  margin: 0;
  padding: 20px;
  font-size: 13px;
  line-height: 1.75;
  color: #cbd3e1;
  overflow-x: auto;
}
.t-cmd { color: var(--lime); }
.t-key { color: var(--cyan); }
.t-str { color: #ffd479; }
.t-dim { color: var(--dim); }
.t-ok { color: #5ce27a; }

/* ---------- Stats / marquee ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  padding: 26px 0;
  position: relative;
  z-index: 1;
}

.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat__num b { color: var(--lime); font-weight: 700; }
.stat__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Cards / features ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 247, 61, 0.35);
}

.card__icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 21px;
  background: rgba(201, 247, 61, 0.12);
  border: 1px solid rgba(201, 247, 61, 0.25);
  margin-bottom: 18px;
}

.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: var(--panel);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lime);
  border: 1px solid rgba(201, 247, 61, 0.35);
  background: rgba(201, 247, 61, 0.08);
  padding: 4px 11px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- Endpoints table ---------- */
.endpoints {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.endpoint {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}
.endpoint:last-child { border-bottom: 0; }
.endpoint:hover { background: rgba(255, 255, 255, 0.03); }

.method {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 5px 0;
  border-radius: 7px;
  letter-spacing: 0.06em;
}
.method--get { background: rgba(69, 230, 255, 0.14); color: var(--cyan); border: 1px solid rgba(69, 230, 255, 0.3); }

.endpoint__path { font-family: var(--font-mono); font-size: 14.5px; color: var(--text); word-break: break-all; }
.endpoint__desc { font-size: 13.5px; color: var(--dim); text-align: right; max-width: 320px; }

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

.plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan:hover { transform: translateY(-5px); }

.plan--featured {
  border-color: rgba(201, 247, 61, 0.5);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201, 247, 61, 0.12), transparent 60%),
    var(--panel);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #0a0d05;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 15px;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan__price small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--dim);
  font-family: var(--font-mono);
  letter-spacing: 0;
  margin-top: 8px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
  flex: 1;
}
.plan li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.plan li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}

.plan__note {
  text-align: center;
  font-size: 13.5px;
  color: var(--dim);
  margin-top: 26px;
  font-family: var(--font-mono);
}

/* ---------- Telegram band ---------- */
.tgband {
  border: 1px solid rgba(34, 158, 217, 0.35);
  background:
    radial-gradient(90% 140% at 15% 0%, rgba(34, 158, 217, 0.22), transparent 60%),
    var(--panel);
  border-radius: 24px;
  padding: 52px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.tgband h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 10px; }
.tgband p { color: var(--muted); margin: 0; max-width: 560px; }
.tgband__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.tg-handle {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--line-strong);
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 15px;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__q::after {
  content: "+";
  color: var(--lime);
  font-size: 22px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}
.faq__item.is-open .faq__a { max-height: 340px; }
.faq__a p { padding: 0 22px 20px; margin: 0; font-size: 15px; }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center;
  border-radius: 26px;
  padding: 70px 30px;
  border: 1px solid rgba(201, 247, 61, 0.3);
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(201, 247, 61, 0.14), transparent 65%),
    var(--panel);
}
.cta-final h2 { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 14px; }
.cta-final p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; }
.cta-final .hero__cta { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 34px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 40px;
}

.footer p { color: var(--dim); font-size: 14.5px; max-width: 300px; }

.footer h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 14.5px; transition: color 0.15s ease; }
.footer ul a:hover { color: var(--lime); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--dim);
  font-family: var(--font-mono);
}

/* ---------- Code blocks ---------- */
.code {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  overflow: hidden;
  margin-bottom: 26px;
}

.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.code__bar span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  padding: 5px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.copy-btn:hover { color: var(--text); border-color: var(--lime); }
.copy-btn.is-copied { color: #0a0d05; background: var(--lime); border-color: var(--lime); }

.code pre {
  margin: 0;
  padding: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
  color: #cbd3e1;
}

/* ---------- Docs layout ---------- */
.docs {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 56px 0 40px;
}

.docs__nav {
  position: sticky;
  top: 96px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 4px;
}
.docs__nav a {
  display: block;
  padding: 9px 16px;
  font-size: 14.5px;
  color: var(--dim);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.15s ease;
}
.docs__nav a:hover, .docs__nav a.is-active {
  color: var(--text);
  border-left-color: var(--lime);
}

.docs__content { min-width: 0; }
.docs__content h1 { font-size: clamp(32px, 4vw, 44px); }
.docs__content h2 {
  font-size: 26px;
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.docs__content h3 { font-size: 19px; margin-top: 32px; }
.docs__content p, .docs__content li { color: var(--muted); font-size: 15.5px; }
.docs__content ul { padding-left: 20px; }
.docs__content strong { color: var(--text); }

.callout {
  border: 1px solid rgba(201, 247, 61, 0.3);
  background: rgba(201, 247, 61, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 26px;
}
.callout--info {
  border-color: rgba(69, 230, 255, 0.3);
  background: rgba(69, 230, 255, 0.06);
}

.field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-family: var(--font-mono);
  font-size: 14.5px;
  margin-bottom: 26px;
  word-break: break-all;
}

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  margin-bottom: 26px;
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
th {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(255, 255, 255, 0.03);
}
td { color: var(--muted); }
tr:last-child td { border-bottom: 0; }
td code { color: var(--cyan); font-size: 13.5px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }

.tgcard {
  border: 1px solid rgba(34, 158, 217, 0.4);
  background:
    radial-gradient(100% 120% at 20% 0%, rgba(34, 158, 217, 0.2), transparent 60%),
    var(--panel);
  border-radius: 22px;
  padding: 44px 40px;
  text-align: center;
}
.tgcard__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9, #6fd4ff);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-size: 36px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(34, 158, 217, 0.35);
}
.tgcard h2 { font-size: 30px; }
.tgcard p { color: var(--muted); }
.tgcard__handle {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--cyan);
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(69, 230, 255, 0.4);
  border-radius: 12px;
  padding: 14px;
  margin: 22px 0;
  word-break: break-all;
}

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 15px;
}
.checklist li::before {
  content: "▸";
  color: var(--lime);
  font-weight: 700;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 70px 0 10px;
  position: relative;
  z-index: 1;
}
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 18px; }
.page-hero p { color: var(--muted); font-size: 17.5px; max-width: 640px; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 23px; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .terminal { transform: none; }
  .grid--3, .steps, .plans, .strip__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr; gap: 26px; }
  .docs__nav {
    position: static;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .docs__nav a { border-left: 0; border-bottom: 2px solid transparent; margin: 0; padding: 7px 12px; }
  .docs__nav a:hover, .docs__nav a.is-active { border-bottom-color: var(--lime); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 18px 4vw 22px;
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { display: block; padding: 11px 6px; font-size: 16px; }
  .nav__actions { flex-direction: column; align-items: stretch; }
  .grid--3, .grid--2, .steps, .plans, .strip__grid, .footer__grid { grid-template-columns: 1fr; }
  .endpoint { grid-template-columns: 74px 1fr; }
  .endpoint__desc { display: none; }
  .tgband { padding: 38px 26px; }
  .tgband__actions { width: 100%; }
  .tgband__actions .btn { flex: 1; }
}
