/* =========================================================
   VRSH3 Global Accounting & Bookkeeping
   Main stylesheet
   ========================================================= */

@font-face {
  font-family: "Sora";
  src: url("../fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #03060d;
  --ink-2: #050a17;
  --navy: #0a1530;
  --navy-2: #102046;
  --line: rgba(150, 175, 225, 0.13);
  --line-2: rgba(150, 175, 225, 0.24);
  --text: #e8eef9;
  --text-2: #b3bfd5;
  --muted: #8593ad;
  --blue: #3d7bff;
  --blue-2: #7ea9ff;
  --teal: #18c8c2;
  --emerald: #22d58f;
  --amber: #f5c451;
  --danger: #ff9494;
  --grad: linear-gradient(100deg, #3d7bff 0%, #18c8c2 55%, #22d58f 100%);
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.22, 0.7, 0.15, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #f4f7fd;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.02em; line-height: 1.25; }

::selection { background: rgba(24, 200, 194, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--teal);
  color: #021018;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn .icon { width: 1.1em; height: 1.1em; }

.btn--primary {
  background: var(--grad);
  color: #021018;
  box-shadow: 0 14px 32px -14px rgba(61, 123, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -14px rgba(24, 200, 194, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(126, 169, 255, 0.6);
  background: rgba(61, 123, 255, 0.1);
  transform: translateY(-2px);
}

.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: 0.9rem; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue-2);
  font-weight: 500;
  border-bottom: 1px solid rgba(126, 169, 255, 0.35);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link:hover { color: #fff; border-color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s;
}
/* Background lives on a pseudo-element so the blur does not trap the fixed mobile menu. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 8, 18, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  opacity: 0;
  transition: opacity 0.35s;
}
.site-header.is-scrolled,
.nav-open .site-header { border-bottom-color: var(--line); }
.site-header.is-scrolled::before,
.nav-open .site-header::before { opacity: 1; }

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.brand__sub { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.01em; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  transform: translateX(-50%);
}
.site-nav .nav-cta a {
  margin-left: 10px;
  padding: 0 20px;
  color: #fff;
  border: 1px solid rgba(126, 169, 255, 0.4);
  background: linear-gradient(180deg, rgba(61, 123, 255, 0.22), rgba(61, 123, 255, 0.08));
}
.site-nav .nav-cta a:hover { border-color: var(--teal); background: rgba(24, 200, 194, 0.14); }
.site-nav .nav-cta a[aria-current="page"]::after { display: none; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Shared section structure ---------- */
.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 140px);
}
.section--tint {
  background:
    radial-gradient(ellipse 60% 80% at 15% 0%, rgba(61, 123, 255, 0.1), transparent 70%),
    linear-gradient(180deg, var(--ink-2), #060d1f 50%, var(--ink-2));
  border-block: 1px solid var(--line);
}

.section-head { max-width: 780px; margin-bottom: clamp(44px, 5vw, 68px); }
.section-head p { color: var(--text-2); font-size: 1.125rem; max-width: 62ch; }
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head--split > div { max-width: 720px; }
.section-head--split h2,
.section-head--split p:last-child { margin-bottom: 0; }

.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--text-2); line-height: 1.6; }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 123, 255, 0.55), rgba(24, 200, 194, 0.55), transparent);
  transform-origin: left center;
}

.glass {
  position: relative;
  background: linear-gradient(165deg, rgba(22, 38, 76, 0.58), rgba(8, 15, 34, 0.62));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, 0.42);
  background: rgba(245, 196, 81, 0.1);
  color: #ffd98a;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}
