/* ==========================================================================
   LendMetrics public site — design system
   Hand-written CSS with design tokens. No build step, no CDN framework.
   Institutional navy/teal language shared with the company profile and
   client teaser. Light and dark themes. Dark mode uses a restrained
   starfield; light mode uses a faint architectural grid.
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------------------------------------------------------------------- */
/* Tokens                                                                  */
/* ---------------------------------------------------------------------- */
:root {
  --navy: #012970;
  --navy-700: #0B1F3B;
  --navy-900: #071528;
  --teal: #1ca8a6;
  --teal-600: #0f766e;
  --teal-glow: #2dd4bf;
  --brand-gradient: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);

  --positive: #10b981;
  --positive-soft: rgba(16, 185, 129, 0.14);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.14);
  --info: #38bdf8;
  --info-soft: rgba(56, 189, 248, 0.14);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.14);

  --bg: #f4f7fb;
  --bg-muted: #eef3f8;
  --bg-inverse: var(--navy-700);
  --surface: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.92);
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #5b6b82;
  --muted-soft: #94a3b8;
  --line: rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.16);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 26px 54px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 40px 90px rgba(1, 41, 112, 0.16), 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-navy: 0 10px 24px rgba(1, 41, 112, 0.20);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --font-display: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
  --font-sans: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;

  --text-label: 0.6875rem;
  --text-caption: 0.8125rem;
  --text-ui: 0.875rem;
  --text-body: 1rem;
  --text-lede: 1.0625rem;
  --text-title: 1.0625rem;
  --text-display: 1.25rem;
  --text-h1: clamp(1.85rem, 1.35rem + 1.85vw, 3rem);
  --text-h2: clamp(1.35rem, 1.12rem + 0.85vw, 1.9375rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --page-gutter: clamp(1.15rem, 2vw, 2.75rem);
  --container-w: min(1760px, calc(100% - var(--page-gutter) * 2));
  --header-h: 4.5rem;

  color-scheme: light;
}

html.dark {
  color-scheme: dark;
  --bg: #071528;
  --bg-muted: #0a1c33;
  --surface: #0d2340;
  --surface-2: rgba(13, 35, 64, 0.86);
  --ink: #f1f5f9;
  --ink-soft: #d5deea;
  --muted: #9aabc2;
  --muted-soft: #6b7d94;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);

  --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.4);
  --shadow-md: 0 18px 32px rgba(2, 6, 23, 0.48);
  --shadow-lg: 0 28px 60px rgba(2, 6, 23, 0.55);
}

/* ---------------------------------------------------------------------- */
/* Base type                                                               */
/* ---------------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  letter-spacing: 0.004em;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  transition: background-color 220ms ease, color 220ms ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
}
html.dark h1, html.dark h2, html.dark h3, html.dark h4 { color: #fff; }

h1 {
  font-size: var(--text-h1);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.16;
}
h2 {
  font-size: var(--text-h2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.24;
}
h3 {
  font-size: var(--text-title);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.32;
}
h4 {
  font-size: var(--text-ui);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

p { color: var(--ink-soft); line-height: 1.62; font-size: var(--text-body); }
.lede { font-size: var(--text-body); line-height: 1.62; color: var(--muted); max-width: 62ch; }
.lede-lg { font-size: var(--text-lede); line-height: 1.55; max-width: 42rem; }

::selection {
  background: rgba(28, 168, 166, 0.22);
  color: var(--navy-900);
}
html.dark ::selection {
  background: rgba(45, 212, 191, 0.28);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: rgba(11, 31, 59, 0.45);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}
html.dark ::-webkit-scrollbar-thumb { background-color: rgba(148, 163, 184, 0.35); }

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

.visually-hidden {
  position: absolute; 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: var(--space-4);
  top: -4rem;
  z-index: 80;
  padding: 0.7rem 1.1rem;
  background: #fff;
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }

/* ---------------------------------------------------------------------- */
/* Layout                                                                  */
/* ---------------------------------------------------------------------- */
.container { width: var(--container-w); margin-inline: auto; }
.container-narrow { width: min(46rem, var(--container-w)); margin-inline: auto; }

.site-main { padding-top: var(--header-h); }

.section { padding-block: var(--space-20); }
.section-sm { padding-block: var(--space-12); }
.section-md { padding-block: var(--space-16); }
.section-tight { padding-block: var(--space-10); }

.section-alt { background: var(--bg-muted); }
.section-inverse {
  background: var(--bg-inverse);
  color: #fff;
  border-top: 2px solid var(--teal);
  padding-block: var(--space-20);
}
html.dark .section-inverse { border-top-color: var(--teal-glow); box-shadow: 0 -1px 0 rgba(45, 212, 191, 0.15); }
.section-inverse h1, .section-inverse h2, .section-inverse h3 { color: #fff; }
.section-inverse p { color: rgba(255, 255, 255, 0.78); }
.section-inverse > .container > h2::after,
.section-inverse > .container-narrow > h2::after,
.section-inverse .u-center > h2::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin: var(--space-4) auto 0;
  background: var(--teal-glow);
}

.u-center { text-align: center; }
.u-muted { color: var(--muted); }
.u-strong { color: var(--ink); font-weight: 700; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: var(--space-2); }
.gap-sm { gap: var(--space-3); }
.gap-md { gap: var(--space-5); }
.gap-lg { gap: var(--space-8); }

.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-6); }
.grid-5 { display: grid; grid-template-columns: repeat(1, 1fr); gap: var(--space-5); }
.grid-6 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1400px) {
  .grid-2, .grid-3 { gap: var(--space-10); }
  .grid-4 { gap: var(--space-8); }
}

.stack-xs > * + * { margin-top: var(--space-2); }
.stack-sm > * + * { margin-top: var(--space-3); }
.stack-md > * + * { margin-top: var(--space-5); }
.stack-lg > * + * { margin-top: var(--space-8); }

.rich-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.rich-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.rich-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 2px;
  background: var(--teal);
}

