/* ============================================================
   VENTA — Global Payments Platform
   Shared design system. Faithful to ui/ design mockups.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
/* Inter: latin + digits. Noto Sans SC: Chinese subset of the site's actual characters. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sc-400.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+3000-303F, U+FF00-FFEF, U+2014, U+2018-201F, U+2026, U+00B7, U+00D7, U+00B1, U+2192, U+2022, U+2049;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/noto-sc-500.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+3000-303F, U+FF00-FFEF, U+2014, U+2018-201F, U+2026, U+00B7, U+00D7, U+00B1, U+2192, U+2022, U+2049;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sc-700.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+3000-303F, U+FF00-FFEF, U+2014, U+2018-201F, U+2026, U+00B7, U+00D7, U+00B1, U+2192, U+2022, U+2049;
}
@font-face {
  font-family: "Noto Sans SC";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/noto-sc-900.woff2") format("woff2");
  unicode-range: U+4E00-9FFF, U+3400-4DBF, U+3000-303F, U+FF00-FFEF, U+2014, U+2018-201F, U+2026, U+00B7, U+00D7, U+00B1, U+2192, U+2022, U+2049;
}

:root {
  /* Palette (sampled from mockups) */
  --c-navy-950: #030712;
  --c-navy-900: #000512;
  --c-navy-800: #0b0f19;
  --c-navy-700: #000b28;
  --c-navy-600: #0e1a3d;
  --c-blue: #004cfe;
  --c-blue-600: #014afc;
  --c-blue-500: #2f81f7;
  --c-blue-400: #4d8dff;
  --c-blue-200: #c7dcff;
  --c-sky: #7db1f7;
  --c-sky-soft: #e8f1ff;
  --c-green: #16a34a;
  --c-green-bg: #dcfce7;
  --c-red: #ef4444;
  --c-red-bg: #fee2e2;
  --c-white: #ffffff;
  --c-bg-soft: #f8f9fd;
  --c-bg-blue: #f1f4fb;
  --c-border: #e4e8f0;
  --c-border-dark: rgba(255, 255, 255, 0.12);
  --c-text: #0b0f19;
  --c-text-2: #5a6478;
  --c-text-3: #98a1b3;
  --c-text-inv: #f5f7fb;

  /* Type */
  --font: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;

  /* Layout */
  --container: 1200px;
  --nav-h: 72px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 15, 25, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 15, 25, 0.14);
  --shadow-blue: 0 10px 30px rgba(0, 76, 254, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.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;
}

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn .arr { transition: transform 0.2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--c-blue-600); }
.btn-outline { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.28); color: var(--c-text-inv); }
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.08); }
.btn-dark { background: var(--c-navy-800); color: #fff; }
.btn-dark:hover { background: var(--c-navy-600); }
.btn-ghost { background: transparent; color: var(--c-blue); padding: 8px 10px; }
.btn-ghost:hover { background: var(--c-sky-soft); }
.btn-light { background: #fff; color: var(--c-navy-800); box-shadow: var(--shadow-md); }
.btn-light:hover { background: var(--c-bg-soft); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 15, 25, 0.08);
  box-shadow: 0 1px 2px rgba(11, 15, 25, 0.05);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, #2f81f7, #004cfe);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 76, 254, 0.45);
}
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: 0.05em; color: var(--c-navy-800); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 8px;
  color: #3d4757; font-size: 14.5px; font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-link:hover { color: #0b0f19; background: rgba(11, 15, 25, 0.06); }
.nav-link.active { color: #0b0f19; font-weight: 600; }
.nav-item > .caret { width: 9px; height: 9px; flex: none; transition: transform 0.2s ease; opacity: 0.55; }
.nav-item:hover > .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 230px; padding: 8px;
  background: #fff; border-radius: 14px; border: 1px solid var(--c-border);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.dropdown::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.dropdown a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  color: var(--c-text); transition: background 0.15s ease;
}
.dropdown a:hover { background: var(--c-bg-soft); }
.dropdown .dd-icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.dropdown .dd-icon svg { width: 17px; height: 17px; }
.dropdown .dd-title { font-weight: 600; font-size: 14px; }
.dropdown .dd-desc { font-size: 12.5px; color: var(--c-text-3); line-height: 1.4; margin-top: 1px; }

.nav-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-login { color: #3d4757; font-size: 14.5px; font-weight: 500; padding: 8px 6px; }
.nav-login:hover { color: #0b0f19; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 12px; border-radius: var(--r-full);
  border: 1px solid rgba(11, 15, 25, 0.16);
  background: rgba(11, 15, 25, 0.04); color: #1c2438;
  font-size: 13px; font-weight: 600; transition: background 0.2s ease;
}
.lang-switch:hover { background: rgba(11, 15, 25, 0.08); }
.lang-switch svg { width: 15px; height: 15px; opacity: 0.8; }

/* Mobile nav */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(11,15,25,0.16); background: rgba(11,15,25,0.04); color: #1c2438; align-items: center; justify-content: center; }
.nav-toggle svg { width: 20px; height: 20px; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 150;
  background: rgba(3, 7, 18, 0.98);
  padding: 24px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-menu .brand-name { color: #fff; }
.mobile-menu a.mm-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff; font-size: 17px; font-weight: 600;
}
.mobile-menu .mm-link .caret { width: 18px; height: 18px; flex: none; opacity: 0.7; transition: transform 0.2s ease; }
.mobile-menu .mm-group.open .caret { transform: rotate(180deg); }
.mobile-menu .mm-sub { display: none; padding: 4px 0 12px 16px; }
.mobile-menu .mm-sub.open { display: block; }
.mobile-menu .mm-sub a { display: block; padding: 9px 0; color: rgba(245,247,251,0.75); font-size: 15px; }
.mobile-menu .mm-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% 18%, rgba(0, 76, 254, 0.28), transparent 60%),
    radial-gradient(900px 600px at 20% 90%, rgba(0, 76, 254, 0.12), transparent 55%),
    var(--c-navy-900);
  color: var(--c-text-inv);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(125, 177, 247, 0.16) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(720px 480px at 75% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(720px 480px at 75% 30%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 4px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-sky); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--c-blue-500); border-radius: 2px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.08; margin: 18px 0 20px; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--c-sky); }
.hero-sub { font-size: 17px; line-height: 1.75; color: rgba(245, 247, 251, 0.78); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; }
.hero-check { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: rgba(245, 247, 251, 0.9); }
.hero-check .ic {
  width: 21px; height: 21px; border-radius: 50%; flex: none;
  background: rgba(0, 76, 254, 0.25); border: 1px solid rgba(77, 141, 255, 0.6);
  color: #7db1f7; display: inline-flex; align-items: center; justify-content: center;
}
.hero-check .ic svg { width: 11px; height: 11px; }

/* Hero visual: globe + floating cards */
.hero-visual { position: relative; min-height: 460px; }
.globe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(460px, 100%); aspect-ratio: 1;
}
.globe-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(77, 141, 255, 0.35); }
.globe-core {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(77, 141, 255, 0.5), transparent 55%),
    radial-gradient(circle at 60% 70%, rgba(0, 76, 254, 0.4), transparent 50%),
    rgba(0, 76, 254, 0.12);
  border: 1px solid rgba(77, 141, 255, 0.55);
  box-shadow: 0 0 80px rgba(0, 76, 254, 0.55), inset 0 0 60px rgba(0, 76, 254, 0.25);
}
.globe svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float-card {
  position: absolute; z-index: 2;
  background: rgba(11, 15, 25, 0.62);
  border: 1px solid rgba(125, 177, 247, 0.35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 14px; padding: 14px 16px; min-width: 168px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-label { font-size: 12px; color: rgba(245, 247, 251, 0.65); }
.float-card .fc-value { font-size: 17px; font-weight: 700; color: #fff; margin-top: 3px; font-variant-numeric: tabular-nums; }
.float-card .fc-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 12px; font-weight: 700; color: #4ade80;
  background: rgba(34, 197, 94, 0.16); border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 2px 7px; border-radius: var(--r-full); margin-left: 8px;
}
.fc-top { top: 6%; right: 2%; animation-delay: 0s; }
.fc-top .fc-icon, .fc-big .fc-icon {
  width: 34px; height: 34px; border-radius: 10px; float: right; margin: -4px 0 6px 8px;
  background: linear-gradient(135deg, rgba(47, 129, 247, 0.9), rgba(0, 76, 254, 0.9));
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 76, 254, 0.5);
}
.fc-top .fc-icon svg, .fc-big .fc-icon svg { width: 17px; height: 17px; }
.fc-mid { left: 0; top: 42%; animation-delay: 1.2s; }
.fc-bot { right: 4%; bottom: 4%; animation-delay: 2.4s; }
.float-card.fc-big { min-width: 214px; padding: 16px 18px; }
.float-card.fc-big .fc-value { font-size: 20px; }
.fc-spark { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(77, 141, 255, 0.6); background: rgba(0, 76, 254, 0.18); color: #7db1f7; display: inline-flex; align-items: center; justify-content: center; }
.fc-spark svg { width: 18px; height: 18px; }
.fc-spark-1 { position: absolute; right: 4%; top: 10%; animation: floaty 5s ease-in-out 0.6s infinite; }
.fc-spark-2 { position: absolute; right: 9%; top: 40%; animation: floaty 5s ease-in-out 1.8s infinite; }
.fc-spark-3 { position: absolute; right: 5%; bottom: 12%; animation: floaty 5s ease-in-out 1.2s infinite; }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-lines path { stroke: rgba(125, 177, 247, 0.55); stroke-width: 0.5; stroke-dasharray: 1.7 1.9; fill: none; }
.mini-chart { margin-top: 8px; height: 34px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   Section primitives
   ============================================================ */
.section { padding: 18px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(0, 76, 254, 0.22), transparent 60%),
    radial-gradient(700px 380px at 8% 100%, rgba(0, 76, 254, 0.16), transparent 55%),
    var(--c-navy-800);
  color: var(--c-text-inv);
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(125, 177, 247, 0.14) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(640px 400px at 80% 30%, #000, transparent 75%);
  mask-image: radial-gradient(640px 400px at 80% 30%, #000, transparent 75%);
}
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-blue); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.section-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--c-blue); border-radius: 2px; }
.section-head.center .section-eyebrow::after { content: ""; width: 18px; height: 2px; background: var(--c-blue); border-radius: 2px; }
.section-title { font-size: clamp(16px, 1.9vw, 21px); letter-spacing: -0.01em; margin: 6px 0 8px; color: var(--c-text); }
.section-dark .section-title { color: #fff; }
.section-sub { font-size: 14px; line-height: 1.7; color: var(--c-text-2); }
.section-dark .section-sub { color: rgba(245, 247, 251, 0.72); }
.head-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--c-blue); }
.head-link:hover { text-decoration: underline; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   Logo rows
   ============================================================ */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 26px; margin-top: 24px; }
.logo-row.logo-row-left { justify-content: flex-start; }
.pay-logo { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text-3); opacity: 0.9; font-weight: 600; font-size: 15px; transition: opacity 0.2s ease, transform 0.2s ease; }
.pay-logo img { height: 20px; width: auto; max-width: 88px; }
/* keep the wide wordmarks from overpowering the row (design: VISA ~ biggest but balanced) */
.pay-logo img[alt="Visa"] { max-width: 50px; }
.pay-logo img[alt="Google Pay"] { max-width: 48px; }
.pay-logo img[alt="Klarna"] { max-width: 46px; }
.pay-logo img[alt="Apple Pay"] { max-width: 44px; }
.pay-logo:hover { opacity: 1; transform: translateY(-2px); }
.pay-logo.pay-logo-text { font-weight: 700; letter-spacing: 0.02em; }
.pay-logo.more { font-weight: 700; letter-spacing: 1px; }