.demo-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- Ledger-ruled background used in hero areas ---------- */
.fx {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.fx__ledger {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(to bottom, rgba(126, 160, 225, 0.075) 0 1px, transparent 1px 46px),
    linear-gradient(to right, transparent calc(64% - 1px), rgba(24, 200, 194, 0.12) calc(64% - 1px) 64%, transparent 64% calc(64% + 4px), rgba(24, 200, 194, 0.12) calc(64% + 4px) calc(64% + 5px), transparent calc(64% + 5px));
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 62% 38%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 75% at 62% 38%, #000 25%, transparent 78%);
}
.fx__glow {
  position: absolute;
  border-radius: 50%;
}
.fx__glow--blue {
  width: 900px; height: 900px;
  top: -420px; right: -260px;
  background: radial-gradient(circle, rgba(37, 88, 230, 0.42) 0%, rgba(37, 88, 230, 0.12) 38%, transparent 66%);
}
.fx__glow--teal {
  width: 760px; height: 760px;
  bottom: -460px; left: -300px;
  background: radial-gradient(circle, rgba(16, 160, 156, 0.3) 0%, transparent 62%);
}
.fx__glow--emerald {
  width: 560px; height: 560px;
  top: 20%; right: 18%;
  background: radial-gradient(circle, rgba(34, 213, 143, 0.12) 0%, transparent 62%);
}

/* ---------- Floating financial values ---------- */
.float-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.fval {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #d6e4ff;
  opacity: 0;
  will-change: transform, opacity;
  text-shadow: 0 0 22px rgba(61, 123, 255, 0.75), 0 0 2px rgba(255, 255, 255, 0.5);
  user-select: none;
}
.fval--teal { color: #c4f7f4; text-shadow: 0 0 22px rgba(24, 200, 194, 0.8), 0 0 2px rgba(255, 255, 255, 0.5); }
.fval--emerald { color: #cbfae5; text-shadow: 0 0 22px rgba(34, 213, 143, 0.75), 0 0 2px rgba(255, 255, 255, 0.5); }
.fval--sym { font-weight: 500; }
.fval--static { opacity: var(--o, 0.25); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(44px, 7vw, 100px));
  padding-bottom: clamp(80px, 9vw, 130px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 5vw, 80px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.3;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(34, 213, 143, 0.15), 0 0 12px var(--emerald);
}

.hero__title {
  font-size: clamp(2.4rem, 1.2rem + 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero__title > span { display: block; }
.hero__title .pt { display: inline-block; margin-left: 0.02em; }
.hero__title > span:nth-child(1) .pt { color: var(--blue); text-shadow: 0 0 18px rgba(61, 123, 255, 0.8); }
.hero__title > span:nth-child(2) .pt { color: var(--teal); text-shadow: 0 0 18px rgba(24, 200, 194, 0.8); }
.hero__title > span:nth-child(3) .pt { color: var(--emerald); text-shadow: 0 0 18px rgba(34, 213, 143, 0.8); }

.hero__lead { max-width: 54ch; margin-bottom: 36px; }

/* Desktop: keep each of the three statements on a single line. */
@media (min-width: 1025px) {
  .hero__inner { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); }
  .hero__title { font-size: min(3.75rem, calc(5.1vw - 5px)); }
  .hero__title > span { white-space: nowrap; }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--emerald); width: 1.05em; height: 1.05em; }

/* Load sequence for hero copy */
.js .hero [data-intro],
.js .page-hero [data-intro] {
  opacity: 0;
  transform: translateY(22px);
  animation: intro 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes intro { to { opacity: 1; transform: none; } }

/* ---------- Illustrative dashboard ---------- */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  perspective: 1600px;
}

.dash {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
  margin: 0 0 0 auto;
  padding: 16px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(25, 42, 84, 0.78), rgba(7, 14, 32, 0.84));
  border: 1px solid rgba(140, 170, 230, 0.2);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow:
    0 50px 100px -40px rgba(0, 0, 0, 0.9),
    0 0 90px -30px rgba(61, 123, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg));
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.js .dash[data-intro] {
  opacity: 0;
  animation: dashIn 1.3s var(--ease) 0.35s forwards;
}
@keyframes dashIn {
  from { opacity: 0; transform: translateY(40px) rotateY(-16deg) rotateX(8deg) scale(0.96); }
  to { opacity: 1; transform: rotateY(var(--ry, -7deg)) rotateX(var(--rx, 3deg)); }
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 4px 14px;
}
.dash__dots { display: flex; gap: 6px; flex: none; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.dash__title {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash__tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: rgba(3, 8, 20, 0.55);
}
.dash__tab {
  flex: 1;
  min-height: 36px;
  padding: 0 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.dash__tab:hover { color: #fff; }
.dash__tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(180deg, rgba(61, 123, 255, 0.26), rgba(61, 123, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(126, 169, 255, 0.38);
}

.dash__panels { display: grid; }
.dash__panel {
  grid-area: 1 / 1;
  min-width: 0;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.dash__panel:not(.is-active) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
}
.dash__panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi {
  padding: 12px 12px 11px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}
.kpi__label { display: block; font-size: 0.72rem; color: var(--muted); line-height: 1.3; margin-bottom: 6px; }
.kpi__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.8rem + 0.7vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  line-height: 1.15;
}
.kpi__delta { display: block; margin-top: 4px; font-size: 0.72rem; color: var(--emerald); font-variant-numeric: tabular-nums; }
.kpi__delta.is-down { color: #7fb0ff; }

.chart {
  position: relative;
  margin-top: 10px;
  padding: 12px 12px 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(3, 8, 20, 0.45);
}
.chart__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-2);
}
.chart__head span:last-child { color: var(--muted); font-size: 0.72rem; }
.chart__plot { position: relative; margin-top: 8px; cursor: crosshair; }
.chart__plot svg { width: 100%; height: 118px; overflow: visible; }
.chart__grid line { stroke: rgba(126, 160, 225, 0.12); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { fill: none; stroke: url(#dashLine); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart__area { fill: url(#dashArea); }
.chart__cursor { opacity: 0; transition: opacity 0.2s; }
.chart__cursor line { stroke: rgba(255, 255, 255, 0.35); stroke-dasharray: 3 3; }
.chart.is-hover .chart__cursor { opacity: 1; }
.chart__dot,
.chart__hover-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  pointer-events: none;
}
.chart__dot { background: var(--emerald); box-shadow: 0 0 12px var(--emerald); }
.chart__dot::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }
.chart__hover-dot { background: #fff; border: 2px solid var(--teal); opacity: 0; transition: opacity 0.2s; }
.chart.is-hover .chart__hover-dot { opacity: 1; }
.chart__tip {
  position: absolute;
  top: -30px;
  left: 0;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(3, 8, 20, 0.92);
  border: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.2s;
}
.chart.is-hover .chart__tip { opacity: 1; }

.feed {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
  height: 138px;
  overflow: hidden;
}
.feed li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.82rem;
  color: var(--text-2);
}
.feed li.is-new { animation: feedIn 0.6s var(--ease); }
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.feed__icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--emerald);
  background: rgba(34, 213, 143, 0.12);
}
.feed__icon--out { color: var(--blue-2); background: rgba(61, 123, 255, 0.14); }
.feed__icon--match { color: var(--teal); background: rgba(24, 200, 194, 0.12); }
.feed__label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__amt { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }

.recon { display: grid; gap: 12px; }
.recon__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}
.recon__head strong { display: block; font-size: 0.86rem; font-weight: 500; color: #fff; }
.recon__head span { font-size: 0.74rem; color: var(--muted); }
.recon__head .recon__pct { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; letter-spacing: -0.03em; }
.progress { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad); box-shadow: 0 0 16px rgba(24, 200, 194, 0.6); }
.recon__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.recon__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.4s, border-color 0.4s, background-color 0.4s;
}
.recon__label { flex: 1; min-width: 0; }
.recon__list .feed__amt { color: var(--text-2); }
.recon__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: transparent;
  transition: all 0.4s var(--ease);
}
.recon__check .icon { width: 13px; height: 13px; }
.recon__list li.is-done { color: var(--text); border-color: rgba(34, 213, 143, 0.28); background: rgba(34, 213, 143, 0.05); }
.recon__list li.is-done .recon__check { border-color: transparent; background: var(--emerald); color: #021018; box-shadow: 0 0 12px rgba(34, 213, 143, 0.7); }
.recon__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
  font-size: 0.82rem;
  color: var(--muted);
  transition: all 0.5s var(--ease);
}
.recon__status.is-done { color: var(--emerald); border-style: solid; border-color: rgba(34, 213, 143, 0.35); background: rgba(34, 213, 143, 0.06); }