/* ---------------------------------------------------------------------- */
/* Section heading                                                         */
/* ---------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-600);
}
html.dark .eyebrow { color: var(--teal-glow); }
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.section-inverse .eyebrow { color: var(--teal-glow); }

.section-head { max-width: 48rem; margin-bottom: var(--space-12); }
.section-head.u-center { margin-inline: auto; }
.section-head h2 { margin-top: var(--space-3); }
.section-head h2::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-top: var(--space-4);
  background: var(--teal);
}
.section-head.u-center h2::after { margin-inline: auto; }
.section-head p { margin-top: var(--space-4); color: var(--muted); max-width: 42rem; }
.section-head.u-center p { margin-inline: auto; }
@media (min-width: 1400px) {
  .section-head { max-width: 56rem; margin-bottom: var(--space-16); }
}

.section-head-row {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: var(--space-10);
}
.section-head-row .aside { color: var(--muted); font-size: var(--text-ui); line-height: 1.5; }
@media (min-width: 900px) {
  .section-head-row { grid-template-columns: 1.5fr 1fr; }
  .section-head-row .aside { text-align: right; }
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.85rem 1.55rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: var(--text-ui);
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 200ms ease,
    background-color 180ms ease,
    background-position 520ms ease,
    border-color 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background-color: var(--teal-600);
  background-image: linear-gradient(180deg, #178f8b 0%, var(--teal-600) 58%, #0c5f59 100%);
  background-size: 100% 140%;
  background-position: 50% 0%;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 22px rgba(15, 118, 110, 0.32);
}
.btn-primary:visited { color: #fff; }
.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  background-position: 50% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 28px rgba(15, 118, 110, 0.42),
    0 0 0 1px rgba(28, 168, 166, 0.35);
}
.btn-primary:active {
  background-position: 50% 40%;
  box-shadow:
    inset 0 1px 2px rgba(7, 21, 40, 0.22),
    0 6px 14px rgba(15, 118, 110, 0.24);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal-600);
}
.btn-outline:visited { color: var(--teal-600); }
.btn-outline:hover { background: rgba(28, 168, 166, 0.08); }
html.dark .btn-outline,
html.dark .btn-outline:visited {
  color: var(--teal-glow);
  border-color: rgba(45, 212, 191, 0.5);
}
.hero-cover .btn-outline,
.hero-cover .btn-outline:visited,
.section-inverse .btn-outline,
.section-inverse .btn-outline:visited,
.site-header .btn-outline,
.site-header .btn-outline:visited {
  color: #fff;
  border-color: rgba(45, 212, 191, 0.55);
}
.hero-cover .btn-outline:hover,
.section-inverse .btn-outline:hover,
.site-header .btn-outline:hover {
  background: rgba(45, 212, 191, 0.12);
  color: #fff;
}

/* Cover CTAs sit on a pale skyline photo — give them a visible chip, not a ghost. */
.hero-cover .hero-actions .btn.btn-primary,
.hero-cover .hero-actions .btn.btn-primary:visited {
  color: #fff;
  background-color: var(--teal-600);
  background-image: linear-gradient(180deg, #1aa39a 0%, var(--teal-600) 58%, #0c5f59 100%);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 14px 32px rgba(7, 21, 40, 0.45);
}
.hero-cover .hero-actions .btn.btn-outline,
.hero-cover .hero-actions .btn.btn-outline:visited {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(7, 21, 40, 0.22);
}
.hero-cover .hero-actions .btn.btn-outline:hover,
.hero-cover .hero-actions .btn.btn-outline:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 10px 22px rgba(7, 21, 40, 0.18);
}
.btn-light:hover,
.btn-light:focus-visible {
  color: var(--navy);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 14px 28px rgba(7, 21, 40, 0.22);
}
.btn-ghost-inverse { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-ghost-inverse:hover { background: rgba(255,255,255,0.1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0.45rem 1.05rem; font-size: var(--text-caption); }

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.btn-shine:hover::after,
.btn-shine:focus-visible::after {
  transform: translateX(130%);
}
.btn-light.btn-shine::after {
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(1, 41, 112, 0.10) 50%,
    transparent 62%
  );
}

/* ---------------------------------------------------------------------- */
/* Chips / badges / pills                                                  */
/* ---------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 500;
  background: var(--bg-muted);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
html.dark .chip { background: rgba(7, 21, 40, 0.55); }

.chip-outline {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-muted);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}
.pill.active, .pill[aria-pressed="true"] {
  background: var(--brand-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-navy);
}
.hero-cover .pill {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-cover .pill.active,
.hero-cover .pill[aria-pressed="true"] {
  background: var(--teal-600);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.35);
}

.badge {
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--bg-muted);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.badge-teal { background: rgba(28,168,166,0.12); color: var(--teal-600); border-color: rgba(28,168,166,0.3); }
html.dark .badge-teal { color: var(--teal-glow); background: rgba(45,212,191,0.14); }

.domain-governance { background: rgba(56,189,248,0.14); color: #0369a1; border-color: rgba(56,189,248,0.35); }
.domain-security { background: rgba(45,212,191,0.16); color: #0f766e; border-color: rgba(45,212,191,0.4); }
.domain-audit { background: rgba(250,204,21,0.16); color: #a16207; border-color: rgba(250,204,21,0.4); }
.domain-resilience { background: rgba(251,146,60,0.16); color: #c2410c; border-color: rgba(251,146,60,0.35); }
.domain-privacy { background: rgba(167,139,250,0.16); color: #5b21b6; border-color: rgba(167,139,250,0.34); }
html.dark .domain-governance { background: rgba(12,74,110,0.4); color: #7dd3fc; }
html.dark .domain-security { background: rgba(17,94,89,0.45); color: #5eead4; }
html.dark .domain-audit { background: rgba(113,63,18,0.45); color: #fde047; }
html.dark .domain-resilience { background: rgba(124,45,18,0.45); color: #fdba74; }
html.dark .domain-privacy { background: rgba(76,29,149,0.45); color: #c4b5fd; }

/* ---------------------------------------------------------------------- */
/* Cards & glass panels                                                     */
/* ---------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card-hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(28,168,166,0.35); }

.card-tilt { transform-style: preserve-3d; will-change: transform; transition: transform 260ms ease, box-shadow 260ms ease; }

.icon-well {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 8px;
  background: rgba(28,168,166,0.10);
  color: var(--teal-600);
  font-size: 1.05rem;
  flex: 0 0 auto;
}
.icon-well-sm { width: 2.15rem; height: 2.15rem; font-size: 0.9375rem; }
html.dark .icon-well { background: rgba(45,212,191,0.14); color: var(--teal-glow); }

.panel-glass {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8);
  overflow: hidden;
}
html.dark .panel-glass {
  background: linear-gradient(160deg, rgba(13,35,64,0.92), rgba(7,21,40,0.88));
}
.panel-glass .glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.glow-teal { background: rgba(28,168,166,0.18); }
.glow-navy { background: rgba(1,41,112,0.18); }
.panel-glass > * { position: relative; z-index: 1; }

.tile {
  border: 1px solid var(--line);
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.tile-solid { background: var(--surface); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

.kpi {
  border: 1px solid var(--line);
  background: var(--bg-muted);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}
.kpi-label { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.kpi-value {
  font-family: var(--font-sans);
  font-size: var(--text-lede);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 2px;
}
html.dark .kpi-value { color: #fff; }
.kpi-value-sm { font-size: var(--text-ui); }

/* ---------------------------------------------------------------------- */
/* Site header / nav                                                       */
/* ---------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid rgba(45, 212, 191, 0.16);
  background: rgba(7, 21, 40, 0.92);
  backdrop-filter: blur(18px);
  color: #fff;
  transition: box-shadow 220ms ease, background-color 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(7, 21, 40, 0.98);
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: var(--header-h);
}

.brand-mark { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-mark .brand-word {
  font-family: var(--font-display);
  font-size: var(--text-ui);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
}
.brand-mark .brand-word span { color: var(--teal-glow); }

.nav-desktop { display: none; align-items: center; gap: var(--space-5); font-size: var(--text-ui); font-weight: 400; }
@media (min-width: 980px) { .nav-desktop { display: flex; } }
@media (min-width: 1400px) { .nav-desktop { gap: var(--space-8); } }

.nav-link {
  position: relative;
  padding-bottom: 2px;
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  transition: color 160ms ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px;
  background: var(--teal-glow); transition: width 220ms ease;
}
.nav-link:hover, .nav-link.is-active, .nav-link[aria-current="page"] { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after, .nav-link[aria-current="page"]::after { width: 100%; }

.theme-toggle { display: flex; align-items: center; gap: 0.55rem; cursor: pointer; user-select: none; background: none; border: 0; padding: 0; min-height: 44px; }
.theme-toggle .toggle-label { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.78); }
.theme-toggle .toggle-track {
  width: 2.75rem; height: 1.45rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.18); position: relative; transition: background-color 200ms ease;
}
html.dark .theme-toggle .toggle-track { background: rgba(45,212,191,0.28); }
.theme-toggle .toggle-knob {
  position: absolute; top: 3px; left: 3px; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-sm); transition: transform 240ms ease;
}
html.dark .theme-toggle .toggle-knob { transform: translateX(1.3rem); }

.mobile-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; font-size: 1.45rem;
  color: #fff; cursor: pointer;
}
@media (min-width: 980px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-4) var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(7, 21, 40, 0.98);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  display: flex; align-items: center; gap: 0.65rem;
  min-height: 44px; padding: 0.45rem 0.15rem; font-size: var(--text-body);
  text-decoration: none; color: rgba(255,255,255,0.9);
}
.mobile-menu a .lm-icon { color: var(--teal-glow); }
.mobile-menu .mobile-theme-row { padding-top: var(--space-3); border-top: 1px solid rgba(255,255,255,0.08); margin-top: var(--space-2); }

.bottom-nav {
  display: flex;
  position: fixed; inset-inline: 0; bottom: 0; z-index: 50;
  justify-content: space-around;
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgba(7, 21, 40, 0.96);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(45, 212, 191, 0.16);
  font-size: var(--text-label); font-weight: 600;
  color: rgba(255,255,255,0.7);
}
@media (min-width: 980px) { .bottom-nav { display: none; } }
.bottom-nav a, .bottom-nav button {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.15rem; min-width: 48px; min-height: 48px;
  color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer; font: inherit;
}
.bottom-nav a.is-active, .bottom-nav a[aria-current="page"] { color: var(--teal-glow); }
.bottom-nav .lm-icon { font-size: 1.2rem; }

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.72);
  border-top: 2px solid var(--teal);
  padding: var(--space-16) 0 var(--space-10);
}
.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-8); }
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: var(--space-4); }
.footer-brand img { width: 2.1rem; height: 2.1rem; object-fit: contain; }
.footer-brand strong {
  font-family: var(--font-display);
  font-size: var(--text-ui);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
}
.site-footer p { color: rgba(255,255,255,0.68); font-size: var(--text-ui); }
.site-footer h3 {
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-glow);
  margin-bottom: var(--space-4);
}
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--teal-glow); }
.footer-links { display: grid; gap: 0.65rem; }
.footer-meta {
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  font-size: 0.75rem;
}
.footer-parent { display: flex; align-items: center; gap: 0.55rem; }
.footer-parent img { width: 1.5rem; height: 1.5rem; object-fit: contain; }

@media (max-width: 979px) {
  .site-footer { padding-bottom: calc(var(--space-16) + 3.5rem); }
}

/* ---------------------------------------------------------------------- */
/* Cinematic hero                                                          */
/* ---------------------------------------------------------------------- */
.hero-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: min(42rem, 92vh);
  display: flex;
  align-items: flex-end;
  margin-top: calc(var(--header-h) * -1);
}
.hero-cover__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero-cover__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(112deg, rgba(7, 21, 40, 0.94) 0%, rgba(11, 31, 59, 0.84) 46%, rgba(15, 118, 110, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 21, 40, 0.18) 0%, rgba(7, 21, 40, 0.88) 100%);
}
html:not(.dark) .hero-cover__veil {
  background:
    linear-gradient(112deg, rgba(7, 21, 40, 0.97) 0%, rgba(11, 31, 59, 0.92) 50%, rgba(15, 118, 110, 0.58) 100%),
    linear-gradient(180deg, rgba(7, 21, 40, 0.5) 0%, rgba(7, 21, 40, 0.94) 100%);
}
.hero-cover__inner {
  position: relative;
  z-index: 2;
  width: var(--container-w);
  margin-inline: auto;
  padding-block: calc(var(--header-h) + var(--space-12)) var(--space-12);
}
.hero-cover h1, .hero-cover h2, .hero-cover h3 { color: #fff; }
.hero-cover .lede-lg, .hero-cover p { color: rgba(255,255,255,0.86); }
.hero-cover .eyebrow { color: var(--teal-glow); }
.hero-cover .kpi-label { color: rgba(255,255,255,0.62); }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero-cover--page {
  min-height: 22rem;
  align-items: flex-end;
}
.hero-cover--home {
  min-height: 0;
  align-items: flex-end;
}
.hero-cover--home .hero-cover__inner {
  padding-block: calc(var(--header-h) + var(--space-6)) calc(var(--space-8) + 3.5rem);
}
.hero-cover--home .hero { gap: var(--space-6); align-items: stretch; }
.hero-copy {
  display: grid;
  gap: var(--space-5);
}
.hero-copy .lede-lg { margin-top: var(--space-3); max-width: 38rem; }
.hero-copy .kpi-label { margin-bottom: var(--space-2); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.hero-cover--home .hero-stats {
  margin-top: 0;
  padding-top: var(--space-4);
}
.hero-cover--home h1 {
  font-size: clamp(1.65rem, 1.15rem + 3.2vw, 2.15rem);
  line-height: 1.14;
}
.hero-cover--home .snapshot-metrics { margin: var(--space-4) 0; }

@media (max-width: 639px) {
  .hero-cover--home .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cover--home .hero-actions .btn { width: 100%; }
  .hero-cover--home .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr); gap: var(--space-16); }
  .hero-cover { align-items: center; min-height: min(48rem, 94vh); }
  .hero-cover--page { align-items: flex-end; min-height: 26rem; }
  .hero-cover--home {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: center;
  }
  .hero-cover--home .hero-cover__inner {
    padding-block: calc(var(--header-h) + var(--space-8)) var(--space-12);
  }
  .hero-cover--home .hero { gap: var(--space-12); align-items: center; }
  .hero-cover--home h1 {
    font-size: clamp(1.9rem, 1.15rem + 1.8vw, 2.85rem);
    line-height: 1.12;
  }
}
@media (min-width: 1400px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(26rem, 0.8fr); }
  .hero-cover--home {
    min-height: min(52rem, 100dvh);
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: var(--text-label);
  color: rgba(255,255,255,0.68);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-lede);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.hero-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy-900);
  border-top: 2px solid var(--teal);
  padding-inline: max(var(--page-gutter), calc((100% - 1760px) / 2));
}
@media (min-width: 800px) { .hero-rail { grid-template-columns: repeat(4, 1fr); } }
.hero-rail div {
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hero-rail div:last-child { border-right: 0; padding-right: 0; }
.hero-rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--teal-glow);
  margin-bottom: 0.3rem;
}
.hero-rail span { font-size: var(--text-ui); line-height: 1.45; color: rgba(255,255,255,0.7); }