/* ============================================================
   Stats
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
/* homepage stats are indented from the logos row, per the design mockup */
.stats-grid.stats-grid-indent { margin-left: 68px; }
.stat { text-align: center; padding: 8px; }
/* stats with an icon follow the design's horizontal layout: icon circle on the
   left, number over label stacked to the right (首页 design mockup) */
.stat:has(.stat-icon) {
  text-align: left; padding: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
}
.stat .stat-icon {
  grid-row: 1 / 3; grid-column: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: flex; align-items: center; justify-content: center;
}
.stat .stat-icon svg { width: 18px; height: 18px; }
.stat:has(.stat-icon) .stat-num { grid-column: 2; }
.stat .stat-num { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; color: var(--c-text); font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat:has(.stat-icon) .stat-label { grid-column: 2; }
.stat .stat-label { color: var(--c-text-2); font-size: 13px; margin-top: 2px; }
.section-dark .stat .stat-num { color: #fff; }
.section-dark .stat .stat-label { color: rgba(245, 247, 251, 0.7); }
.section-dark .stat .stat-icon { background: rgba(0, 76, 254, 0.3); color: var(--c-sky); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-lg);
  padding: 26px; transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dbf0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--c-text-2); font-size: 14.5px; line-height: 1.65; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--c-blue); }
.card-link:hover { text-decoration: underline; }
.card-link svg { width: 14px; height: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* Feature card list style */
.card-list { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 22px; }
.card-list li { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--c-text); }
.card-list .ck {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.card-list .ck svg { width: 12px; height: 12px; }

/* ============================================================
   Split layout (text + visual)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.aside { grid-template-columns: 280px minmax(0, 1fr); gap: 46px; align-items: start; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split .lead { font-size: 17px; color: var(--c-text-2); margin-top: 18px; }
.split .cta-row { margin-top: 28px; }

/* ============================================================
   Dashboard mockup
   ============================================================ */
.dash {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); overflow: hidden; width: 100%;
}
.dash-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  background: var(--c-navy-800); border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-bar .dot.r { background: #ff5f57; } .dash-bar .dot.y { background: #febc2e; } .dash-bar .dot.g { background: #28c840; }
.dash-bar .url { margin-left: 10px; color: rgba(245, 247, 251, 0.55); font-size: 12px; font-family: var(--font-mono); background: rgba(255,255,255,0.08); padding: 4px 12px; border-radius: 6px; flex: 1; max-width: 340px; }
.dash-body { display: grid; grid-template-columns: 168px 1fr; min-height: 320px; container-type: inline-size; }
.dash-body > * { min-width: 0; }
.dash-side { background: var(--c-bg-soft); border-right: 1px solid var(--c-border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash-side .ds-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: var(--c-text-2); font-weight: 500; }
.dash-side .ds-item.active { background: var(--c-sky-soft); color: var(--c-blue); font-weight: 600; }
.dash-side .ds-item svg { width: 15px; height: 15px; }
.dash-main { padding: 18px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-head h4 { font-size: 16px; }
.dash-head .pill { font-size: 12px; color: var(--c-text-2); border: 1px solid var(--c-border); padding: 4px 10px; border-radius: var(--r-full); display: inline-flex; align-items: center; gap: 6px; }
.dash-head .pill svg { width: 11px; height: 11px; }
.dash-head .btn-mini { font-size: 12px; font-weight: 600; color: var(--c-blue); background: var(--c-sky-soft); padding: 5px 12px; border-radius: 7px; border: none; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 12px; padding: 12px; }
.metric .m-label { font-size: 11.5px; color: var(--c-text-3); }
.metric .m-val { font-size: 15px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.metric .m-val .cur { display: block; font-size: 10.5px; font-weight: 600; color: var(--c-text-3); margin-bottom: 1px; }
@container (max-width: 620px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .acq-bottom { grid-template-columns: 1fr; }
}
.metric .m-delta { font-size: 11.5px; font-weight: 700; margin-top: 3px; }
.metric .m-delta.up { color: var(--c-green); } .metric .m-delta.down { color: var(--c-red); }
.chart-card { margin-top: 14px; background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 12px; padding: 14px; }
.chart-card .cc-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--c-text-2); font-weight: 600; margin-bottom: 8px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--c-text-3); }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

/* activity list */
.activity { margin-top: 14px; background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 12px; padding: 6px 14px; }
.activity .act-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--c-border); font-size: 12.5px; }
.activity .act-item:last-child { border-bottom: 0; }
.act-left { display: flex; flex-direction: column; }
.act-title { font-weight: 600; color: var(--c-text); }
.act-time { color: var(--c-text-3); font-size: 11.5px; }
.act-amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.badge-pill { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-full); }
.badge-green { background: var(--c-green-bg); color: var(--c-green); }
.badge-red { background: var(--c-red-bg); color: var(--c-red); }

/* ============================================================
   Code block
   ============================================================ */
