/* ──────────────────────────────────────────────────────────────────────────
   Cinga — institutional redesign
   Tokens, typography, components.
   Fonts: Switzer (Fontshare) + JetBrains Mono (Google).
   ────────────────────────────────────────────────────────────────────────── */

@import url('https://api.fontshare.com/v2/css?f[]=switzer@300,400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #f5f2ec;
  --bg-alt: #ede9df;
  --bg-ink: #0e1814;
  --ink: #14201b;
  --ink-2: #2a3530;
  --muted: #6b6e68;
  --line: rgba(20, 32, 27, 0.12);
  --line-2: rgba(20, 32, 27, 0.22);
  --accent: #2d4a3e;
  --accent-2: #1f3a30;
  --accent-ink: #f4f1ea;
  --soft: #e6e1d4;
  --surface: #0e1814;
  --surface-ink: #f3efe6;

  --max: 1280px;
  --pad-x: clamp(20px, 4vw, 64px);

  --font-sans: 'Switzer', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --density-mult: 1;
}
:root[data-density="compact"] { --density-mult: 0.82; }
:root[data-density="comfy"]   { --density-mult: 1.18; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

::selection { background: var(--accent); color: var(--accent-ink); }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── Typography ─────────────────────────────────────────────────────────── */

.cg-h1, .cg-h2, .cg-h3, .cg-h4, .cg-h1-display, .cg-h2-display {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.cg-h1-display {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.028em;
}
.cg-h2-display {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.cg-h1 {
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.024em;
}
.cg-h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.cg-h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.014em;
}
.cg-h4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.008em;
}
.cg-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.cg-body--lg { font-size: 18px; line-height: 1.55; }
.cg-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 16px 0 0;
  text-wrap: pretty;
}
.cg-sub--lg { font-size: 20px; line-height: 1.45; }

.cg-mono {
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
}

.cg-eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.cg-eyebrow.cg-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}

/* ── Layout primitives ──────────────────────────────────────────────────── */

.cg-container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.cg-section { background: var(--bg); }
.cg-section--alt { background: var(--bg-alt); }
.cg-section--soft { background: var(--soft); }
.cg-section--ink {
  background: var(--surface);
  color: var(--surface-ink);
}
.cg-section--ink .cg-h2,
.cg-section--ink .cg-h3,
.cg-section--ink .cg-h4 { color: var(--surface-ink); }
.cg-section--ink .cg-body,
.cg-section--ink .cg-sub { color: rgba(243, 239, 230, 0.78); }
.cg-section--ink .cg-eyebrow { color: rgba(243, 239, 230, 0.55); }
.cg-section--ink .cg-link { color: var(--surface-ink); }
.cg-section--ink .cg-line { border-color: rgba(243, 239, 230, 0.18); }

.cg-section--dark {
  background: var(--bg-ink);
  color: var(--surface-ink);
}
.cg-section--dark .cg-h2,
.cg-section--dark .cg-h3,
.cg-section--dark .cg-h2-display { color: var(--surface-ink); }
.cg-section--dark .cg-sub,
.cg-section--dark .cg-body { color: rgba(243, 239, 230, 0.72); }
.cg-section--dark .cg-eyebrow { color: rgba(243, 239, 230, 0.55); }

.cg-section--normal { padding: calc(72px * var(--density-mult)) 0; }
.cg-section--large { padding: calc(120px * var(--density-mult)) 0; }

.cg-sect-head { margin-bottom: calc(48px * var(--density-mult)); }
.cg-align-center { text-align: center; }
.cg-align-center .cg-sub { margin-left: auto; margin-right: auto; }