.hero-visual { position: relative; }
.hero-visual .blur-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }

.snapshot-card {
  position: relative; z-index: 1;
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--teal);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
}
.snapshot-card h3 { color: var(--navy); }
.hero-cover .snapshot-card h3 { color: var(--navy); }
.hero-cover .snapshot-card p,
.hero-cover .snapshot-card .kpi-label,
.hero-cover .snapshot-card .label,
.hero-cover .snapshot-card .u-muted,
.hero-cover .snapshot-card .bar-legend {
  color: var(--muted);
}
.hero-cover .snapshot-card .value { color: var(--ink); }
.hero-cover .snapshot-card .value-navy { color: var(--navy); }
.hero-cover .snapshot-card .value-positive { color: var(--positive); }
.hero-cover .snapshot-card .value-warning { color: #d97706; }
html.dark .snapshot-card h3,
html.dark .hero-cover .snapshot-card h3,
html.dark .hero-cover .snapshot-card .value-navy { color: #fff; }
html.dark .hero-cover .snapshot-card .value { color: var(--ink); }
.snapshot-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin: var(--space-5) 0; }
.snapshot-metric { background: var(--bg-muted); border-radius: var(--radius-sm); padding: var(--space-3); }
.snapshot-metric .label { font-size: 0.6875rem; color: var(--muted); }
.snapshot-metric .value { margin-top: 2px; font-family: var(--font-sans); font-size: var(--text-ui); font-weight: 500; font-variant-numeric: tabular-nums; }

.bar-track { width: 100%; height: 8px; border-radius: var(--radius-pill); background: var(--bg-muted); overflow: hidden; display: flex; }
.bar-track > span { height: 100%; }
.bar-legend { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--muted); margin-top: var(--space-2); flex-wrap: wrap; gap: 0.3rem; }