.bars { display: grid; gap: 14px; padding: 6px 2px 0; }
.bars__title { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-2); }
.bars__title span:last-child { color: var(--muted); font-size: 0.72rem; }
.bar { display: grid; gap: 7px; }
.bar__row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-2); }
.bar__row .feed__amt { font-size: 0.85rem; }
.bar__track { height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 1.2s var(--ease);
}
.bar:nth-child(odd) .bar__fill { background: linear-gradient(90deg, var(--teal), var(--emerald)); }
.bars__note { margin-top: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); font-size: 0.78rem; color: var(--muted); }

.dash__caption {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 0 4px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--muted);
}
.dash__caption .icon { width: 15px; height: 15px; color: var(--amber); margin-top: 1px; }

/* Floating chips around the dashboard */
.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(140, 170, 230, 0.22);
  background: rgba(10, 20, 44, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.8);
  animation: bob 7s ease-in-out infinite;
  pointer-events: none;
}
.chip__sym {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #021018;
  background: var(--grad);
  box-shadow: 0 0 22px rgba(24, 200, 194, 0.65);
}
.chip__sym .icon { width: 18px; height: 18px; }
.chip__text { display: flex; flex-direction: column; line-height: 1.2; }
.chip__text small { font-size: 0.7rem; color: var(--muted); }
.chip__text strong { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.chip--a { top: -26px; left: -34px; }
.chip--b { bottom: 66px; right: -30px; animation-delay: -3s; }
.chip--orb {
  top: 46%;
  left: -40px;
  padding: 0;
  width: 58px;
  height: 58px;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #cbfae5;
  text-shadow: 0 0 16px rgba(34, 213, 143, 0.9);
  box-shadow: 0 0 40px -6px rgba(34, 213, 143, 0.5), 0 24px 48px -20px rgba(0, 0, 0, 0.8);
  animation-delay: -1.5s;
}
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

/* ---------- Marquee band ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  border-block: 1px solid var(--line);
  background: rgba(10, 21, 48, 0.35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee__group li {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.6vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee__group li::after {
  content: "$";
  font-weight: 600;
  color: var(--teal);
  text-shadow: 0 0 14px rgba(24, 200, 194, 0.9);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About (home) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
.about-copy p { color: var(--text-2); }
.about-copy p.lead { color: var(--text); }

.pillars {
  list-style: none;
  padding: 0;
  margin: 36px 0 32px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.pillars li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.pillars .icon-tile { width: 44px; height: 44px; }
.pillars strong { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; letter-spacing: -0.01em; margin-bottom: 2px; }
.pillars span { color: var(--muted); font-size: 0.96rem; }

.icon-tile {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  color: #bfe9ff;
  background:
    linear-gradient(var(--navy), var(--navy)) padding-box,
    linear-gradient(140deg, rgba(61, 123, 255, 0.85), rgba(24, 200, 194, 0.5), rgba(34, 213, 143, 0.75)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 24px -8px rgba(24, 200, 194, 0.55);
}
.icon-tile .icon { width: 24px; height: 24px; }

/* Transaction flow card */
.flow { padding: clamp(20px, 3vw, 28px); }
.flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.flow__head h3 { margin: 0; font-size: 1.05rem; }
.flow__steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.flow__steps::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: rgba(255, 255, 255, 0.07);
}
.flow__rail {
  position: absolute;
  left: 25px;
  top: 30px;
  width: 2px;
  height: 0;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(24, 200, 194, 0.8);
  transition: height 0.9s var(--ease);
}
.flow__step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 10px 14px 10px 0;
  border-radius: 16px;
  transition: background-color 0.5s var(--ease);
}
.flow__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  color: var(--muted);
  transition: all 0.5s var(--ease);
}
.flow__node .icon { width: 22px; height: 22px; }
.flow__step strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text-2); font-size: 0.98rem; transition: color 0.4s; }
.flow__step span.flow__desc { display: block; font-size: 0.86rem; color: var(--muted); }
.flow__amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--line);
  transition: all 0.5s var(--ease);
}
.flow__step.is-done .flow__node { color: #bff6f3; border-color: rgba(24, 200, 194, 0.45); }
.flow__step.is-active { background: rgba(61, 123, 255, 0.07); }
.flow__step.is-active .flow__node {
  color: #021018;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 0 26px rgba(24, 200, 194, 0.7);
}
.flow__step.is-active strong { color: #fff; }
.flow__step.is-active .flow__amt {
  color: #fff;
  border-color: rgba(34, 213, 143, 0.5);
  background: rgba(34, 213, 143, 0.12);
  box-shadow: 0 0 20px -4px rgba(34, 213, 143, 0.7);
}
.flow__foot { margin: 18px 0 0; font-size: 0.8rem; color: var(--muted); }

/* ---------- Services ---------- */
.svc-group + .svc-group { margin-top: clamp(48px, 6vw, 72px); }
.svc-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.svc-group__head h3 { margin: 0; font-size: 1.05rem; color: var(--text-2); font-weight: 500; letter-spacing: -0.01em; }
.svc-group__head p { margin: 0; font-size: 0.9rem; color: var(--muted); max-width: 52ch; text-align: right; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.svc-grid > * { grid-column: span 2; }
.svc-grid > :nth-child(4),
.svc-grid > :nth-child(5) { grid-column: span 3; }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(18, 32, 66, 0.6), rgba(6, 12, 28, 0.55));
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s, transform 0.4s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(61, 123, 255, 0.16), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
.svc-card:hover { border-color: rgba(126, 169, 255, 0.35); }
.svc-card:hover::before { opacity: 1; }
.svc-card h3 { margin: 22px 0 14px; }
.svc-card p { color: var(--text-2); font-size: 0.98rem; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; color: var(--text-2); font-size: 0.98rem; line-height: 1.5; }
.ticks .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--teal); }

