/* ==========================================================================
   BBP Global Partners
   ========================================================================== */

:root {
  --bg: #070B14;
  --bg-2: #0B1220;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);

  --text: #E8EDF5;
  --text-2: #A3B0C2;
  --text-3: #7A889C;

  --accent: #2DD4BF;
  --accent-2: #38BDF8;
  --accent-soft: rgba(45, 212, 191, 0.10);
  --accent-border: rgba(45, 212, 191, 0.30);
  --grad: linear-gradient(90deg, #2DD4BF, #38BDF8);
  --warn: #F5B544;
  --warn-soft: rgba(245, 181, 68, 0.08);
  --warn-border: rgba(245, 181, 68, 0.3);

  --btn-bg: var(--grad);
  --btn-text: #04121A;
  --btn-shadow: 0 8px 30px -10px rgba(56, 189, 248, 0.45);

  --nav-bg: rgba(7, 11, 20, 0.78);
  --nav-solid: #070B14;
  --menu-bg: #0D1526;
  --field-bg: rgba(7, 11, 20, 0.7);
  --panel-bg: rgba(11, 18, 32, 0.8);
  --hero-glow: rgba(56, 189, 248, 0.12);
  --grid-dot: rgba(148, 163, 184, 0.14);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, 0.6);

  --band-bg: #F4F6F9;
  --band-text: #0B1220;
  --band-text-2: #4A5568;
  --band-line: #DCE2EA;
  --band-accent: #0E9F8E;
  --band-card: #FFFFFF;

  /* Hero globe (RGB triplets so the canvas can apply its own alpha) */
  --g-body-1: #132036;
  --g-body-2: #080E1A;
  --g-rim: 56, 189, 248;
  --g-glow: 56, 189, 248;
  --g-dot: 148, 175, 205;
  --g-dot-alpha: 0.4;
  --g-route: 45, 212, 191;
  --g-pulse: 56, 189, 248;
  --g-head: #E6FBFF;
  --g-node: 45, 212, 191;
  --g-hub: 230, 251, 255;
  --g-label: 232, 237, 245;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-lg: 18px;
  --radius-sm: 10px;
  --max: 1200px;
  --gutter: 32px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
sup { font-size: .6em; line-height: 0; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label { display: block; font-size: 13px; font-weight: 500; color: var(--text-3); }
.accent-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* Soft check bullets, shared by several lists */
.tick::before {
  content: "✓"; flex: none; display: inline-grid; place-items: center;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 700; line-height: 1;
  color: var(--accent); background: var(--accent-soft);
}

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--font); letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); box-shadow: var(--btn-shadow); }
.btn--primary:hover { transform: translateY(-1px); opacity: .94; }
.btn--ghost { background: rgba(255, 255, 255, 0.05); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text-3); }
.btn--outline { background: transparent; border-color: currentColor; color: inherit; opacity: .9; }
.btn--outline:hover { opacity: 1; }

.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14.5px; color: var(--accent); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* The frosted background sits on a layer behind the bar. A backdrop-filter on .nav itself would
   become the containing block for the fixed mobile menu and squash it to the bar's height. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { position: relative; display: flex; align-items: stretch; justify-content: space-between; height: var(--nav-h); gap: 24px; }

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; }

.nav__links { display: flex; align-items: stretch; gap: 4px; font-size: 14.5px; color: var(--text-2); }
.nav__item { display: flex; align-items: center; }
.nav__item--mega { position: static; }
.nav__item:not(.nav__item--mega) { position: relative; }

.nav__link, .nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 8px;
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer; transition: color .2s, background .2s;
}
.nav__link { align-self: center; }
.nav__link:hover, .nav__trigger:hover, .nav__item.is-open > .nav__trigger { color: var(--text); background: var(--surface-2); }
.nav__link[aria-current="page"], .nav__item.is-current > .nav__trigger { color: var(--text); }
.nav__trigger svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.nav__item.is-open > .nav__trigger svg { transform: rotate(180deg); }