.value-navy { color: var(--navy); }
html.dark .value-navy { color: #fff; }
.value-positive { color: var(--positive); }
.value-warning { color: #d97706; }
html.dark .value-warning { color: var(--warning); }

.bar-teal { background: var(--teal); }
.bar-emerald { background: #34d399; }
.bar-sky { background: #38bdf8; }
.bar-amber { background: #fbbf24; }
.bar-emerald-soft { background: rgba(52,211,153,0.55); }
.bar-teal-soft { background: rgba(28,168,166,0.22); }
.bar-amber-soft { background: rgba(251,191,36,0.7); }
.bar-red-soft { background: rgba(248,113,113,0.7); }

.card-neutral { background: var(--surface); border: 1px solid var(--line); }
.card-positive { background: var(--positive-soft); border: 1px solid rgba(16,185,129,0.3); }
.card-warning { background: var(--warning-soft); border: 1px solid rgba(245,158,11,0.3); }

/* ---------------------------------------------------------------------- */
/* Products / capability / feature grids                                   */
/* ---------------------------------------------------------------------- */
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 100%;
  border-top: 2px solid var(--teal);
  transition: transform 200ms ease, border-color 200ms ease;
}
.product-card:hover { transform: translateY(-2px); border-color: rgba(28,168,166,0.45); }
.product-card .idx {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-600);
  font-weight: 500;
}
html.dark .product-card .idx { color: var(--teal-glow); }
.product-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.product-card p { font-size: 0.9375rem; }
.product-card .tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; padding-top: var(--space-2); }

.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: none;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}
.feature-card:hover { border-color: rgba(28,168,166,0.4); transform: translateY(-2px); }
.feature-card h3 { margin: var(--space-4) 0 var(--space-2); font-size: var(--text-title); font-weight: 500; }
.feature-card p { font-size: 0.9375rem; margin-bottom: var(--space-4); }
.feature-card .tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.step-card { background: var(--bg-muted); border-radius: var(--radius-md); padding: var(--space-5); border: 1px solid var(--line); }
.step-num {
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgba(28,168,166,0.15); color: var(--teal-600);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: var(--space-3);
}
html.dark .step-num { color: var(--teal-glow); }
.step-card p.step-title { font-weight: 500; color: var(--navy); margin-bottom: 2px; font-size: var(--text-title); }
html.dark .step-card p.step-title { color: #fff; }
.step-card p.step-desc { font-size: var(--text-ui); color: var(--muted); }

.lifecycle-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  padding: var(--space-6) var(--space-2) var(--space-2);
}
.lifecycle-flow::before {
  content: "";
  position: absolute;
  top: calc(var(--space-6) + 1.55rem);
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal) 12%, var(--teal) 88%, transparent);
  opacity: 0.45;
  z-index: 0;
}
.lifecycle-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
}
.lifecycle-node .lifecycle-icon {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
html.dark .lifecycle-node .lifecycle-icon { color: var(--teal-glow); }
.lifecycle-node .lifecycle-num {
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lifecycle-node .lifecycle-label {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.25;
}
html.dark .lifecycle-node .lifecycle-label { color: #fff; }
.lifecycle-node .lifecycle-copy {
  font-size: var(--text-ui);
  color: var(--muted);
  max-width: 20ch;
}

@media (max-width: 767px) {
  .lifecycle-flow { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-2); }
  .lifecycle-flow::before {
    top: var(--space-2);
    bottom: var(--space-2);
    left: 1.55rem;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--teal) 15%, var(--teal) 85%, transparent);
  }
  .lifecycle-node { flex-direction: row; text-align: left; gap: var(--space-4); }
  .lifecycle-node .lifecycle-copy { max-width: none; }
}