.svc-card--network {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border-style: dashed;
  border-color: rgba(34, 213, 143, 0.32);
  background:
    radial-gradient(ellipse 60% 90% at 100% 50%, rgba(34, 213, 143, 0.09), transparent 70%),
    linear-gradient(170deg, rgba(12, 30, 44, 0.65), rgba(6, 12, 28, 0.6));
}
.svc-card--network .icon-tile { color: #c7f9e2; }
.svc-card--network .ticks .icon { color: var(--emerald); }
.svc-card__note { margin: 18px 0 0; font-size: 0.88rem; color: var(--muted); }

.net-visual { position: relative; aspect-ratio: 16 / 10; }
.net-visual svg { width: 100%; height: 100%; }
.net-visual .net-link { fill: none; stroke: rgba(126, 160, 225, 0.28); stroke-width: 1.2; stroke-dasharray: 4 6; }
.net-visual .net-link--active { stroke: url(#netGrad); stroke-width: 1.6; stroke-dasharray: 6 8; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -56; } }
.net-visual .net-node { fill: var(--ink-2); stroke: rgba(126, 160, 225, 0.4); stroke-width: 1.2; }
.net-visual .net-hub { fill: url(#netGrad); }
.net-visual text { fill: var(--text-2); font-family: var(--font-body); font-size: 12px; }
.net-visual .net-hub-label { fill: #021018; font-family: var(--font-display); font-weight: 700; font-size: 13px; }
@media (max-width: 600px) {
  .net-visual text { font-size: 15px; }
  .net-visual .net-hub-label { font-size: 15px; }
}

/* ---------- Steps ---------- */
.steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.steps__track,
.steps__fill {
  position: absolute;
  top: 31px;
  left: 32px;
  right: 32px;
  height: 2px;
  border-radius: 2px;
}
.steps__track { background: rgba(255, 255, 255, 0.08); }
.steps__fill {
  background: var(--grad);
  box-shadow: 0 0 14px rgba(24, 200, 194, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2.2s var(--ease) 0.2s;
}
.steps.is-in .steps__fill { transform: scaleX(1); }

.step { position: relative; }
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  transition: all 0.6s var(--ease);
  transition-delay: var(--sd, 0s);
}
.steps.is-in .step__num,
.no-motion .step__num {
  color: #021018;
  border-color: transparent;
  background: var(--grad);
  box-shadow: 0 0 30px -4px rgba(24, 200, 194, 0.7);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 0.98rem; margin: 0; }
.step__note {
  display: block;
  margin-top: 12px;
  padding-left: 12px;
  border-left: 2px solid rgba(34, 213, 143, 0.5);
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Responsibilities ledger ---------- */
.ledger-wrap {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 26, 54, 0.62), rgba(6, 12, 28, 0.62));
  overflow: hidden;
}
.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.ledger caption { text-align: left; }
.ledger th,
.ledger td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.ledger tr:last-child th,
.ledger tr:last-child td { border-bottom: 0; }
.ledger thead th {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 3px double var(--line-2);
}
.ledger thead th span { display: inline-flex; align-items: center; gap: 10px; }
.ledger thead th span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.ledger thead th.col-firms span::before { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.ledger thead th.col-topic span::before { display: none; }
.ledger tbody th { width: 28%; font-weight: 500; color: var(--text); }
.ledger td { color: var(--text-2); width: 36%; }
.ledger td + td,
.ledger th + th,
.ledger tbody th + td { border-left: 1px solid var(--line); }
.ledger td strong { color: #fff; font-weight: 500; }
.ledger-foot {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  max-width: 90ch;
}
.ledger-foot .icon { color: var(--emerald); width: 20px; height: 20px; margin-top: 3px; }
.ledger-foot p { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 6vw, 80px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(126, 169, 255, 0.22);
  background:
    radial-gradient(ellipse 70% 120% at 100% 0%, rgba(37, 88, 230, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 100% at 0% 100%, rgba(16, 160, 156, 0.22), transparent 60%),
    linear-gradient(160deg, #0b1838, #050b1a);
}
.cta .float-field { z-index: -1; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 40px; align-items: end; }
.cta h2 { max-width: 18ch; }
.cta p { color: var(--text-2); max-width: 56ch; margin-bottom: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px));
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.03;
  max-width: 18ch;
  margin-bottom: 22px;
}
.page-hero .lead { max-width: 62ch; margin-bottom: 0; }
.page-hero .fx__ledger {
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 20%, transparent 75%);
}
.page-hero__figs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.breadcrumb { margin-bottom: 26px; font-size: 0.88rem; color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(133, 147, 173, 0.6); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: var(--text-2); }

/* ---------- About page rows ---------- */
.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.intro-split h2 { margin-bottom: 0; }
.intro-split p { color: var(--text-2); }
.intro-split p:first-child { color: var(--text); font-size: 1.15rem; }

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.row h3 { margin: 12px 0 0; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); }
.row p { margin: 0 0 0.8em; color: var(--text-2); }
.row p:last-child { margin-bottom: 0; }

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-lg);
  border: 1px dashed rgba(34, 213, 143, 0.35);
  background: linear-gradient(170deg, rgba(12, 30, 44, 0.6), rgba(6, 12, 28, 0.55));
}
.callout h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 12px; }
.callout p { color: var(--text-2); margin-bottom: 0.8em; }
.callout p:last-child { margin-bottom: 0; }
.callout .icon-tile { color: #c7f9e2; }

/* ---------- Services page ---------- */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
}
.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.88rem;
  color: var(--text-2);
  transition: all 0.25s;
}
.jump a:hover { color: #fff; border-color: var(--teal); }
.jump .icon { width: 16px; height: 16px; color: var(--teal); }

.svc-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.svc-detail:first-of-type { border-top: 1px solid var(--line); }
.svc-detail h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin: 22px 0 14px; }
.svc-detail p { color: var(--text-2); }
.svc-detail__panel {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  align-self: start;
}
.svc-detail__panel h3 { font-size: 1rem; color: var(--text-2); font-weight: 500; margin-bottom: 18px; }
.svc-detail__panel .ticks { gap: 14px; }
.svc-detail__panel .ticks li { color: var(--text); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(126, 169, 255, 0.35);
  background: rgba(61, 123, 255, 0.1);
  color: #cfe0ff;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.tag--firms { border-color: rgba(34, 213, 143, 0.38); background: rgba(34, 213, 143, 0.09); color: #c7f9e2; }
.tag--firms::before { background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }

.group-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(56px, 7vw, 88px) 0 0;
  padding-bottom: 8px;
}
.group-title:first-child { margin-top: 0; }
.group-title h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); color: var(--text-2); }
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }

