/* cdmapi.com — design system
   palette: violet #7c5cff · blue #4f7cff · cyan #22d3ee · ink #0a0b14
*/
:root {
  --violet: #7c5cff;
  --blue: #4f7cff;
  --cyan: #22d3ee;
  --pink: #ff5c9d;
  --green: #34d399;
  --amber: #fbbf24;
  --ink: #07080f;
  --ink-2: #0b0d18;
  --panel: rgba(255, 255, 255, .045);
  --panel-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --fg: #eceefb;
  --fg-dim: #a3a8c3;
  --fg-mute: #6f7592;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .85);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code, pre, kbd { font-family: var(--mono); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.12; font-weight: 650; }
p { margin: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
::selection { background: rgba(124, 92, 255, .38); }

/* ── background ─────────────────────────────────────── */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.b1 { width: 720px; height: 720px; top: -260px; left: -140px; background: radial-gradient(circle, #7c5cff 0%, transparent 68%); animation: drift 26s ease-in-out infinite alternate; }
.b2 { width: 620px; height: 620px; top: 240px; right: -180px; background: radial-gradient(circle, #22d3ee 0%, transparent 70%); opacity: .34; animation: drift 32s ease-in-out infinite alternate-reverse; }
.b3 { width: 540px; height: 540px; bottom: -220px; left: 38%; background: radial-gradient(circle, #ff5c9d 0%, transparent 70%); opacity: .22; animation: drift 38s ease-in-out infinite alternate; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 25%, transparent 78%);
}
.noise {
  position: absolute; inset: 0; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/><feColorMatrix type='saturate' values='0'/></filter><rect width='120' height='120' filter='url(%23n)' opacity='.35'/></svg>");
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 60px, 0) scale(1.12); }
}

/* ── nav ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.nav::after {
  content: ""; position: absolute; inset: 0 -100vw; z-index: -1;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(7, 8, 15, .82), rgba(7, 8, 15, .35));
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand em { font-style: normal; color: var(--fg-mute); font-weight: 500; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--fg-dim); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 9px; cursor: pointer; }
.burger span { display: block; width: 17px; height: 1.6px; background: var(--fg); margin: 3.4px 0; border-radius: 2px; }
.mobile-nav {
  position: fixed; inset: 62px 16px auto 16px; z-index: 70;
  display: grid; gap: 4px; padding: 14px;
  background: rgba(12, 14, 26, .96); border: 1px solid var(--line-2);
  border-radius: var(--r); box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.mobile-nav a { padding: 10px 12px; border-radius: 9px; color: var(--fg-dim); }
.mobile-nav a:hover { background: var(--panel); color: #fff; }

/* ── buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background .2s, border-color .2s;
}
.btn.sm { padding: 8px 15px; font-size: 13.5px; }
.btn.full { width: 100%; }
.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--blue) 55%, var(--cyan));
  box-shadow: 0 12px 34px -12px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(124, 92, 255, 1); }
.btn.glass { background: var(--panel); border-color: var(--line-2); color: var(--fg); }
.btn.glass:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }
.btn.ghost { color: var(--fg-dim); }
.btn.ghost:hover { color: #fff; }

/* ── hero ───────────────────────────────────────────── */
main { position: relative; z-index: 1; }
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 64px;
}
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px; margin-bottom: 22px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--panel); font-size: 12.5px; color: var(--fg-dim);
  letter-spacing: .01em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .16); }
h1 { font-size: clamp(42px, 6vw, 74px); letter-spacing: -.035em; font-weight: 700; }
.grad {
  background: linear-gradient(100deg, #fff 6%, var(--violet) 38%, var(--blue) 62%, var(--cyan) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 22px; max-width: 33em; font-size: 17.5px; color: var(--fg-dim); }
.lede code, .sub code, .panel-copy code, .card p code, .faq p code {
  font-size: .86em; padding: 2px 6px; border-radius: 6px;
  background: rgba(124, 92, 255, .14); border: 1px solid rgba(124, 92, 255, .22); color: #c9c2ff;
}
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 30px;
  margin: 46px 0 0; padding-top: 26px; border-top: 1px solid var(--line);
}
.stats dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--fg-mute); }
.stats dd { margin: 4px 0 0; font-size: 26px; font-weight: 650; letter-spacing: -.03em; }
.stats dd span { font-size: 13px; color: var(--fg-mute); margin-left: 1px; font-weight: 500; }