.nav__cta-mobile { display: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px; align-self: center;
  background: var(--surface-2); border: 1px solid var(--line); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav__toggle span { display: block; width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

/* Dropdown menus */
.menu {
  position: absolute; top: 100%; z-index: 60;
  background: var(--menu-bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.nav__item:not(.nav__item--mega) > .menu { left: 50%; width: 320px; margin-left: -160px; }
.menu--mega { left: 50%; width: min(960px, calc(100vw - 48px)); transform: translate(-50%, -4px); padding: 24px; }
.nav__item.is-open > .menu { opacity: 1; visibility: visible; transform: none; }
.nav__item.is-open > .menu--mega { transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1101px) {
  .nav__item:hover > .menu { opacity: 1; visibility: visible; transform: none; }
  .nav__item:hover > .menu--mega { transform: translate(-50%, 0); }
}

.menu__feature {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 14px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--accent-border); background: var(--accent-soft);
  transition: background .15s, border-color .15s;
}
.menu__feature:hover, .menu__feature[aria-current="page"] { background: rgba(45, 212, 191, 0.16); }
.menu__feature strong { display: block; font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--text); }
.menu__feature small { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 2px; }
.menu__feature::after { content: "→"; margin-left: auto; color: var(--accent); transition: transform .2s; }
.menu__feature:hover::after { transform: translateX(3px); }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text);
}
.menu__head::after { content: "→"; color: var(--accent); transition: transform .2s; }
.menu__head:hover::after { transform: translateX(3px); }
.menu__link {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 14.5px; transition: background .15s, color .15s;
}
.menu__link:hover, .menu__link[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.menu__icon {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--accent-soft); color: var(--accent);
}
.menu__icon .icon { width: 17px; height: 17px; }
.menu__link strong { display: block; font-weight: 500; color: var(--text); }
.menu__link small { display: block; font-size: 13px; color: var(--text-3); line-height: 1.4; margin-top: 2px; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, var(--hero-glow), transparent 70%);
  pointer-events: none;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: center; min-height: 600px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.eyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.hero__title { margin-top: 26px; font-size: clamp(42px, 5.2vw, 66px); line-height: 1.04; }
.hero__copy > :first-child { margin-top: 0; }
.hero__lede { margin-top: 24px; max-width: 560px; font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); line-height: 1.6; }
.hero__ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__chips { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--text-3); }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; }

.hero__visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: end; }
#globe { width: 100%; height: 100%; }
.hero__panel {
  position: absolute; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--panel-bg); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.hero__panel .label { font-size: 12px; }
.hero__panel-value { font-size: 14px; font-weight: 600; }
.hero__panel--a { left: 2%; bottom: 16%; }
.hero__panel--b { right: 0; top: 12%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero__inner { position: relative; display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 56px; align-items: center; }
.page-hero__inner--single { grid-template-columns: minmax(0, 820px); }
.page-hero__title { margin-top: 18px; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.05; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

.glance {
  padding: 26px 28px; border-radius: var(--radius-lg);
  background: var(--panel-bg); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg);
}
.glance dl { margin: 14px 0 0; }
.glance dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.glance dt { color: var(--text-3); }
.glance dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 28px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; }
.stat__label { font-size: 14px; color: var(--text-2); max-width: 220px; }

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 0 0 56px; }
.section--alt + .section--tight, .section--tight:first-child { padding-top: 56px; }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.section__lede { margin-top: 16px; font-size: 18px; color: var(--text-2); max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; opacity: .7; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.card h3 { font-size: 19px; margin: 20px 0 10px; }
.card p { color: var(--text-2); font-size: 15px; }
.card--plain h3 { margin-top: 10px; }
a.card { display: flex; flex-direction: column; }
a.card:hover { border-color: var(--accent-border); background: var(--surface-2); transform: translateY(-2px); }
a.card .link-arrow { margin-top: auto; padding-top: 18px; }

.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.card__list { margin-top: 14px; display: grid; gap: 6px; font-size: 14.5px; color: var(--text-2); }
.card__list li { display: flex; gap: 10px; align-items: center; }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.uses--3 { grid-template-columns: repeat(3, 1fr); }
.use { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.use h3 { font-size: 17px; margin-bottom: 6px; }
.use p { color: var(--text-2); font-size: 15px; }

/* ---------- Steps ---------- */
.flow { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 20px; position: relative; }
.flow::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.flow__step { position: relative; padding-right: 12px; }
.flow__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--accent-border); color: var(--accent);
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  box-shadow: 0 0 0 6px var(--bg-2);
}
.section:not(.section--alt) .flow__num { background: var(--bg); box-shadow: 0 0 0 6px var(--bg); }
.flow__step h3 { margin: 22px 0 8px; font-size: 19px; }
.flow__step p { color: var(--text-2); font-size: 15px; }

.split {
  margin-top: 64px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
}
.split h3 { font-size: 26px; }
.split p { margin-top: 12px; color: var(--text-2); }
.handled { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.handled li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg); font-size: 14.5px;
}
.handled .icon { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }

.checklist { display: grid; gap: 10px; margin-top: 22px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--text-2); }