.note-box {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 64px);
  padding: 24px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.note-box .icon { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.note-box h2 { font-size: 1.1rem; margin-bottom: 6px; }
.note-box p { margin: 0 0 0.6em; color: var(--text-2); font-size: 0.98rem; }
.note-box p:last-child { margin-bottom: 0; }

/* ---------- Approach page ---------- */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), var(--teal), var(--emerald));
  opacity: 0.55;
}
.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(36px, 5vw, 56px);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item .step__num { margin: 0; color: #021018; border-color: transparent; background: var(--grad); box-shadow: 0 0 30px -4px rgba(24, 200, 194, 0.6); }
.tl-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(18, 32, 66, 0.55), rgba(6, 12, 28, 0.5));
}
.tl-card h2 { font-size: clamp(1.4rem, 1.15rem + 0.9vw, 1.9rem); margin-bottom: 12px; }
.tl-card > p { color: var(--text); font-size: 1.06rem; }
.tl-card__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.tl-card__cols h3 { font-size: 0.95rem; font-weight: 500; color: var(--muted); margin-bottom: 12px; letter-spacing: 0; font-family: var(--font-body); }
.tl-card__cols p { color: var(--text-2); font-size: 0.96rem; margin: 0; }
.tl-card__cols .ticks li { font-size: 0.96rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 0 24px; color: var(--text-2); max-width: 72ch; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-methods { display: grid; gap: 16px; }
.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(18, 32, 66, 0.55), rgba(6, 12, 28, 0.5));
}
.contact-card h2 { font-size: 1.05rem; margin: 2px 0 6px; letter-spacing: -0.01em; }
.contact-card p { margin: 0 0 14px; color: var(--text-2); overflow-wrap: anywhere; }
.contact-card address { font-style: normal; color: var(--text-2); font-size: 0.92rem; line-height: 1.55; }
.contact-card .btn { min-height: 44px; }
.contact-card__value {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fff;
  overflow-wrap: anywhere;
}
.company-line { margin: 0 0 4px; font-family: var(--font-display); font-weight: 600; color: #fff; }

.form-card { padding: clamp(24px, 3.5vw, 44px); }
.form-card__head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 8px; }
.form-card__head p { color: var(--text-2); margin-bottom: 28px; }

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: 0.92rem; font-weight: 500; color: var(--text); }
.field .req { color: var(--teal); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(3, 8, 20, 0.65);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder { color: rgba(133, 147, 173, 0.75); }
.input:hover { border-color: rgba(150, 175, 225, 0.38); }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(24, 200, 194, 0.16); background: rgba(3, 8, 20, 0.85); }
textarea.input { min-height: 170px; resize: vertical; }
.field.has-error .input { border-color: var(--danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(255, 148, 148, 0.16); }
.field__error { display: none; margin-top: 7px; font-size: 0.86rem; color: var(--danger); }
.field.has-error .field__error { display: block; }
.field__hint { margin-top: 7px; font-size: 0.82rem; color: var(--muted); }

.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.check input {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  border-radius: 6px;
  border: 1px solid rgba(150, 175, 225, 0.45);
  background: rgba(3, 8, 20, 0.65);
  cursor: pointer;
  transition: all 0.2s;
}
.check input:checked { border-color: transparent; background: var(--grad); }
.check input:checked::after {
  content: "";
  width: 10px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #021018;
  border-bottom: 2px solid #021018;
  transform: rotate(-45deg);
}
.check label { margin: 0; font-weight: 400; color: var(--text-2); font-size: 0.95rem; line-height: 1.5; cursor: pointer; }
.check label a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.field.has-error .check input { border-color: var(--danger); }

.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.form-actions .btn { min-width: 180px; }
.form-actions .btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.form-fineprint { margin: 0; font-size: 0.86rem; color: var(--muted); max-width: 46ch; }

.form-status {
  display: none;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.96rem;
  line-height: 1.5;
}
.form-status.is-visible { display: grid; }
.form-status .icon { width: 20px; height: 20px; margin-top: 2px; }
.form-status--ok { border: 1px solid rgba(34, 213, 143, 0.4); background: rgba(34, 213, 143, 0.08); color: #c7f9e2; }
.form-status--error { border: 1px solid rgba(255, 148, 148, 0.4); background: rgba(255, 148, 148, 0.07); color: #ffd0d0; }
.form-status p { margin: 0; }
.form-status strong { display: block; color: #fff; }


/* ---------- Legal pages ---------- */
.legal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 28px); }
.toc details { border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.toc summary { padding: 16px 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: #fff; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; padding: 0 10px 12px; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: flex;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.toc a::before { counter-increment: toc; content: counter(toc); min-width: 1.4em; color: rgba(133, 147, 173, 0.6); font-variant-numeric: tabular-nums; }
.toc a:hover,
.toc a.is-current { color: #fff; background: rgba(61, 123, 255, 0.1); }

.prose { max-width: 76ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 {
  margin: 2.4em 0 0.7em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line);
  font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.7rem);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin: 1.6em 0 0.5em; font-size: 1.1rem; }
.prose p,
.prose li { color: var(--text-2); }
.prose ul,
.prose ol { padding-left: 1.3em; margin: 0 0 1.1em; display: grid; gap: 0.45em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(126, 169, 255, 0.45); }
.prose a:hover { color: #fff; text-decoration-color: var(--teal); }


.meta-line { margin-bottom: 32px; color: var(--muted); font-size: 0.94rem; }


/* ---------- 404 ---------- */
.notfound { text-align: left; }
.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 10vw, 11rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), #02040a);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(32px, 4vw, 56px);
}
.footer-brand p { margin: 20px 0 0; color: var(--muted); font-size: 0.95rem; max-width: 40ch; }
.footer-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer-contact li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--teal); margin-top: 2px; }
.footer-contact a { color: var(--text-2); overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.footer-contact address { font-style: normal; font-size: 0.88rem; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom .disclaimer { max-width: 70ch; }

/* ---------- Scroll reveals ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .divider.reveal { opacity: 1; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .divider.reveal.is-in { transform: scaleX(1); }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .chip--a { left: -8px; }
  .chip--b { right: -8px; }
  .chip--orb { left: -14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
  .dash { margin: 0 auto; transform: none; }
  .js .dash[data-intro] { animation-name: dashInFlat; }
  @keyframes dashInFlat { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
  .hero__visual { max-width: 600px; margin: 0 auto; width: 100%; padding: 20px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .flow { max-width: 620px; }
  .svc-card--network { grid-template-columns: 1fr; }
  .net-visual { max-width: 520px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps__track, .steps__fill { display: none; }
  .cta__inner { grid-template-columns: 1fr; align-items: start; }
  .cta__actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-methods .contact-card:last-child { grid-column: 1 / -1; }
  .legal { grid-template-columns: 1fr; }
  .toc { position: static; }
  .row { grid-template-columns: 52px minmax(0, 1fr); }
  .row > div:last-child { grid-column: 2; }
  .row h3 { margin-top: 10px; }
  .svc-detail { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    padding: 28px var(--gutter) 40px;
    background: rgba(3, 6, 13, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--line); }
  .js .site-nav a {
    width: 100%;
    min-height: 64px;
    padding: 0 4px;
    border-radius: 0;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .js .site-nav a:hover { background: transparent; color: var(--teal); }
  .js .site-nav a[aria-current="page"] { color: var(--teal); }
  .js .site-nav a[aria-current="page"]::after { left: auto; right: 4px; bottom: 50%; transform: translateY(50%); }
  .js .site-nav .nav-cta { border-bottom: 0; margin-top: 28px; }
  .js .site-nav .nav-cta a {
    justify-content: center;
    margin: 0;
    min-height: 56px;
    border-radius: 999px;
    font-size: 1.05rem;
    background: var(--grad);
    color: #021018;
    border: 0;
  }
  .nav-open { overflow: hidden; }
  .site-nav ul { flex-wrap: wrap; }
  .brand__sub { display: none; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .svc-group__head { flex-direction: column; }
  .svc-group__head p { text-align: left; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid > *,
  .svc-grid > :nth-child(4),
  .svc-grid > :nth-child(5) { grid-column: span 1; }
  .svc-grid > :nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .ledger thead { display: none; }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: 100%; }
  .ledger tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .ledger tr:last-child { border-bottom: 0; }
  .ledger th, .ledger td { padding: 0; border: 0 !important; }
  .ledger tbody th { margin-bottom: 12px; font-family: var(--font-display); font-weight: 600; color: #fff; }
  .ledger td { padding: 10px 0 10px 14px; border-left: 2px solid var(--blue) !important; margin-top: 8px; }
  .ledger td::before { content: attr(data-label); display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 2px; }
  .ledger td.col-firms { border-left-color: var(--emerald) !important; }
  .ledger tbody th, .ledger td { width: auto; }
  .tl-card__cols { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: 1fr; }
  .chip--orb { display: none; }
  .callout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-grid > :nth-child(5) { grid-column: auto; }
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .step__num { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .dash { padding: 12px; border-radius: 22px; }
  .kpis { gap: 6px; }
  .kpi { padding: 10px 9px; }
  .kpi__label { font-size: 0.66rem; }
  .dash__title { display: none; }
  .chip { padding: 8px 12px 8px 8px; }
  .chip__sym { width: 28px; height: 28px; border-radius: 9px; }
  .chip__text strong { font-size: 0.9rem; }
  .chip--a { top: -10px; left: 0; }
  .chip--b { display: none; }
  .flow__step { grid-template-columns: 48px minmax(0, 1fr); }
  .flow__node { width: 48px; height: 48px; }
  .flow__steps::before, .flow__rail { left: 23px; }
  .flow__amt { grid-column: 2; justify-self: start; font-size: 0.85rem; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .row > div:last-child { grid-column: auto; }
  .tl-item { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .tl-item .step__num { width: 52px; height: 52px; }
  .page-hero h1 { max-width: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal,
  .js .hero [data-intro],
  .js .page-hero [data-intro],
  .js .dash[data-intro] { opacity: 1; transform: none; animation: none; }
  .js .divider.reveal { transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .steps__fill { transform: scaleX(1); }
  .chart__dot::after { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .fx, .float-field, .chip, .nav-toggle, .toc, .cta { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li, h1, h2, h3 { color: #000 !important; }
  .page-hero { padding-top: 0; }
}