/* terminal */
.hero-card { position: relative; }
.term {
  position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(18, 21, 38, .94), rgba(9, 11, 20, .97));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform .5s ease;
}
.term:hover { transform: perspective(1400px) rotateY(-1deg) rotateX(0); }
.term-bar {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #2c3149; }
.dots i:first-child { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.term-title { font-family: var(--mono); font-size: 12px; color: var(--fg-mute); }
.copy {
  margin-left: auto; font: inherit; font-size: 11.5px; letter-spacing: .04em;
  color: var(--fg-dim); background: var(--panel); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.copy:hover { color: #fff; border-color: var(--line-2); background: var(--panel-2); }
.copy.done { color: var(--green); border-color: rgba(52, 211, 153, .5); }
.term-body, .code {
  margin: 0; padding: 20px; overflow-x: auto;
  font-size: 12.6px; line-height: 1.72; color: #d7dbf3;
  tab-size: 2;
}
.c-cmd { color: var(--cyan); }
.c-url { color: #b9a8ff; }
.c-str { color: #8de3c4; }
.c-key { color: #ffb3d1; }
.c-dim { color: #5e6485; }
.glow {
  position: absolute; inset: 12% -8% -14% 8%; z-index: 0;
  background: radial-gradient(closest-side, rgba(124, 92, 255, .5), transparent 72%);
  filter: blur(48px);
}

/* ── marquee ────────────────────────────────────────── */
.marquee {
  overflow: hidden; padding: 20px 0; margin-top: 8px;
  border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 54px; width: max-content; animation: slide 34s linear infinite; }
.marquee-track span {
  font-size: 15px; font-weight: 600; letter-spacing: .04em; color: rgba(236, 238, 251, .42);
  white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── sections ───────────────────────────────────────── */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 24px; }
.sec-head { max-width: 40em; margin-bottom: 42px; }
.kicker {
  font-size: 12px; text-transform: uppercase; letter-spacing: .2em; font-weight: 600;
  color: var(--cyan); margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sub { margin-top: 14px; color: var(--fg-dim); font-size: 16.5px; }

/* ── bento ──────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; padding: 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  backdrop-filter: blur(8px);
  transition: transform .3s ease, border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(124, 92, 255, .5), transparent 42%, transparent 62%, rgba(34, 211, 238, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -32px rgba(0, 0, 0, .9); }
.card:hover::before { opacity: 1; }
.card.span2 { grid-column: span 2; }
.card h3 { font-size: 18.5px; margin: 16px 0 9px; }
.card p { color: var(--fg-dim); font-size: 14.6px; }
.ico {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line-2);
}
.ico svg { width: 21px; height: 21px; }
.i-violet { background: rgba(124, 92, 255, .16); color: #b9a8ff; }
.i-cyan { background: rgba(34, 211, 238, .14); color: #7ee7f7; }
.i-pink { background: rgba(255, 92, 157, .14); color: #ffa8c8; }
.i-green { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.i-amber { background: rgba(251, 191, 36, .14); color: #fcd34d; }
.i-blue { background: rgba(79, 124, 255, .16); color: #a5bbff; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14px; color: var(--fg-dim); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(52, 211, 153, .16); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .45);
}
.ticks li::after {
  content: ""; position: absolute; left: 4.4px; top: .74em; width: 5px; height: 2.6px;
  border-left: 1.6px solid var(--green); border-bottom: 1.6px solid var(--green);
  transform: rotate(-45deg);
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.chips span {
  font-family: var(--mono); font-size: 11.5px; padding: 4px 9px; border-radius: 7px;
  color: #b9c0e6; background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
}

/* ── steps ──────────────────────────────────────────── */
.how { padding-top: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li {
  position: relative; padding: 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--panel);
}
.num {
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--cyan);
  padding: 3px 8px; border-radius: 6px; background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .22);
}
.steps h3 { margin: 14px 0 8px; font-size: 17.5px; }
.steps p { color: var(--fg-dim); font-size: 14.5px; }

/* ── providers ──────────────────────────────────────── */
.prov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.prov {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border-radius: var(--r); border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  transition: transform .25s, background .25s, border-color .25s;
}
.prov:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .07); border-color: var(--line-2); }
.prov-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(124, 92, 255, .28), rgba(34, 211, 238, .2));
  border: 1px solid var(--line-2);
}
.prov-meta { min-width: 0; }
.prov-name { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prov-tag { font-size: 11.5px; color: var(--fg-mute); }
.fineprint { margin-top: 20px; font-size: 12px; color: var(--fg-mute); max-width: 60em; }

/* ── api tabs ───────────────────────────────────────── */
.api-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); background: rgba(10, 12, 22, .6); overflow: hidden; }
.tabs { display: flex; gap: 4px; padding: 10px; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.tab {
  font-family: var(--mono); font-size: 12.4px; white-space: nowrap;
  padding: 9px 14px; border-radius: 9px; cursor: pointer;
  color: var(--fg-mute); background: transparent; border: 1px solid transparent;
  transition: .2s;
}
.tab:hover { color: var(--fg); background: var(--panel); }
.tab.active { color: #fff; background: rgba(124, 92, 255, .18); border-color: rgba(124, 92, 255, .38); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.panel[hidden] { display: none; }
.panel-copy { padding: 28px; border-right: 1px solid var(--line); }
.panel-copy h3 { font-size: 18px; margin-bottom: 10px; }
.panel-copy p { color: var(--fg-dim); font-size: 14.5px; }
.panel .code { background: rgba(0, 0, 0, .35); }

/* ── clients ────────────────────────────────────────── */
.cli-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini {
  margin: 16px 0 0; padding: 14px; border-radius: var(--r-sm);
  background: rgba(0, 0, 0, .4); border: 1px solid var(--line);
  font-size: 12px; line-height: 1.7; color: #cfd4ee; overflow-x: auto;
}

/* ── pricing ────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.price {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--panel);
}
.price.featured {
  background: linear-gradient(180deg, rgba(124, 92, 255, .16), rgba(34, 211, 238, .06));
  border-color: rgba(124, 92, 255, .42);
  box-shadow: 0 30px 70px -40px rgba(124, 92, 255, .9);
}
.price h3 { font-size: 16px; letter-spacing: .02em; text-transform: uppercase; color: var(--fg-dim); font-size: 13px; }
.amount { margin: 12px 0 8px; font-size: 40px; font-weight: 700; letter-spacing: -.04em; }
.amount span { font-size: 14px; font-weight: 500; color: var(--fg-mute); letter-spacing: 0; }
.p-desc { color: var(--fg-mute); font-size: 13.5px; min-height: 2.6em; }
.price .ticks { margin-bottom: 24px; }
.badge {
  position: absolute; top: 16px; right: 16px; font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px;
  background: rgba(124, 92, 255, .22); border: 1px solid rgba(124, 92, 255, .45); color: #cfc6ff;
}

/* ── faq ────────────────────────────────────────────── */
.faq-list { display: grid; gap: 10px; max-width: 54em; }
details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel); padding: 0 20px; transition: border-color .25s, background .25s;
}
details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, .06); }
summary {
  cursor: pointer; list-style: none; padding: 17px 0; font-weight: 600; font-size: 15.4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; font-family: var(--mono); color: var(--cyan); font-size: 18px; line-height: 1;
  transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--fg-dim); font-size: 14.6px; }