.cg-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
@media (max-width: 860px) {
  .cg-two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.cg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.cg-btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.cg-btn--primary:hover { background: var(--accent-2); }
.cg-btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.cg-btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.cg-btn--on-dark {
  background: var(--surface-ink);
  color: var(--surface);
}
.cg-btn--on-dark:hover { background: #fff; }
.cg-btn--ghost-on-dark {
  background: transparent;
  border-color: rgba(243, 239, 230, 0.34);
  color: var(--surface-ink);
}
.cg-btn--ghost-on-dark:hover {
  background: rgba(243, 239, 230, 0.08);
  border-color: var(--surface-ink);
}

.cg-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 8px 0;
  color: var(--ink);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
}
.cg-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* ── Header ─────────────────────────────────────────────────────────────── */

.cg-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.cg-header--scrolled { border-bottom-color: var(--line); }.cg-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.cg-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.cg-brand-word {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  line-height: 1;
}
.cg-brand-emblem {
  display: block;
  height: 36px;
  width: auto;
}
@media (max-width: 600px) {
  .cg-brand-emblem { height: 30px; }
  .cg-brand-word { font-size: 17px; }
}
.cg-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.cg-nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.003em;
  transition: background .12s ease, color .12s ease;
}
.cg-nav-link:hover { background: var(--bg-alt); color: var(--ink); }
.cg-nav-link--active {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.cg-nav-link--muted { color: var(--muted); }
.cg-nav-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
  margin: 0 8px;
}
.cg-header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cg-lang {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.cg-lang button {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  font: inherit;
  color: inherit;
  border-radius: 4px;
  letter-spacing: 0.02em;
}
.cg-lang button.cg-lang-on { color: var(--ink); }

/* ── Mobile burger + drawer ─────────────────────────────────────────────── */

.cg-burger {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: 999px;
  padding: 0;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cg-burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .2s ease, opacity .15s ease, top .2s ease;
}
.cg-burger span:nth-child(1) { top: 13px; }
.cg-burger span:nth-child(2) { top: 18px; }
.cg-burger span:nth-child(3) { top: 23px; }
.cg-burger--open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.cg-burger--open span:nth-child(2) { opacity: 0; }
.cg-burger--open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

.cg-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 84px var(--pad-x) 32px;
  z-index: 70;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
  overflow-y: auto;
  display: none;
}
.cg-drawer--open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cg-drawer-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.cg-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.014em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.cg-drawer-link--active { color: var(--accent); }
.cg-drawer-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--muted);
  transition: transform .15s ease, color .15s ease;
}
.cg-drawer-link:hover .cg-drawer-arrow,
.cg-drawer-link--active .cg-drawer-arrow { color: var(--ink); transform: translateX(3px); }

@media (max-width: 1080px) {
  .cg-nav { display: none; }
  .cg-burger { display: inline-flex; }
  .cg-drawer { display: block; }
  .cg-header-inner { grid-template-columns: auto 1fr; }
  .cg-header-right { justify-self: end; gap: 12px; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.cg-footer {
  background: var(--surface);
  color: var(--surface-ink);
  padding: calc(96px * var(--density-mult)) 0 32px;
  margin-top: 0;
}
.cg-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 64px;
  align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(243, 239, 230, 0.12);
}
.cg-footer-brand-row { display: flex; align-items: center; gap: 12px; }
.cg-footer-logo { display: block; width: 170px; height: 170px; border-radius: var(--r-md); }
.cg-footer-word { font-size: 22px; font-weight: 500; letter-spacing: -0.014em; }
.cg-footer-tag {
  margin: 28px 0 16px;
  font-size: 22px;
  line-height: 1.3;
  max-width: 320px;
  color: var(--surface-ink);
  letter-spacing: -0.012em;
}
.cg-footer-managed {
  margin: 0;
  font-size: 13px;
  color: rgba(243, 239, 230, 0.6);
  max-width: 320px;
  line-height: 1.5;
}
.cg-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
.cg-footer-col-head {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.55);
  margin-bottom: 18px;
}
.cg-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cg-footer-col a {
  font-size: 14px;
  color: rgba(243, 239, 230, 0.85);
  transition: color .12s ease;
}
.cg-footer-col a:hover { color: var(--surface-ink); }
.cg-footer-addr {
  font-size: 13px;
  color: rgba(243, 239, 230, 0.6);
  line-height: 1.5;
  margin-top: 8px;
}
.cg-footer-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  gap: 24px;
  flex-wrap: wrap;
}
.cg-footer-legal {
  font-size: 12px;
  color: rgba(243, 239, 230, 0.55);
}
.cg-footer-marks {
  display: flex;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 230, 0.5);
}
@media (max-width: 860px) {
  .cg-footer-top { grid-template-columns: 1fr; gap: 48px; }
  .cg-footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ── Home — Hero V1 (Split) ─────────────────────────────────────────────── */

.cg-hero-split {
  position: relative;
  background: var(--bg);
}
.cg-hero-split-eye { padding: 28px 0 8px; }
.cg-hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(520px, 70vh, 720px);
}
.cg-hero-split-col {
  padding: clamp(48px, 6vw, 96px) clamp(28px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.cg-hero-split-col--investors {
  background: var(--surface);
  color: var(--surface-ink);
}
.cg-hero-split-col--investors .cg-h1-display { color: var(--surface-ink); }
.cg-hero-split-col--investors .cg-eyebrow { color: rgba(243, 239, 230, 0.55); }
.cg-hero-split-col--authors {
  background: var(--accent);
  color: var(--accent-ink);
}
.cg-hero-split-col--authors .cg-h1-display { color: var(--accent-ink); }
.cg-hero-split-col--authors .cg-eyebrow { color: rgba(244, 241, 234, 0.65); }
.cg-hero-split-col .cg-h1-display {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  margin: 14px 0 22px;
  max-width: 440px;
}
.cg-hero-split-actions { margin-top: 36px; }

.cg-tickmarks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
}
.cg-tickmarks li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
  color: inherit;
  opacity: 0.88;
}
.cg-tickmarks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 12px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