/* ---------- Currencies ---------- */
.ccy-groups { display: grid; gap: 28px; }
.ccy-group h3 { font-size: 15px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; letter-spacing: -0.01em; }
.ccy-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ccy-list li {
  min-width: 64px; text-align: center; padding: 9px 14px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; letter-spacing: .02em;
}
.ccy-note { margin-top: 20px; font-size: 14px; color: var(--text-3); }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 15px; max-width: 920px;
}
.notice .icon { flex: none; color: var(--accent); margin-top: 1px; }
.notice strong { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 4px; }
.notice--risk { background: var(--warn-soft); border-color: var(--warn-border); }
.notice--risk .icon { color: var(--warn); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 24px; font-family: var(--font-display); font-weight: 600; font-size: 17.5px; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 24px/1 var(--font); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); max-width: 760px; }
.faq details a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Comparison ---------- */
.compare-wrap { margin-top: 56px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--text-2); background: var(--surface); }
.compare tbody th { font-weight: 500; color: var(--text); width: 24%; }
.compare td { color: var(--text-2); }
.compare .is-us { background: var(--accent-soft); color: var(--text); }
.compare thead .is-us { color: var(--accent); }
.compare-note { margin-top: 12px; font-size: 13px; color: var(--text-3); }

/* ---------- Benefits (partnerships) ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(170px, auto); gap: 20px; }
.benefit {
  padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.benefit h3 { font-size: 20px; margin-bottom: 10px; }
.benefit p { color: var(--text-2); font-size: 15px; }
.benefit--feature {
  grid-row: span 2; border-color: var(--accent-border);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(56, 189, 248, .18), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(45, 212, 191, .14), transparent 60%),
    var(--bg-2);
}
.benefit--feature h3 { font-size: 30px; }
.benefit--feature .link-arrow { margin-top: 18px; }
.benefit__currencies { display: flex; gap: 8px; margin-bottom: auto; padding-bottom: 32px; }
.benefit__currencies span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-family: var(--font-display); font-size: 16px; font-weight: 600; border: 1px solid currentColor; opacity: .55;
}

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.sectors__tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding: 10px; gap: 4px; }
.sectors__tabs button {
  text-align: left; font: 500 15px/1.3 var(--font); color: var(--text-2);
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sectors__tabs button::after { content: "→"; opacity: 0; transform: translateX(-4px); transition: .2s var(--ease); color: var(--accent); }
.sectors__tabs button:hover { color: var(--text); background: var(--accent-soft); }
.sectors__tabs button[aria-selected="true"] { color: var(--text); background: var(--accent-soft); border-color: var(--accent-border); }
.sectors__tabs button[aria-selected="true"]::after { opacity: 1; transform: none; }
.sectors__panels { padding: 44px 48px; display: flex; align-items: center; }
.sector-panel { animation: fadeIn .35s var(--ease); }
.sector-panel > p:last-child { margin-top: 26px; font-size: 18px; color: var(--text-2); max-width: 560px; line-height: 1.65; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text); background: var(--accent-soft); }

/* ---------- Plans (light band) ---------- */
.section--band { background: var(--band-bg); color: var(--band-text); }
.section--band .section__lede { color: var(--band-text-2); }
.section--band .kicker { color: var(--band-accent); }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; }
.plan {
  position: relative; padding: 40px 36px; border-radius: var(--radius-lg); background: var(--band-card);
  border: 1px solid var(--band-line); display: flex; flex-direction: column; gap: 28px; color: var(--band-text);
}
.plan .label { color: var(--band-text-2); }
.plan h3 { margin-top: 8px; font-size: 24px; }
.plan__price { margin-top: 18px; color: var(--band-text-2); font-size: 15px; }
.plan__price span { font-family: var(--font-display); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: var(--band-text); margin-right: 4px; }
.plan__list { display: grid; gap: 14px; padding-top: 24px; border-top: 1px solid var(--band-line); flex: 1; }
.plan__list li { display: flex; gap: 12px; color: var(--band-text-2); font-size: 15.5px; }
.plan__list li::before { margin-top: 2px; color: var(--band-accent); background: rgba(14, 159, 142, .12); }
.plan__list li strong { color: var(--band-text); }
.plan .btn { align-self: flex-start; }
.plan--premium { background: var(--bg-2); color: var(--text); border-color: var(--bg-2); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, .45); }
.plan--premium .label, .plan--premium .plan__price, .plan--premium .plan__list li { color: var(--text-2); }
.plan--premium .plan__price span, .plan--premium .plan__list li strong, .plan--premium h3 { color: var(--text); }
.plan--premium .plan__list { border-top-color: var(--line); }
.plan--premium .plan__list li::before { color: var(--accent); background: var(--accent-soft); }
.plan__badge { position: absolute; top: 26px; right: 26px; font-size: 12.5px; font-weight: 500; padding: 5px 12px; border-radius: 999px; color: var(--accent); background: var(--accent-soft); }