/* ── cta ────────────────────────────────────────────── */
.cta { padding: 40px 24px 90px; }
.cta-inner {
  max-width: 860px; margin: 0 auto; text-align: center; padding: 56px 32px;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(124, 92, 255, .3), transparent 55%),
    radial-gradient(110% 130% at 90% 100%, rgba(34, 211, 238, .22), transparent 60%),
    rgba(12, 14, 26, .8);
  box-shadow: var(--shadow);
}
.cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.cta p { margin: 14px auto 0; max-width: 42em; color: var(--fg-dim); }
.signup { display: flex; gap: 10px; margin: 28px auto 0; max-width: 460px; }
.signup input {
  flex: 1; padding: 13px 18px; border-radius: 999px; font: inherit; font-size: 14.5px;
  color: var(--fg); background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2);
}
.signup input::placeholder { color: var(--fg-mute); }
.signup input:focus { outline: none; border-color: rgba(124, 92, 255, .7); box-shadow: 0 0 0 4px rgba(124, 92, 255, .16); }
.cta-note { min-height: 1.4em; font-size: 13.4px; color: var(--green); }

/* ── footer ─────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 54px 24px 26px; }
.foot-grid {
  max-width: var(--max); margin: 0 auto; display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px;
}
.foot-note { margin-top: 14px; max-width: 30em; color: var(--fg-mute); font-size: 13.4px; }
.foot nav { display: grid; gap: 9px; align-content: start; }
.foot h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; color: var(--fg-dim); margin-bottom: 4px; }
.foot nav a { color: var(--fg-mute); font-size: 13.8px; transition: color .2s; }
.foot nav a:hover { color: #fff; }
.foot-bar {
  max-width: var(--max); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.6px; color: var(--fg-mute);
}
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52, 211, 153, .14); }

/* ── reveal ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ─────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; }
  .term { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card.span2 { grid-column: span 2; }
  .prov-grid { grid-template-columns: repeat(3, 1fr); }
  .steps, .cli-grid, .prices { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
  .panel-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  h1 { font-size: clamp(36px, 10vw, 46px); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .bento, .prov-grid { grid-template-columns: 1fr; }
  .card.span2 { grid-column: span 1; }
  .section { padding: 68px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .signup { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob, .marquee-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .term, .btn { transition: none; }
}

/* ── tables (docs) ──────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 13.6px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .13em; color: var(--fg-mute); font-weight: 600; }
.tbl td { color: var(--fg-dim); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl code { font-size: .92em; color: #c9c2ff; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .025); }

/* ── fixes ──────────────────────────────────────────── */
.mobile-nav[hidden] { display: none; }
.hero-copy { min-width: 0; }
.api .sec-head { max-width: 46em; }