@media (max-width: 860px) {
  .cg-hero-split-grid { grid-template-columns: 1fr; min-height: 0; }
  .cg-hero-split-col { min-height: 480px; }
}

/* ── Home — Hero V2 (Statement) ─────────────────────────────────────────── */

.cg-hero-stmt {
  padding: calc(72px * var(--density-mult)) 0 calc(96px * var(--density-mult));
  position: relative;
}
.cg-hero-stmt-inner { max-width: 1080px; }
.cg-hero-stmt-title {
  margin: 18px 0 28px;
  max-width: 18ch;
}
.cg-hero-stmt-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}
.cg-hero-stmt-marks {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.cg-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-2);
  display: inline-block;
}
.cg-hero-stmt-rule {
  height: 1px;
  background: var(--line);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.cg-hero-stmt-rule::before {
  content: '';
  position: absolute;
  left: var(--pad-x);
  width: 80px;
  top: -1px;
  height: 3px;
  background: var(--accent);
}

/* ── Two paths cards ────────────────────────────────────────────────────── */

.cg-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cg-path {
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .15s ease, background .15s ease;
}
.cg-path:hover { border-color: var(--line-2); }
.cg-path .cg-h3 { max-width: 22ch; }
.cg-path--investors {
  background: var(--surface);
  color: var(--surface-ink);
  border-color: transparent;
}
.cg-path--investors .cg-h3 { color: var(--surface-ink); }
.cg-path--investors .cg-eyebrow { color: rgba(243, 239, 230, 0.55); }
.cg-path--investors .cg-link { color: var(--surface-ink); border-bottom-color: rgba(243, 239, 230, 0.3); }
.cg-path--investors .cg-link:hover { color: var(--surface-ink); border-bottom-color: var(--surface-ink); }

@media (max-width: 860px) {
  .cg-paths { grid-template-columns: 1fr; }
}

/* ── Stats band ─────────────────────────────────────────────────────────── */

.cg-stats-band {
  padding: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cg-stats-cell {
  padding: 40px 24px;
  border-right: 1px solid var(--line);
}
.cg-stats-cell:first-child { padding-left: 0; }
.cg-stats-cell:last-child { padding-right: 0; border-right: 0; }
.cg-stats-v {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1;
  color: var(--ink);
}
.cg-stats-l {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .cg-stats-grid { grid-template-columns: 1fr 1fr; }
  .cg-stats-cell { padding: 28px 18px; }
  .cg-stats-cell:nth-child(2) { border-right: 0; }
  .cg-stats-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ── Pillars ────────────────────────────────────────────────────────────── */

.cg-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 24px;
}
.cg-pillar { padding-top: 24px; border-top: 1px solid var(--line-2); }
.cg-pillar-n {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.cg-pillar .cg-h4 { margin-bottom: 12px; }
@media (max-width: 860px) { .cg-pillars { grid-template-columns: 1fr; gap: 24px; } }

/* ── Manager / Compliance grids ─────────────────────────────────────────── */

.cg-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 96px);
}
.cg-manager-card {
  margin-top: 32px;
  padding: 28px;
  border: 1px solid rgba(243, 239, 230, 0.18);
  border-radius: var(--r-lg);
  background: rgba(243, 239, 230, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cg-manager-card-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cg-manager-card-mark {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--surface-ink);
}
.cg-manager-card-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(243, 239, 230, 0.5);
  text-transform: uppercase;
}
.cg-manager-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: rgba(243, 239, 230, 0.7);
}
@media (max-width: 860px) { .cg-manager { grid-template-columns: 1fr; } }