.audience-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-8) var(--space-6);
  margin-top: var(--space-10);
}
html.dark .audience-band { background: var(--surface); border-color: var(--line); }
.audience-band .col strong { display: block; color: var(--navy); font-weight: 500; margin-bottom: 2px; font-size: var(--text-title); }
html.dark .audience-band .col strong { color: #fff; }
.audience-band .col p { font-size: 0.9375rem; color: var(--muted); }

.split-band {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 800px) { .split-band { grid-template-columns: 1fr 1fr; } }
.split-pane {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.split-pane h3 { margin: var(--space-3) 0; }

.shot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.shot-frame img { width: 100%; height: 100%; object-fit: cover; }

.shot-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: end;
}
@media (min-width: 768px) {
  .shot-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .shot-gallery { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); }
}

.media-shot {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: auto;
}
.shot-gallery > .media-shot,
.grid-2 > .media-shot {
  max-width: 36rem;
  width: 100%;
  margin-inline: auto;
}
.media-shot--wide,
.media-shot--portrait { height: auto; }
.media-shot .frame {
  padding: 0;
  background: transparent;
  display: block;
}
.media-shot .frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(7, 21, 40, 0.10));
}
html.dark .media-shot .frame img {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.32));
}
.media-shot figcaption {
  padding: var(--space-4) 0.15rem 0;
  background: none;
  border: 0;
}
.media-shot figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-ui);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 2px;
}
html.dark .media-shot figcaption strong { color: #fff; }
.media-shot figcaption span { display: block; font-size: var(--text-caption); line-height: 1.45; color: var(--muted); }

.trust-grid-tile {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 200ms ease, transform 200ms ease;
}
.trust-grid-tile:hover { border-color: rgba(28,168,166,0.4); transform: translateY(-2px); }
.trust-grid-tile h3 { font-size: var(--text-title); margin: var(--space-4) 0 var(--space-2); font-weight: 500; }
.trust-grid-tile p { font-size: 0.9375rem; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  box-shadow: none;
}
.pricing-card.is-featured {
  border-color: var(--line);
  border-top: 2px solid var(--teal);
  box-shadow: none;
}
.pricing-card .plan-tag { font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--teal-600); margin-bottom: var(--space-2); }
html.dark .pricing-card .plan-tag { color: var(--teal-glow); }
.pricing-card ul { margin: var(--space-4) 0; display: grid; gap: var(--space-2); font-size: 0.9375rem; color: var(--ink-soft); }
.pricing-card li { display: flex; gap: 0.5rem; }
.pricing-card .foot-note { margin-top: auto; padding-top: var(--space-4); font-size: var(--text-ui); color: var(--muted); }
.pricing-card a {
  color: var(--teal-600);
  font-weight: 500;
  text-decoration: none;
}
.pricing-card a:hover { text-decoration: underline; }
html.dark .pricing-card a { color: var(--teal-glow); }

/* ---------------------------------------------------------------------- */
/* Marquee                                                                 */
/* ---------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex; width: max-content; gap: var(--space-6); padding-block: var(--space-6);
  animation: marqueeMove var(--marquee-duration, 45s) linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track.is-reverse { animation-direction: reverse; }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 0.75rem)); } }
.marquee-card {
  min-width: 290px; max-width: 290px;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.marquee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.marquee-card .kicker { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: var(--space-2); }
.marquee-card p.claim { font-size: var(--text-ui); font-weight: 600; color: var(--navy); }
html.dark .marquee-card p.claim { color: #f1f5f9; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                    */
/* ---------------------------------------------------------------------- */
.form-panel { padding: var(--space-8); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 700px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.field { display: grid; gap: var(--space-2); }
.field label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.field-input-wrap { position: relative; }
.field-input-wrap .lm-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-soft); pointer-events: none; }

