/* Callivex — "Pipe" edition. Dark-first fintech register: near-black ink with
 * emerald energy, alternating white bands, huge type, data-rich mocks. */

:root {
  --ink: #f4f5f1;
  --ink-2: #ffffff;
  --panel: #eef1ec;
  --line-d: rgba(12, 17, 25, 0.10);
  --line-d2: rgba(12, 17, 25, 0.22);
  --white: #ffffff;
  --paper: #ffffff;
  --line-l: rgba(12, 17, 25, 0.10);
  --line-l2: rgba(12, 17, 25, 0.22);
  --tx-d: #0c1119;
  --tx-dm: #3c4654;
  --tx-dd: #5d6673;
  --btn: var(--em-deep); --btn-hover: var(--em);
  --tx-l: #0c1119;
  --tx-lm: #3c4654;
  --tx-ld: #6e7785;
  --em: #04935a;
  --em-deep: #016c42;
  --em-hi: #2fd28c;
  --grad: linear-gradient(120deg, #016c42, #04935a 45%, #2fd28c);
  --font: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-disp: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.36, 0.64, 1);
  --r: 12px; --r-lg: 18px; --r-xl: 26px;

  /* Legacy token bridge (original pages + embedded styles) */
  --bg: var(--ink);
  --bg-elev: var(--ink-2);
  --bg-card: var(--ink-2);
  --bg-soft: var(--panel);
  --bg-inline: rgba(12, 17, 25, 0.06);
  --tint: rgba(12, 17, 25, 0.05);
  --border: var(--line-d);
  --border-strong: var(--line-d2);
  --border-em: rgba(47, 210, 140, 0.4);
  --text: var(--tx-d);
  --text-mute: var(--tx-dm);
  --text-dim: var(--tx-dd);
  --text-faint: #8a93a0;
  --accent: var(--em);
  --accent-hi: var(--em-hi);
  --accent-deep: var(--em-deep);
  --accent-soft: rgba(4, 147, 90, 0.12);
  --accent-mid: rgba(4, 147, 90, 0.25);
  --accent-glow: rgba(47, 210, 140, 0.35);
  --success: var(--em-hi); --warn: #e0a53f; --err: #e4685a; --info: #5aa2e4;
  --font-sans: var(--font); --font-mono: var(--mono);
  --r-xs: 4px; --r-sm: 8px; --r-2xl: 30px;
  --shadow-xs: none; --shadow-sm: none;
  --shadow-md: 0 18px 40px -24px rgba(12, 17, 25, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(12, 17, 25, 0.3);
  --shadow-em: 0 14px 34px -14px rgba(4, 147, 90, 0.5);
  --ease-out: var(--ease); --ease-spring: var(--spring);
}

/* Dark islands: hero, closing band, ticker, footer, mocks keep the ink palette */
.band.dark, .mq-band, .site-footer, .feature-mock, .dash, .stack-board, .route-board, .dark-island {
  --ink: #0b1210; --ink-2: #101a16; --panel: #131f1a;
  --line-d: rgba(238, 244, 240, 0.10); --line-d2: rgba(238, 244, 240, 0.2);
  --tx-d: #f2f5f2; --tx-dm: #a9b6ae; --tx-dd: #8a978e; --tint: rgba(238, 244, 240, 0.05);
  --btn: var(--em); --btn-hover: var(--em-hi); --text-dim: #8a978e;
  --bg: #0b1210; --bg-elev: #101a16; --bg-card: #101a16; --bg-soft: #131f1a; --bg-inline: rgba(238, 244, 240, 0.08);
  --border: rgba(238, 244, 240, 0.10); --border-strong: rgba(238, 244, 240, 0.2);
  --text: #f2f5f2; --text-mute: #a9b6ae; --text-faint: #6e7c73;
  --accent: #2fd28c; --accent-deep: #2fd28c;
  --shadow-md: 0 24px 50px -24px rgba(0, 0, 0, 0.6); --shadow-lg: 0 34px 70px -30px rgba(0, 0, 0, 0.7);
}

/* Whole-page dark island (homepage keeps the original ink look) */
.dark-island { background: var(--ink); color: var(--tx-d); }
.dark-island .site-header { background: rgba(11, 18, 16, 0.82); }
.dark-island .nav-cta { background: var(--em-hi); color: #07110c !important; }
.dark-island .nav-cta:hover { background: var(--em); }
.dark-island .eyebrow { color: var(--em-hi); }
.dark-island .band.white .eyebrow { color: var(--em-deep); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-var.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/plex-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/plex-mono-500.woff2') format('woff2'); }

* { box-sizing: border-box; }
*:focus-visible { outline: 2px solid var(--em); outline-offset: 3px; border-radius: 3px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--tx-d);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
img, svg { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container-md { max-width: 940px; margin: 0 auto; padding: 0 28px; }

/* Bands */
.band { padding: 104px 0; }
.band.dark { background: var(--ink); color: var(--tx-d); }
.band.white { background: var(--white); color: var(--tx-l); }
.band.tight { padding: 72px 0; }

.eyebrow {
  display: block;
  font-family: var(--font);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--em-deep);
  margin-bottom: 22px;
  font-weight: 600;
}
.band.dark .eyebrow { color: var(--em-hi); }
.band.white .eyebrow { color: var(--em-deep); }

h1, h2 { font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.035em; margin: 0; }
h3 { font-family: var(--font-disp); }
h1 { font-size: clamp(44px, 6.4vw, 82px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; }
.center { text-align: center; }
.center .eyebrow { margin-left: auto; margin-right: auto; }
.sub {
  font-size: 19px;
  line-height: 1.6;
  margin: 24px auto 0;
  max-width: 640px;
}
.band.dark .sub { color: var(--tx-dm); }
.band.white .sub { color: var(--tx-lm); }

.grad-w {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.typing::after {
  content: '';
  display: inline-block;
  width: 4px; height: 0.82em;
  margin-left: 6px;
  vertical-align: -0.06em;
  background: var(--em-hi);
  animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 241, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-d);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; gap: 24px; }
.brand-logo { height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-links a { color: var(--tx-dm); }
.nav-links a:hover { color: var(--tx-d); }
.nav-cta {
  background: var(--btn);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s var(--ease), transform .2s var(--spring);
}
.nav-cta:hover { background: var(--btn-hover); transform: translateY(-1px); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-d2);
  color: var(--tx-d); padding: 5px 12px; border-radius: 8px; cursor: pointer; font-size: 18px;
}
@media (max-width: 920px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 16px; right: 16px;
    background: var(--ink-2); border: 1px solid var(--line-d2); border-radius: var(--r);
    flex-direction: column; align-items: stretch; padding: 14px; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 10px; border-radius: 8px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 28px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), transform .25s var(--spring), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-em { background: var(--btn); color: #fff; }
.btn-em:hover { background: var(--em-hi); color: #fff; }
.btn-ghost-d { background: transparent; color: var(--tx-d); border-color: var(--line-d2); }
.btn-ghost-d:hover { border-color: var(--tx-d); }
.btn-ghost-l { background: transparent; color: var(--tx-l); border-color: var(--line-l2); }
.btn-ghost-l:hover { border-color: var(--tx-l); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb457; color: #fff; }

/* Hero */
.hero { padding: 108px 0 96px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto;
  height: 80%;
  background: radial-gradient(ellipse 55% 45% at 50% 0%, rgba(4, 147, 90, 0.16), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* Dashboard mock */
.dash-wrap { position: relative; margin: 72px auto 0; max-width: 1020px; }
.dash {
  background: var(--ink-2);
  border: 1px solid var(--line-d2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  text-align: left;
}
.dash-top {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-d);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--tx-dd);
}
.dash-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-d2); }
.dash-top .dot.g { background: var(--em); }
.dash-body { display: grid; grid-template-columns: 2fr 1fr; }
.dash-main { padding: 22px 24px; border-right: 1px solid var(--line-d); }
.dash-main h4, .dash-side h4 {
  margin: 0 0 14px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-dd);
}
.dash table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; }
.dash th {
  text-align: left; font-weight: 500; color: var(--tx-dd);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 8px; border-bottom: 1px solid var(--line-d);
}
.dash td { padding: 9px 8px; border-bottom: 1px solid var(--line-d); color: var(--tx-dm); font-feature-settings: 'tnum'; }
.dash td:first-child { color: var(--tx-d); }
.dash tr:last-child td { border-bottom: 0; }
.chip {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.08em;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(4, 147, 90, 0.16); color: var(--em-hi);
}
.dash-side { padding: 22px 24px; display: flex; flex-direction: column; gap: 18px; }
.wallet {
  background: var(--grad);
  border-radius: var(--r);
  padding: 18px;
  color: #fff;
}
.wallet .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; opacity: .85; }
.wallet .val { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; font-feature-settings: 'tnum'; }
.wallet .sub2 { font-family: var(--mono); font-size: 11px; opacity: .85; margin-top: 4px; }
.kv { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--tx-dm); padding: 7px 0; border-bottom: 1px solid var(--line-d); }
.kv:last-child { border-bottom: 0; }
.kv b { color: var(--tx-d); font-weight: 500; }
.float-chip {
  position: absolute;
  background: var(--paper);
  color: var(--tx-l);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: var(--mono); font-size: 12px;
  box-shadow: 0 18px 44px -12px rgba(0, 0, 0, 0.55);
  display: flex; align-items: center; gap: 9px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-chip .tick { color: var(--em); font-weight: 700; }
.float-chip.c1 { top: 6%; left: -34px; }
.float-chip.c2 { bottom: 16%; right: -30px; animation-delay: 2.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 880px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-main { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .float-chip { display: none; }
}

/* Marquee */
.mq-band { background: var(--ink); border-top: 1px solid var(--line-d); padding: 26px 0; }
.mq {
  overflow: hidden; display: flex;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mq-track { display: flex; align-items: center; width: max-content; animation: mq 30s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-track span {
  display: flex; align-items: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--tx-dd); white-space: nowrap;
}
.mq-track span::after {
  content: ''; width: 5px; height: 5px; margin: 0 30px;
  background: var(--em); transform: rotate(45deg); opacity: .5;
}
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; flex-wrap: wrap; } }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split p { margin: 0 0 14px; }
.band.white .split p { color: var(--tx-lm); }
.band.dark .split p { color: var(--tx-dm); }
.split ul { margin: 22px 0 0; padding: 0; list-style: none; font-size: 15.5px; }
.split ul li { padding: 9px 0 9px 30px; position: relative; }
.band.white .split ul li { color: var(--tx-lm); border-top: 1px solid var(--line-l); }
.band.dark .split ul li { color: var(--tx-dm); border-top: 1px solid var(--line-d); }
.split ul li:first-child { border-top: 0; }
.split ul li::before {
  content: '✓';
  position: absolute; left: 2px; top: 9px;
  color: var(--em); font-weight: 700;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } .split .vis-r { order: -1; } }

/* Terminal mocks */
.mock {
  background: #0c1119; color: #d8dde4;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  box-shadow: 0 30px 70px -30px rgba(12, 17, 25, 0.55);
  position: relative;
  overflow: hidden;
}
.mock::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.mock .k { color: var(--em-hi); }
.mock .s { color: #f7c97a; }
.mock .c { color: #6e7c73; }

/* Gradient feature card */
.grad-card {
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: 40px;
  color: #fff;
  box-shadow: 0 32px 70px -28px rgba(1, 108, 66, 0.55);
}
.grad-card .mock { box-shadow: none; background: rgba(10, 16, 13, 0.88); border-color: rgba(255,255,255,0.14); }

/* Schematic band */
.schematic { width: 100%; max-width: 900px; margin: 56px auto 0; height: auto; display: block; }
.sc-line { stroke: var(--line-d2); stroke-width: 1.1; fill: none; }
.sc-line-em { stroke: var(--em-hi); stroke-width: 1.4; fill: none; filter: drop-shadow(0 0 4px rgba(47, 210, 140, 0.6)); }
.sc-box { stroke: var(--line-d2); fill: var(--ink-2); }
.sc-box-em { stroke: var(--em-hi); fill: rgba(4, 147, 90, 0.12); }
.sc-node { fill: #f7c97a; }
.sc-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; fill: var(--tx-dd); }
.sc-lbl-hi { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; fill: var(--tx-d); }
.sc-lbl-em { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; fill: var(--em-hi); }
.js .sc-anim .sc-line, .js .sc-anim .sc-line-em {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw .9s var(--ease) forwards; animation-play-state: paused;
}
.js .is-revealed.sc-anim .sc-line, .js .is-revealed.sc-anim .sc-line-em { animation-play-state: running; }
.sc-anim path.d1 { animation-delay: .3s; } .sc-anim path.d2 { animation-delay: .7s; }
.sc-anim path.d3 { animation-delay: .85s; } .sc-anim path.d4 { animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .sc-anim .sc-box, .js .sc-anim .sc-box-em, .js .sc-anim text {
  opacity: 0; animation: fadein .6s var(--ease) forwards; animation-delay: 1s; animation-play-state: paused;
}
.js .is-revealed.sc-anim .sc-box, .js .is-revealed.sc-anim .sc-box-em, .js .is-revealed.sc-anim text,
.js .is-revealed .sc-anim .sc-box, .js .is-revealed .sc-anim .sc-box-em, .js .is-revealed .sc-anim text { animation-play-state: running; }
@keyframes fadein { to { opacity: 1; } }
.sc-pkt { display: none; }
@supports (offset-path: path("M 0 0 L 1 1")) {
  .sc-pkt {
    display: block; fill: var(--em-hi); opacity: 0;
    animation: 5s linear infinite;
    animation-play-state: paused;
    filter: drop-shadow(0 0 5px rgba(47, 210, 140, 0.8));
  }
  /* choreography starts once the diagram has drawn (~1.8s after reveal) */
  .sc-pkt.in { offset-path: path("M 10 168 L 196 168"); animation-name: pin; animation-delay: 1.8s; }
  .sc-pkt.o1 { offset-path: path("M 346 150 L 400 150 L 400 76 L 452 76"); animation-name: pout; animation-delay: 1.8s; }
  .sc-pkt.o2 { offset-path: path("M 346 168 L 452 168"); animation-name: pout; animation-delay: 1.95s; }
  .sc-pkt.o3 { offset-path: path("M 346 186 L 400 186 L 400 260 L 452 260"); animation-name: pout; animation-delay: 2.1s; }
  .js .is-revealed.sc-anim .sc-pkt, .js .is-revealed .sc-anim .sc-pkt { animation-play-state: running; }
}
@keyframes pin  { 0% { offset-distance: 0%; opacity: 0; } 3% { opacity: 1; } 23% { opacity: 1; } 26% { offset-distance: 100%; opacity: 0; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes pout { 0%, 30% { offset-distance: 0%; opacity: 0; } 33% { opacity: 1; } 57% { opacity: 1; } 60% { offset-distance: 100%; opacity: 0; } 100% { offset-distance: 100%; opacity: 0; } }
.sc-ring {
  fill: none; stroke: var(--em-hi); stroke-width: 1; opacity: 0;
  transform-box: fill-box; transform-origin: center;
  animation: ring 5s ease-out infinite;
  animation-play-state: paused;
  animation-delay: 1.95s;
}
.sc-ring.r2 { animation-delay: 2.1s; } .sc-ring.r3 { animation-delay: 2.25s; }
.js .is-revealed.sc-anim .sc-ring, .js .is-revealed .sc-anim .sc-ring { animation-play-state: running; }
/* core pulses when the call hits it */
.js .is-revealed.sc-anim .sc-box-em, .js .is-revealed .sc-anim .sc-box-em {
  animation: fadein .6s var(--ease) forwards, core-pulse 5s ease-in-out infinite 1.8s;
}
@keyframes core-pulse {
  0%, 18%, 45%, 100% { filter: none; }
  26% { filter: drop-shadow(0 0 8px rgba(47, 210, 140, 0.75)); }
}
@keyframes ring { 0%, 57% { opacity: 0; transform: scale(.35); } 59% { opacity: .8; transform: scale(.35); } 80% { opacity: 0; transform: scale(2.2); } 100% { opacity: 0; transform: scale(2.2); } }
@media (prefers-reduced-motion: reduce) {
  .sc-pkt, .sc-ring { animation: none !important; opacity: 0 !important; }
  .js .sc-anim .sc-line, .js .sc-anim .sc-line-em { stroke-dashoffset: 0; animation: none; }
  .js .sc-anim .sc-box, .js .sc-anim .sc-box-em, .js .sc-anim text { opacity: 1; animation: none; }
}

/* Product cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.pcard {
  background: var(--paper);
  border: 1px solid var(--line-l);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease), border-color .2s var(--ease);
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-l2);
  box-shadow: 0 22px 44px -20px rgba(12, 17, 25, 0.22);
}
.pcard .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--em-deep); margin-bottom: 14px;
}
.pcard h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.pcard p { margin: 0; font-size: 14.5px; color: var(--tx-lm); line-height: 1.6; }
.pcard a {
  display: inline-block; margin-top: 16px;
  color: var(--em-deep); font-weight: 600; font-size: 14px;
}
.pcard a:hover { color: var(--em); }
@media (max-width: 920px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards4 { grid-template-columns: 1fr; } }

/* Tracks (dark) */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.track {
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  transition: transform .35s var(--spring), border-color .25s var(--ease);
}
.track:hover { transform: translateY(-4px); border-color: rgba(47, 210, 140, 0.4); }
.track h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.track p { margin: 0 0 18px; font-size: 15px; color: var(--tx-dm); line-height: 1.65; }
.track .who { font-family: var(--mono); font-size: 11.5px; color: var(--tx-dd); line-height: 1.9; }
@media (max-width: 880px) { .tracks { grid-template-columns: 1fr; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: center; }
.stat .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: 'tnum';
  line-height: 1.05;
}
.stat .lbl { margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-lm); }
.band.dark .stat .lbl { color: var(--tx-dm); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Profiles (six ruled, dark) */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 44px; margin-top: 56px; }
.profile { border-top: 1px solid var(--line-d); padding-top: 20px; }
.profile h3 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.profile p { margin: 0; font-size: 14px; color: var(--tx-dm); line-height: 1.6; }
@media (max-width: 920px) { .profiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .profiles { grid-template-columns: 1fr; } }

/* FAQ (white) */
.faq { margin-top: 48px; background: var(--paper); border: 1px solid var(--line-l); border-radius: var(--r-lg); overflow: hidden; }
.faq details { border-top: 1px solid var(--line-l); }
.faq details:first-child { border-top: 0; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 56px 20px 26px;
  font-weight: 600; font-size: 16px; line-height: 1.45;
  position: relative;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute; right: 26px; top: 50%;
  width: 12px; height: 12px; transform: translateY(-50%);
  background:
    linear-gradient(var(--em), var(--em)) center/12px 1.5px no-repeat,
    linear-gradient(var(--em), var(--em)) center/1.5px 12px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.faq summary:hover { background: var(--white); color: var(--em-deep); }
.faq details[open] summary { color: var(--em-deep); }
.faq .faq-a { padding: 2px 56px 22px 26px; color: var(--tx-lm); font-size: 15px; line-height: 1.7; max-width: 74ch; }

/* Final CTA */
.final { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.final::before {
  content: '';
  position: absolute; inset: auto -10% -40%;
  height: 90%;
  background: radial-gradient(ellipse 50% 55% at 50% 100%, rgba(4, 147, 90, 0.2), transparent 70%);
  pointer-events: none;
}
.final > .container { position: relative; }
.final .cta-row { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line-d); padding: 64px 0 32px; color: var(--tx-dm); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-col h4 { margin: 0 0 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-dd); font-weight: 500; }
.foot-col a { display: block; padding: 5px 0; font-size: 14px; color: var(--tx-dm); }
.foot-col a:hover { color: var(--tx-d); }
.foot-col p { margin: 0; font-size: 14px; color: var(--tx-dd); line-height: 1.6; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--tx-dd); flex-wrap: wrap; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .foot-grid { grid-template-columns: 1fr; } }

/* Reveal */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"].is-revealed { transition-delay: .08s; }
[data-reveal-delay="2"].is-revealed { transition-delay: .16s; }
[data-reveal-delay="3"].is-revealed { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  transition: transform .25s var(--spring);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 560px) { .wa-float { width: 48px; height: 48px; right: 16px; bottom: 16px; } }


/* ==========================================================================
   Inner pages — original markup, pipe skin
   ========================================================================== */
section { padding: 92px 0; }
section.tight { padding: 56px 0; }
.band { padding: 104px 0; }

.page-head {
  padding: 88px 0 48px;
  border-bottom: 1px solid var(--line-d);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute; inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(ellipse 45% 55% at 30% 0%, rgba(4, 147, 90, 0.13), transparent 70%);
  pointer-events: none;
}
.page-head > .container { position: relative; }
.page-head h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.06;
  margin: 0 0 18px;
  color: var(--tx-d);
}
.page-head p { margin: 0; max-width: 720px; color: var(--tx-dm); font-size: 18px; line-height: 1.6; }
.page-head .crumbs {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.page-head .crumbs a { color: var(--tx-dd); }
.page-head .crumbs a:hover { color: var(--tx-d); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head .lead-col { max-width: 720px; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { margin: 0; color: var(--tx-dm); font-size: 16.5px; max-width: 620px; line-height: 1.6; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--ink-2);
  border: 1px solid var(--line-d);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.card:hover { border-color: var(--line-d2); background: #15211b; }
.card .ic { width: 28px; height: 28px; color: var(--em-hi); margin-bottom: 16px; }
.card .ic svg { width: 28px; height: 28px; }
.card h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; color: var(--tx-d); }
.card p { margin: 0; color: var(--tx-dm); font-size: 14.5px; line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--em-hi); }
.card-link::after { content: '→'; transition: transform .2s var(--ease); }
.card-link:hover::after { transform: translateX(3px); }

.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); color: #fff; }
.btn-secondary { background: transparent; color: var(--tx-d); border-color: var(--line-d2); }
.btn-secondary:hover { border-color: var(--tx-d); color: var(--tx-d); }

.tbl-wrap {
  background: var(--ink-2);
  border: 1px solid var(--line-d2);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line-d); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th {
  font-family: var(--mono);
  color: var(--tx-dd); font-weight: 500; text-transform: uppercase;
  font-size: 10.5px; letter-spacing: 0.12em;
  background: var(--tint);
}
.tbl td { color: var(--tx-dm); font-feature-settings: 'tnum'; }
.tbl td:first-child { color: var(--tx-d); }
.tbl tr:hover td { background: var(--tint); }
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.06em;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(4, 147, 90, 0.12); color: var(--accent-deep);
  border: 1px solid rgba(4, 147, 90, 0.3);
}
.tag.muted { background: var(--tint); color: var(--tx-dd); border-color: var(--line-d); }

.prose { color: var(--tx-dm); font-size: 16px; line-height: 1.75; }
.prose h2 { color: var(--tx-d); font-size: 25px; margin: 44px 0 14px; }
.prose h3 { color: var(--tx-d); font-size: 18px; margin: 28px 0 8px; font-weight: 700; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 24px; }
.prose li { margin: 8px 0; }
.prose code { background: var(--bg-inline); padding: 2px 7px; border-radius: 6px; font-size: 13.5px; color: var(--em-hi); font-family: var(--mono); }
.prose blockquote { margin: 22px 0; padding: 14px 22px; border-left: 3px solid var(--em); background: var(--ink-2); border-radius: 0 10px 10px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line-d); margin: 32px 0; }
.prose strong { color: var(--tx-d); font-weight: 600; }
.prose a { color: var(--em-hi); border-bottom: 1px solid rgba(47, 210, 140, 0.35); font-weight: 500; }
.prose a:hover { border-bottom-color: var(--em-hi); }

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 56px 0;
  border-top: 1px solid var(--line-d);
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature h3 { margin: 0 0 14px; font-size: 27px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; color: var(--tx-d); }
.feature p { margin: 0 0 14px; color: var(--tx-dm); font-size: 16px; line-height: 1.62; }
.feature ul { margin: 18px 0 0; padding: 0; list-style: none; font-size: 15px; }
.feature ul li { padding: 9px 0 9px 30px; position: relative; color: var(--tx-dm); border-top: 1px solid var(--line-d); }
.feature ul li:first-child { border-top: 0; }
.feature ul li::before { content: '✓'; position: absolute; left: 2px; top: 9px; color: var(--em); font-weight: 700; }
@media (max-width: 880px) { .feature { grid-template-columns: 1fr; gap: 28px; padding: 36px 0; } .feature-img-r { order: -1; } .feature h3 { font-size: 23px; } }

.feature-mock {
  background: #0c1119; color: #d8dde4;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  font-family: var(--mono);
  font-size: 12.5px; line-height: 1.8;
  white-space: pre-wrap;
  position: relative; overflow: hidden;
}
.feature-mock::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.feature-mock .k { color: var(--em-hi); }
.feature-mock .s { color: #f7c97a; }
.feature-mock .c { color: #6e7c73; }

.cta-strip {
  background: var(--ink-2);
  border: 1px solid var(--line-d2);
  border-radius: var(--r-xl);
  padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 90% at 100% 50%, rgba(4, 147, 90, 0.14), transparent 70%);
  pointer-events: none;
}
.cta-strip > * { position: relative; }
.cta-strip h2 { margin: 0 0 8px; font-size: 26px; color: var(--tx-d); }
.cta-strip p { margin: 0; color: var(--tx-dm); font-size: 15.5px; max-width: 580px; }

.form-grid { display: grid; gap: 16px; max-width: 580px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; color: var(--tx-dm); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  background: var(--ink-2);
  border: 1px solid var(--line-d2);
  color: var(--tx-d);
  font: inherit; font-size: 15.5px;
  padding: 11px 14px;
  border-radius: 10px;
  resize: vertical;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 0; border-color: var(--em-hi);
  box-shadow: 0 0 0 3px rgba(4, 147, 90, 0.2);
}
.form-field ::placeholder { color: var(--tx-dd); }

.muted { color: var(--tx-dd); }
.kbd { background: rgba(238,244,240,0.08); border: 1px solid var(--line-d2); padding: 2px 7px; border-radius: 6px; font-family: var(--mono); font-size: 12.5px; color: var(--tx-dm); }
.divider { height: 1px; background: var(--line-d); margin: 32px 0; }


/* Embedded-style overrides (inverted bars read wrong on the dark skin) */
body .submit-bar { background: var(--ink-2); color: var(--tx-d); border: 1px solid var(--line-d2); }

/* ============ Light-page polish (inner pages only) ============ */
body:not(.dark-island) { --r-lg: 14px; --r-xl: 18px; }
body:not(.dark-island) h2 { font-weight: 700; }
body:not(.dark-island) .page-head { padding: 72px 0 44px; }
body:not(.dark-island) .page-head::before { background: radial-gradient(ellipse 45% 55% at 30% 0%, rgba(4, 147, 90, 0.08), transparent 70%); }
body:not(.dark-island) .page-head h1 { font-weight: 700; letter-spacing: -0.03em; }
body:not(.dark-island) .page-head p { max-width: 640px; font-size: 17.5px; }
/* UI labels in the text face, not mono */
body:not(.dark-island) .page-head .crumbs,
body:not(.dark-island) .tbl th,
body:not(.dark-island) .track .who,
body:not(.dark-island) .related,
body:not(.dark-island) .tag { font-family: var(--font); }
body:not(.dark-island) .page-head .crumbs { font-size: 12px; letter-spacing: 0.08em; font-weight: 600; }
body:not(.dark-island) .tbl th { font-size: 11.5px; letter-spacing: 0.08em; font-weight: 600; }
body:not(.dark-island) .related { font-size: 13.5px; letter-spacing: 0; }
body:not(.dark-island) .tag { font-size: 11.5px; letter-spacing: 0.02em; font-weight: 600; }
/* Cards: hairline plus soft depth */
body:not(.dark-island) .card, body:not(.dark-island) .pcard, body:not(.dark-island) .tbl-wrap, body:not(.dark-island) .cta-strip {
  border-color: rgba(12, 17, 25, 0.08);
  box-shadow: 0 1px 2px rgba(12, 17, 25, 0.04), 0 14px 34px -22px rgba(12, 17, 25, 0.2);
}
/* Table badges become quiet text */
body:not(.dark-island) .tbl .tag { background: none; border: 0; padding: 0; font-size: 13.5px; letter-spacing: 0; font-weight: 600; }
body:not(.dark-island) .tbl .tag::before { content: '\2713\00a0'; }
body:not(.dark-island) .tbl .tag.muted { font-weight: 500; color: var(--tx-dd); }
body:not(.dark-island) .tbl .tag.muted::before { content: ''; }
/* Inline links read as links */
body:not(.dark-island) .prose a, body:not(.dark-island) p a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(4, 147, 90, 0.45); }
body:not(.dark-island) p a:hover { text-decoration-color: currentColor; }