/* ---------- Estimator ---------- */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-strong); background: linear-gradient(135deg, rgba(45, 212, 191, .05), transparent 60%), var(--bg-2);
}
.calc__inputs { padding: 44px; display: grid; gap: 36px; align-content: start; border-right: 1px solid var(--line); }
.calc__outputs { padding: 44px; display: flex; flex-direction: column; gap: 28px; background: rgba(7, 11, 20, 0.45); }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend, .field label { font-size: 15px; font-weight: 500; color: var(--text); padding: 0; }
.field legend { margin-bottom: 14px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.field__value { font-size: 18px; font-weight: 600; color: var(--accent); }
.field__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--text-3); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)) 0 / var(--fill) 100% no-repeat, var(--line-strong); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--grad); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 0 0 5px var(--accent-soft), 0 2px 6px rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); box-shadow: 0 0 0 5px var(--accent-soft), 0 2px 6px rgba(0, 0, 0, .25); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--accent-border); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 11px 10px; border-radius: var(--radius-sm); font-size: 14px; color: var(--text-2); transition: background .2s, color .2s; }
.segmented input:checked + span { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.calc__big { margin-top: 8px; font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 5.5vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.calc__sub { margin-top: 10px; color: var(--text-2); }
.calc__sub strong { color: var(--text); font-weight: 600; }
.calc__breakdown { margin: 0; display: grid; border-top: 1px solid var(--line); }
.calc__breakdown div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.calc__breakdown dt { color: var(--text-2); }
.calc__breakdown dd { margin: 0; font-weight: 600; }
.calc__hint { font-size: 14px; color: var(--accent); min-height: 1.4em; }
.calc__disclaimer { font-size: 12.5px; color: var(--text-3); line-height: 1.55; margin-top: auto; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-2); font-size: 17px; margin-bottom: 14px; }

/* ---------- Coming soon ---------- */
.coming { max-width: 760px; padding: 40px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--surface); }
.coming p { color: var(--text-2); font-size: 17px; }
.coming p + p { margin-top: 14px; }
.coming .btn { margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 104px; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 48px 52px; border-radius: var(--radius-lg); border: 1px solid var(--accent-border);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(56, 189, 248, .16), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(45, 212, 191, .12), transparent 60%),
    var(--bg-2);
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); }
.cta-band p { margin-top: 12px; color: var(--text-2); max-width: 560px; font-size: 17px; }
.section--alt + .cta-band, .section--band + .cta-band { padding-top: 104px; }

/* ---------- Contact ---------- */
.contact__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__direct { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact__meta { font-size: 14px; color: var(--text-3); }
.next-steps { margin-top: 40px; display: grid; gap: 18px; counter-reset: next; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; color: var(--text-2); }
.next-steps li::before {
  counter-increment: next; content: counter(next);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--accent-border); color: var(--accent); font-weight: 600; font-size: 14px;
}
.next-steps strong { display: block; color: var(--text); font-weight: 600; }

.contact__form {
  display: grid; gap: 18px; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong); background: var(--surface-2); box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 8px; min-width: 0; }