.code-shell {
  background: #0d1117; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.code-tabs { display: flex; gap: 4px; padding: 12px 14px 0; background: #0d1117; border-bottom: 1px solid rgba(255,255,255,0.06); }
.code-tab {
  padding: 8px 14px; border-radius: 8px 8px 0 0; font-size: 13px; font-weight: 600;
  color: rgba(245,247,251,0.55); border: none; background: transparent; font-family: var(--font-mono);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.code-tab:hover { color: #fff; }
.code-tab.active { color: #fff; background: rgba(255,255,255,0.06); border-bottom-color: var(--c-blue-500); }
.code-body { padding: 18px 20px; overflow-x: auto; }
.code-body pre { margin: 0; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: #c9d1d9; }
.code-body .tok-c { color: #8b949e; }      /* comment */
.code-body .tok-k { color: #ff7b72; }      /* keyword */
.code-body .tok-s { color: #a5d6ff; }      /* string */
.code-body .tok-n { color: #79c0ff; }      /* number */
.code-body .tok-f { color: #d2a8ff; }      /* function */
.code-body .tok-v { color: #e6edf3; }      /* variable */

/* ============================================================
   Checkout widget
   ============================================================ */
.checkout {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--c-border);
  width: 100%; max-width: 400px;
}
.checkout-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--c-border);
}
.checkout-head .co-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; color: var(--c-navy-800); }
.checkout-head .co-amt { font-weight: 800; font-size: 17px; color: var(--c-navy-800); }
.checkout form { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--c-text-2); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--c-border); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; color: var(--c-text); background: #fff; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { border-color: var(--c-blue-400); box-shadow: 0 0 0 3px rgba(0, 76, 254, 0.12); }
.field input.err { border-color: var(--c-red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout .pay-status { text-align: center; font-size: 13px; color: var(--c-green); font-weight: 600; min-height: 20px; }
.checkout .co-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--c-text-3); padding: 0 20px 16px; }

/* developer visual: code shell + checkout side by side */
.dev-visual {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.8fr);
  gap: 24px; align-items: stretch; container-type: inline-size;
}
.dev-visual .checkout { max-width: none; margin: 0; display: flex; flex-direction: column; }
.dev-visual .checkout form { flex: 1; }
.dev-visual .checkout #coPay { margin-top: auto; }
.dev-visual .code-tabs { gap: 2px; }
.dev-visual .code-tab { padding: 7px 9px; font-size: 12.5px; }
.dev-visual .code-body pre { font-size: 12.5px; }
@container (max-width: 580px) {
  .dev-visual { grid-template-columns: 1fr; }
  .dev-visual .checkout { max-width: 400px; width: 100%; margin: 0 auto; }
}
.checkout .co-secure svg { width: 13px; height: 13px; }
.card-input-wrap { position: relative; }
.card-input-wrap .visa-badge {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-style: italic; font-weight: 900; color: #1a1f71; font-size: 12px; letter-spacing: -0.5px;
  background: #fff; border: 1px solid var(--c-border); padding: 1px 5px; border-radius: 4px;
}

/* ============================================================
   Tabs (solutions / code)
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px; border-radius: var(--r-full);
  border: 1px solid var(--c-border); background: #fff;
  font-weight: 600; font-size: 14.5px; color: var(--c-text-2);
  transition: all 0.18s ease;
}
.tab-btn:hover { border-color: var(--c-blue-400); color: var(--c-blue); }
.tab-btn.active { background: var(--c-blue); border-color: var(--c-blue); color: #fff; box-shadow: var(--shadow-blue); }
.tab-btn .tb-ic { width: 20px; height: 20px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Solution feature lists
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.sol-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 18px;
}
.sol-item .si-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--c-sky-soft); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; }
.sol-item .si-icon svg { width: 18px; height: 18px; }
.sol-item h4 { font-size: 15.5px; margin-bottom: 3px; }
.sol-item p { font-size: 13px; color: var(--c-text-2); }

/* ============================================================
   Dark stats banner
   ============================================================ */
.banner-stats {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 320px at 85% 20%, rgba(0, 76, 254, 0.3), transparent 60%),
    var(--c-navy-700);
  color: var(--c-text-inv);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.banner-stats .bs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.banner-stats .bs-head { text-align: center; margin-bottom: 26px; }
.banner-stats .bs-head h2 { font-size: clamp(18px, 2vw, 24px); color: #fff; }
.banner-stats .bs-head p { color: rgba(245,247,251,0.68); margin-top: 8px; }
.banner-stats .bs-num { font-size: 28px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.banner-stats .bs-label { color: rgba(245,247,251,0.68); margin-top: 4px; font-size: 14.5px; }
.banner-stats .bs-cell { text-align: center; }

/* ============================================================
   Security badges
   ============================================================ */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.badge-item {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 13px 20px; border-radius: var(--r-md);
  background: #fff; border: 1px solid var(--c-border);
  font-weight: 700; font-size: 14px; color: var(--c-text);
  box-shadow: var(--shadow-sm);
}
.badge-item .bi-icon { width: 34px; height: 34px; border-radius: 9px; background: var(--c-sky-soft); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; }
.badge-item .bi-icon svg { width: 17px; height: 17px; }
.badge-item small { display: block; font-weight: 500; color: var(--c-text-3); font-size: 11.5px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(0, 76, 254, 0.10), transparent 60%),
    var(--c-bg-blue);
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 36px 44px;
}
.cta-banner h2 { font-size: clamp(20px, 2.2vw, 26px); color: var(--c-navy-800); }
.cta-banner p { color: var(--c-text-2); margin-top: 10px; max-width: 560px; }
.cta-banner .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   Timeline (company)
   ============================================================ */
.timeline { position: relative; margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.timeline::before {
  content: ""; position: absolute; top: 12px; left: 8%; right: 8%; height: 2px;
  background-image: radial-gradient(circle, var(--c-blue-400) 1.5px, transparent 1.6px);
  background-size: 18px 2px; background-repeat: repeat-x;
}
.tl-item { position: relative; padding-top: 46px; }
.tl-dot {
  position: absolute; top: 5px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 4px solid var(--c-blue);
  box-shadow: 0 0 0 5px rgba(0, 76, 254, 0.15);
}
.tl-item:last-child .tl-dot { border-style: dashed; }
.tl-year { font-size: 20px; font-weight: 800; color: var(--c-blue); }
.tl-text { color: var(--c-text-2); font-size: 14.5px; margin-top: 8px; line-height: 1.7; }

/* ============================================================
   Location cards
   ============================================================ */
.loc-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.25s ease; }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.loc-img { position: relative; height: 150px; }
.loc-img .loc-tag {
  position: absolute; left: 14px; bottom: -18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--c-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-blue);
}
.loc-img .loc-tag svg { width: 17px; height: 17px; }
.loc-body { padding: 30px 18px 18px; }
.loc-body h4 { font-size: 17px; }
.loc-body p { font-size: 13.5px; color: var(--c-text-3); margin-top: 4px; }

/* City skyline illustrations */
.skyline { position: absolute; inset: 0; overflow: hidden; }
.skyline .sky { position: absolute; inset: 0; }
.skyline .sun { position: absolute; border-radius: 50%; background: #ffd9a0; box-shadow: 0 0 60px 18px rgba(255, 180, 90, 0.55); }
.skyline .bldg { position: absolute; bottom: 0; background: linear-gradient(180deg, rgba(23, 37, 84, 0.92), rgba(8, 14, 38, 0.95)); }
.skyline .bldg .win { position: absolute; background: rgba(255, 200, 120, 0.85); border-radius: 1px; }
.skyline .water { position: absolute; bottom: 0; left: 0; right: 0; height: 12%; background: linear-gradient(180deg, rgba(47, 129, 247, 0.35), rgba(2, 20, 60, 0.6)); }
.sky-hk .sky { background: linear-gradient(180deg, #1b2a52 0%, #27427a 55%, #b96a3f 100%); }
.sky-hk .sun { width: 60px; height: 60px; right: 24px; top: 20px; }
.sky-sh .sky { background: linear-gradient(180deg, #0f1e44 0%, #1d3a6e 60%, #7e4a8f 100%); }
.sky-sh .sun { width: 44px; height: 44px; left: 30px; top: 30px; opacity: 0.85; }
.sky-sz .sky { background: linear-gradient(180deg, #12264f 0%, #1f4d80 55%, #3fa0a8 100%); }
.sky-sz .sun { width: 52px; height: 52px; right: 40px; top: 12px; opacity: 0.9; }

/* ============================================================
   Ecosystem logo grid
   ============================================================ */
.eco-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 28px; }
.eco-cell {
  display: flex; align-items: center; justify-content: center; min-height: 54px;
  border: 1px solid var(--c-border); border-radius: 12px; background: #fff;
  color: var(--c-text-3); font-weight: 700; font-size: 14px; padding: 8px;
  transition: all 0.15s ease;
}
.eco-cell:hover { border-color: var(--c-blue-400); color: var(--c-blue); box-shadow: var(--shadow-sm); }
.eco-cell.eco-img { padding: 6px 10px; }
.eco-cell.eco-img img { height: 22px; max-width: 86px; object-fit: contain; display: block; filter: saturate(0.6); opacity: 0.9; transition: filter 0.2s ease, opacity 0.2s ease; }
.eco-cell.eco-img:hover img { filter: saturate(1); opacity: 1; }

/* ============================================================
   Resources page bits
   ============================================================ */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  padding: 8px 8px 8px 18px; margin-top: 30px; max-width: 620px;
  box-shadow: var(--shadow-sm);
}
.search-bar svg { width: 18px; height: 18px; color: var(--c-text-3); flex: none; }
.search-bar input { flex: 1; border: none; outline: none; font-size: 15px; font-family: inherit; color: var(--c-text); background: transparent; }
.search-bar button {
  background: var(--c-blue); color: #fff; border: none; border-radius: 10px;
  padding: 10px 22px; font-weight: 600; font-size: 14.5px; transition: background 0.2s ease;
}
.search-bar button:hover { background: var(--c-blue-600); }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 8px 16px; border-radius: var(--r-full); font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--c-border); background: #fff; color: var(--c-text-2); transition: all 0.15s ease;
}
.chip:hover { border-color: var(--c-blue-400); color: var(--c-blue); }
.chip.active { background: var(--c-navy-800); border-color: var(--c-navy-800); color: #fff; }

.article-card { display: flex; flex-direction: column; }
.article-thumb {
  position: relative; height: 120px; border-radius: 12px; margin-bottom: 16px; overflow: hidden;
}
.article-thumb .thumb-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(3, 7, 18, 0.75); color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-full); backdrop-filter: blur(4px);
}
.article-card h3 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.4; }
.article-card .meta { font-size: 12.5px; color: var(--c-text-3); display: flex; align-items: center; gap: 8px; }
.article-card .read { margin-top: auto; padding-top: 14px; }

/* gradient thumbs */
.thumb-grad { position: absolute; inset: 0; }
.thumb-grad::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(255,255,255,0.35), transparent 40%);
}
.thumb-1 { background: linear-gradient(135deg, #1d4ed8, #0b0f19); }
.thumb-2 { background: linear-gradient(135deg, #0e7490, #164e63); }
.thumb-3 { background: linear-gradient(135deg, #7c3aed, #1e1b4b); }
.thumb-4 { background: linear-gradient(135deg, #b91c1c, #450a0a); }
.thumb-5 { background: linear-gradient(135deg, #047857, #064e3b); }
.thumb-6 { background: linear-gradient(135deg, #b45309, #451a03); }

/* report card */
.report-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 20px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.report-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.report-cover { flex: none; width: 58px; height: 74px; border-radius: 9px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 11px; text-align: center; padding: 6px; }
.report-card h4 { font-size: 15.5px; }
.report-card .meta { font-size: 12.5px; color: var(--c-text-3); margin-top: 3px; }

/* newsletter */
.newsletter { display: flex; gap: 10px; max-width: 480px; margin-top: 26px; }
.newsletter input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--c-border); border-radius: 10px;
  font-size: 14.5px; font-family: inherit; outline: none; background: #fff;
}
.newsletter input:focus { border-color: var(--c-blue-400); box-shadow: 0 0 0 3px rgba(0,76,254,0.12); }
.newsletter .nl-msg { font-size: 13.5px; font-weight: 600; color: var(--c-green); margin-top: 10px; min-height: 20px; }

/* trust badges */
.trust-row { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin-top: 34px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text-2); font-size: 14.5px; font-weight: 600; }
.trust-item .ti-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--c-sky-soft); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; }
.trust-item .ti-icon svg { width: 18px; height: 18px; }

/* ============================================================
   Resources page
   ============================================================ */
.feat-grid { gap: 20px; }
.feat-desc { font-size: 13.5px; color: var(--c-text-2); line-height: 1.6; margin: 0 0 4px; }
.article-thumb .thumb-tag.tag-yellow { background: #f6c343; color: #3b2a00; }

/* browse by topic: 6-column grid */
.topic-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 30px; }
.topic-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 20px 18px; display: flex; flex-direction: column; gap: 4px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.topic-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.topic-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--c-sky-soft); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.topic-icon svg { width: 20px; height: 20px; }
.topic-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.topic-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.topic-card ul li { font-size: 13px; color: var(--c-text-2); padding-left: 12px; position: relative; }
.topic-card ul li::before { content: ""; position: absolute; left: 0; top: 7px; width: 4px; height: 4px; border-radius: 50%; background: var(--c-blue-400); }
.topic-card .card-link { margin-top: 14px; font-size: 13px; }

/* latest insights list */
.li-card {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 14px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.li-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.li-thumb {
  flex: none; width: 64px; height: 64px; border-radius: 10px; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.li-thumb svg { width: 26px; height: 26px; }
.thumb-g1 { background: linear-gradient(135deg, #2563eb, #1e3a8a); }
.thumb-g2 { background: linear-gradient(135deg, #8b5cf6, #4c1d95); }
.thumb-g3 { background: linear-gradient(135deg, #0d9488, #134e4a); }
.thumb-g4 { background: linear-gradient(135deg, #0891b2, #164e63); }
.thumb-g5 { background: linear-gradient(135deg, #f59e0b, #92400e); }
.thumb-g6 { background: linear-gradient(135deg, #64748b, #1e293b); }
.li-body { min-width: 0; flex: 1; }
.li-tags { display: flex; gap: 6px; margin-bottom: 4px; }
.li-tag { background: var(--c-sky-soft); color: var(--c-blue); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-full); }
.li-body h3 { font-size: 15.5px; line-height: 1.45; margin: 0 0 6px; }
.li-body h3 a { color: inherit; }
.li-body h3 a:hover { color: var(--c-blue); }
.li-body .meta { font-size: 12px; color: var(--c-text-3); display: flex; align-items: center; gap: 6px; }

/* resources hero map (light) */
.res-hero-map { display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.res-hero-map svg { width: min(560px, 100%); height: auto; }
.hero.hero-light .float-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 76, 254, 0.16);
  box-shadow: 0 18px 44px rgba(18, 52, 107, 0.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hero.hero-light .float-card .fc-label { color: var(--c-text-3); }
.hero.hero-light .float-card .fc-value { color: var(--c-navy-800); }

/* popular markets */
.mk-map {
  background: linear-gradient(180deg, #f0f6ff, #e6f0fe); border: 1px solid #d8e7fb;
  border-radius: var(--r-md); padding: 18px 14px 10px; margin-bottom: 16px;
}
.mk-map svg { display: block; width: 100%; height: auto; }
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mk-card {
  display: flex; gap: 12px; align-items: center; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 14px 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.mk-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mk-flag { font-size: 28px; line-height: 1; }
.mk-card h4 { font-size: 15px; margin-bottom: 3px; }
.mk-card p { font-size: 12px; color: var(--c-text-3); margin: 0; }

/* AI dark cards */
.ai-grid { gap: 20px; }
.res-ai-card {
  position: relative; border-radius: 14px; padding: 18px; min-height: 190px;
  background: linear-gradient(160deg, #0d1424, #0a0e1a); color: #fff;
  border: 1px solid rgba(125, 177, 247, 0.14); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.res-ai-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10, 14, 26, 0.28); }
.ai-visual { position: absolute; inset: 0; opacity: 0.55; }
.vis-1 { background: radial-gradient(circle at 80% 18%, rgba(37, 99, 235, 0.85), transparent 55%), linear-gradient(180deg, transparent 62%, #0a0e1a 92%); }
.vis-1::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 46%; background: repeating-linear-gradient(90deg, rgba(125,177,247,0.55) 0 2px, transparent 2px 14px); }
.vis-2 { background: radial-gradient(circle at 20% 25%, rgba(139, 92, 246, 0.7), transparent 50%), radial-gradient(circle at 85% 60%, rgba(59, 130, 246, 0.45), transparent 45%); }
.vis-2::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, transparent 0 12%, rgba(255,255,255,0.08) 13% 14%, transparent 15% 26%, rgba(255,255,255,0.08) 27% 28%, transparent 29% 42%, rgba(255,255,255,0.08) 43% 44%, transparent 45%); }
.vis-3 { background: radial-gradient(circle at 70% 25%, rgba(14, 165, 233, 0.6), transparent 55%), linear-gradient(180deg, transparent 55%, #0a0e1a 95%); }
.vis-3::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(125,177,247,0.5) 1px, transparent 1.5px); background-size: 22px 22px; opacity: 0.5; }
.vis-4 { background: radial-gradient(circle at 30% 20%, rgba(236, 72, 153, 0.55), transparent 48%), radial-gradient(circle at 75% 60%, rgba(59, 130, 246, 0.4), transparent 45%); }
.vis-4::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 75%, rgba(255,255,255,0.09) 0 26px, transparent 27px), radial-gradient(circle at 75% 30%, rgba(255,255,255,0.07) 0 18px, transparent 19px); }
.res-ai-card h3 { position: relative; z-index: 1; font-size: 17px; line-height: 1.4; }
.res-ai-card .meta { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255,255,255,0.72); }
.res-ai-card .meta svg { width: 14px; height: 14px; }

/* reports doc grid */
.doc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.doc-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 6px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.doc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.doc-icon { width: 44px; height: 52px; border-radius: 9px; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.doc-icon svg { width: 22px; height: 22px; }
.doc-blue { background: linear-gradient(135deg, #2563eb, #1e40af); }
.doc-green { background: linear-gradient(135deg, #059669, #065f46); }
.doc-orange { background: linear-gradient(135deg, #f59e0b, #b45309); }
.doc-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.doc-teal { background: linear-gradient(135deg, #0d9488, #115e59); }
.doc-pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.doc-card h4 { font-size: 14px; line-height: 1.45; margin: 0; }
.doc-card .meta { font-size: 12px; color: var(--c-text-3); }
.doc-card .card-link { margin-top: auto; padding-top: 10px; font-size: 13px; }

/* ============================================================
   Product showcase (products page)
   ============================================================ */
.showcase { display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.showcase.rev { direction: rtl; } .showcase.rev > * { direction: ltr; }
.showcase .sc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--c-blue); text-transform: uppercase; }
.showcase h2 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 14px; }
.showcase .sc-desc { color: var(--c-text-2); font-size: 16px; max-width: 480px; }
.showcase .sc-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 24px; }
.showcase .sc-feat { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--c-text); }
.showcase .sc-feat .ck { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-sky-soft); color: var(--c-blue); display: inline-flex; align-items: center; justify-content: center; }
.showcase .sc-feat .ck svg { width: 11px; height: 11px; }

/* --- explore-our-products: three design cards in one row (products page) --- */
.prod-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.prod-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--c-border); border-radius: var(--r-xl);
  background: #fff; padding: 26px 24px;
  box-shadow: 0 12px 34px rgba(18, 52, 107, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pc-head { display: flex; gap: 13px; align-items: flex-start; }
.pc-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.pc-ic svg { width: 21px; height: 21px; }
.pc-head h3 { font-size: 18px; color: var(--c-navy-800); margin: 2px 0 6px; line-height: 1.3; }
.pc-head p { font-size: 12.5px; line-height: 1.65; color: var(--c-text-2); margin: 0; }
.pc-form { flex: 1; margin-top: 22px; display: flex; flex-direction: column; }
.pc-sec { font-size: 12.5px; font-weight: 700; color: var(--c-text); margin-bottom: 10px; }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ov-cell { border: 1px solid var(--c-border); border-radius: 12px; padding: 11px 12px; }
.ov-label { display: block; font-size: 11px; color: var(--c-text-3); }
.ov-val { display: block; font-size: 13px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.2px; color: var(--c-navy-800); }
.ov-delta { display: block; font-size: 11px; font-weight: 700; color: var(--c-green); font-style: normal; margin-top: 2px; }
.ov-chart { height: 42px; margin-top: 8px; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.tx-table th { text-align: left; font-size: 11px; color: var(--c-text-3); font-weight: 600; padding: 6px 4px; border-bottom: 1px solid var(--c-border); }
.tx-table td { padding: 7px 4px; border-bottom: 1px solid #eef2f7; color: var(--c-text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-table tr:last-child td { border-bottom: 0; }
.tx-card { display: flex; align-items: center; gap: 5px; font-weight: 600; color: var(--c-text); }
.tx-card img { height: 12px; width: auto; }
.tx-ok { display: inline-block; background: #e8f7ee; color: #12a150; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.pc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--c-blue); font-size: 13.5px; font-weight: 600; }
.pc-link svg { width: 15px; height: 15px; }

/* local payments card form */
.pm-label { font-size: 12px; color: var(--c-text-2); font-weight: 600; margin-bottom: 8px; }
.pm-select {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--c-border); border-radius: 10px;
  padding: 10px 12px; font-size: 13.5px; font-weight: 600;
  background: var(--c-bg-soft);
}
.pm-flag { width: 24px; height: 16px; border-radius: 3px; flex: none; }
.pm-sg { font-size: 15px; }
.pm-caret { margin-left: auto; width: 14px; height: 14px; color: var(--c-text-3); }
.pm-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.pm-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--c-border); border-radius: 10px;
  padding: 9px 12px; background: var(--c-bg-soft);
  font-size: 13px; font-weight: 600;
}
.pm-item img { height: 15px; width: auto; }
.pm-item > span:nth-child(2) { flex: 1; }
.pm-badge { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex: none; }
.pm-badge.g { background: #06a77d; }
.pm-badge.p { background: #f466a5; }
.pm-reco { background: #e8f7ee; color: #12a150; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; flex: none; }
.pm-pay {
  margin-top: 14px; width: 100%; border: 0; border-radius: 10px;
  background: var(--c-blue); color: #fff; font-size: 14px; font-weight: 700;
  padding: 11px; cursor: pointer; font-family: inherit;
}

/* funds management card form */
.tf-box { border: 1px solid var(--c-border); border-radius: 12px; padding: 16px; background: var(--c-bg-soft); }
.tf-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--c-text-2); font-weight: 600; }
.tf-head i { font-style: normal; color: var(--c-text-3); font-weight: 500; }
.tf-total { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 14px; }
.tf-total b { font-size: 17px; font-weight: 800; color: var(--c-navy-800); font-variant-numeric: tabular-nums; letter-spacing: -0.3px; }
.tf-total em, .tf-row em { font-style: normal; font-weight: 700; color: var(--c-green); font-size: 11px; }
.tf-rows { display: flex; flex-direction: column; gap: 8px; }
.tf-row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: 10px; padding: 9px 11px; font-size: 12px;
}
.tf-flag { width: 22px; height: 15px; border-radius: 3px; flex: none; }
.tf-cur { flex: 1; font-weight: 700; color: var(--c-text); white-space: nowrap; }
.tf-cur i { font-style: normal; font-weight: 500; color: var(--c-text-3); margin-left: 4px; }
.tf-row b { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--c-navy-800); white-space: nowrap; }

/* capability features: 4 columns */
.cap-box {
  margin-top: 44px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--r-xl); padding: 30px 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cap-ic {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.cap-ic svg { width: 20px; height: 20px; }
.cap-cell h4 { font-size: 15.5px; margin: 12px 0 6px; color: var(--c-navy-800); }
.cap-cell p { font-size: 13px; line-height: 1.65; color: var(--c-text-2); margin: 0; }

/* product capability cards (light) */
.lc-grid { margin-top: 44px; }
.lcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl);
  padding: 28px 26px; box-shadow: 0 12px 34px rgba(18, 52, 107, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.lc-ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.lc-ic svg { width: 21px; height: 21px; }
.lcard h3 { font-size: 17.5px; margin: 16px 0 8px; color: var(--c-navy-800); line-height: 1.35; }
.lcard p { font-size: 13.5px; line-height: 1.7; color: var(--c-text-2); margin: 0; flex: 1; }
.lcard .pc-link { margin-top: 18px; }
.lc-tag {
  align-self: flex-start; color: var(--c-blue); font-size: 11px; font-weight: 800;
  letter-spacing: 0.4px; margin-bottom: 14px;
}

/* global acquiring showcase: promo + dashboard */
.prod-show {
  margin-top: 44px;
  display: grid; grid-template-columns: 330px 1fr; gap: 24px;
  align-items: stretch;
}
.sc-promo {
  background: linear-gradient(180deg, #eef5ff 0%, #fafcff 100%);
  border: 1px solid #dce9fc; border-radius: var(--r-xl);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.sc-tag {
  align-self: flex-start; background: #e2edff; color: var(--c-blue);
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  padding: 5px 13px; border-radius: 999px;
}
.sc-promo h3 { font-size: 23px; line-height: 1.32; margin: 18px 0 10px; color: var(--c-navy-800); letter-spacing: -0.3px; }
.sc-desc { font-size: 13.5px; line-height: 1.75; color: var(--c-text-2); margin: 0; }
.sc-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sc-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; font-weight: 600; color: var(--c-navy-800); line-height: 1.45; }
.sc-ok {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 1px;
}
.sc-ok svg { width: 11px; height: 11px; }
.sc-promo .pc-link { margin-top: 22px; }

.sc-dash {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl);
  box-shadow: 0 16px 44px rgba(18, 52, 107, 0.08);
  padding: 20px;
  display: flex; flex-direction: column;
}
.sd-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sd-bar b { font-size: 15.5px; color: var(--c-navy-800); }
.sd-filters { display: flex; gap: 8px; }
.sd-filter {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--c-border); border-radius: 8px;
  padding: 6px 10px; font-size: 12px; font-weight: 600; color: var(--c-text-2);
  background: #fff; white-space: nowrap;
}
.sd-filter svg { width: 12px; height: 12px; color: var(--c-text-3); }
.sd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sd-kpi {
  border: 1px solid var(--c-border); border-radius: 12px;
  padding: 13px 14px; background: var(--c-bg-soft);
  display: flex; flex-direction: column;
}
.sd-k-label { font-size: 11.5px; color: var(--c-text-2); }
.sd-k-val {
  font-size: 15.5px; font-weight: 800; color: var(--c-navy-800);
  margin: 7px 0 3px; font-variant-numeric: tabular-nums; letter-spacing: -0.3px;
}
.sd-k-delta { font-style: normal; font-weight: 700; font-size: 11px; color: var(--c-green); }
.sd-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.sd-chart {
  border: 1px solid var(--c-border); border-radius: 12px; padding: 14px;
  background: var(--c-bg-soft); min-width: 0;
}
.sd-c-head { font-size: 12.5px; font-weight: 700; color: var(--c-navy-800); margin-bottom: 10px; }
.sd-trend {
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: 1fr 16px;
  column-gap: 6px;
}
.sd-y {
  display: flex; flex-direction: column; justify-content: space-between;
  font-size: 9.5px; color: var(--c-text-3); text-align: right; padding: 2px 0;
  grid-row: 1;
}
.sd-plot { position: relative; grid-row: 1; grid-column: 2; }
.sd-line { height: 96px; }
.sd-tip {
  position: absolute; right: 6%; top: 6%; z-index: 2;
  background: var(--c-navy-800); color: #fff; border-radius: 8px;
  padding: 7px 10px; font-size: 10.5px; line-height: 1.55; text-align: left;
  box-shadow: 0 6px 16px rgba(18, 52, 107, 0.28);
  pointer-events: none;
}
.sd-tip b { display: block; font-weight: 700; }
.sd-tip span { color: #cfe0ff; }
.sd-x {
  display: flex; justify-content: space-between;
  font-size: 9.5px; color: var(--c-text-3);
  grid-row: 2; grid-column: 2; padding-top: 4px;
}
.sd-donut-wrap { display: flex; align-items: center; gap: 14px; }
.sd-donut { position: relative; width: 116px; height: 116px; flex: none; }
.sd-donut svg { width: 100%; height: 100%; transform: rotate(0deg); }
.sd-donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.sd-donut-center i { font-style: normal; font-size: 10.5px; color: var(--c-text-2); }
.sd-donut-center b { font-size: 13px; font-weight: 800; color: var(--c-navy-800); margin-top: 2px; }
.sd-legend { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sd-legend li { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--c-text-2); }
.sd-legend li span { flex: 1; font-weight: 600; color: var(--c-navy-800); }
.sd-legend li b { font-weight: 700; font-variant-numeric: tabular-nums; }
.sd-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sd-tx {
  margin-top: 12px; border: 1px solid var(--c-border); border-radius: 12px;
  padding: 14px; background: var(--c-bg-soft);
}
.sd-tx-scroll { overflow-x: auto; }
.sd-tx .pc-link { margin-top: 12px; }

/* local methods panel */
.local-panel { padding: 22px; }
.lp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.lp-head h4 { font-size: 16.5px; margin: 0 0 4px; }
.lp-head p { font-size: 13px; color: var(--c-text-3); margin: 0; max-width: 460px; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-method {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--c-border); border-radius: 12px; padding: 14px;
  background: var(--c-bg-soft); transition: all 0.15s ease;
}
.lp-method:hover { border-color: var(--c-blue-400); box-shadow: var(--shadow-sm); }
.lp-method img { height: 22px; width: auto; max-width: 48px; object-fit: contain; }
.lp-method .lp-text { font-weight: 800; color: var(--c-text-2); font-size: 15px; letter-spacing: -0.3px; }
.lp-method div { min-width: 0; flex: 1; }
.lp-method b { display: block; font-size: 14px; }
.lp-method div span { display: block; font-size: 11.5px; color: var(--c-text-3); }
.lp-method .badge-pill { flex: none; }

/* dark capability chips */
.chip-row-dark { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(245, 247, 251, 0.9); font-size: 14px; font-weight: 600;
  padding: 10px 20px; border-radius: var(--r-full);
  transition: all 0.18s ease;
}
.chip-dark:hover { border-color: rgba(77, 141, 255, 0.6); background: rgba(0, 76, 254, 0.18); }
.chip-dark .cd-ic {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: rgba(0, 76, 254, 0.35); color: #9cc0ff;
  display: inline-flex; align-items: center; justify-content: center;
}
.chip-dark .cd-ic svg { width: 14px; height: 14px; }

/* dark acquiring showcase */
.showcase-dark h2 { color: #fff; }
.showcase-dark .sc-desc { color: rgba(245, 247, 251, 0.72); }
.showcase-dark .sc-feat { color: rgba(245, 247, 251, 0.9); }
.showcase-dark .sc-feat .ck { background: rgba(0, 76, 254, 0.35); color: #9cc0ff; border: 1px solid rgba(77, 141, 255, 0.5); }
.showcase-dark .head-link { color: var(--c-sky); }

/* pipeline (unified platform) */
.pipe { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pipe-node {
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--c-border);
  background: #fff; font-size: 13.5px; font-weight: 600; color: var(--c-text); text-align: center;
}
.pipe-node.hl { background: var(--c-navy-800); color: #fff; border-color: var(--c-navy-800); }
.pipe-node .pn-sub { display: block; font-size: 11px; color: var(--c-text-3); font-weight: 500; }
.pipe-node.hl .pn-sub { color: rgba(245,247,251,0.6); }
.pipe-arrow { color: var(--c-blue); flex: none; }
.pipe-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--c-navy-900); color: rgba(245, 247, 251, 0.75); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 48px; padding-bottom: 36px; }.site-footer .brand-name { color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(245, 247, 251, 0.6); margin: 14px 0 20px; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14); color: rgba(245,247,251,0.8); transition: all 0.15s ease;
}
.footer-socials a:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
.footer-socials svg { width: 16px; height: 16px; }
.footer-col h5 { color: #fff; font-size: 14.5px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(245,247,251,0.65); transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact .fc-line { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; }
.footer-contact .fc-line svg { width: 15px; height: 15px; color: var(--c-sky); margin-top: 3px; flex: none; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; padding-bottom: 22px;
  font-size: 13.5px; color: rgba(245,247,251,0.55);
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .nav-links { gap: 0; }
  .nav-link { padding: 9px 9px; }
}
@media (max-width: 1060px) {
  .nav { gap: 14px; }
  .nav-link { padding: 9px 7px; font-size: 14px; }
  .nav-actions { gap: 8px; }
  .lang-switch { padding: 7px 9px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-login { display: none; }
  .banner-stats .bs-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; }
  .hero-visual { min-height: 420px; margin-top: 8px; }
  .split, .showcase { grid-template-columns: 1fr; gap: 40px; }
  .split.rev, .showcase.rev { direction: ltr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 7px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background-size: 2px 18px; }
  .tl-item { padding: 0 0 40px 40px; }
  .tl-dot { left: 0; }
  .cta-banner { padding: 40px 30px; }
}
@media (max-width: 720px) {
  .acq-bottom { grid-template-columns: 1fr; }
  .section { padding: 28px 0; }
  .grid-2, .grid-3, .sol-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .eco-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-checks { gap: 10px 18px; }
  .float-card { min-width: 148px; }
  .banner-stats .bs-num { font-size: 30px; }
  .showcase .sc-feats { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-row { gap: 14px 22px; }
}

/* products suite responsive */
@media (max-width: 1180px) {
  .prod-show { grid-template-columns: 300px 1fr; gap: 18px; }
  .sd-charts { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .prod-panels { grid-template-columns: 1fr; }
  .prod-card { padding: 26px 22px; }
  .cap-box { grid-template-columns: repeat(2, 1fr); }
  .prod-show { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sd-kpis { grid-template-columns: repeat(2, 1fr); }
  .sd-donut-wrap { flex-direction: column; align-items: flex-start; }
  .sd-legend { width: 100%; }
}
@media (max-width: 560px) {
  .sd-bar { flex-direction: column; align-items: flex-start; }
  .sd-filters { width: 100%; }
  .sd-filter { flex: 1; justify-content: center; }
}
@media (max-width: 720px) {
  .lp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cap-box { grid-template-columns: 1fr; }
  .cap-box { padding: 24px 20px; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-head { flex-direction: column; }
}

/* resources responsive */
@media (max-width: 1180px) {
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .mk-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mk-grid { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .li-card { flex-direction: column; }
  .li-thumb { width: 100%; height: 90px; }
}

/* ============================================================
   Solutions page (light hero + industry cards)
   ============================================================ */
.hero.hero-light {
  background:
    radial-gradient(900px 480px at 74% 22%, rgba(0, 76, 254, 0.09), transparent 60%),
    linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  color: var(--c-text);
}
.hero-light .hero-eyebrow { color: var(--c-blue); }
.hero-light .hero-eyebrow::before { background: var(--c-blue); }
.hero-light h1 { color: var(--c-navy-800); }
.hero-light h1 .hl { color: var(--c-blue); }
.hero-light .hero-sub { color: var(--c-text-2); }
.hero-light .hero-ctas .btn-outline {
  border-color: rgba(11, 15, 25, 0.22); color: var(--c-navy-800);
  background: transparent;
}
.hero-light .hero-ctas .btn-outline:hover {
  border-color: var(--c-blue); color: var(--c-blue); background: rgba(0, 76, 254, 0.05);
}
.sol-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.sol-map { position: relative; display: flex; align-items: center; justify-content: center; }
.sol-map img { width: 100%; max-width: 540px; height: auto; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* --- solution cards --- */
.solution-list { display: grid; gap: 22px; margin-top: 42px; }
.solution-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center; gap: 40px;
  padding: 34px 38px;
  border: 1px solid var(--c-border); border-radius: var(--r-xl);
  background: #fff; box-shadow: 0 12px 34px rgba(18, 52, 107, 0.05);
}
.solution-card.reverse { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
/* the gaming card is white like the others; only its checkout visual is dark (design mockup) */
.solution-card.dark-card { background: #fff; border-color: var(--c-border); }
.solution-card .pill {
  display: inline-flex; align-items: center;
  padding: 5px 14px; border-radius: var(--r-full);
  background: var(--c-sky-soft); color: var(--c-blue);
  border: 1px solid #cfe0ff;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.solution-card h3 { font-size: clamp(20px, 2.1vw, 25px); margin: 12px 0 10px; color: var(--c-navy-800); line-height: 1.25; }
.sol-desc { font-size: 14.5px; line-height: 1.7; color: var(--c-text-2); }
.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
  margin: 22px 0 0; padding: 0; list-style: none;
}
.check-grid li { position: relative; padding-left: 27px; font-size: 14px; font-weight: 500; color: var(--c-text); }
.check-grid li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--c-sky-soft);
}
.check-grid li::after {
  content: ""; position: absolute; left: 5px; top: 50%;
  width: 9px; height: 5px;
  border-left: 2px solid var(--c-blue); border-bottom: 2px solid var(--c-blue);
  transform: translateY(-62%) rotate(-45deg);
}
.solution-card.dark-card .sol-desc { color: var(--c-text-2); }
.sol-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px; font-weight: 600; font-size: 14.5px; color: var(--c-blue);
}
.sol-link:hover { text-decoration: underline; }

/* --- retail visual (dashboard mock + checkout) --- */
.retail-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.rdash { display: grid; gap: 14px; }
.mock-panel {
  background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  padding: 16px; box-shadow: var(--shadow-sm);
}
.mp-head { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 600; color: var(--c-text-2); }
.mp-ic {
  width: 26px; height: 26px; border-radius: 8px; flex: none;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.mp-ic svg { width: 14px; height: 14px; }
.mp-val { font-size: 19px; font-weight: 800; color: var(--c-navy-800); margin-top: 6px; font-variant-numeric: tabular-nums; }
.mp-badge {
  display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700;
  color: var(--c-green); background: var(--c-green-bg);
  padding: 2px 8px; border-radius: var(--r-full); vertical-align: 2px;
}
.mp-sub { font-size: 11.5px; color: var(--c-text-3); margin-top: 2px; }
.mock-panel .mini-chart { height: 26px; margin-top: 8px; }
.share-row {
  display: grid; grid-template-columns: 20px 1fr 44px;
  align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--c-text-2);
}
.share-row:first-of-type { margin-top: 12px; }
.share-row img { height: 13px; width: auto; }
.share-row .bar { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--c-blue-500), #a8c6ff); display: block; grid-column: 2; }
.share-row b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.checkout-panel {
  position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  padding: 16px; box-shadow: var(--shadow-md);
}
.co-head { font-weight: 700; font-size: 14px; color: var(--c-navy-800); }
.co-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--c-text-2); margin-top: 12px; }
.co-row b { color: var(--c-navy-800); font-weight: 700; }
.co-card { display: inline-flex; align-items: center; gap: 6px; color: var(--c-navy-800); font-weight: 600; }
.co-card::before {
  content: ""; width: 21px; height: 14px; border-radius: 3px; flex: none;
  background: linear-gradient(135deg, #1a1f71, #2f6fe4);
}
.co-opts { display: flex; gap: 8px; margin-top: 12px; }
.co-opt {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--c-border); border-radius: 8px; padding: 8px 4px;
  font-size: 11px; font-weight: 600; color: var(--c-text-2);
}
.co-opt img { height: 13px; }
.co-btn {
  width: 100%; margin-top: 12px; border: none; border-radius: 9px;
  background: var(--c-blue); color: #fff; padding: 10px; font-weight: 700; font-size: 13px;
}
.pos-wrap { position: relative; margin-top: 20px; padding-bottom: 40px; }
.pos-device {
  background: linear-gradient(160deg, #182038, #0b0f19);
  border-radius: 12px; padding: 12px 14px;
}
.pos-screen {
  background: #0d2233; border-radius: 7px; padding: 8px 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.pos-amt { color: #7ee0a0; font-weight: 700; font-size: 13px; font-family: var(--font-mono); }
.pos-status { color: #7db1f7; font-size: 9px; letter-spacing: 0.08em; font-weight: 700; }
.pos-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 9px; }
.pos-keypad i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.cc-blue {
  position: absolute; right: 14px; bottom: 0;
  width: 66px; height: 40px; border-radius: 7px;
  background: linear-gradient(135deg, #1a4ff0, #2f81f7);
  box-shadow: 0 10px 20px rgba(0, 76, 254, 0.35);
}
.cc-blue::before {
  content: ""; position: absolute; left: 7px; top: 15px;
  width: 13px; height: 9px; border-radius: 2px; background: rgba(255, 255, 255, 0.85);
}

/* --- gaming checkout (dark) --- */
.game-checkout {
  background:
    radial-gradient(380px 240px at 82% 8%, rgba(98, 61, 255, 0.5), transparent 60%),
    linear-gradient(160deg, #121a3d, #0a0f26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px; padding: 20px; color: #fff;
}
.gc-head { display: flex; align-items: center; justify-content: space-between; }
.gc-head b { font-size: 15px; }
.gc-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; color: #7ee0a0; letter-spacing: 0.06em;
}
.gc-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}
.gc-bal {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; background: rgba(255, 255, 255, 0.06);
  border-radius: 10px; padding: 12px 14px;
}
.gc-bal span { font-size: 11.5px; color: rgba(245, 247, 251, 0.6); }
.gc-bal b { font-size: 13.5px; font-weight: 700; }
.gc-bal em { font-style: normal; font-weight: 500; font-size: 11px; color: rgba(245, 247, 251, 0.6); }
.coin-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.coin {
  position: relative; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 10px;
  padding: 10px 4px; text-align: center; background: rgba(255, 255, 255, 0.04);
}
.coin b { display: block; font-size: 12.5px; }
.coin span { display: block; font-size: 9.5px; color: rgba(245, 247, 251, 0.55); margin-top: 2px; }
.coin.sel { border-color: #8b5cf6; background: rgba(139, 92, 246, 0.16); box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.5); }
.coin .hot {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%);
  background: #8b5cf6; color: #fff; font-size: 9px; font-weight: 700;
  border-radius: 999px; padding: 1px 7px; white-space: nowrap;
}
.gc-label { font-size: 11.5px; color: rgba(245, 247, 251, 0.6); margin-top: 14px; }
.gc-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.gc-m {
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 9px; padding: 9px;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.04);
}
.gc-m img { height: 14px; }
.gc-pay {
  width: 100%; margin-top: 12px; padding: 11px; border: none; border-radius: 9px;
  background: linear-gradient(135deg, #8b5cf6, #6d3ff0); color: #fff;
  font-weight: 700; font-size: 13.5px;
}
.gc-success {
  margin-top: 12px; display: flex; align-items: center; gap: 10px;
  background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 10px; padding: 12px;
}
.gc-success .ok {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: #22c55e; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.gc-success .ok svg { width: 15px; height: 15px; }
.gc-success b { font-size: 13px; display: block; }
.gc-success span { font-size: 11px; color: rgba(245, 247, 251, 0.62); }

/* --- AI dashboard mock --- */
.ai-dash {
  background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
  padding: 16px; box-shadow: var(--shadow-md);
}
.ai-head { display: flex; align-items: center; justify-content: space-between; }
.ai-head b { font-size: 13.5px; color: var(--c-navy-800); }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.ai-card {
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 10px 12px;
}
.ai-card span { display: block; font-size: 10.5px; color: var(--c-text-3); font-weight: 600; }
.ai-card b { display: block; font-size: 13.5px; color: var(--c-navy-800); margin-top: 3px; font-variant-numeric: tabular-nums; }
.ai-card small { display: block; font-size: 10px; color: var(--c-text-3); margin-top: 1px; }
.ai-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-top: 12px; }
.ai-box {
  background: var(--c-bg-soft); border: 1px solid var(--c-border);
  border-radius: 10px; padding: 12px;
}
.ai-box h5 { font-size: 12px; color: var(--c-text-2); margin-bottom: 8px; }
.ai-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.ai-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--c-blue-400), var(--c-blue)); }
.ai-bill-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; padding: 6px 0; border-bottom: 1px dashed var(--c-border);
}
.ai-bill-row:last-child { border-bottom: 0; }
.ai-bill-row b { font-weight: 700; color: var(--c-navy-800); }
.badge-paid {
  font-size: 10px; font-weight: 700; color: var(--c-green);
  background: var(--c-green-bg); padding: 2px 8px; border-radius: 999px;
}

/* --- dashboard screenshot --- */
.dash-shot {
  border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--c-border); box-shadow: var(--shadow-lg);
}
.dash-shot img { width: 100%; height: auto; display: block; }

/* --- dark stats banner --- */
.stats-banner {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background:
    radial-gradient(720px 300px at 82% 30%, rgba(0, 76, 254, 0.35), transparent 60%),
    linear-gradient(120deg, #031331, #001b4b);
  color: #fff; padding: 34px 40px;
}
.sb-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sb-cell {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px 20px; border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.sb-cell:first-child { border-left: 0; }
.sb-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(0, 76, 254, 0.35); border: 1px solid rgba(125, 177, 247, 0.4);
  color: #9cc0ff; display: inline-flex; align-items: center; justify-content: center;
}
.sb-ic svg { width: 21px; height: 21px; }
.sb-num { font-size: 26px; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.sb-label { font-size: 13px; color: rgba(245, 247, 251, 0.7); margin-top: 3px; }

/* --- security split --- */
.sec-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.sec-badges {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.sec-badge { display: flex; align-items: center; gap: 12px; }
.sec-badge .bi-icon {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--c-sky-soft); color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.sec-badge .bi-icon svg { width: 18px; height: 18px; }
.sec-badge b { display: block; font-size: 14px; color: var(--c-navy-800); }
.sec-badge small { font-size: 11.5px; color: var(--c-text-3); }

/* --- products: funds dashboard (suite) --- */
.sdash-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: 22px 26px; container-type: inline-size;
}
.sdash-col { min-width: 0; }
.sdash-title { font-size: 13px; font-weight: 700; color: var(--c-text); margin-bottom: 14px; }
.sdash-method {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--c-border); border-radius: 10px;
  background: var(--c-bg-soft); font-size: 13.5px; margin-top: 8px;
}
.sdash-method img { height: 16px; width: auto; }
.sdash-method span { font-weight: 600; color: var(--c-text); flex: none; }
.sdash-method b { font-weight: 500; color: var(--c-text-3); font-family: var(--font-mono); font-size: 12.5px; }
.sdash-method .badge-pill { margin-left: auto; }
.sdash-cur { display: flex; align-items: center; gap: 12px; margin-top: 9px; font-size: 13px; }
.sdash-cur span { width: 42px; font-weight: 700; color: var(--c-navy-800); flex: none; }
.sdash-cur b { font-weight: 700; color: var(--c-text-2); font-variant-numeric: tabular-nums; width: 118px; flex: none; text-align: right; }
.sdash-cur i { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c-blue-500), #a8c6ff); }
@container (max-width: 460px) {
  .sdash-body { grid-template-columns: 1fr; }
}

/* --- products: acquiring showcase dashboard --- */
.acq-bottom { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; margin-top: 14px; }
.share-panel { background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: 12px; padding: 14px; }
.share-panel .share-row { margin-top: 12px; }

/* --- products: dark capability cards --- */
.dcard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg); padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.dcard:hover { transform: translateY(-4px); border-color: rgba(77, 141, 255, 0.5); background: rgba(255, 255, 255, 0.06); }
.dcard-ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(0, 76, 254, 0.3); color: var(--c-sky);
  display: inline-flex; align-items: center; justify-content: center;
}
.dcard-ic svg { width: 21px; height: 21px; }
.dcard h3 { color: #fff; font-size: 18px; margin: 16px 0 8px; }
.dcard p { color: rgba(245, 247, 251, 0.7); font-size: 14.5px; line-height: 1.65; }
.dcard-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--c-sky);
}
.dcard-link:hover { text-decoration: underline; }
.dcard-link svg { width: 14px; height: 14px; }

/* --- dark CTA --- */
.cta-banner.cta-dark {
  background:
    radial-gradient(620px 280px at 80% 15%, rgba(0, 76, 254, 0.42), transparent 60%),
    linear-gradient(120deg, #020b22, #001b4b);
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-banner.cta-dark h2 { color: #fff; }
.cta-banner.cta-dark p { color: rgba(245, 247, 251, 0.72); }

/* --- solutions responsive --- */
@media (max-width: 900px) {
  .sol-hero { grid-template-columns: 1fr; gap: 36px; }
  .solution-card, .solution-card.reverse { grid-template-columns: 1fr; }
  .sec-split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .stats-banner { padding: 26px 24px; }
  .sb-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .sb-cell:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .solution-card { padding: 24px 20px; gap: 28px; }
  .retail-visual { grid-template-columns: 1fr; }
  .sec-badges { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Integration docs page (docs.html) — doc-center style
   ============================================================ */
.docs-wrap {
  max-width: 1560px; margin: 0 auto; padding: 28px 24px 80px;
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start;
}
.docs-side { position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow-y: auto; }
.docs-side::-webkit-scrollbar { width: 5px; }
.docs-side::-webkit-scrollbar-thumb { background: #dbe2ee; border-radius: 4px; }
.docs-toc {
  border: 1px solid #e6ebf4; border-radius: 14px; background: #fff;
  padding: 16px 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.docs-toc-head { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14.5px; color: var(--c-navy-900); padding: 2px 8px 14px; border-bottom: 1px solid #eef1f7; }
.docs-toc-head svg { width: 17px; height: 17px; color: var(--c-blue); }
.docs-toc-group { padding: 14px 0 2px; }
.docs-toc-gtitle { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8; margin: 0 8px 8px; }
.docs-toc-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 1px 0;
  border-radius: 9px; color: #475569; font-size: 13.5px; font-weight: 500; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.docs-toc-item:hover { background: #f1f5fb; color: var(--c-navy-900); }
.docs-toc-item.active { background: #e8f0ff; color: var(--c-blue); font-weight: 600; }
.dti-num {
  width: 22px; height: 22px; flex: none; border-radius: 7px;
  background: #eef2f9; color: #64748b; font-size: 11.5px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.docs-toc-item.active .dti-num { background: var(--c-blue); color: #fff; }
.docs-toc-foot { margin-top: 12px; padding: 12px 8px 4px; border-top: 1px solid #eef1f7; }
.docs-toc-foot a {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--c-blue);
  text-decoration: none; padding: 6px 2px;
}
.docs-toc-foot a:hover { color: var(--c-blue-600); }
.docs-toc-foot svg { width: 16px; height: 16px; }
.docs-toc-sub {
  padding: 2px 0 8px; margin: 0 0 4px 14px;
  border-left: 2px solid #eef1f7;
}
.docs-toc-subitem {
  display: flex; align-items: center; gap: 9px; padding: 6px 10px; margin: 1px 0 1px 6px;
  border-radius: 8px; color: #64748b; font-size: 12.5px; font-weight: 500; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.docs-toc-subitem:hover { background: #f1f5fb; color: var(--c-navy-900); }
.docs-toc-subitem.active { background: #e8f0ff; color: var(--c-blue); font-weight: 600; }
.dts-dot { width: 5px; height: 5px; flex: none; border-radius: 50%; background: #cbd5e1; }
.docs-toc-subitem.active .dts-dot { background: var(--c-blue); }

.docs-main {
  min-width: 0;
  background: #fff; border: 1px solid #e6ebf4; border-radius: 12px;
  padding: 30px 34px;
}
.docs-page-head { border-bottom: 1px solid #eef1f7; padding-bottom: 22px; margin-bottom: 28px; }
.docs-crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #94a3b8; margin-bottom: 10px; }
.docs-crumb a { color: var(--c-blue); text-decoration: none; }
.docs-crumb a:hover { color: var(--c-blue-600); }
.docs-crumb span { color: #cbd5e1; }
.docs-page-head h1 { font-size: 26px; line-height: 1.3; color: var(--c-navy-900); margin: 0 0 8px; letter-spacing: -0.01em; }
.docs-page-head h1 .hl { color: var(--c-blue); }
.docs-page-head p { font-size: 14px; line-height: 1.75; color: #64748b; margin: 0; }
.doc-section { display: none; scroll-margin-top: 82px; }
.doc-section.active { display: block; animation: docFade 0.3s ease; }
@keyframes docFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.doc-h2 { display: flex; align-items: center; gap: 14px; font-size: 26px; line-height: 1.25; color: var(--c-navy-900); margin: 0 0 16px; letter-spacing: -0.01em; }
.doc-h2-num {
  font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: #fff;
  background: var(--c-blue); border-radius: 9px; padding: 4px 9px; flex: none;
}
.doc-h3 { font-size: 17.5px; font-weight: 700; color: var(--c-navy-900); margin: 34px 0 12px; }
.doc-h4 { font-size: 15px; font-weight: 700; color: var(--c-navy-900); margin: 26px 0 10px; }
.doc-subdoc { margin-top: 16px; padding-top: 26px; border-top: 1px solid var(--c-border); scroll-margin-top: 82px; }
.doc-subdoc > .doc-h3:first-child { margin-top: 0; }
.wh-req {
  display: inline-block; font-size: 11.5px; font-weight: 700; color: #b91c1c;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 5px; padding: 2px 8px;
  white-space: nowrap;
}
.wh-opt {
  display: inline-block; font-size: 11.5px; font-weight: 600; color: #64748b;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 5px; padding: 2px 8px;
  white-space: nowrap;
}
.doc-h2 + .doc-p, .doc-h2 + .doc-callout { margin-top: 4px; }
.doc-p { font-size: 14.5px; line-height: 1.8; color: #475569; margin: 10px 0; }
.doc-p-note { font-size: 13px; color: #94a3b8; }

.doc-steps { margin: 12px 0 4px; padding-left: 20px; }
.doc-steps li { font-size: 14.5px; line-height: 1.8; color: #475569; margin: 6px 0; }
.doc-steps li::marker { color: var(--c-blue); font-weight: 700; }
.doc-steps-flow { list-style: none; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-steps-flow li {
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 12px; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.doc-steps-flow li b { color: var(--c-navy-900); font-size: 14.5px; }
.doc-steps-flow li span { font-size: 13px; line-height: 1.65; color: #64748b; }

.doc-callout {
  display: flex; gap: 13px; align-items: flex-start;
  border-radius: 12px; padding: 14px 16px; margin: 18px 0;
}
.doc-callout b { font-size: 14px; color: inherit; display: block; margin-bottom: 3px; }
.doc-callout p { font-size: 13.5px; line-height: 1.7; margin: 0; }
.doc-callout .dc-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.doc-callout .dc-ic svg { width: 16px; height: 16px; }
.doc-callout-info { background: #eef5ff; border: 1px solid #d3e4ff; color: #1d4ed8; }
.doc-callout-info .dc-ic { background: #d9e8ff; }
.doc-callout-warn { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }
.doc-callout-warn .dc-ic { background: #fef3c7; }

.doc-code {
  background: #0d1117; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px;
  overflow: hidden; margin: 14px 0 18px;
}
.doc-code-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.doc-code-title {
  font-family: var(--font-mono); font-size: 12.5px; color: #8b949e;
  display: flex; align-items: center; gap: 8px;
}
.doc-code-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fb950; box-shadow: 12px 0 0 #d29922, 24px 0 0 #f85149;
}
.doc-copy {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9d1d9; font-size: 12px; font-weight: 600; border-radius: 7px; padding: 5px 12px; cursor: pointer;
  transition: background 0.15s ease;
}
.doc-copy:hover { background: rgba(255, 255, 255, 0.14); }
.doc-code-pane {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7; color: #c9d1d9;
}

.doc-shot { margin: 16px 0 6px; }
.doc-shot img {
  display: block; width: 100%; border-radius: 10px;
  border: 1px solid #e6ebf4; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}
.doc-shot figcaption {
  font-size: 12.5px; color: #94a3b8; text-align: center; margin-top: 8px;
}

.doc-env-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 12px 0 4px; }
.doc-env {
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 12px; padding: 16px 18px;
}
.doc-env code { display: inline-block; font-family: var(--font-mono); font-size: 13px; color: var(--c-blue); font-weight: 600; margin: 6px 0 4px; }
.doc-env p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.6; }
.de-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  border-radius: 5px; padding: 2px 8px; text-transform: uppercase;
}
.de-tag-sand { background: #e0f2fe; color: #0369a1; }
.de-tag-prod { background: #dcfce7; color: #15803d; }

.doc-table-wrap { overflow-x: auto; border: 1px solid #e6ebf4; border-radius: 12px; margin: 12px 0 6px; }
.doc-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.doc-table th {
  text-align: left; font-size: 12.5px; font-weight: 700; color: #64748b; letter-spacing: 0.04em;
  background: #f8fafd; padding: 11px 16px; border-bottom: 1px solid #e6ebf4;
}
.doc-table td { font-size: 13.5px; color: #475569; padding: 11px 16px; border-bottom: 1px solid #f0f3f9; }
.doc-table tr:last-child td { border-bottom: none; }
.doc-table code {
  font-family: var(--font-mono); font-size: 12.5px; background: #f1f5fb; color: var(--c-navy-900);
  border-radius: 6px; padding: 2px 8px; white-space: nowrap;
}
.doc-table-api td:last-child { color: #334155; }
.http-method {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  border-radius: 5px; padding: 2px 8px; letter-spacing: 0.03em;
}
.http-post { background: #dbeafe; color: #1d4ed8; }
.http-get { background: #dcfce7; color: #15803d; }

.doc-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 4px; }
.doc-link {
  display: inline-flex; align-items: center; gap: 9px;
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 10px;
  color: var(--c-navy-900); font-size: 13.5px; font-weight: 600; text-decoration: none;
  padding: 11px 16px; transition: border-color 0.15s ease, color 0.15s ease;
}
.doc-link:hover { border-color: var(--c-blue); color: var(--c-blue); }
.doc-link svg { width: 17px; height: 17px; color: var(--c-blue); }
.doc-link-inline { background: transparent; border: none; padding: 8px 0; color: var(--c-blue); }

.doc-status-flow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 12px; padding: 18px;
}
.ds-node {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: #475569;
  background: #fff; border: 1px solid #dbe2ee; border-radius: 8px; padding: 7px 13px;
}
.ds-node-ok { color: #15803d; border-color: #bbf7d0; background: #f0fdf4; }
.ds-node-err { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }
.ds-arrow { color: #94a3b8; font-size: 14px; }
.ds-branch { color: #cbd5e1; font-size: 14px; padding: 0 2px; }

/* Server API flow diagram (Mermaid) */
.doc-flowchart {
  background: #fff; border: 1px solid #e6ebf4; border-radius: 14px;
  padding: 18px 16px; margin: 14px 0 20px; overflow-x: auto;
}
.doc-flowchart .mermaid { display: flex; justify-content: center; }
.doc-flowchart svg { max-width: 100%; height: auto; }
@media (max-width: 720px) {
  .doc-flowchart .mermaid { justify-content: flex-start; min-width: 640px; }
}
.doc-flowchart svg a:hover { opacity: .85; }
.doc-flowchart svg .clickable { cursor: pointer; }
.mf-badge {
  display: inline-flex; width: 18px; height: 18px; border-radius: 50%;
  background: #2563eb; color: #fff; font-size: 11px; font-weight: 700;
  align-items: center; justify-content: center; margin-right: 6px;
  vertical-align: middle; line-height: 1;
}
.mf-ep { font-family: var(--font-mono); font-size: 11px; color: #475569; }
.mf-error { color: #b91c1c; font-size: 13px; }
.doc-events { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 6px; }
.doc-event {
  font-family: var(--font-mono); font-size: 12px; color: #334155;
  background: #f1f5fb; border: 1px solid #e2e8f0; border-radius: 7px; padding: 5px 11px;
}

.wh-acc { border: 1px solid #e6ebf4; border-radius: 12px; margin: 12px 0; background: #fff; overflow: hidden; }
.wh-acc-head {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: #f8fafd; border: none; cursor: pointer; text-align: left; font: inherit;
}
.wh-acc-head:hover { background: #f1f5fb; }
.wh-acc-type {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--c-blue);
  background: #e8f0ff; border-radius: 6px; padding: 4px 9px; flex-shrink: 0;
}
.wh-acc-title { font-size: 14.5px; font-weight: 700; color: var(--c-navy-900); white-space: nowrap; }
.wh-acc-obj { margin-left: auto; font-size: 12px; color: #64748b; white-space: nowrap; }
.wh-acc-obj code {
  font-family: var(--font-mono); font-size: 11.5px; color: #475569;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 5px; padding: 2px 6px;
}
.wh-acc-chev { width: 18px; height: 18px; color: #94a3b8; flex-shrink: 0; transition: transform 0.2s; }
.wh-acc.open .wh-acc-chev { transform: rotate(180deg); }
.wh-acc-body { display: none; padding: 6px 18px 18px; border-top: 1px solid #eef2f8; }
.wh-acc.open .wh-acc-body { display: block; }
.wh-acc-events { margin: 6px 0 14px; }
.wh-acc-events b { font-size: 12.5px; color: #334155; display: block; margin-bottom: 2px; }

.doc-sdk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 14px 0 6px; }
.doc-sdk {
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 12px; padding: 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.dsdk-ic {
  width: 38px; height: 38px; border-radius: 10px; background: #e8f0ff; color: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.dsdk-ic svg { width: 20px; height: 20px; }
.doc-sdk h4 { font-size: 15px; font-weight: 700; color: var(--c-navy-900); margin: 0; }
.doc-sdk p { font-size: 13px; line-height: 1.65; color: #64748b; margin: 0; }
.doc-sdk code {
  font-family: var(--font-mono); font-size: 11.5px; color: #1d4ed8; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 7px; padding: 5px 9px; margin-top: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.doc-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #eef1f7; }
.doc-nav a {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 10px; padding: 11px 15px;
  color: var(--c-navy-900); font-size: 13px; font-weight: 600; transition: border-color 0.15s ease;
}
.doc-nav a:hover { border-color: var(--c-blue); }
.doc-nav svg { width: 16px; height: 16px; color: var(--c-blue); }
.doc-nav span { font-size: 11.5px; color: #94a3b8; display: block; font-weight: 600; }
.doc-nav b { display: block; font-size: 13.5px; color: var(--c-navy-900); }
.doc-nav-next { flex-direction: row-reverse; text-align: right; }

@media (max-width: 980px) {
  .docs-wrap { grid-template-columns: 1fr; gap: 24px; padding: 20px 16px 64px; }
  .docs-side { position: static; max-height: none; overflow: visible; }
  .docs-main { padding: 24px 20px; }
  .docs-toc { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; padding: 12px; }
  .docs-toc-head { display: none; }
  .docs-toc-group { display: contents; }
  .docs-toc-gtitle { display: none; }
  .docs-toc-item { padding: 7px 11px; margin: 0; font-size: 12.5px; }
  .docs-toc-item .dti-num { display: none; }
  .docs-toc-foot { display: none; }
  .doc-sdk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .docs-main { padding: 22px 18px; }
  .docs-page-head h1 { font-size: 22px; }
  .doc-steps-flow { grid-template-columns: 1fr; }
  .doc-env-grid { grid-template-columns: 1fr; }
  .doc-sdk-grid { grid-template-columns: 1fr; }
  .doc-nav { flex-direction: column; }
  .doc-nav-next { flex-direction: row; text-align: left; }
}

/* ============================================================
/* ============================================================
   Doc Center (api-ref.html) — standalone doc-center style
   ============================================================ */
.dchd {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid #e6ebf4;
}
.dchd-inner {
  max-width: 1560px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; gap: 18px;
}
.dchd-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.dchd-mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.dchd-mark svg { width: 17px; height: 17px; }
.dchd-name { font-size: 18px; font-weight: 800; color: var(--c-navy-900); letter-spacing: -0.01em; }
.dchd-sep { width: 1px; height: 20px; background: #dbe2ee; }
.dchd-title { font-size: 15px; font-weight: 600; color: #64748b; }
.dchd-search {
  flex: 1; max-width: 420px; margin-left: 8px;
  display: flex; align-items: center; gap: 8px;
  background: #f1f5fb; border: 1px solid transparent; border-radius: 8px;
  padding: 0 12px; height: 36px; transition: border-color 0.15s ease, background 0.15s ease;
}
.dchd-search:focus-within { border-color: var(--c-blue); background: #fff; }
.dchd-search svg { width: 15px; height: 15px; color: #94a3b8; flex: none; }
.dchd-search input { border: none; outline: none; background: transparent; width: 100%; font-size: 13.5px; color: var(--c-navy-900); }
.dchd-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.dchd-guide, .dchd-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: #475569; text-decoration: none;
  transition: color 0.14s ease;
}
.dchd-guide:hover, .dchd-back:hover { color: var(--c-blue); }
.dchd-guide svg { width: 16px; height: 16px; }
.dchd-back { color: var(--c-blue); }
.dchd-lang {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #475569; cursor: pointer;
  background: #fff; border: 1px solid #dbe2ee; border-radius: 8px; padding: 7px 12px;
  transition: border-color 0.14s ease, color 0.14s ease;
}
.dchd-lang:hover { border-color: var(--c-blue); color: var(--c-blue); }
.dchd-lang svg { width: 15px; height: 15px; }

/* ---------- Doc center layout ---------- */
.dcd {
  max-width: 1560px; margin: 0 auto; padding: 28px 24px 80px;
  display: grid; grid-template-columns: 280px minmax(0, 1fr) 430px; gap: 26px; align-items: start;
  min-height: calc(100vh - 60px);
}

/* ---------- Sidebar ---------- */
.dcd-side { position: sticky; top: 88px; max-height: calc(100vh - 108px); display: flex; flex-direction: column; }
.dcd-side-search {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #dbe2ee; border-radius: 9px;
  padding: 0 12px; height: 38px; margin-bottom: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.dcd-side-search:focus-within { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(0, 76, 254, 0.1); }
.dcd-side-search svg { width: 15px; height: 15px; color: #94a3b8; flex: none; }
.dcd-side-search input { border: none; outline: none; background: transparent; width: 100%; font-size: 13px; color: var(--c-navy-900); }
.dcd-side-nav { overflow-y: auto; padding-right: 4px; flex: 1; }
.dcd-side-nav::-webkit-scrollbar { width: 5px; }
.dcd-side-nav::-webkit-scrollbar-thumb { background: #dbe2ee; border-radius: 4px; }

.dcd-menu-group { margin-bottom: 4px; }
.dcd-menu-special { padding: 6px 0; border-bottom: 1px solid #eef1f7; margin-bottom: 10px; }
.dcd-nav-link {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; margin: 1px 0; border-radius: 8px;
  color: #475569; font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}
.dcd-nav-link:hover { background: #f1f5fb; color: var(--c-navy-900); }
.dcd-nav-link svg { width: 15px; height: 15px; color: var(--c-blue); flex: none; }
.dcd-menu-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; margin: 6px 0 2px;
  background: transparent; border: none; cursor: pointer;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #94a3b8;
}
.dcd-menu-head svg { width: 15px; height: 15px; transition: transform 0.18s ease; }
.dcd-menu-head[aria-expanded="true"] svg { transform: rotate(180deg); }
.dcd-menu-head:hover { color: #64748b; }
.dcd-menu-body { display: none; padding: 2px 0 6px; }
.dcd-menu-body.open { display: block; }
.dcd-nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; margin: 1px 0; border-radius: 8px;
  color: #475569; font-size: 13px; font-weight: 500; text-decoration: none;
  transition: background 0.14s ease, color 0.14s ease;
}
.dcd-nav-item:hover { background: #f1f5fb; color: var(--c-navy-900); }
.dcd-nav-item.active { background: #e8f0ff; color: var(--c-blue); font-weight: 600; }
.dcd-nav-item .http-method { flex: none; min-width: 44px; text-align: center; }
.dcd-side-empty { font-size: 13px; color: #94a3b8; text-align: center; padding: 18px 8px; }

/* ---------- Center ---------- */
.dcd-center { background: #fff; border: 1px solid #e6ebf4; border-radius: 12px; padding: 30px 34px; min-width: 0; }
.dcd-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #94a3b8; margin-bottom: 12px; }
.dcd-breadcrumb a { color: var(--c-blue); text-decoration: none; }
.dcd-breadcrumb b { color: #334155; font-weight: 600; }
.dcd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dcd-head h1 { font-size: 25px; line-height: 1.25; color: var(--c-navy-900); margin: 0; letter-spacing: -0.01em; }
.dcd-copy-page {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 600; color: #475569; cursor: pointer;
  background: #fff; border: 1px solid #dbe2ee; border-radius: 8px; padding: 7px 12px;
  transition: border-color 0.14s ease, color 0.14s ease;
}
.dcd-copy-page:hover { border-color: var(--c-blue); color: var(--c-blue); }
.dcd-desc { font-size: 14px; line-height: 1.8; color: #475569; margin: 14px 0 20px; }

.dcd-endpoint {
  display: flex; align-items: center; gap: 12px;
  background: #f8fafd; border: 1px solid #e6ebf4; border-radius: 10px; padding: 14px 16px;
}
.dcd-endpoint code {
  font-family: var(--font-mono); font-size: 14.5px; color: var(--c-navy-900); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dcd-path-var { color: var(--c-blue); }
.dcd-endpoint-spacer { flex: 1; }
.dcd-try {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  background: var(--c-blue); color: #fff; text-decoration: none;
  font-size: 12.5px; font-weight: 700; border-radius: 8px; padding: 8px 14px;
  transition: background 0.14s ease;
}
.dcd-try:hover { background: var(--c-blue-600); }
.dcd-try svg { width: 14px; height: 14px; }

.dcd-section { margin-top: 32px; }
.dcd-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dcd-sec-title { font-size: 16px; font-weight: 700; color: var(--c-navy-900); margin: 0 0 6px; }
.dcd-mediatype { font-size: 12px; color: #94a3b8; font-family: var(--font-mono); }
.dcd-params { border-top: 1px solid #eef1f7; }
.dcd-param { padding: 13px 14px; border-bottom: 1px solid #eef1f7; }
.dcd-param:last-child { border-bottom: none; }
.dcd-param-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.dcd-pname { font-family: var(--font-mono); font-size: 13.5px; color: var(--c-blue); font-weight: 700; }
.dcd-ptype { font-family: var(--font-mono); font-size: 12px; color: #94a3b8; }
.dcd-ploc { font-size: 11.5px; color: #64748b; background: #f1f5fb; border-radius: 5px; padding: 2px 7px; }
.dcd-preq {
  font-size: 11px; font-weight: 700; color: #b91c1c;
  background: #fef2f2; border: 1px solid #fecaca; border-radius: 5px; padding: 2px 8px;
}
.dcd-pdesc { font-size: 13px; line-height: 1.7; color: #64748b; margin: 7px 0 0; padding-right: 10px; }
.dcd-no-params { font-size: 13.5px; color: #94a3b8; font-style: italic; margin: 12px 0 4px; }

/* expandable object params */
.dcd-param-group { cursor: pointer; transition: background 0.14s ease; }
.dcd-param-group:hover { background: #f8fafd; }
.dcd-param-group.open { background: #f4f8ff; }
.dcd-param-toggle {
  width: 20px; height: 20px; flex: none; margin-left: -4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer; color: #94a3b8;
  transition: transform 0.18s ease, color 0.14s ease;
}
.dcd-param-toggle svg { width: 14px; height: 14px; }
.dcd-param-toggle:hover { color: var(--c-blue); }
.dcd-param-group.open .dcd-param-toggle { transform: rotate(180deg); color: var(--c-blue); }
.dcd-param-children {
  display: none; margin: 10px 0 2px 22px; padding-left: 14px;
  border-left: 2px solid #dbe6f8;
}
.dcd-param-group.open .dcd-param-children { display: block; animation: docFade 0.2s ease; }
.dcd-param-children .dcd-param { padding: 11px 12px; }
.dcd-param-children .dcd-param:first-child { border-top: 1px solid #eef1f7; }

/* ---------- Right: examples ---------- */
.dcd-right { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.dcd-snippet {
  background: #0d1117; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 12px; overflow: hidden;
}
.dcd-snippet-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ds-label { font-size: 12px; font-weight: 600; color: #c9d1d9; }
.ds-lang { margin-left: auto; font-size: 11px; font-weight: 700; color: #8b949e; font-family: var(--font-mono); }
.ds-status {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; border-radius: 5px; padding: 2px 7px;
}
.ds-status-ok { background: rgba(63, 185, 80, 0.15); color: #3fb950; }
.ds-copy { margin-left: 2px; }
.dcd-code {
  margin: 0; padding: 15px 16px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: #c9d1d9;
  white-space: pre;
}
.dcd-tip {
  display: flex; align-items: flex-start; gap: 10px;
  background: #ecfdf3; border: 1px solid #bbf7d0; border-radius: 10px;
  color: #15803d; font-size: 12.5px; line-height: 1.6; padding: 12px 14px;
}
.dcd-tip svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

@media (max-width: 1280px) {
  .dcd { grid-template-columns: 250px minmax(0, 1fr); }
  .dcd-right { position: static; grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .dcd { grid-template-columns: 1fr; }
  .dcd-side { position: static; max-height: none; }
  .dcd-side-nav { max-height: 320px; }
  .dchd-search { display: none; }
  .dchd-guide { display: none; }
}
@media (max-width: 640px) {
  .dcd-center { padding: 22px 18px; }
  .dcd-head { flex-direction: column; }
  .dcd-sep, .dchd-title { display: none; }
}