.cg-compliance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.cg-marks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cg-mark-cell {
  padding: 36px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  background: var(--bg);
}
.cg-mark-cell .cg-mono {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
@media (max-width: 860px) { .cg-compliance-grid { grid-template-columns: 1fr; } }

/* ── Closing ────────────────────────────────────────────────────────────── */

.cg-closing { text-align: center; max-width: 760px; margin: 0 auto; }
.cg-closing .cg-h2-display { max-width: 16ch; margin: 0 auto; }
.cg-closing .cg-sub { margin-top: 20px; }
.cg-closing-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Page head (interior pages) ─────────────────────────────────────────── */

.cg-pagehead {
  padding: calc(72px * var(--density-mult)) 0 calc(56px * var(--density-mult));
  background: var(--bg);
}
.cg-pagehead-inner { max-width: 880px; }
.cg-pagehead-inner .cg-h1 { margin-top: 12px; max-width: 22ch; }
.cg-pagehead-rule {
  height: 1px;
  background: var(--line);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}
.cg-pagehead-rule::before {
  content: '';
  position: absolute;
  left: var(--pad-x);
  top: -1px;
  width: 64px;
  height: 3px;
  background: var(--accent);
}

/* ── Thesis list ────────────────────────────────────────────────────────── */

.cg-thesis-list { display: flex; flex-direction: column; gap: 32px; }
.cg-thesis-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.cg-thesis-item:first-child { padding-top: 0; border-top: 0; }
.cg-thesis-n { color: var(--accent); font-size: 14px; }
.cg-thesis-item .cg-h4 { margin-bottom: 8px; }

/* ── Definition list ────────────────────────────────────────────────────── */

.cg-deflist {
  margin: 0;
  border-top: 1px solid rgba(243, 239, 230, 0.18);
}
.cg-section--ink .cg-deflist { border-top-color: rgba(243, 239, 230, 0.22); }
.cg-deflist-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(243, 239, 230, 0.12);
}
.cg-deflist-row dt {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(243, 239, 230, 0.6);
  font-family: var(--font-mono);
}
.cg-deflist-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--surface-ink);
}

/* ── Numbered list ──────────────────────────────────────────────────────── */

