/* Home page: dark and product-first like the app, with BNB yellow for the main actions. Yellow is a fill (with dark
   text on it) or a small mark; body text stays near-white on the dark grounds. */
:root {
  --bg: #0b0b0c;
  --panel: #141415;
  --raised: #1b1b1d;
  --line: rgb(255 255 255 / .08);
  --line-2: rgb(255 255 255 / .14);
  --text: #fafafa;
  --soft: #d6d6d6;
  --muted: #a6a6a6;
  --faint: #929292;
  --yellow: #f0b90b;
  --yellow-hi: #fcd535;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gutter: 24px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.55 var(--sans); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -.04em; margin: 0; }
.center { text-align: center; margin-inline: auto; }
.muted { color: var(--muted); font-size: 15px; }

/* buttons: yellow for the main action, dark grey for the rest */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.btn.small { height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn.big { height: 56px; padding: 0 30px; font-size: 18px; }
.btn.yellow { background: var(--yellow); color: #0b0b0c; }
.btn.yellow:hover { background: var(--yellow-hi); }
.btn.dark { background: #232325; color: var(--text); }
.btn.dark:hover { background: #2e2e31; }
.btn:hover { transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgb(11 11 12 / .78);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 23px; letter-spacing: -.045em; text-transform: lowercase; }
.brand img { display: block; flex: none; }
.nav-links { display: flex; gap: 6px; margin-left: auto; margin-right: auto; }
.nav-links a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--muted); }
.nav-links a:hover { color: var(--text); background: rgb(255 255 255 / .05); }

/* hero, over a faint grid that fades out */
.hero { position: relative; overflow: hidden; padding-block: 64px 0;
  background-image:
    radial-gradient(ellipse 75% 62% at 50% 30%, transparent 0, var(--bg) 80%),
    linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px; background-position: center, center top, center top; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.badges-row { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.hb { display: inline-flex; align-items: center; gap: 10px; text-align: left; font-size: 12.5px; line-height: 1.25; color: var(--muted); }
.hb b { color: var(--text); font-weight: 600; }
.hb svg { color: var(--yellow); flex: none; }
.hb-sep { width: 1px; height: 30px; background: var(--line-2); }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: .98; font-weight: 700; letter-spacing: -.045em; margin: 0; }
.sub { max-width: 660px; margin: 22px 0 34px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; color: var(--soft); letter-spacing: -.015em; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.or { margin: 30px 0 10px; font-size: 13.5px; color: var(--faint); }
.cmd { display: flex; align-items: center; gap: 12px; max-width: 100%; padding: 12px 12px 12px 18px; border: 1px solid var(--line-2);
  border-radius: 12px; background: var(--panel); }
.cmd code { min-width: 0; overflow-x: auto; white-space: nowrap; font: 14.5px/1.4 var(--mono); color: var(--soft); }
.p { color: var(--yellow); }
.copy { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 8px; border: 0; background: rgb(255 255 255 / .06); color: var(--muted); cursor: pointer; }
.copy:hover { color: var(--text); background: rgb(255 255 255 / .1); }
.copy.done { color: var(--yellow); }

/* the app on a laptop, with the phone in front */
.devices { position: relative; width: 100%; max-width: 1040px; margin-top: 64px; padding-bottom: 40px; }
.laptop { width: 88%; }
.laptop .screen { padding: 12px 12px 14px; background: #1a1a1c; border: 1px solid #333336; border-bottom: 0; border-radius: 22px 22px 0 0;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .04); }
.laptop .screen img { display: block; width: 100%; height: auto; border-radius: 10px; }
.laptop .base { height: 18px; margin: 0 -5%; background: linear-gradient(#3a3a3e, #1f1f22); border-radius: 0 0 16px 16px;
  box-shadow: 0 30px 60px rgb(0 0 0 / .6); position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 6px; transform: translateX(-50%);
  background: #141416; border-radius: 0 0 8px 8px; }
.phone { position: absolute; right: 0; bottom: 0; width: 23%; padding: 8px; background: #1a1a1c; border: 1px solid #38383c; border-radius: 34px;
  box-shadow: 0 30px 70px rgb(0 0 0 / .7), inset 0 0 0 1px rgb(255 255 255 / .04); }
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sub2 { max-width: 600px; margin-top: 16px; color: var(--muted); font-size: 18px; }

/* sections fade up as they scroll in (home.js turns this on unless the user prefers less motion) */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }

/* model makers orbiting the app icon */
.orbit-sec { padding-block: 140px 0; }
.orbit { position: relative; width: min(640px, 100%); aspect-ratio: 1; margin: 30px auto 0; }
.orbit::before { content: ""; position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(closest-side, rgb(240 185 11 / .2), transparent); }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line-2); animation: spin 90s linear infinite; }
.r1 { inset: 20%; }
.r2 { inset: 5%; border-color: var(--line); animation-duration: 130s; animation-direction: reverse; }
.sat { position: absolute; inset: 0; transform: rotate(var(--a)); }
.pos { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); }
.un-a { display: block; transform: rotate(calc(-1 * var(--a))); }
.un-spin { display: grid; justify-items: center; gap: 8px; animation: spin 90s linear infinite reverse; }
.r2 .un-spin { animation-duration: 130s; animation-direction: normal; }
.mk { display: grid; place-items: center; width: clamp(44px, 9vw, 62px); aspect-ratio: 1; border-radius: 30%; border: 1px solid var(--line-2);
  background: linear-gradient(#222225, #141416); box-shadow: 0 12px 30px rgb(0 0 0 / .55), inset 0 1px 0 rgb(255 255 255 / .07); }
.mk img { width: 46%; height: auto; filter: invert(1); }
.sat b { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.r1 .sat:nth-child(1) { --a: 0deg; } .r1 .sat:nth-child(2) { --a: 120deg; } .r1 .sat:nth-child(3) { --a: 240deg; }
.r2 .sat:nth-child(1) { --a: 60deg; } .r2 .sat:nth-child(2) { --a: 180deg; } .r2 .sat:nth-child(3) { --a: 300deg; }
.core { position: absolute; left: 50%; top: 50%; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center;
  border-radius: 28%; border: 1px solid var(--line-2); background: radial-gradient(75% 75% at 50% 35%, #26262a, #131315);
  box-shadow: 0 30px 80px rgb(0 0 0 / .6), inset 0 1px 0 rgb(255 255 255 / .08), 0 0 70px rgb(240 185 11 / .12); }
.core img { display: block; width: 47%; height: auto; filter: drop-shadow(0 10px 16px rgb(0 0 0 / .55)); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ring, .un-spin { animation: none; } }

/* features: Atomic-style columns split by hairlines */
.features { padding-block: 150px 0; }
.lead { max-width: 640px; margin-top: 16px; color: var(--muted); font-size: 18px; }
.feat-head { max-width: 760px; margin-inline: auto; text-align: center; }
.feat-head h2 { margin: 0; }
.feat-head .lead { margin-inline: auto; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; }
.card { display: grid; align-content: start; gap: 10px; padding: 6px 36px; border-left: 1px solid var(--line-2); }
.card:first-child { border-left: 0; }
.ic { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 10px 0 0; font-size: 19px; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* comparison table */
.compare { padding-block: 150px 0; }
.cmp { width: 100%; max-width: 780px; margin: 48px auto 0; border-collapse: separate; border-spacing: 0; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; }
.cmp th, .cmp td { padding: 18px 24px; border-top: 1px solid var(--line); text-align: center; font-size: 16px; }
.cmp thead th, .cmp thead td { border-top: 0; padding-block: 20px; font-weight: 600; color: var(--muted); }
.cmp thead .us { color: var(--text); }
.cmp thead img { margin-right: 8px; vertical-align: -3px; }
.cmp tbody th { text-align: left; font-weight: 500; color: var(--soft); }
.cmp .us { width: 26%; background: rgb(255 255 255 / .04); }
.cmp td:last-child, .cmp th:last-child { width: 26%; }
.cmp svg { width: 20px; height: 20px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.cmp .yes svg { stroke: var(--yellow); }
.cmp .no svg { stroke: #8a8a8e; }

/* how it works: three steps with a tiny piece of the app each */
.how { padding-block: 150px 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 52px 0 0; padding: 0; }
.step { display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; }
.step h3 { margin: 18px 0 0; font-size: 21px; letter-spacing: -.02em; }
.step p { margin: 0; max-width: 300px; font-size: 15.5px; color: var(--muted); }
.step .num { margin-top: 14px; font-size: 44px; font-weight: 600; line-height: 1; letter-spacing: -.04em; color: #77777b; }
.shot { display: grid; align-content: center; gap: 10px; width: 100%; height: 190px; padding: 22px; text-align: left; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #1d1d20, var(--panel)); border: 1px solid var(--line-2); border-radius: 18px; }
.mini-brand { display: flex; align-items: center; gap: 8px; font-weight: 750; letter-spacing: -.04em; font-size: 17px; }
.mini-pill { justify-self: start; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .07); font-size: 13px; color: var(--soft); }
.mini-btn { justify-self: start; padding: 9px 16px; border-radius: 999px; background: var(--yellow); color: #0b0b0c; font-size: 13.5px; font-weight: 600; }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--raised); border: 1px solid var(--line); font-size: 13.5px; color: var(--soft); }
.mini-row img { filter: invert(1); }
.mini-row.on { border-color: rgb(240 185 11 / .45); color: var(--text); }
.mini-row i { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--yellow); }
.mini-q { justify-self: end; padding: 8px 12px; border-radius: 12px; background: #2a2a2d; font-size: 13px; color: var(--text); }
.mini-a { display: grid; gap: 7px; }
.mini-a i { height: 7px; border-radius: 4px; background: rgb(255 255 255 / .12); }
.mini-a i:nth-child(2) { width: 86%; } .mini-a i:nth-child(3) { width: 62%; }
.mini-seal { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: rgb(240 185 11 / .14); color: var(--yellow-hi); font-size: 12.5px; font-weight: 600; }
.mini-seal svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* pick a model: copy beside the model list */
.pick, .bnb, .api { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; padding-block: 120px 0; }
.pick-copy p, .api p { color: var(--muted); }
.pick-copy .btn, .api .btn { margin-top: 12px; }
.model-panel { padding: 12px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 20px; display: grid; gap: 8px; }
.model-search { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border-radius: 10px; background: #0f0f10;
  border: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.model-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 14px;
  background: var(--raised); border: 1px solid var(--line); border-radius: 12px; }
.model-row img { width: 22px; height: 22px; filter: invert(1); grid-row: span 2; justify-self: center; }
.model-row .nm { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-row .price { font: 13px/1.3 var(--mono); color: var(--muted); text-align: right; white-space: nowrap; }
.model-row .tags { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 2 / -1; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: rgb(255 255 255 / .07); color: var(--soft); }
.tag.uncensored { background: rgba(240, 185, 11, .16); color: var(--yellow-hi); }
.tag.e2ee { background: rgba(120, 170, 255, .14); color: #a9c6ff; }
.tag.ctx { background: none; padding: 0; color: var(--faint); font-family: var(--mono); }

/* built for BNB Chain */
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; font-weight: 600; color: var(--yellow-hi); }
.ticks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230b0b0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks b { color: var(--text); font-weight: 600; }
.pay-card { display: grid; gap: 14px; max-width: 460px; width: 100%; justify-self: center; padding: 22px; background: var(--panel);
  border: 1px solid var(--line-2); border-radius: 22px; box-shadow: 0 40px 90px rgb(0 0 0 / .5); }
.pay-top { display: flex; align-items: center; justify-content: space-between; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--soft); }
.pay-amount { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 18px 0 6px; }
.pay-amount b { font-size: 72px; line-height: 1; font-weight: 600; letter-spacing: -.05em; }
.pay-amount span { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 600; color: var(--soft); }
.pay-line { display: flex; justify-content: space-between; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.pay-line b { color: var(--text); }
.pay-btn { display: grid; place-items: center; height: 52px; border-radius: 999px; background: var(--yellow); color: #0b0b0c; font-weight: 600; }
.wallet-row { display: flex; justify-content: center; gap: 12px; padding-top: 4px; }
.wallet-row img { width: 40px; height: 40px; padding: 7px; border-radius: 12px; background: #fff; }

/* API */
.term { min-width: 0; background: #0f0f10; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; }
.term-top { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.term-top i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.term-top i:first-child { background: var(--yellow); }
.term pre { margin: 0; padding: 20px 22px; overflow-x: auto; font: 14px/1.7 var(--mono); color: #e9e9ea; }

/* closing: two-tone headline over the fading grid, one big glowing button */
.final { margin-top: 150px; padding-block: 150px 140px;
  background-image:
    radial-gradient(ellipse 50% 45% at 50% 62%, rgb(240 185 11 / .1), transparent 70%),
    radial-gradient(ellipse 70% 70% at 50% 50%, transparent 0, var(--bg) 78%),
    linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: auto, auto, 64px 64px, 64px 64px; background-position: center; }
.final-inner { display: grid; justify-items: center; gap: 18px; text-align: center; }
.final h2 { font-size: clamp(48px, 7.6vw, 104px); line-height: .98; letter-spacing: -.05em; }
.final .dim { color: #7a7a7e; }
.final p { margin: 4px 0 18px; color: var(--muted); font-size: 18px; }
.btn.huge { height: 76px; padding: 0 48px; font-size: 23px; }
.btn.glow { box-shadow: 0 0 0 1px rgb(252 213 53 / .5), 0 20px 70px rgb(240 185 11 / .35); }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-block: 34px 44px; font-size: 14.5px; color: var(--muted); }
.foot nav { display: flex; gap: 18px; }
.foot nav a { color: var(--soft); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot p { margin: 0 0 0 auto; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .card { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .card:first-child { border-top: 0; padding-top: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 420px; margin-inline: auto; }
  .pick, .bnb, .api { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 88px 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .hero { padding-top: 40px; }
  .badges-row { gap: 14px; }
  .hb { font-size: 11.5px; }
  .btn.big { height: 50px; padding: 0 22px; font-size: 16px; }
  .devices { margin-top: 44px; padding-bottom: 24px; }
  .laptop { width: 100%; }
  .laptop .screen { padding: 6px 6px 8px; border-radius: 12px 12px 0 0; }
  .laptop .base { height: 10px; }
  .phone { width: 34%; right: -4px; bottom: -6px; border-radius: 22px; padding: 5px; }
  .phone img { border-radius: 17px; }
  .orbit-sec, .features, .compare, .how { padding-top: 96px; }
  .sat b { font-size: 11.5px; }
  .cmp th, .cmp td { padding: 14px 12px; font-size: 14.5px; }
  .final { margin-top: 96px; padding-block: 110px 100px; }
  .btn.huge { height: 62px; padding: 0 34px; font-size: 19px; }
  .foot p { margin-left: 0; }
}