.form-field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.optional { color: var(--text-3); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: 400 15px/1.4 var(--font); color: var(--text);
  background: var(--field-bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.form-field select { appearance: none; -webkit-appearance: none; padding-right: 36px;
  background: var(--field-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238A97A8' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; }
.form-field select option { background: var(--bg-2); }
.form-field textarea { resize: vertical; min-height: 92px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-field input[aria-invalid="true"] { border-color: #E5484D; }
.form-status { font-size: 14px; color: var(--text-2); min-height: 1.4em; }
.form-status.is-error { color: #F87171; }
.form-status.is-ok { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 48px; background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 60px; width: auto; }
.footer__brand p { margin-top: 14px; font-size: 14px; color: var(--text-3); max-width: 280px; }
.footer__col h2 { font-family: var(--font); font-size: 13.5px; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 10px; font-size: 14px; color: var(--text-2); }
.footer__col a:hover { color: var(--text); }
.footer__legal { padding-top: 28px; display: grid; gap: 10px; font-size: 12.5px; color: var(--text-3); max-width: 920px; line-height: 1.6; }

/* ---------- 404 ---------- */
.notfound { padding: 140px 0; text-align: center; }
.notfound h1 { font-size: clamp(36px, 5vw, 56px); }
.notfound p { margin: 18px auto 32px; color: var(--text-2); max-width: 480px; }

/* ---------- Reveal ---------- */
/* Only hide content once JS has confirmed it can reveal it again. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }

  .nav__toggle { display: flex; }
  .nav__actions .btn { display: none; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    padding: 8px var(--gutter) 32px; background: var(--nav-solid); border-top: 1px solid var(--line);
    font-size: 17px; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__item { display: block; border-bottom: 1px solid var(--line); }
  .nav__link, .nav__trigger { width: 100%; height: auto; padding: 16px 0; justify-content: space-between; border-radius: 0; }
  .nav__link:hover, .nav__trigger:hover, .nav__item.is-open > .nav__trigger { background: none; }
  .nav__links > .nav__link { border-bottom: 1px solid var(--line); }
  .menu, .menu--mega, .nav__item:not(.nav__item--mega) > .menu {
    position: static; width: auto; margin: 0 0 12px; transform: none; padding: 0;
    background: none; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible;
  }
  .nav__item.is-open > .menu, .nav__item.is-open > .menu--mega { display: block; transform: none; }
  .menu__grid { grid-template-columns: 1fr; gap: 16px; }
  .menu__link small { display: none; }
  .menu__feature { margin: 4px 0 16px; }
  .nav__cta-mobile { display: inline-flex; margin-top: 24px; height: 50px; }
  html.menu-open { overflow: hidden; }

  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .section { padding: 80px 0; }
  .cta-band { padding-bottom: 80px; }
  .section--alt + .cta-band, .section--band + .cta-band { padding-top: 80px; }

  .hero { padding-top: 40px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero__visual { max-width: 520px; justify-self: center; margin-top: 12px; }
  .page-hero { padding: 48px 0 56px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 36px; }

  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .uses--3 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before { display: none; }

  .split { grid-template-columns: 1fr; padding: 32px; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit--feature { grid-row: auto; grid-column: span 2; min-height: 260px; }

  .sectors { grid-template-columns: 1fr; }
  .sectors__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .sectors__tabs::-webkit-scrollbar { display: none; }
  .sectors__tabs button { flex: none; white-space: nowrap; }
  .sectors__tabs button::after { display: none; }
  .sectors__panels { padding: 32px 28px; }

  .calc { grid-template-columns: 1fr; }
  .calc__inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .cta-band__inner { padding: 36px 32px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --nav-h: 68px; }
  .section { padding: 64px 0; }
  .cta-band { padding-bottom: 64px; }
  .section--alt + .cta-band, .section--band + .cta-band { padding-top: 64px; }
  .section__head { margin-bottom: 36px; }
  .brand img { height: 46px; }

  .hero__title { font-size: 40px; }
  .page-hero__title { font-size: 34px; }
  .hero__ctas .btn { width: 100%; }
  .hero__panel { padding: 9px 12px; }
  .hero__panel-value { font-size: 12.5px; }
  .glance { padding: 20px; }

  .stat__value { font-size: 26px; }
  .stat__label { font-size: 13px; }

  .cards, .cards--2, .cards--4, .uses, .uses--3, .flow, .benefits, .plans, .handled, .form-row { grid-template-columns: 1fr; }
  .benefit--feature { grid-column: auto; }
  .plan { padding: 32px 24px; }
  .plan__badge { position: static; align-self: flex-start; margin-bottom: -12px; }
  .calc__inputs, .calc__outputs, .contact__form { padding: 28px 20px; }
  .sectors__panels { padding: 28px 20px; }
  .split, .coming { padding: 26px 20px; }
  .cta-band__inner { padding: 30px 22px; }
  .cta-band .btn { width: 100%; }
  .notice { padding: 18px; }
  .faq summary { padding: 18px; font-size: 16.5px; }
  .faq details p { padding: 0 18px 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.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; }

/* ---------- Coming soon (parked products) ---------- */
.menu__soon, .badge-soon {
  display: inline-block; padding: 2px 9px; border-radius: 999px; white-space: nowrap;
  font-size: 11.5px; font-weight: 500; line-height: 1.6;
  color: var(--text-3); background: var(--surface-2); border: 1px solid var(--line);
}
.menu__soon { margin-left: auto; }
.badge-soon { position: absolute; top: 22px; right: 22px; }
.soon-pill {
  display: inline-block; margin-top: 18px; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-border);
}
.soon-pill + .page-hero__title { margin-top: 14px; }
