/* ZenqPay public site — the only stylesheet for the public layout. */
:root {
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --bg: #ffffff;
  --bg-soft: #f4f5f9;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --ok: #16a34a;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.55; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 750; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 650; }
p { margin: 0 0 12px; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-soft); padding: 1px 5px; border-radius: 5px; }
pre { margin: 0; overflow-x: auto; background: #0f172a; color: #e2e8f0; padding: 16px 18px; border-radius: 12px; font-size: 13px; line-height: 1.55; }
pre code { background: transparent; padding: 0; color: inherit; font-size: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: 18px; color: #334155; max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.section { padding: 64px 20px; }
.section--head { padding-bottom: 24px; }
.note { border-left: 3px solid var(--accent); padding: 8px 12px; background: var(--bg-soft); border-radius: 0 8px 8px 0; color: #334155; }

/* header / footer */
.top { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 20; }
.top__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 17px; }
.brand--small { font-size: 15px; }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.nav a { text-decoration: none; color: #334155; }
.nav a.is-active { color: var(--accent); }
.nav-toggle { display: none; font: inherit; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.foot { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 40px 0; margin-top: 40px; }
.foot__inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; font-size: 14px; }
.foot__links { display: flex; flex-direction: column; gap: 6px; }
.foot__links a { color: #334155; text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 14.5px; font-weight: 600; border: 0; cursor: pointer; border-radius: 10px; padding: 11px 18px; color: #fff; background: var(--accent); text-decoration: none; white-space: nowrap; }
.btn:hover { filter: brightness(1.06); }
.btn--sm { padding: 8px 14px; font-size: 13.5px; }
.btn--lg { padding: 14px 22px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.link { color: var(--accent); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* hero */
.hero { background: radial-gradient(900px 400px at 15% -10%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%), radial-gradient(700px 360px at 95% 10%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 70%); }
.hero__inner { padding: 88px 20px 64px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero__facts strong { display: block; color: var(--ink); font-size: 22px; }

/* steps & grids */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; position: relative; }
.step-card__n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 12px 0 16px; }
.ticks li { padding-left: 26px; position: relative; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.code-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0f172a; }
.code-card__bar { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 16px; color: #cbd5e1; font-size: 12.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-card__bar .btn--ghost { color: #e2e8f0; border-color: rgba(255,255,255,.2); }
.code-card pre { border-radius: 0; }

/* networks band */
.band { background: var(--bg-soft); padding: 52px 0; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; display: flex; gap: 8px; font-size: 14px; }
.chip span { color: var(--muted); font-family: var(--mono); font-size: 12px; align-self: center; }

/* cta */
.cta { padding: 40px 20px 20px; }
.cta__inner { background: var(--ink); color: #fff; border-radius: 22px; padding: 44px 28px; text-align: center; }
.cta__inner p { color: #cbd5e1; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 20px 20px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.plan.is-featured { border-color: var(--accent); box-shadow: 0 16px 40px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan__badge { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.plan__fee { font-size: 40px; font-weight: 750; margin: 6px 0 0; letter-spacing: -.02em; }
.plan__fee small { font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan__price { color: var(--muted); margin-bottom: 8px; }
.plan .btn { margin-top: auto; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: #334155; }

/* docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 20px 60px; }
.docs__toc { position: sticky; top: 84px; align-self: start; }
.docs__toc nav { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.docs__toc a { text-decoration: none; color: #334155; padding: 4px 0; }
.docs__toc a:hover { color: var(--accent); }
.docs__body section { padding: 26px 0; border-top: 1px solid var(--line); }
.docs__body section:first-of-type { border-top: 0; }
.docs__body h2 { font-size: 22px; }
.docs__body pre { margin: 12px 0; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table td:first-child { white-space: nowrap; width: 120px; }

@media (max-width: 860px) {
  .nav { display: none; position: absolute; right: 20px; top: 64px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .nav.is-open { display: flex; }
  .nav-toggle { display: inline-block; }
  .steps, .grid3, .plans, .split { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; gap: 20px; }
  .docs__toc { position: static; }
  .hero__inner { padding: 56px 20px 40px; }
}
