/* Elytra Billing — the developer landing page at /billing.
   Its theme (tokens, type, buttons, header, FAQ, footer) is the one /personal uses, copied rather
   than shared so that neither page can break the other. */
/* Fonts are self-hosted (variable Figtree and JetBrains Mono, latin subset, OFL): no third-party round trip before first paint. */
@font-face{font-family:'Figtree';src:url('/assets/fonts/Figtree-latin.woff2') format('woff2');font-weight:300 800;font-style:normal;font-display:swap}
@font-face{font-family:'JetBrains Mono';src:url('/assets/fonts/JetBrainsMono-latin.woff2') format('woff2');font-weight:400 600;font-style:normal;font-display:swap}


/* Type, palette and buttons are elytra.global's (Figtree, slate greys, #0b57f4), so the products read as one company. */

:root {
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --n-50: #f9fafb;
  --n-100: #f0f3f5;
  --n-150: #e9edf1;
  --n-200: #dee3e8;
  --n-250: #dee3e8;
  --n-300: #c7d0da;
  --n-400: #97a8ba;
  --n-500: #647d96;
  --n-600: #506578;
  --n-700: #3c4a5a;
  --n-800: #242d35;
  --n-900: #171c22;
  --n-950: #080c14;

  --brand: #0b57f4;
  --brand-light: #84b0fc;
  --brand-hover: #0b4fd3;
  --green-300: #84b0fc;
  --green-500: #05162e;
  --green-wallet: #0b3a87;
  --pos: #249684;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);

  --hdr-h: 70px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--n-950);
  background: var(--n-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; margin-left: .1em; font-weight: 500; }

/* ───────── Type ───────── */
.h-xl { font-size: 64px; line-height: 1; letter-spacing: -.01em; font-weight: 400; color: #000; text-align: center; }
.h-lg { font-size: 48px; line-height: 56px; letter-spacing: -.01em; font-weight: 400; }
.h-md { font-size: 40px; line-height: 1.1667; letter-spacing: -.01em; font-weight: 400; }
.eyebrow { font-size: 24px; line-height: 32px; letter-spacing: -.01em; color: var(--n-800); }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 12px 16px; border-radius: 30px;
  font-size: 14px; line-height: 18px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), box-shadow .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--green-300); outline-offset: 2px; }