/* ── telegram top bar ───────────────────────────────── */
.topbar {
  position: relative;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem 1rem;
  padding: .55rem 1rem;
  font-size: .78rem;
  letter-spacing: .01em;
  color: var(--muted, #9aa3b8);
  background:
    linear-gradient(90deg, rgba(124,92,255,.18), rgba(34,211,238,.14), rgba(255,92,157,.16)),
    rgba(8,10,20,.9);
  border-bottom: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.topbar a { color: #e6e9f5; text-decoration: none; border-bottom: 1px dashed rgba(124,92,255,.6); }
.topbar a:hover { color: #fff; border-bottom-color: var(--cyan, #22d3ee); }
.topbar b { color: #fff; font-weight: 600; }
.topbar-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  text-transform: uppercase; font-size: .68rem; letter-spacing: .12em;
  color: var(--green, #34d399);
}
.topbar-tag i {
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 3px rgba(52,211,153,.18);
}
.topbar-div { width: 1px; height: 12px; background: rgba(255,255,255,.16); }

/* ── telegram cta ───────────────────────────────────── */
.tg-cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 1.4rem 0 .4rem; }
.tg-cta .btn svg { margin-right: .45rem; }

.foot-tg { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .9rem; font-size: .82rem; }
.foot-tg a {
  display: inline-flex; align-items: center; gap: .4rem;
  color: #cfd6ea; text-decoration: none;
  padding: .3rem .6rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
}
.foot-tg a:hover { color: #fff; border-color: rgba(34,211,238,.5); background: rgba(34,211,238,.08); }

/* ── real cdm vs l3 ─────────────────────────────────── */
.vs-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem; margin: 2rem 0 1.2rem;
}
.vs-col {
  padding: 1.4rem 1.5rem; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  backdrop-filter: blur(12px);
}
.vs-col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1rem; margin: 0 0 .9rem; }
.vs-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.vs-col li { position: relative; padding-left: 1.5rem; font-size: .9rem; line-height: 1.55; color: var(--muted, #9aa3b8); }
.vs-col li::before {
  content: "×"; position: absolute; left: 0; top: -1px;
  font-size: .95rem; color: #f87171;
}
.vs-good { border-color: rgba(52,211,153,.35); box-shadow: 0 0 0 1px rgba(52,211,153,.12) inset, 0 24px 60px -40px rgba(52,211,153,.5); }
.vs-good li::before { content: "✓"; color: var(--green, #34d399); }
.vs-dot { width: 8px; height: 8px; border-radius: 50%; background: #f87171; box-shadow: 0 0 12px #f87171; }
.vs-good .vs-dot { background: var(--green, #34d399); box-shadow: 0 0 12px var(--green, #34d399); }
.vs-col code { font-size: .82em; }
.vs-note {
  max-width: 62em; margin: 0 auto; text-align: center;
  font-size: .9rem; color: var(--muted, #9aa3b8);
}

/* ── reviews ────────────────────────────────────────── */
.rev-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin-top: 2rem;
}
.review {
  margin: 0; padding: 1.35rem 1.4rem; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  display: flex; flex-direction: column; gap: .8rem;
  transition: transform .25s ease, border-color .25s ease;
}
.review:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.45); }
.rev-stars { color: #ffb020; letter-spacing: .12em; font-size: .82rem; }
.review blockquote { margin: 0; font-size: .92rem; line-height: 1.6; color: #dfe4f2; }
.review figcaption { display: flex; align-items: center; gap: .65rem; margin-top: auto; }
.rev-ava {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #0b0d16;
  background: linear-gradient(135deg, #7c5cff, #22d3ee);
}
.review figcaption b { display: block; font-size: .84rem; color: #f2f4fb; }
.review figcaption small { font-size: .74rem; color: var(--muted, #9aa3b8); }

@media (max-width: 1000px) {
  .rev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .vs-grid, .rev-grid { grid-template-columns: minmax(0, 1fr); }
  .topbar { font-size: .72rem; gap: .35rem .6rem; }
  .topbar-div { display: none; }
}
.vs-foot { margin-top: 14px; font-size: .8rem; color: var(--muted, #8b90a8); }
.vs-foot a { color: var(--cyan); text-decoration: none; border-bottom: 1px dashed currentColor; }
.prices.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
@media (max-width: 760px) { .prices.two { grid-template-columns: 1fr; } }