.input, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-ui);
  outline: none;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}
.field-input-wrap .input { padding-left: 2.75rem; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(28,168,166,0.18); }
.textarea { resize: vertical; min-height: 8rem; }
select.select { appearance: none; }
.select-wrap { position: relative; }
.select-wrap .chevron { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-soft); pointer-events: none; }

.form-error {
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  background: rgba(239,68,68,0.1);
  color: #b91c1c;
  border: 1px solid rgba(239,68,68,0.3);
  font-size: var(--text-ui);
}
html.dark .form-error { color: #fca5a5; }

[data-demo-only-wrapper].is-hidden { display: none; }

.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  background: rgba(7, 21, 40, 0.62); backdrop-filter: blur(14px); padding: var(--space-4);
}
.modal-card { background: var(--surface); border-radius: var(--radius-xl); padding: var(--space-10); max-width: 30rem; width: 100%; text-align: center; box-shadow: var(--shadow-lg); }
.modal-icon { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(28,168,166,0.14); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: var(--space-5); }

.rail-timeline { position: relative; display: grid; gap: var(--space-5); padding-left: var(--space-2); }
.rail-timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.rail-timeline .step { position: relative; padding-left: var(--space-8); }
.rail-timeline .dot { position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
.rail-timeline .step.is-active .dot { border-color: var(--teal); background: rgba(28,168,166,0.15); }
.rail-timeline p.step-title { font-weight: 700; font-size: var(--text-ui); color: var(--navy); }
html.dark .rail-timeline p.step-title { color: #f1f5f9; }
.rail-timeline p.step-desc { font-size: var(--text-caption); color: var(--muted); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.data-table thead th {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted);
  background: var(--bg-muted); border-bottom: 1px solid var(--line); padding: 0.7rem 0.85rem; text-align: left;
}
.data-table tbody td { border-bottom: 1px solid var(--line); padding: 0.8rem 0.85rem; font-size: var(--text-caption); color: var(--ink-soft); vertical-align: top; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr.is-hidden { display: none; }

/* ---------------------------------------------------------------------- */
/* Starfield / ambient fx                                                  */
/* ---------------------------------------------------------------------- */
.fx-layer { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fx-layer canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx-layer .fx-mesh {
  position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease;
  background:
    radial-gradient(circle at 18% 12%, rgba(28,168,166,0.16), transparent 38%),
    radial-gradient(circle at 82% 8%, rgba(56,189,248,0.08), transparent 42%),
    radial-gradient(circle at 70% 88%, rgba(1,41,112,0.35), transparent 46%);
}
.fx-layer .fx-grid {
  position: absolute; inset: 0; opacity: 0; transition: opacity 400ms ease;
  background:
    linear-gradient(rgba(1,41,112,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,168,166,0.04) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
}
html.dark .fx-layer .fx-mesh { opacity: 1; }
html:not(.dark) .fx-layer .fx-grid { opacity: 1; }

/* ---------------------------------------------------------------------- */
/* 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; }
  .marquee-track { animation: none !important; }
  .fx-layer canvas { display: none !important; }
  .btn:hover { transform: none; }
  .btn-primary:hover,
  .btn-primary:focus-visible { background-position: 50% 0%; }
  .btn-shine::after,
  .btn-shine:hover::after,
  .btn-shine:focus-visible::after { transform: none; }
}

/* ---------------------------------------------------------------------- */
/* TCF UAT public brand — institutional fintech gateway                    */
/* Palette from tradecapitalfinance.co.za kit: #060606 / #A97D30 / #F7F2F6 */
/* ---------------------------------------------------------------------- */
html.tcf-brand {
  --navy: #060606;
  --navy-700: #111111;
  --navy-900: #060606;
  --teal: #A97D30;
  --teal-600: #8A6524;
  --teal-glow: #C9A14A;
  --brand-gradient: linear-gradient(135deg, #060606 0%, #2a2110 55%, #A97D30 100%);
  --bg: #F7F5F2;
  --bg-muted: #F0EBE6;
  --bg-inverse: #060606;
  --surface: #ffffff;
  --ink: #121212;
  --ink-soft: #3a3a3a;
  --muted: #6b655c;
  --muted-soft: #9a9286;
  --line: rgba(6, 6, 6, 0.10);
  --line-strong: rgba(6, 6, 6, 0.16);
  --shadow-sm: 0 1px 2px rgba(6, 6, 6, 0.05);
  --shadow-md: 0 12px 28px rgba(6, 6, 6, 0.08);
  --shadow-lg: 0 22px 48px rgba(6, 6, 6, 0.12);
  --shadow-navy: 0 10px 24px rgba(6, 6, 6, 0.18);
  --radius-md: 10px;
  --radius-lg: 14px;
}

html.tcf-brand ::selection {
  background: rgba(169, 125, 48, 0.28);
  color: #060606;
}
html.tcf-brand :focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* Quiet institutional chrome — no decorative mesh/starfield */
html.tcf-brand .fx-layer { display: none !important; }

/* Light institutional header — gold rule, no logo chip */
html.tcf-brand .site-header {
  border-bottom: 2px solid var(--teal);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(6, 6, 6, 0.04);
}
html.tcf-brand .site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(6, 6, 6, 0.08);
}

html.tcf-brand .brand-mark--tcf {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
html.tcf-brand .brand-mark--tcf img {
  width: 2.35rem;
  height: 2.35rem;
  max-width: none;
  object-fit: contain;
}
html.tcf-brand .brand-mark--tcf .brand-word {
  font-family: "Cinzel", "Times New Roman", Georgia, serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--navy);
  line-height: 1.25;
  text-transform: uppercase;
}
html.tcf-brand .brand-mark--tcf .brand-word span {
  color: var(--teal-600);
  font-weight: 500;
}
html.tcf-brand .brand-mark--footer {
  margin-bottom: var(--space-3);
  color: #fff;
}
html.tcf-brand .brand-mark--footer .brand-word,
html.tcf-brand .footer-brand strong {
  font-family: "Cinzel", "Times New Roman", Georgia, serif;
  color: #fff;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

html.tcf-brand .nav-desktop { gap: var(--space-6); }
html.tcf-brand .nav-link {
  color: rgba(6, 6, 6, 0.72);
  font-weight: 500;
}
html.tcf-brand .nav-link::after { background: var(--teal); bottom: -6px; height: 1.5px; }
html.tcf-brand .nav-link:hover,
html.tcf-brand .nav-link.is-active,
html.tcf-brand .nav-link[aria-current="page"] { color: var(--navy); }
html.tcf-brand .tcf-nav-login {
  color: rgba(6, 6, 6, 0.78);
  margin-left: var(--space-2);
}
html.tcf-brand .mobile-menu-btn {
  color: var(--navy);
  border-color: rgba(6, 6, 6, 0.14);
}
html.tcf-brand .mobile-menu {
  background: #fff;
  border-bottom: 1px solid rgba(169, 125, 48, 0.28);
  color: var(--ink);
}
html.tcf-brand .mobile-menu a { color: var(--ink); }
html.tcf-brand .mobile-menu a .lm-icon { color: var(--teal-600); }
html.tcf-brand .mobile-menu a:hover {
  background: rgba(169, 125, 48, 0.08);
}

/* Flatter, restrained CTAs — less consumer “shine” */
html.tcf-brand .btn {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
html.tcf-brand .btn:hover { transform: none; }
html.tcf-brand .btn-primary,
html.tcf-brand .btn-primary:visited,
html.tcf-brand .site-header .btn-primary,
html.tcf-brand .site-header .btn-primary:visited,
html.tcf-brand .hero-cover .hero-actions .btn.btn-primary,
html.tcf-brand .hero-cover .hero-actions .btn.btn-primary:visited {
  color: #fff;
  background-color: #A97D30;
  background-image: none;
  border-color: transparent;
  box-shadow: none;
}
html.tcf-brand .btn-primary:hover,
html.tcf-brand .btn-primary:focus-visible,
html.tcf-brand .site-header .btn-primary:hover,
html.tcf-brand .hero-cover .hero-actions .btn.btn-primary:hover {
  background-color: #8A6524;
  color: #fff;
  box-shadow: none;
}
html.tcf-brand .site-header .btn-outline,
html.tcf-brand .site-header .btn-outline:visited {
  color: var(--teal-600);
  border-color: rgba(169, 125, 48, 0.45);
}
html.tcf-brand .btn-outline,
html.tcf-brand .btn-outline:visited {
  color: var(--teal-600);
  border-color: rgba(169, 125, 48, 0.55);
  background: transparent;
}
html.tcf-brand .btn-outline:hover { background: rgba(169, 125, 48, 0.08); color: var(--navy); }
html.tcf-brand .hero-cover .btn-outline,
html.tcf-brand .hero-cover .btn-outline:visited {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}
html.tcf-brand .hero-cover .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
html.tcf-brand .tcf-hero-link.btn-ghost-inverse,
html.tcf-brand .tcf-hero-link.btn-ghost-inverse:visited {
  color: rgba(255, 255, 255, 0.82);
  border-color: transparent;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  padding-inline: 0.35rem;
}
html.tcf-brand .tcf-hero-link.btn-ghost-inverse:hover {
  color: #fff;
  background: transparent;
}
html.tcf-brand .tcf-btn-dark-outline,
html.tcf-brand .tcf-btn-dark-outline:visited {
  color: var(--navy);
  border-color: rgba(6, 6, 6, 0.22);
}
html.tcf-brand .tcf-btn-dark-outline:hover {
  background: rgba(169, 125, 48, 0.08);
  border-color: var(--teal);
  color: var(--navy);
}

/* Hero */
html.tcf-brand .hero-cover.tcf-hero {
  min-height: min(38rem, 86vh);
}
html.tcf-brand .hero-cover.tcf-hero .hero-cover__veil {
  background:
    linear-gradient(112deg, rgba(6, 6, 6, 0.94) 0%, rgba(6, 6, 6, 0.82) 46%, rgba(6, 6, 6, 0.58) 100%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.25) 0%, rgba(6, 6, 6, 0.7) 100%);
}
html.tcf-brand .tcf-hero-grid {
  align-items: center;
  gap: var(--space-10);
}
html.tcf-brand .tcf-hero .eyebrow { color: var(--teal-glow); }
html.tcf-brand .tcf-hero h1 {
  max-width: 16ch;
  letter-spacing: -0.03em;
}
html.tcf-brand .tcf-hero .lede-lg {
  color: rgba(255, 255, 255, 0.78);
  max-width: 38rem;
}
html.tcf-brand .tcf-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 36rem;
}
html.tcf-brand .tcf-trust-row li {
  display: grid;
  gap: 0.2rem;
}
html.tcf-brand .tcf-trust-row strong {
  color: #fff;
  font-size: var(--text-ui);
  font-weight: 600;
  letter-spacing: -0.01em;
}
html.tcf-brand .tcf-trust-row span {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--text-caption);
  line-height: 1.35;
}
@media (max-width: 640px) {
  html.tcf-brand .tcf-trust-row {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* Portal access card — dark charcoal + gold (reads cleanly on the hero) */
html.tcf-brand .tcf-portal-card {
  background: linear-gradient(165deg, #1a1712 0%, #0c0b09 55%, #060606 100%);
  color: #f5f1ea;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(169, 125, 48, 0.38);
  border-top: 3px solid #A97D30;
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
html.tcf-brand .tcf-portal-card__head {
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid rgba(169, 125, 48, 0.22);
  background: rgba(169, 125, 48, 0.06);
}
html.tcf-brand .tcf-portal-card__logo {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  margin-bottom: var(--space-3);
}
html.tcf-brand .tcf-portal-card__head .kpi-label {
  color: #C9A14A;
}
html.tcf-brand .tcf-portal-card__head h2 {
  margin-top: 0.2rem;
  font-size: var(--text-display);
  color: #ffffff;
}
html.tcf-brand .tcf-portal-card__head p:last-child {
  margin-top: var(--space-2);
  font-size: var(--text-ui);
  color: rgba(245, 241, 234, 0.68);
}
html.tcf-brand .tcf-portal-path {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4) var(--space-6);
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 160ms ease;
}
html.tcf-brand .tcf-portal-path:last-child { border-bottom: 0; }
html.tcf-brand .tcf-portal-path:hover,
html.tcf-brand .tcf-portal-path:focus-visible {
  background: rgba(169, 125, 48, 0.14);
}
html.tcf-brand .tcf-portal-path--primary {
  background: rgba(169, 125, 48, 0.10);
}
html.tcf-brand .tcf-portal-path__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(169, 125, 48, 0.12);
  color: #C9A14A;
  border: 1px solid rgba(169, 125, 48, 0.35);
}
html.tcf-brand .tcf-portal-path--primary .tcf-portal-path__icon {
  background: rgba(169, 125, 48, 0.22);
  border-color: rgba(169, 125, 48, 0.5);
  color: #E2C079;
}
html.tcf-brand .tcf-portal-path__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
html.tcf-brand .tcf-portal-path__copy strong {
  font-size: var(--text-ui);
  font-weight: 600;
  color: #ffffff;
}
html.tcf-brand .tcf-portal-path__copy span {
  font-size: var(--text-caption);
  color: rgba(245, 241, 234, 0.66);
  line-height: 1.4;
}
html.tcf-brand .tcf-portal-path__go {
  color: #C9A14A;
  opacity: 0.95;
}

/* Content sections */
html.tcf-brand .tcf-section { padding-block: clamp(3.25rem, 5vw, 5rem); }
html.tcf-brand .section-head {
  max-width: 44rem;
  margin-bottom: var(--space-8);
}
html.tcf-brand .section-head h2::after {
  width: 1.75rem;
  background: var(--teal);
}
html.tcf-brand .product-card {
  border-radius: var(--radius-md);
  border-top-width: 2px;
  border-top-color: var(--teal);
  box-shadow: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
html.tcf-brand .product-card:hover {
  transform: none;
  border-color: rgba(169, 125, 48, 0.45);
  box-shadow: var(--shadow-sm);
}
html.tcf-brand .product-card .idx,
html.tcf-brand .eyebrow { color: var(--teal-600); }
html.tcf-brand .product-card h3 {
  font-size: var(--text-title);
  letter-spacing: -0.015em;
}
html.tcf-brand .product-card p {
  font-size: var(--text-ui);
  color: var(--muted);
}

html.tcf-brand .tcf-about-band {
  display: grid;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 960px) {
  html.tcf-brand .tcf-about-band {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--space-12);
  }
}
html.tcf-brand .tcf-about-band__copy h2 {
  margin-top: var(--space-3);
  max-width: 22ch;
}
html.tcf-brand .tcf-about-band__copy > p:last-child {
  margin-top: var(--space-4);
  color: var(--muted);
  max-width: 44ch;
  line-height: 1.65;
}
html.tcf-brand .tcf-metric-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
html.tcf-brand .tcf-metric-list > div {
  background: var(--surface);
  padding: var(--space-5);
}
html.tcf-brand .tcf-metric-list dt {
  font-size: var(--text-ui);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
html.tcf-brand .tcf-metric-list dd {
  margin: 0;
  font-size: var(--text-caption);
  color: var(--muted);
  line-height: 1.45;
}

html.tcf-brand .tcf-sector-block {
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
}
html.tcf-brand .tcf-sector-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: var(--space-4);
}
html.tcf-brand .tcf-sector-cloud .chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: var(--text-caption);
  font-weight: 500;
  padding: 0.4rem 0.75rem;
}

/* Contact */
html.tcf-brand .tcf-contact-band {
  display: grid;
  gap: var(--space-8);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) {
  html.tcf-brand .tcf-contact-band {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--space-10);
  }
}
html.tcf-brand .tcf-contact-lede {
  margin-top: var(--space-3);
  color: var(--muted);
  max-width: 42ch;
}
html.tcf-brand .tcf-contact-details {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-4);
}
html.tcf-brand .tcf-contact-details > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--space-3);
  align-items: start;
  font-size: var(--text-ui);
}
html.tcf-brand .tcf-contact-details dt {
  color: var(--muted);
  font-weight: 500;
}
html.tcf-brand .tcf-contact-details dd {
  margin: 0;
  color: var(--ink);
}
html.tcf-brand .tcf-contact-details a {
  color: var(--teal-600);
  text-decoration: none;
  font-weight: 500;
}
html.tcf-brand .tcf-contact-details a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
html.tcf-brand .tcf-contact-cta {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
html.tcf-brand .tcf-contact-cta h3 {
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}
html.tcf-brand .tcf-contact-cta > p {
  color: var(--muted);
  font-size: var(--text-ui);
}
html.tcf-brand .tcf-access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
html.tcf-brand .tcf-public-link {
  margin-top: var(--space-5);
  font-size: var(--text-caption);
  color: var(--muted);
}
html.tcf-brand .tcf-public-link a {
  color: var(--teal-600);
  text-decoration: none;
  font-weight: 500;
}
html.tcf-brand .tcf-public-link a:hover { text-decoration: underline; }

/* Footer / mobile */
html.tcf-brand .site-footer {
  border-top: 1px solid rgba(169, 125, 48, 0.35);
  background: #060606;
}
html.tcf-brand .site-footer h3,
html.tcf-brand .site-footer a:hover {
  color: var(--teal-glow);
}
html.tcf-brand .tcf-footer-grid {
  gap: var(--space-8);
}
html.tcf-brand .bottom-nav {
  border-top: 1px solid rgba(169, 125, 48, 0.28);
  background: #060606;
  color: rgba(255, 255, 255, 0.72);
}
html.tcf-brand .bottom-nav a.is-active,
html.tcf-brand .bottom-nav a[aria-current="page"] {
  color: var(--teal-glow);
}
html.tcf-brand .bottom-nav a span {
  font-size: 0.65rem;
  letter-spacing: 0.02em;
}