.btn--brand { background: #242d35; color: #fff; }
.btn--brand:hover { background: #171c22; }
.btn--dark { background: #242d35; color: #fff; }
.btn--dark:hover { background: #171c22; }
.btn--light { background: var(--n-50); color: var(--n-950); }
.btn--light:hover { background: var(--n-100); }
.btn--lg { height: 52px; padding: 16px 24px; font-size: 16px; }
.btn--block { width: 100%; height: 44px; }

/* ───────── Header ───────── */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h);
  color: #fff;
  background: rgba(0, 0, 0, .1);
  -webkit-backdrop-filter: blur(50px); backdrop-filter: blur(50px);
  transition: color .3s var(--ease-out), background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.hdr[data-tone="light"] { color: var(--n-950); background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 rgba(5, 22, 46, .06); -webkit-backdrop-filter: blur(56px) saturate(1.8); backdrop-filter: blur(56px) saturate(1.8); }
.hdr[data-tone="dark"].is-scrolled { background: rgba(8, 12, 20, .72); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hdr__in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.hdr__logo { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; justify-self: start; }
.hdr__mark { width: 28px; height: 28px; }
.hdr__mark--light { display: none; }
.hdr[data-tone="light"] .hdr__mark--dark { display: none; }
.hdr[data-tone="light"] .hdr__mark--light { display: block; }
.hdr__nav { display: flex; gap: 4px; }
.hdr__nav a { height: 34px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 4px; font-size: 14px; font-weight: 500; transition: background-color .15s cubic-bezier(.4, 0, .2, 1), opacity .15s; }
.hdr__nav a:hover { background: rgba(127, 127, 127, .14); }
.hdr__actions { justify-self: end; display: flex; align-items: center; gap: 16px; }
.hdr__login { font-size: 14px; font-weight: 500; opacity: .9; }
.hdr__login:hover { opacity: 1; }
.btn--hdr { background: var(--n-50); color: var(--n-950); }
.hdr[data-tone="light"] .btn--hdr { background: #242d35; color: #fff; }
.hdr[data-tone="light"] .btn--hdr:hover { background: #171c22; }
.hdr__burger { display: none; width: 40px; height: 40px; border-radius: 20px; position: relative; }
.hdr__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.hdr__burger span:first-child { top: 16px; }
.hdr__burger span:last-child { top: 23px; }
.hdr__burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.sheet { position: fixed; inset: var(--hdr-h) 0 0; z-index: 49; background: var(--n-950); color: #fff; padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; animation: sheet-in .4s var(--ease); }
.sheet[hidden] { display: none; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font-size: 32px; line-height: 1.4; letter-spacing: -.01em; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sheet__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }


.rise { animation: brand-reveal .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes brand-reveal { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }

/* ───────── Scroll-reveal ───────── */
.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }


/* ───────── FAQ ───────── */
.faq { background: var(--n-950); color: var(--n-50); padding: 120px var(--gutter) 160px; }
.faq__in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 64px; }
.faq__side { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.faq__side h2 { font-size: 28px; line-height: 32px; letter-spacing: -.01em; font-weight: 500; margin-bottom: 24px; }
.faq__side p { font-size: 15px; color: rgba(255, 255, 255, .55); max-width: 200px; }
.faq__list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.q { max-width: 720px; display: flex; flex-direction: column; align-items: flex-start; }
.q__btn { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 16px; border-radius: 8px; background: var(--n-900); font-size: 18px; line-height: 22px; font-weight: 500; letter-spacing: .005em; text-align: left; transition: background-color .3s var(--ease), color .3s var(--ease); }
.q__btn:hover { background: var(--n-800); }
.q__btn[aria-expanded="true"] { background: var(--n-50); color: var(--n-950); }
.q__plus { position: relative; width: 14px; height: 14px; flex: none; }
.q__plus::before, .q__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 1px; transition: transform .3s var(--ease); }
.q__plus::after { transform: rotate(90deg); }
.q__btn[aria-expanded="true"] .q__plus::after { transform: rotate(0deg); }
.q__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.q__a > div { overflow: hidden; }
.q__a p { padding: 12px 16px 16px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .7); max-width: 640px; }
.q.open .q__a { grid-template-rows: 1fr; }

/* ───────── Footer ───────── */
.ftr { background: var(--n-950); color: rgba(255, 255, 255, .5); padding: 0 var(--gutter) 40px; font-size: 13px; line-height: 20px; }
.ftr__in { max-width: 1240px; margin: 0 auto; }
.ftr__notes { list-style: decimal; padding-left: 18px; display: grid; gap: 14px; padding-bottom: 64px; max-width: 980px; }
.ftr__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); }
.ftr__logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.ftr__links { display: flex; gap: 24px; }
.ftr__links a:hover { color: #fff; }

/* ───────── Dock ───────── */
.dock { position: fixed; z-index: 40; left: 50%; bottom: 24px; display: flex; align-items: center; height: 52px; padding: 0 6px 0 20px; gap: 16px; border-radius: 30px; background: var(--n-50); color: var(--n-950); font-size: 14px; font-weight: 500; white-space: nowrap; box-shadow: 0 18px 48px rgba(5, 22, 46, .18);
  transform: translate(-50%, 140%); opacity: 0; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out); }
.dock.show { transform: translate(-50%, 0); opacity: 1; }
.dock a { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 24px; background: var(--n-950); color: #fff; transition: background-color .2s var(--ease-out); }
.dock a:hover { background: var(--n-800); }


/* ═════════════════════════ Billing page ═════════════════════════ */

.hdr__logo em { font-style: normal; opacity: .55; font-weight: 400; margin-left: 2px; }
.btn--xl { height: 56px; padding: 0 30px; font-size: 16px; font-weight: 500; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--outline { background: transparent; color: var(--n-950); box-shadow: inset 0 0 0 1.5px var(--n-300); }
.btn--outline:hover { background: var(--n-100); }
code, pre { font-family: var(--mono); font-variant-ligatures: none; }
code { font-size: .9em; }
.mono { font-family: var(--mono); }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--n-500); margin-bottom: 20px; }
.eyebrow--dark { color: rgba(255, 255, 255, .5); }
.h-xl { font-size: clamp(40px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; font-weight: 400; color: inherit; margin-bottom: 20px; text-align: left; }
.h-lg { font-size: clamp(34px, 4vw, 52px); line-height: 1.05; letter-spacing: -.03em; font-weight: 400; margin-bottom: 20px; }
.h-md { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 400; }
.lede { font-size: 19px; line-height: 28px; color: var(--n-600); max-width: 560px; }
.lede--dark { color: rgba(255, 255, 255, .66); }
.lede code { padding: 1px 6px; border-radius: 5px; background: rgba(127, 127, 127, .16); }
.sec-head { max-width: 1320px; margin: 0 auto 64px; }
.sec-head--center { text-align: center; }
.sec-head--center .h-xl, .sec-head--center .h-md { text-align: center; }
.sec-head--center .lede { margin: 0 auto; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.tag--ok { background: #ecfbf9; color: #249684; }
.m { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 20px; padding: 0 6px; border-radius: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .03em; }
.m--post { background: rgba(11, 87, 244, .14); color: var(--brand-light); }
.m--get { background: rgba(124, 152, 255, .16); color: #9fb3ff; }
@keyframes row-in { from { opacity: 0; transform: translateY(-8px); } }

/* ───────── Hero: centred copy over a drifting pixel field ───────── */
.hero { --hero-bg: #080c14; position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; background: var(--hero-bg); color: #f0f3f5; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-h) + 56px) var(--gutter) 64px; }
.hero__field { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; }
.hero__vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(8, 12, 20, .92) 0%, rgba(8, 12, 20, .55) 55%, rgba(8, 12, 20, 0) 100%),
    linear-gradient(180deg, rgba(8, 12, 20, .85) 0%, rgba(8, 12, 20, 0) 18%, rgba(8, 12, 20, 0) 80%, rgba(8, 12, 20, .9) 100%); }
.hero__in { width: 100%; max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.announce { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; height: 36px; padding: 0 14px 0 5px; margin-bottom: 36px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 14.5px; font-weight: 500; color: #dee3e8; transition: background-color .3s var(--ease); }
.announce:hover { background: rgba(255, 255, 255, .1); }
.announce__tag { flex: none; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #f0f3f5; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; }
.announce i { font-style: normal; color: #97a8ba; transition: transform .3s var(--ease); }
.announce:hover i { transform: translateX(3px); }
.hero__title { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.08; letter-spacing: -.025em; font-weight: 600; margin-bottom: 28px; }
.hero__sub { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: #97a8ba; max-width: 760px; margin-bottom: 40px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px; }
.btn--glow { height: 56px; padding: 0 34px; border-radius: 999px; background: #f0f3f5; color: #080c14; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; box-shadow: 0 10px 40px -12px rgba(255, 255, 255, .35); }
.btn--glow:hover { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 10px 40px -10px rgba(255, 255, 255, .45); }
.hero__link { font-size: 15px; font-weight: 500; color: #dee3e8; opacity: .8; transition: opacity .2s; }
.hero__link:hover { opacity: 1; }
.hero__link i { font-style: normal; color: #97a8ba; margin-left: 4px; }

/* the money flow: customer → usage → you */
.flow { width: 100%; max-width: 1000px; margin: clamp(56px, 8vh, 88px) auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: center; text-align: left; }
.flow__card { padding: 26px; min-height: 360px; display: flex; flex-direction: column; border-radius: 20px; background: rgba(23, 28, 34, .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px rgba(0, 0, 0, .6); }
.flow__hd { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; }
.flow__hd b { display: block; font-weight: 500; }
.flow__hd small { color: rgba(255, 255, 255, .5); font-family: var(--mono); font-size: 11.5px; }
.flow__ava { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #0b57f4; font-weight: 600; font-size: 14px; flex: none; }
.flow__ava--you { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.flow__ava--you img { width: 18px; height: 18px; }
.ring { position: relative; width: 190px; height: 190px; margin: 8px auto 16px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 9; }
.ring__fill { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .6s var(--ease); }
.ring__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__c b { font-family: var(--mono); font-size: 26px; font-weight: 500; }
.ring__c small { font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.flow__foot { margin-top: auto; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .5); }
.flow__pipe { position: relative; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 6px, transparent 6px 11px); }
.flow__lbl { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); font-family: var(--mono); font-size: 10.5px; color: rgba(255, 255, 255, .45); letter-spacing: .06em; text-transform: uppercase; }
.flow__dot { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 12px var(--brand); animation: dot-go 1.3s var(--ease) forwards; }
@keyframes dot-go { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.flow__total { display: flex; align-items: center; gap: 10px; font-size: 44px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-bottom: 16px; }
.flow__total img { width: 30px; height: 30px; }
.flow__setts { display: grid; gap: 8px; align-content: start; }
.flow__setts li { display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: 12px; animation: row-in .5s var(--ease) both; }
.flow__setts li span:first-child { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); }
.flow__setts li span:first-child::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.flow__setts li b { font-family: var(--mono); font-weight: 500; color: var(--brand-light); }

/* the header has no nav links: just the logo on the left and the actions on the right */
.hdr__in { grid-template-columns: 1fr auto; }
.sheet { justify-content: flex-end; }

/* header CTA: a label with a round arrow */
.hdr__cta { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #f0f3f5; white-space: nowrap; }
.hdr[data-tone="light"] .hdr__cta { color: var(--n-950); }
.hdr__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #f0f3f5; color: #080c14; font-size: 17px; font-weight: 600; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.hdr__cta:hover .hdr__arrow { transform: rotate(45deg); box-shadow: 0 0 0 6px rgba(127, 127, 127, .2); }
.hdr[data-tone="light"] .hdr__arrow { background: var(--n-950); color: #fff; }
.hdr[data-tone="dark"] { background: rgba(8, 12, 20, .35); }

/* ───────── Use cases ───────── */
.uses { background: var(--n-50); padding: 120px var(--gutter); }
.uses__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use { border-radius: 18px; background: #fff; padding: 14px 14px 24px; box-shadow: 0 1px 2px rgba(5, 22, 46, .05); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.use:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(5, 22, 46, .22); }
.use__viz { position: relative; height: 180px; border-radius: 12px; overflow: hidden; background: #0b1220; color: #fff; display: flex; align-items: flex-end; padding: 16px; margin-bottom: 20px; isolation: isolate; }
.use__num { position: relative; z-index: 1; font-family: var(--mono); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.use__num small { display: block; margin-top: 6px; font-family: var(--font); font-size: 12px; color: rgba(255, 255, 255, .5); }
.use h3, .use p { padding: 0 6px; }
.use h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 6px; }
.use p { font-size: 14.5px; line-height: 21px; color: var(--n-600); }
.use .use__price { margin-top: 14px; font-family: var(--mono); font-size: 12.5px; color: #249684; }
/* tokens: falling columns of light */
.use__stream { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: space-around; padding: 0 10px; }
.use__stream i { width: 2px; height: 46px; border-radius: 2px; background: linear-gradient(transparent, var(--brand)); opacity: .7; animation: fall 2.4s linear infinite; }
.use__stream i:nth-child(odd) { animation-duration: 3.1s; height: 30px; }
.use__stream i:nth-child(3n) { animation-delay: -1.2s; } .use__stream i:nth-child(4n) { animation-delay: -.6s; } .use__stream i:nth-child(5n) { animation-delay: -2s; }
@keyframes fall { from { transform: translateY(-60px); } to { transform: translateY(200px); } }
/* rows: stacking bars */
.use__rows { position: absolute; inset: 16px 16px 70px; z-index: -1; display: grid; gap: 6px; align-content: start; }
.use__rows i { height: 10px; border-radius: 3px; background: rgba(124, 152, 255, .35); transform-origin: left; animation: row-grow 3s var(--ease) infinite; }
.use__rows i:nth-child(2) { animation-delay: .2s; width: 80%; } .use__rows i:nth-child(3) { animation-delay: .4s; width: 92%; } .use__rows i:nth-child(4) { animation-delay: .6s; width: 70%; } .use__rows i:nth-child(5) { animation-delay: .8s; width: 86%; } .use__rows i:nth-child(6) { animation-delay: 1s; width: 60%; }
@keyframes row-grow { 0% { transform: scaleX(0); opacity: 0; } 30% { transform: scaleX(1); opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; } }
/* seconds: a sweeping clock */
.use__clock { position: absolute; right: 14px; top: 14px; width: 92px; height: 92px; z-index: -1; }
.use__clock svg { width: 100%; height: 100%; }
.use__clock circle { fill: none; stroke: rgba(245, 179, 107, .35); stroke-width: 3; stroke-dasharray: 4 6; }
.use__clock path { stroke: #f5b36b; stroke-width: 3; stroke-linecap: round; transform-origin: 50px 50px; animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* calls: a grid that lights up */
.use__calls { position: absolute; inset: 16px 16px auto auto; z-index: -1; display: grid; grid-template-columns: repeat(4, 16px); gap: 6px; }
.use__calls span { width: 16px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .08); animation: blinkc 2.8s steps(1) infinite; }
.use__calls span:nth-child(3n) { animation-delay: -.7s; } .use__calls span:nth-child(5n) { animation-delay: -1.4s; } .use__calls span:nth-child(7n) { animation-delay: -2.1s; } .use__calls span:nth-child(2n+1) { animation-duration: 3.4s; }
@keyframes blinkc { 0%, 60% { background: rgba(255, 255, 255, .08); } 61%, 80% { background: var(--brand); } }

/* ───────── Steps: big visual + short snippet ───────── */
.steps { background: #fff; padding: 120px var(--gutter) 40px; }
.step { max-width: 1320px; margin: 0 auto 112px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.step--rev .viz { order: 2; }
.step__copy { min-width: 0; }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--n-400); margin-bottom: 14px; }
.step__copy h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; font-weight: 400; margin-bottom: 16px; }
.step__copy > p:not(.step__n) { font-size: 17px; line-height: 26px; color: var(--n-600); margin-bottom: 24px; }
.viz { position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; background: var(--n-150); display: grid; place-items: center; padding: 48px 28px; min-height: 480px; }
.viz::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(5, 22, 46, .09) 1px, transparent 1px); background-size: 16px 16px; }
.viz::after { content: ""; position: absolute; inset: auto 10% -30% 10%; height: 60%; z-index: -1; background: radial-gradient(closest-side, rgba(11, 87, 244, .18), transparent); }

/* code windows (full and mini) */
.code { position: relative; border-radius: 14px; background: #0b1220; color: #e6e6e6; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; min-width: 0; }
.code__bar { display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 8px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.code__dots { display: flex; gap: 6px; margin-right: 10px; }
.code__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.code__tab { height: 26px; padding: 0 10px; border-radius: 7px; font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, .5); white-space: nowrap; transition: background-color .2s, color .2s; }
.code__tab:hover { color: rgba(255, 255, 255, .85); }
.code__tab.on { background: rgba(255, 255, 255, .09); color: #fff; }
.code__file { margin-left: auto; font-family: var(--mono); font-size: 11px; color: rgba(255, 255, 255, .35); padding-right: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code__copy { height: 26px; padding: 0 10px; border-radius: 7px; font-size: 11.5px; font-weight: 500; color: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: color .2s, background-color .2s; flex: none; }
.code__copy:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.code__copy.done { color: var(--brand-light); }
.code pre { margin: 0; padding: 16px 18px 20px; overflow: auto; font-size: 12.5px; line-height: 1.7; tab-size: 2; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.code pre.swap { animation: code-in .45s var(--ease) both; }
@keyframes code-in { from { opacity: 0; transform: translateY(6px); } }
.code__ln { display: inline-block; width: 2ch; margin-right: 16px; text-align: right; color: rgba(255, 255, 255, .2); user-select: none; }
.code--mini { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.code--mini .code__bar { height: 34px; }
.code--mini .code__dots { display: none; }
.code--mini pre { padding: 12px 16px 14px; font-size: 12px; }
.code--mini .code__ln { display: none; }
.t-k { color: #9cc4ff; } .t-s { color: #8fe3a2; } .t-n { color: #f5b36b; } .t-c { color: #6b7280; font-style: italic; } .t-w { color: #c9a7ff; } .t-f { color: #7fd4e8; } .t-p { color: #97a8ba; }

/* 1 · rate card */
.rc { width: min(380px, 100%); padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .06), 0 30px 60px -24px rgba(5, 22, 46, .3); font-size: 13.5px; }
.rc__hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rc__id { font-family: var(--mono); font-size: 11.5px; color: var(--n-500); }
.rc__name { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.rc__price { color: var(--n-600); margin: 2px 0 16px; }
.rc__price b { color: var(--n-950); font-weight: 600; }
.rc__terms { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px dashed var(--n-200); }
.rc__terms div { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12.5px; padding: 8px 12px; border-radius: 9px; background: var(--n-100); }
.rc__terms em { font-style: normal; color: #249684; font-weight: 600; }
.rc__calc { padding-top: 14px; }
.rc__k { font-size: 12px; color: var(--n-500); margin-bottom: 8px; }
.rc__row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; color: var(--n-600); }
.rc__row b { font-family: var(--mono); color: var(--n-950); font-weight: 500; font-variant-numeric: tabular-nums; }
.rc__row--sum { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--n-150); font-size: 15px; }
.rc__row--sum b { color: #249684; font-weight: 600; font-size: 16px; }

/* 2 · checkout */
.ck { width: min(380px, 100%); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .06), 0 30px 60px -24px rgba(5, 22, 46, .3); }
.ck__bar { display: flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px; background: var(--n-100); border-bottom: 1px solid var(--n-150); }
.ck__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--n-300); }
.ck__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--n-500); }
.ck__body { padding: 20px; font-size: 13px; }
.ck__merchant { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.ck__logo { width: 36px; height: 36px; border-radius: 10px; background: var(--n-950); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.ck__merchant b { display: block; font-weight: 600; }
.ck__merchant small { color: var(--n-500); }
.ck__cap { padding: 16px; border-radius: 12px; background: var(--n-100); margin-bottom: 12px; }
.ck__k { font-size: 11.5px; color: var(--n-500); }
.ck__v { display: flex; align-items: center; gap: 8px; font-size: 32px; font-weight: 500; letter-spacing: -.02em; margin: 2px 0 6px; }
.ck__v img { width: 26px; height: 26px; }
.ck__v small { font-size: 14px; color: var(--n-500); font-weight: 400; letter-spacing: 0; }
.ck__note { font-size: 12px; color: var(--n-600); }
.ck__rows { display: grid; gap: 4px; margin-bottom: 14px; }
.ck__rows div { display: flex; justify-content: space-between; padding: 4px 2px; font-size: 12.5px; color: var(--n-500); }
.ck__rows b { color: var(--n-900); font-weight: 500; }
.ck__btn { position: relative; display: grid; place-items: center; height: 44px; border-radius: 11px; background: var(--n-950); color: #fff; font-weight: 500; overflow: hidden; transition: background-color .4s var(--ease); }
.ck__btn > span { grid-area: 1 / 1; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.ck__btn-b, .ck__btn-c { opacity: 0; transform: translateY(10px); }
.ck.is-signing .ck__btn-a, .ck.is-done .ck__btn-a { opacity: 0; transform: translateY(-10px); }
.ck.is-signing .ck__btn-b { opacity: 1; transform: none; }
.ck.is-done .ck__btn-b { opacity: 0; transform: translateY(-10px); }
.ck.is-done .ck__btn-c { opacity: 1; transform: none; }
.ck.is-done .ck__btn { background: #249684; }

/* 3 · meter */
.mt { width: min(380px, 100%); display: grid; gap: 14px; }
.mt__gauge { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.mt__gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mt__track { fill: none; stroke: var(--n-200); stroke-width: 10; }
.mt__fill { fill: none; stroke: var(--brand); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease), stroke .3s; }
.mt__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.mt__center b { font-family: var(--mono); font-size: 20px; font-weight: 500; }
.mt__center small { font-size: 11.5px; color: var(--n-500); }
.mt__log { height: 128px; overflow: hidden; display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 8px 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .06); }
.mt__log li { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; height: 28px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--n-700); animation: row-in .4s var(--ease) both; }
.mt__log .s200 { color: #249684; font-weight: 600; }
.mt__log .s402 { color: #c9720c; font-weight: 600; }
.mt__402 { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #fff4e6; box-shadow: inset 0 0 0 1px #f5d3a6; font-size: 13px; color: #8a4f0a; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.mt__402 code { font-size: 12px; padding: 1px 6px; border-radius: 5px; background: rgba(201, 114, 12, .12); }
.mt.is-capped .mt__402 { opacity: 1; transform: none; }
.mt.is-capped .mt__fill { stroke: #f5b36b; }

/* 4 · settlement */
.st { width: min(420px, 100%); display: grid; gap: 12px; }
.st__flow { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; padding: 22px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .06), 0 30px 60px -24px rgba(5, 22, 46, .25); }
.st__node { text-align: center; font-size: 12.5px; }
.st__node b { display: block; font-weight: 500; margin-top: 8px; }
.st__node small { font-family: var(--mono); font-size: 10.5px; color: var(--n-500); }
.st__ico { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--n-100); }
.st__ico img { width: 30px; height: 30px; }
.st__ico--ely { background: var(--n-950); }
.st__ico--ely img { width: 22px; height: 22px; }
.st__wire { position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--n-300) 0 6px, transparent 6px 10px); }
.st__wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); opacity: 0; }
.st.is-run .st__wire i { animation: travel 1.4s var(--ease) both; }
@keyframes travel { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.st__chip { position: absolute; left: 50%; top: -32px; transform: translateX(-50%); padding: 4px 9px; border-radius: 999px; background: var(--n-950); color: #fff; font-family: var(--mono); font-size: 11.5px; white-space: nowrap; }
.st__rows { padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .06); font-size: 13px; }
.st__rows div { display: flex; justify-content: space-between; padding: 4px 0; color: var(--n-600); }
.st__rows b { font-family: var(--mono); font-weight: 500; color: var(--n-950); font-size: 12.5px; }
.st__net { margin-top: 4px; padding-top: 10px !important; border-top: 1px solid var(--n-150); }
.st__net b { color: #249684 !important; font-size: 14px !important; }
.st__hook { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #0b1220; color: rgba(255, 255, 255, .75); font-size: 12.5px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.st__hook b { color: #fff; font-family: var(--mono); font-weight: 500; font-size: 12px; }
.st.is-hooked .st__hook { opacity: 1; transform: none; }

/* ───────── Dashboard showcase ───────── */
.showcase { background: #040a14; color: #fff; padding: 120px var(--gutter); overflow: hidden; }
.sec-head--dark .h-xl { color: #fff; }
.browser { max-width: 1240px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #f4f4f5; color: var(--n-950); box-shadow: 0 60px 120px -40px rgba(11, 87, 244, .25), 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; background: #e9e9eb; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfd3; }
.browser__bar span { margin: 0 auto; padding: 4px 60px; border-radius: 7px; background: #fff; font-family: var(--mono); font-size: 11.5px; color: var(--n-500); }
.db { display: grid; grid-template-columns: 200px 1fr; min-height: 560px; font-size: 13px; }
.db__side { background: #fff; border-right: 1px solid var(--n-200); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.db__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 0 8px 16px; }
.db__brand img { width: 22px; height: 22px; }
.db__side > span { padding: 8px 10px; border-radius: 8px; color: var(--n-600); font-weight: 500; }
.db__side > span.on { background: var(--n-150); color: var(--n-950); }
.db__mode { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; font-size: 12px; color: var(--n-600); }
.db__mode i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.db__main { padding: 22px 26px; display: grid; gap: 16px; align-content: start; }
.db__crumb { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.db__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .04); }
.kpi small { display: block; color: var(--n-500); font-size: 12px; margin-bottom: 6px; }
.kpi b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi b span { font-size: .6em; color: var(--n-500); }
.kpi em { font-style: normal; font-size: 12px; color: #249684; }
.kpi .kpi__muted { color: var(--n-500); }
.db__row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.db__chart, .db__limits, .db__table { padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(5, 22, 46, .04); }
.db__chart-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.db__seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--n-100); }
.db__seg i { font-style: normal; padding: 3px 8px; border-radius: 6px; font-size: 11px; color: var(--n-500); }
.db__seg i.on { background: #fff; color: var(--n-950); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.db__svg { width: 100%; height: 170px; }
.db__line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .3s; }
.db__area { opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.browser.in .db__line { stroke-dashoffset: 0; }
.browser.in .db__area { opacity: 1; }
.db__limits ul { display: grid; gap: 14px; margin-top: 14px; }
.db__limits li { display: grid; grid-template-columns: 96px 1fr 36px; gap: 10px; align-items: center; font-size: 12.5px; }
.db__limits li i { height: 7px; border-radius: 4px; background: var(--n-150); position: relative; overflow: hidden; }
.db__limits li i::after { content: ""; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-expo) .6s; }
.browser.in .db__limits li i::after { transform: scaleX(var(--u)); }
.db__limits li i.hot::after { background: #f5b36b; }
.db__limits li em { font-style: normal; text-align: right; color: var(--n-500); font-family: var(--mono); font-size: 11.5px; }
.db__table { display: grid; }
.db__table > b { margin-bottom: 8px; }
.db__tr { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr 1.2fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--n-150); font-size: 12.5px; align-items: center; }
.db__tr:last-child { border-bottom: 0; }
.db__th { color: var(--n-500); font-size: 11.5px; }
.db__tr i { font-style: normal; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.db__tr .ok { background: #ecfbf9; color: #249684; }
.db__tr .pend { background: var(--n-150); color: var(--n-600); }
.db__tr .mono { font-size: 11.5px; color: var(--n-500); }

/* ───────── Customer side ───────── */
.buyer { overflow: hidden; background: var(--n-50); padding: 120px var(--gutter); display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 520px); justify-content: center; align-items: center; gap: clamp(40px, 8vw, 120px); }
.buyer .lede { margin-bottom: 28px; }
.buyer__pts { display: grid; gap: 14px; }
.buyer__pts li { position: relative; padding-left: 28px; font-size: 16px; line-height: 24px; color: var(--n-600); }
.buyer__pts li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(11, 87, 244, .2); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--brand); }
.buyer__pts b { color: var(--n-950); font-weight: 500; }
.phone-wrap { position: relative; display: grid; place-items: center; padding: 40px 0; isolation: isolate; }
.phone-wrap::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; z-index: -1; background: radial-gradient(closest-side, rgba(11, 87, 244, .22), transparent); }
.ph { width: 300px; aspect-ratio: 300 / 620; padding: 10px; border-radius: 48px; background: linear-gradient(145deg, #3a3a3c, #0c0c0d 40%, #1f2730); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 40px 80px -30px rgba(5, 22, 46, .45); }
.ph__screen { height: 100%; border-radius: 39px; background: #fff; overflow: hidden; font-size: 12.5px; }
.ph__sb { position: relative; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 6px 26px 0 30px; font-weight: 600; font-size: 12px; }
.ph__sb > i { position: absolute; left: 50%; top: 9px; width: 90px; height: 26px; margin-left: -45px; border-radius: 20px; background: #000; }
.ph__icons { display: flex; gap: 3px; align-items: flex-end; }
.ph__icons b { width: 3px; background: currentColor; border-radius: 1px; height: 6px; } .ph__icons b:nth-child(2) { height: 8px; } .ph__icons b:nth-child(3) { width: 16px; height: 9px; border-radius: 3px; margin-left: 3px; }
.stm { padding: 10px 18px; }
.stm__title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.stm__card { padding: 14px; border-radius: 16px; background: var(--n-100); margin-bottom: 10px; }
.stm__m { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.stm__m .ck__logo { width: 32px; height: 32px; font-size: 13px; }
.stm__m div { flex: 1; }
.stm__m b { display: block; font-weight: 600; font-size: 13px; }
.stm__m small { color: var(--n-500); font-size: 11.5px; }
.stm__bar { height: 8px; border-radius: 4px; background: var(--n-200); overflow: hidden; margin-bottom: 8px; }
.stm__bar i { display: block; height: 100%; width: 90.4%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), #f5b36b); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-expo) .3s; }
.phone-wrap.in .stm__bar i { transform: scaleX(1); }
.stm__used { font-size: 11.5px; color: var(--n-600); }
.stm__used b { color: var(--n-950); font-family: var(--mono); font-weight: 500; }
.stm__alert { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff4e6; color: #8a4f0a; font-size: 11.5px; font-weight: 500; margin-bottom: 14px; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease) 1.6s, transform .6s var(--ease) 1.6s; }
.stm__alert i { width: 18px; height: 18px; border-radius: 50%; background: #f5b36b; color: #fff; font-style: normal; font-weight: 700; display: grid; place-items: center; font-size: 11px; flex: none; }
.phone-wrap.in .stm__alert { opacity: 1; transform: none; }
.stm__k { font-size: 11.5px; color: var(--n-500); margin-bottom: 4px; }
.stm__list li { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--n-150); }
.stm__list b { display: block; font-weight: 500; font-size: 12.5px; }
.stm__list small { color: var(--n-500); font-size: 11px; }
.stm__list span { font-family: var(--mono); font-size: 12px; }
.stm__revoke { display: grid; place-items: center; height: 40px; margin-top: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #e3b4b4; color: #c03d3d; font-weight: 600; font-size: 12.5px; }

/* ───────── Agents ───────── */
.agents { background: #040a14; color: #fff; padding: 120px var(--gutter); display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 620px); justify-content: center; gap: clamp(32px, 6vw, 96px); align-items: center; }
.agents .lede { margin-bottom: 24px; }
.agents__viz { display: grid; gap: 12px; }
.term { border-radius: 16px; background: #0b1220; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -30px rgba(11, 87, 244, .18); overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.term__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.term__lines { padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; min-height: 290px; overflow-x: auto; }
.term__lines li { color: rgba(255, 255, 255, .72); animation: row-in .35s var(--ease) both; white-space: pre; }
.term__lines .g { color: var(--brand-light); } .term__lines .y { color: #f5b36b; } .term__lines .d { color: rgba(255, 255, 255, .38); }
.term__lines .caret::after { content: "▍"; color: var(--brand-light); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ag-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ag-card { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); display: grid; gap: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.ag-card code { color: var(--brand-light); font-size: 12px; }

/* ───────── Pricing ───────── */
.pricing { background: #fff; padding: 120px var(--gutter); display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 640px); justify-content: center; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pricing .lede { margin-bottom: 32px; }
.cmp { padding: 24px; border-radius: 18px; background: var(--n-100); }
.cmp__hd, .cmp__row { display: grid; grid-template-columns: 64px 1fr 92px 92px; gap: 14px; align-items: center; }
.cmp__hd { font-size: 12px; color: var(--n-500); padding-bottom: 12px; border-bottom: 1px solid var(--n-200); }
.cmp__hd span:nth-child(2) { grid-column: 3; text-align: right; }
.cmp__hd span:nth-child(3) { grid-column: 4; text-align: right; }
.cmp__row { padding: 16px 0; border-bottom: 1px solid var(--n-200); }
.cmp__amt { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.cmp__bars { display: grid; gap: 4px; }
.cmp__bars i { display: block; height: 8px; border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease-expo); }
.cmp__e { background: var(--brand); width: calc(var(--e) * 1%); min-width: 3px; }
.cmp__c { background: var(--n-300); width: calc(var(--c) * 1%); }
.cmp.in .cmp__bars i { transform: scaleX(1); }
.cmp__row b { text-align: right; font-family: var(--mono); font-size: 13.5px; font-weight: 500; color: #249684; }
.cmp__row .cmp__dim { color: var(--n-500); }
.cmp__note { margin-top: 14px; font-size: 12px; color: var(--n-500); }

/* ───────── Features ───────── */
.feats { background: var(--n-150); padding: 120px var(--gutter); }
.feats .sec-head { max-width: 760px; margin-bottom: 48px; }
.feats__grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { padding: 28px; border-radius: 18px; background: #fff; display: grid; gap: 10px; align-content: start; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feat:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(5, 22, 46, .25); }
.feat h3 { font-size: 18px; line-height: 1.3; font-weight: 500; }
.feat p { font-size: 15px; line-height: 22px; color: var(--n-600); }
.feat__ico { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 8px; background: var(--n-950); position: relative; }
.feat__ico::after { content: ""; position: absolute; inset: 12px; background: var(--brand); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.feat__ico--retry { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12a9 9 0 0 1 15.5-6.3L21 8M21 3v5h-5M21 12a9 9 0 0 1-15.5 6.3L3 16M3 21v-5h5'/></svg>"); }
.feat__ico--sig { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 4.5 6v5.5c0 4.6 3.2 8.4 7.5 9.5 4.3-1.1 7.5-4.9 7.5-9.5V6L12 3Z'/><path d='m8.8 12 2.3 2.3 4.3-4.6'/></svg>"); }
.feat__ico--open { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5 9.5 17 19 7.5'/></svg>"); }
.feat__ico--lock { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='5' y='10' width='14' height='10' rx='2'/><path d='M8 10V7.5a4 4 0 0 1 8 0V10'/></svg>"); }
.feat__ico--book { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M4 5h16M4 10h16M4 15h10M4 20h7'/></svg>"); }
.feat__ico--coins { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='9' cy='9' r='6'/><path d='M15.5 9.2A6 6 0 1 1 9.2 15.5'/></svg>"); }

/* ───────── For developers (compact) ───────── */
.dev { background: #040a14; color: #fff; padding: 100px var(--gutter); }
.dev__in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.dev .lede { margin-bottom: 24px; }
.eps--compact { display: grid; gap: 8px; }
.eps--compact li { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.eps--compact code { color: rgba(255, 255, 255, .85); }

/* ───────── CTA ───────── */
.cta { background: var(--n-50); padding: 140px var(--gutter); display: flex; flex-direction: column; align-items: center; text-align: center;
  background-image: radial-gradient(50% 60% at 50% 55%, #eef7f0 0%, transparent 70%); }
.cta__brand { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 24px; }
.cta .h-xl { text-align: center; margin-bottom: 32px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ───────── Responsive ───────── */
@media (max-width: 1180px) {
  .uses__grid { grid-template-columns: repeat(2, 1fr); }
  .step, .step--rev { grid-template-columns: minmax(0, 1fr); }
  .step--rev .viz { order: 0; }
  .step__copy { max-width: 640px; }
  .db { grid-template-columns: 1fr; }
  .db__side { display: none; }
}
@media (max-width: 1023px) {
  .hdr__nav, .hdr__login { display: none; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .hdr__burger { display: block; }
  .pricing, .dev__in, .agents, .buyer { grid-template-columns: minmax(0, 1fr); }
  .feats__grid { grid-template-columns: repeat(2, 1fr); }
  .db__row { grid-template-columns: 1fr; }
  .faq__in { grid-template-columns: 1fr; gap: 32px; }
  .faq__side { position: static; }
  .faq__side h2 br { display: none; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--hdr-h) + 24px); }
  .hdr__cta-t { display: none; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow__card { min-height: 0; }
  .flow__pipe { height: 56px; width: 2px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .2) 0 6px, transparent 6px 11px); }
  .flow__lbl { top: 50%; left: 14px; transform: translateY(-50%); }
  .flow__dot { animation-name: dot-down; left: -4px; }
  @keyframes dot-down { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .announce { height: auto; min-height: 36px; padding: 5px 12px 5px 5px; font-size: 13px; text-align: left; border-radius: 18px; }
  .hero__cta { gap: 18px; }
  .uses, .steps, .showcase, .buyer, .agents, .pricing, .feats, .dev, .cta { padding-top: 88px; padding-bottom: 88px; }
  .uses__grid, .feats__grid, .ag-cards { grid-template-columns: 1fr; }
  .step { margin-bottom: 72px; }
  .viz { min-height: 0; padding: 28px 14px; }
  .db__kpis { grid-template-columns: 1fr; }
  .db__tr { grid-template-columns: 1.3fr 1fr 1fr; }
  .db__tr > :nth-child(3), .db__tr > :nth-child(5) { display: none; }
  .browser__bar span { padding: 4px 16px; }
  .ph { width: 270px; }
  .cmp { padding: 16px; }
  .cmp__hd, .cmp__row { grid-template-columns: 52px 1fr 76px 64px; gap: 8px; }
  .code__file { display: none; }
  .dock { bottom: 16px; padding-left: 16px; gap: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