.cg-numlist {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 24px 32px;
}
.cg-numlist--1 { grid-template-columns: 1fr; }
.cg-numlist--2 { grid-template-columns: 1fr 1fr; }
.cg-numlist li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.cg-numlist-n {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.cg-numlist-t {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.008em;
  margin-bottom: 6px;
}
.cg-numlist-d {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
@media (max-width: 720px) { .cg-numlist--2 { grid-template-columns: 1fr; } }

/* ── Docs list ──────────────────────────────────────────────────────────── */

.cg-docs {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: start;
}
.cg-docs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cg-docs-list li {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  cursor: pointer;
  transition: padding-left .15s ease;
}
.cg-docs-list li:hover { padding-left: 4px; }
.cg-docs-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.cg-docs-action {
  font-size: 13px;
  color: var(--accent);
  letter-spacing: -0.003em;
}
@media (max-width: 720px) { .cg-docs { grid-template-columns: 1fr; gap: 24px; } }
.cg-docs-action { background: none; border: none; padding: 0; cursor: pointer; }

/* ── Compliance documents (Privacy / KYC-AML / Code of Conduct) ─────────── */
.cg-doc {
  max-width: 760px;
  margin: 0 auto;
}
.cg-doc-head {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.cg-doc-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 28px;
}
.cg-doc-title {
  margin-top: 14px;
}
.cg-doc-intro {
  margin-top: 18px;
  max-width: 640px;
}
.cg-doc-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cg-doc-block-h {
  margin-bottom: 14px;
}
.cg-doc-p {
  margin: 0 0 14px;
  max-width: 660px;
}
.cg-doc-p:last-child { margin-bottom: 0; }
.cg-doc-list {
  margin: 0 0 4px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.cg-doc-mailto {
  margin: 0 0 14px;
  font-size: 15px;
}
.cg-doc-mailto a { color: var(--accent); }
.cg-doc-foot {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cg-doc-foot-logo {
  height: 22px;
  width: auto;
  opacity: 0.7;
}
.cg-doc-foot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

/* ── Bullets (Autores) ──────────────────────────────────────────────────── */

.cg-bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.cg-bullet {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--r-lg);
}
.cg-bullet-mark {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-bottom: 20px;
}
.cg-bullet .cg-h4 { margin-bottom: 8px; }
@media (max-width: 860px) { .cg-bullets { grid-template-columns: 1fr; } }

/* ── Eligibility list ───────────────────────────────────────────────────── */

.cg-elig-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.cg-elig-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
}
.cg-elig-n { color: var(--accent); font-size: 13px; }

/* ── About prose ────────────────────────────────────────────────────────── */

.cg-prose {
  max-width: 720px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}
.cg-prose p { margin: 0 0 22px; }
.cg-prose p:last-child { margin-bottom: 0; }

/* ── Principles ─────────────────────────────────────────────────────────── */

.cg-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-top: 24px;
}
.cg-principle {
  padding-top: 24px;
  border-top: 1px solid rgba(243, 239, 230, 0.18);
}
.cg-principle-n {
  font-size: 13px;
  color: rgba(243, 239, 230, 0.55);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.cg-principle .cg-h4 { margin-bottom: 10px; }
@media (max-width: 720px) { .cg-principles { grid-template-columns: 1fr; } }

/* ── Lifecycle (Como funciona) ──────────────────────────────────────────── */

.cg-lifecycle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cg-life-stage {
  position: relative;
  padding: 32px 32px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.cg-life-stage-n {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.cg-life-stage-body { max-width: 32ch; }
.cg-life-stage .cg-h4 { margin-bottom: 8px; }
.cg-life-stage-line { display: none; }
@media (max-width: 720px) { .cg-lifecycle { grid-template-columns: 1fr; } }

/* ── Compliance rows ────────────────────────────────────────────────────── */

.cg-compliance-rows {
  border-top: 1px solid var(--line);
}
.cg-comp-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.7fr) minmax(0, 1.6fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cg-comp-row-n { color: var(--accent); font-size: 13px; letter-spacing: 0.02em; }
.cg-comp-row-t .cg-h4 { margin: 0; }
.cg-comp-row-d { color: var(--ink-2); }
@media (max-width: 860px) {
  .cg-comp-row { grid-template-columns: 1fr; gap: 8px; }
  .cg-comp-row-n { margin-bottom: 4px; }
}

/* ── Resultados ─────────────────────────────────────────────────────────── */

.cg-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cg-kpi {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.cg-kpi-v {
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.026em;
  line-height: 1;
  color: var(--ink);
}
.cg-kpi-l {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.cg-kpi-s {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 860px) { .cg-kpi-grid { grid-template-columns: 1fr 1fr; } }

.cg-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cg-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr) 48px;
  gap: 18px;
  align-items: center;
}
.cg-bar-label {
  font-size: 14px;
  color: var(--ink);
}
.cg-section--ink .cg-bar-label { color: var(--surface-ink); }
.cg-bar-track {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.cg-section--ink .cg-bar-track { background: rgba(243, 239, 230, 0.1); }
.cg-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 60%, var(--surface-ink)) 100%);
  transition: width .6s ease;
}
.cg-bar-value {
  font-size: 13px;
  color: var(--muted);
  text-align: right;
}
.cg-section--ink .cg-bar-value { color: rgba(243, 239, 230, 0.7); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.cg-faq-group {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1.6fr);
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.cg-faq-group:last-child { border-bottom: 1px solid var(--line); }
.cg-faq-list { display: flex; flex-direction: column; }
.cg-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.cg-faq-item:first-child { border-top: 1px solid var(--line); }
.cg-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  padding: 6px 0;
}
.cg-faq-item summary::-webkit-details-marker { display: none; }
.cg-faq-q { font-size: 17px; font-weight: 500; color: var(--ink); letter-spacing: -0.008em; }
.cg-faq-toggle {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.cg-faq-item[open] .cg-faq-toggle-v { display: none; }
.cg-faq-a {
  padding: 8px 0 8px;
  max-width: 56ch;
}
.cg-faq-a p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .cg-faq-group { grid-template-columns: 1fr; gap: 18px; }
}

/* ── CTA block (interior pages) ─────────────────────────────────────────── */

.cg-cta {
  background: var(--surface);
  color: var(--surface-ink);
  padding: calc(96px * var(--density-mult)) 0;
}
.cg-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cg-cta-inner .cg-h3,
.cg-cta-inner .cg-sub { color: var(--surface-ink); }
.cg-cta-inner .cg-h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.018em; }
.cg-cta-inner .cg-sub { color: rgba(243, 239, 230, 0.72); }
.cg-cta-actions {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Dark mode adjustments ──────────────────────────────────────────────── */

:root[data-theme="dark"] .cg-section--ink { background: #0a1410; }
:root[data-theme="dark"] .cg-header {
  background: color-mix(in srgb, var(--bg) 86%, transparent);
}
:root[data-theme="dark"] .cg-btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
:root[data-theme="dark"] .cg-btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 70%, white);
}
:root[data-theme="dark"] .cg-mark-cell {
  background: var(--bg);
}

/* ── Misc ───────────────────────────────────────────────────────────────── */

.cg-page { display: block; }
