/* ═══════════════════════════════════════════════════════
   DIGITRACT — MAIN STYLESHEET (Hardened & Fixed)
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Syne:wght@400;500;600;700;800&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ── TOKENS ── */
:root {
  --bg:        #050810;
  --bg2:       #080d18;
  --surface:   #0d1525;
  --surface2:  #111d35;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.12);
  --border3:   rgba(255,255,255,0.2);
  --text:      #e4e6ee;
  --muted:     rgba(228,230,238,0.82);
  --dim:       rgba(228,230,238,0.55);
  --gold:      #c9a84c;
  --gold2:     #e8c97a;
  --gold3:     #f5dfa0;
  --gold-dim:  rgba(201,168,76,0.14);
  --gold-glow: rgba(201,168,76,0.25);
  --teal:      #00b3aa;
  --teal2:     #5dd4ca;
  --teal3:     #8fe4dc;
  --teal-soft: #a7e8e0;
  --teal-dim:  rgba(0,179,170,0.10);
  --teal-glow: rgba(0,179,170,0.20);
  --red:       #e05252;
  --green:     #28c840;
  --amber:     #f5a623;
  --grad-gold: linear-gradient(135deg, #c9a84c 0%, #e8c97a 50%, #c9a84c 100%);
  --grad-teal: linear-gradient(135deg, #00b3aa 0%, #5dd4ca 100%);
  --grad-mix:  linear-gradient(135deg, #00b3aa 0%, #c9a84c 100%);
  --shadow-gold: 0 8px 40px rgba(201,168,76,0.18);
  --shadow-teal: 0 8px 40px rgba(0,194,184,0.18);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   DESCENDER FIX — bulletproof version

   Root cause: -webkit-background-clip:text clips the
   gradient at the em-box edge, hiding g/j/y descenders.

   Fix uses `padding-bottom` to extend the clip region,
   then `margin-bottom: -X` AND a sibling-aware approach
   that works regardless of parent display mode.

   Tested across Chrome, Firefox, Safari.
═══════════════════════════════════════════════════ */

.grad-gold, .grad-teal, .grad-mix {
  display: inline-block;
  line-height: 1.1;
  padding: 0.05em 0 0.25em 0;
  margin-bottom: -0.25em;
  overflow: visible !important;
  vertical-align: baseline;
}
img { max-width:100%; height:auto; display:block; }
a { color:inherit; }
button { font-family:inherit; }
input, select, textarea { font-family:inherit; }

::-webkit-scrollbar { width:3px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--gold); border-radius:2px; }
::selection { background:var(--gold-dim); color:var(--gold2); }

/* ── CURSOR ── */
.cursor, .cursor-ring {
  position:fixed; pointer-events:none; border-radius:50%;
  transform:translate(-50%,-50%); z-index:9999;
  top:0; left:0;
  will-change:transform, left, top;
}
.cursor {
  width:8px; height:8px; background:var(--gold);
  z-index:10000;
  box-shadow:0 0 12px rgba(201,168,76,.6), 0 0 24px rgba(201,168,76,.3);
  transition:transform .15s, background .2s, box-shadow .2s;
}
.cursor.hover { background:var(--teal2); box-shadow:0 0 18px rgba(93,212,202,.7), 0 0 36px rgba(93,212,202,.4); }
.cursor-ring {
  width:36px; height:36px;
  border:1px solid rgba(201,168,76,.4);
  transition:width .3s, height .3s, border-color .3s, opacity .3s;
}
.cursor-ring.hover { width:60px; height:60px; border-color:rgba(93,212,202,.6); }
@media (hover:none), (pointer:coarse) { .cursor, .cursor-ring { display:none !important; } }
body.no-cursor { cursor:none; }
body.no-cursor a, body.no-cursor button, body.no-cursor input, body.no-cursor textarea, body.no-cursor select, body.no-cursor label { cursor:none; }

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:500; height:78px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 clamp(1.5rem,5vw,4rem);
  border-bottom:1px solid transparent;
  transition:border-color .4s, background .4s, backdrop-filter .4s;
}
nav.scrolled {
  border-color:var(--border);
  background:rgba(5,8,16,.92);
  backdrop-filter:blur(20px);
}
.logo {
  display:flex; align-items:center; gap:.65rem;
  text-decoration:none; flex-shrink:0;
  overflow:visible;
}
.logo-mark {
  width:32px; height:32px;
  border:1.5px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  position:relative; flex-shrink:0;
}
.logo-mark::before {
  content:''; position:absolute; inset:3px;
  border:1px solid rgba(201,168,76,.3);
}
.logo-mark span {
  font-family:'Cormorant Garamond',serif;
  font-size:1.05rem; font-weight:600; color:var(--gold);
  position:relative; z-index:1; line-height:1;
}
.logo-svg {
  height:24px;
  width:auto;
  color:var(--text);
  display:block;
  overflow:visible;
}

.nav-links { display:flex; gap:2.5rem; list-style:none; }
.nav-links a {
  font-family:'JetBrains Mono',monospace; font-size:.62rem;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); text-decoration:none;
  transition:color .2s; position:relative; padding-bottom:6px;
}
.nav-links a::after {
  content:''; position:absolute; bottom:0; left:0; right:100%;
  height:1px; background:var(--teal); transition:right .3s;
}
.nav-links a:hover, .nav-links a.active { color:var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { right:0; }

.nav-right { display:flex; align-items:center; gap:1rem; }
.nav-ghost {
  font-family:'JetBrains Mono',monospace; font-size:.62rem;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); border:1px solid var(--border2);
  padding:.5rem 1rem; text-decoration:none;
  transition:all .25s;
}
.nav-ghost:hover { color:var(--text); border-color:var(--border3); }

.nav-cta {
  font-family:'JetBrains Mono',monospace; font-size:.62rem;
  letter-spacing:.1em; text-transform:uppercase;
  background:var(--gold); color:var(--bg); border:none;
  padding:.6rem 1.4rem; cursor:pointer; text-decoration:none;
  font-weight:500; position:relative; overflow:hidden;
  transition:transform .2s, box-shadow .2s;
  display:inline-flex; align-items:center;
}
.nav-cta::before {
  content:''; position:absolute; inset:0;
  background:var(--gold2); transform:translateX(-101%);
  transition:transform .32s ease;
}
.nav-cta span { position:relative; z-index:1; }
.nav-cta:hover::before { transform:translateX(0); }
.nav-cta:hover { transform:translateY(-1px); box-shadow:var(--shadow-gold); }

.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:4px;
}
.hamburger span {
  display:block; width:22px; height:1.5px;
  background:var(--text); transition:all .3s;
}
.hamburger.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display:none; position:fixed; top:78px; left:0; right:0;
  background:rgba(5,8,16,.97); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  padding:1.5rem; z-index:499; flex-direction:column; gap:0;
  max-height:calc(100vh - 78px); overflow-y:auto;
}
.mobile-menu.open { display:flex; }
.mobile-menu a {
  font-family:'JetBrains Mono',monospace; font-size:.72rem;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); text-decoration:none;
  padding:1rem 0; border-bottom:1px solid var(--border);
  transition:color .2s;
}
.mobile-menu a:hover { color:var(--gold); }
.mobile-menu .m-cta {
  margin-top:1.5rem; background:var(--gold); color:var(--bg);
  text-align:center; padding:1rem; font-weight:500; border:none;
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  overflow:hidden; padding:.9rem 0; background:var(--surface);
}
.marquee-track { display:flex; animation:scrollM 30s linear infinite; white-space:nowrap; }
.marquee-track:hover { animation-play-state:paused; }
.m-item {
  flex-shrink:0; display:flex; align-items:center; gap:2rem;
  padding:0 2rem; font-family:'JetBrains Mono',monospace;
  font-size:.58rem; letter-spacing:.18em; text-transform:uppercase; color:var(--dim);
}
.m-sep { width:4px; height:4px; background:var(--gold); transform:rotate(45deg); opacity:.7; }
@keyframes scrollM { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding:7rem clamp(1.5rem,5vw,4rem) 3.5rem;
  position:relative; overflow:hidden;
  background:var(--bg);
  border-bottom:1px solid var(--border);
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(ellipse 70% 60% at 50% 80%, var(--teal-dim), transparent 60%);
  pointer-events:none;
}
.page-hero-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size:80px 80px; pointer-events:none;
}
.page-hero #hero-canvas {
  position:absolute; inset:0; width:100%; height:100%;
  pointer-events:none; z-index:1; opacity:.9;
}
.page-hero-inner { position:relative; z-index:2; }
.page-hero-inner { position:relative; z-index:2; max-width:1200px; margin:0 auto; }
.page-eyebrow {
  display:inline-flex; align-items:center; gap:.75rem;
  font-family:'JetBrains Mono',monospace; font-size:.6rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--teal2);
  margin-bottom:1.5rem;
}
.page-eyebrow::before { content:''; width:2rem; height:1px; background:var(--teal2); }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY FIX — descender clipping fixed
═══════════════════════════════════════════════════ */
.page-hero h1 {
  font-family:'Cormorant Garamond',serif; font-weight:300;
  font-size:clamp(3rem,6vw,6rem);
  line-height:1.1;
  letter-spacing:-.01em;
}
.page-hero h1 strong { font-weight:600; }

/* Gradient text backgrounds — line-height and padding set in universal rule above */
.grad-gold {
  background:var(--grad-gold);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.grad-teal {
  background:var(--grad-teal);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.grad-mix {
  background:var(--grad-mix);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.page-hero-sub {
  font-size:clamp(.92rem,1.5vw,1.05rem); line-height:1.65;
  color:var(--muted); max-width:60ch; margin-top:1.25rem;
}

/* ── SECTION COMMONS ── */
.section { padding:clamp(3.5rem,7vw,6rem) clamp(1.5rem,5vw,4rem); }
.inner { max-width:1200px; margin:0 auto; }

.eyebrow {
  display:inline-flex; align-items:center; gap:.75rem;
  font-family:'JetBrains Mono',monospace; font-size:.6rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--teal2);
  margin-bottom:.85rem;
}
.eyebrow::before { content:''; width:2rem; height:1px; background:var(--teal2); }
.eyebrow.gold { color:var(--gold); }
.eyebrow.gold::before { background:var(--gold); }

.section-h {
  font-family:'Cormorant Garamond',serif; font-weight:300;
  font-size:clamp(2.5rem,5vw,4.5rem);
  line-height:1.1;
  letter-spacing:-.01em;
}
.section-h strong { font-weight:600; }
.section-h em { font-style:italic; }

/* ── BUTTONS ── */
.btn-gold {
  display:inline-flex; align-items:center; gap:.6rem;
  background:var(--gold); color:var(--bg);
  font-family:'JetBrains Mono',monospace; font-size:.68rem;
  letter-spacing:.1em; text-transform:uppercase; font-weight:500;
  padding:.95rem 1.8rem; text-decoration:none; border:none;
  cursor:pointer; position:relative; overflow:hidden;
  transition:transform .2s, box-shadow .2s;
}
.btn-gold::before {
  content:''; position:absolute; inset:0;
  background:var(--gold2); transform:translateX(-101%);
  transition:transform .32s ease;
}
.btn-gold span, .btn-gold svg { position:relative; z-index:1; }
.btn-gold:hover::before { transform:translateX(0); }
.btn-gold:hover { transform:translateY(-2px); box-shadow:var(--shadow-gold); }

.btn-teal {
  display:inline-flex; align-items:center; gap:.6rem;
  background:var(--teal); color:var(--bg);
  font-family:'JetBrains Mono',monospace; font-size:.68rem;
  letter-spacing:.1em; text-transform:uppercase; font-weight:500;
  padding:.95rem 1.8rem; text-decoration:none; border:none;
  cursor:pointer; position:relative; overflow:hidden;
  transition:transform .2s, box-shadow .2s;
}
.btn-teal::before {
  content:''; position:absolute; inset:0;
  background:var(--teal2); transform:translateX(-101%);
  transition:transform .32s ease;
}
.btn-teal span, .btn-teal svg { position:relative; z-index:1; }
.btn-teal:hover::before { transform:translateX(0); }
.btn-teal:hover { transform:translateY(-2px); box-shadow:var(--shadow-teal); }

.btn-border {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:'JetBrains Mono',monospace; font-size:.68rem;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); text-decoration:none;
  border:1px solid var(--border2); padding:.95rem 1.6rem;
  transition:all .25s; cursor:pointer; background:none;
}
.btn-border:hover {
  color:var(--teal2); border-color:var(--teal);
  background:var(--teal-dim);
}

.btn-border-teal {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:'JetBrains Mono',monospace; font-size:.68rem;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--teal2); text-decoration:none;
  border:1px solid rgba(0,194,184,.4); padding:.95rem 1.6rem;
  transition:all .25s; cursor:pointer; background:var(--teal-dim);
}
.btn-border-teal:hover { background:rgba(0,194,184,.18); border-color:var(--teal2); color:var(--text); }

/* ── FORM ELEMENTS ── */
.f-group { display:flex; flex-direction:column; gap:.4rem; margin-bottom:1rem; }
.f-label {
  font-family:'JetBrains Mono',monospace; font-size:.55rem;
  letter-spacing:.12em; text-transform:uppercase; color:var(--muted);
}
.f-input, .f-select, .f-ta {
  background:rgba(255,255,255,.03); border:1px solid var(--border2);
  color:var(--text); font-family:'Syne',sans-serif;
  font-size:.92rem; padding:.85rem 1rem; outline:none;
  transition:border-color .25s, background .25s, box-shadow .25s; width:100%;
  -webkit-appearance:none; appearance:none;
}
.f-input::placeholder, .f-ta::placeholder { color:var(--dim); }
.f-input:focus, .f-select:focus, .f-ta:focus {
  border-color:var(--teal);
  background:rgba(0,194,184,.04);
  box-shadow:0 0 0 3px rgba(0,194,184,.1);
}
.f-input.error, .f-select.error, .f-ta.error {
  border-color:var(--red);
  background:rgba(224,82,82,.04);
}
.f-error-msg {
  font-family:'JetBrains Mono',monospace; font-size:.52rem;
  color:var(--red); letter-spacing:.06em; margin-top:.3rem;
  display:none;
}
.f-input.error + .f-error-msg,
.f-select.error + .f-error-msg,
.f-ta.error + .f-error-msg { display:block; }

.f-select { cursor:pointer; }
.f-select option { background:var(--surface); color:var(--text); }
.f-ta { resize:vertical; min-height:100px; }
.f-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

/* honeypot — hidden from real users */
.f-hp { position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden; opacity:0; pointer-events:none; tab-index:-1; }

/* ── CARDS ── */
.card {
  background:var(--surface); border:1px solid var(--border);
  padding:2rem; position:relative; overflow:hidden;
  transition:border-color .3s, background .3s;
}
.card::before {
  content:''; position:absolute; top:0; left:0; right:100%;
  height:1px; background:var(--teal); transition:right .45s;
}
.card:hover::before { right:0; }
.card:hover { border-color:var(--border2); }

/* ── TAGS ── */
.tag {
  font-family:'JetBrains Mono',monospace; font-size:.5rem;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); border:1px solid var(--border2);
  padding:.25rem .6rem; display:inline-block;
  transition:all .25s;
}
.tag.teal { color:var(--teal2); border-color:rgba(0,194,184,.3); background:var(--teal-dim); }
.tag.gold { color:var(--gold2); border-color:rgba(201,168,76,.3); background:var(--gold-dim); }

/* ── STATUS DOTS ── */
.dot { display:inline-block; width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.dot.green { background:var(--green); box-shadow:0 0 8px rgba(40,200,64,.5); animation:dotPulse 2.5s ease-in-out infinite; }
.dot.amber { background:var(--amber); }
.dot.red { background:var(--red); }
.dot.teal { background:var(--teal); box-shadow:0 0 8px rgba(0,194,184,.5); animation:dotPulse 2.5s ease-in-out infinite; }
@keyframes dotPulse { 0%,100%{box-shadow:0 0 6px rgba(40,200,64,.5)} 50%{box-shadow:0 0 14px rgba(40,200,64,.8)} }

/* ── COMPLIANCE BOX ── */
.compliance-box {
  border:1px solid var(--border2); padding:1.75rem;
  background:var(--surface); position:relative; margin-top:2rem;
}
.compliance-box::before {
  content:'COMPLIANCE STACK'; position:absolute; top:-.65rem; left:1rem;
  font-family:'JetBrains Mono',monospace; font-size:.55rem;
  letter-spacing:.18em; background:var(--bg2); padding:0 .6rem;
  color:var(--teal2); font-weight:500;
}
.c-row { display:flex; align-items:center; gap:1rem; padding:.75rem 0; border-bottom:1px solid var(--border); }
.c-row:last-child { border-bottom:none; }
.c-name { font-family:'JetBrains Mono',monospace; font-size:.62rem; letter-spacing:.06em; color:var(--text); flex:1; }
.c-status { font-family:'JetBrains Mono',monospace; font-size:.55rem; letter-spacing:.1em; text-transform:uppercase; font-weight:500; }

/* ── TRUST STRIP ── */
.trust {
  background:var(--surface); border-top:1px solid var(--border);
  border-bottom:1px solid var(--border); padding:2.5rem clamp(1.5rem,5vw,4rem);
}
.trust-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:auto 1fr; gap:3rem; align-items:center; }
.trust-label {
  font-family:'JetBrains Mono',monospace; font-size:.58rem;
  letter-spacing:.18em; text-transform:uppercase; color:var(--teal2);
  white-space:nowrap; line-height:1.6;
}
.trust-badges { display:flex; gap:.75rem; flex-wrap:wrap; }
.t-badge {
  font-family:'JetBrains Mono',monospace; font-size:.58rem;
  letter-spacing:.1em; text-transform:uppercase; color:var(--text);
  border:1px solid var(--border2); padding:.5rem .95rem;
  display:flex; align-items:center; gap:.5rem; transition:all .25s;
  white-space:nowrap; background:rgba(255,255,255,.02);
}
.t-badge:hover { border-color:var(--teal); color:var(--teal2); background:var(--teal-dim); }
.t-badge::before { content:'✓'; color:var(--teal); font-size:.55rem; font-weight:600; }

/* ═══════════════════════════════════════════════════
   FOOTER — readability fixed (much higher contrast)
═══════════════════════════════════════════════════ */
footer { background:var(--bg2); border-top:1px solid var(--border2); }
.f-main { max-width:1200px; margin:0 auto; padding:5rem clamp(1.5rem,5vw,4rem) 3rem; }
.f-top {
  display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:3rem; margin-bottom:4rem; padding-bottom:4rem;
  border-bottom:1px solid var(--border2);
}
.f-tagline {
  font-size:.88rem; line-height:1.6;
  color:var(--muted);              /* improved contrast */
  margin-top:1.25rem; max-width:30ch;
}
.f-contact {
  display:flex; align-items:center; gap:.6rem;
  font-family:'JetBrains Mono',monospace; font-size:.65rem;
  letter-spacing:.06em; color:var(--muted);
  margin-top:.7rem;
}
.f-contact::before { content:'→'; color:var(--gold); font-size:.6rem; }
.f-contact a { color:inherit; text-decoration:none; transition:color .2s; }
.f-contact a:hover { color:var(--gold); }

.f-col-h {
  font-family:'JetBrains Mono',monospace; font-size:.6rem;
  letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold);               /* gold accent, not teal */
  margin-bottom:1.5rem;
  font-weight:500;
}
.f-links { list-style:none; display:flex; flex-direction:column; gap:.75rem; }
.f-links a {
  font-size:.82rem;
  color:var(--muted);               /* muted, not stark white */
  text-decoration:none; transition:color .2s;
  display:flex; align-items:center; gap:.4rem;
}
.f-links a::before { content:''; width:0; height:1px; background:var(--gold); transition:width .25s; flex-shrink:0; }
.f-links a:hover { color:var(--gold2); }
.f-links a:hover::before { width:12px; }

.f-bottom {
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:1rem;
}
.f-copy {
  font-family:'JetBrains Mono',monospace;
  font-size:.7rem;
  letter-spacing:.06em;
  color:var(--muted);
  line-height:1.7;
}
.f-legal { display:flex; gap:1.5rem; flex-wrap:wrap; }
.f-legal a {
  font-family:'JetBrains Mono',monospace;
  font-size:.66rem;
  letter-spacing:.08em;
  color:var(--muted);
  text-decoration:none;
  transition:color .2s;
}
.f-legal a:hover { color:var(--gold2); }
.f-jurisdiction {
  font-family:'JetBrains Mono',monospace;
  font-size:.6rem; letter-spacing:.08em;
  color:var(--dim); margin-top:.4rem;
  display:flex; gap:.6rem; flex-wrap:wrap;
}
.f-jurisdiction span::before { content:'· '; color:var(--gold); }
.f-jurisdiction span:first-child::before { content:''; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity:0;
  transform:translateY(28px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity:1;
  transform:none;     /* drop the transform context entirely */
}
/* After animation finishes, remove the compositing layer to free GPU memory
   AND to stop sub-pixel clipping of descenders (g, j, y). */
.reveal.visible {
  will-change: auto;
}
.reveal.d1 { transition-delay:.1s }
.reveal.d2 { transition-delay:.2s }
.reveal.d3 { transition-delay:.3s }
.reveal.d4 { transition-delay:.4s }
.reveal.d5 { transition-delay:.5s }

/* ── TOAST NOTIFICATIONS ── */
.toast {
  position:fixed; bottom:2rem; right:2rem; z-index:9000;
  background:var(--surface); border:1px solid var(--border2);
  padding:1rem 1.5rem; max-width:340px;
  display:flex; align-items:flex-start; gap:1rem;
  transform:translateY(120px); opacity:0;
  transition:all .4s cubic-bezier(.34,1.56,.64,1);
  pointer-events:none; box-shadow:0 12px 40px rgba(0,0,0,.4);
}
.toast.show { transform:translateY(0); opacity:1; pointer-events:auto; }
.toast-icon { font-size:1.1rem; flex-shrink:0; margin-top:1px; line-height:1; }
.toast-title { font-family:'JetBrains Mono',monospace; font-size:.65rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text); font-weight:500; }
.toast-msg { font-size:.82rem; color:var(--muted); margin-top:.3rem; line-height:1.55; }
.toast-close { margin-left:auto; background:none; border:none; color:var(--dim); cursor:pointer; font-size:1rem; flex-shrink:0; padding:0 0 0 .5rem; }
.toast-close:hover { color:var(--text); }
.toast::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; }
.toast.success::before { background:var(--green); }
.toast.success .toast-icon { color:var(--green); }
.toast.error::before { background:var(--red); }
.toast.error .toast-icon { color:var(--red); }
.toast.info::before { background:var(--teal); }
.toast.info .toast-icon { color:var(--teal); }

/* ── SECURITY BADGE ── */
.sec-badge {
  display:inline-flex; align-items:center; gap:.6rem;
  border:1px solid rgba(40,200,64,.3); background:rgba(40,200,64,.08);
  padding:.4rem .9rem .4rem .5rem;
}
.sec-badge-dot { width:18px; height:18px; border:1px solid var(--green); display:flex; align-items:center; justify-content:center; }
.sec-badge-dot::before { content:''; width:6px; height:6px; background:var(--green); border-radius:50%; animation:bPulse 2s ease-in-out infinite; }
.sec-badge-text { font-family:'JetBrains Mono',monospace; font-size:.6rem; letter-spacing:.15em; text-transform:uppercase; color:var(--green); font-weight:500; }
@keyframes bPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:.4} }

/* ── STAT GRID ── */
.stats-bar {
  display:grid; grid-template-columns:repeat(4,1fr);
  border:1px solid var(--border2); background:rgba(255,255,255,.015);
}
.s-item { padding:1.5rem; border-right:1px solid var(--border); position:relative; overflow:hidden; }
.s-item:last-child { border-right:none; }
.s-item::after { content:''; position:absolute; top:0; left:0; right:0; height:1px; background:var(--teal); transform:scaleX(0); transition:transform .4s; }
.s-item:hover::after { transform:scaleX(1); }
.s-num {
  font-family:'Cormorant Garamond',serif; font-size:2.2rem; font-weight:600;
  line-height:1.2;
  background:var(--grad-gold);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
  display:block;
  padding-bottom:0.12em;
}
.s-label { font-family:'JetBrains Mono',monospace; font-size:.58rem; letter-spacing:.14em; text-transform:uppercase; color:var(--teal2); margin-top:.4rem; display:block; font-weight:500; }

/* ── LEGAL PAGE STYLES ── */
.legal-content {
  max-width:780px; margin:0 auto;
  padding:8rem clamp(1.5rem,5vw,4rem) 5rem;
  font-family:'Syne',sans-serif;
  color:var(--muted);
}
.legal-content h1 {
  font-family:'Cormorant Garamond',serif; font-weight:300;
  font-size:clamp(2.2rem,4vw,3.2rem);
  line-height:1.2;
  margin-bottom:.5rem; padding-bottom:0.1em;
  color:var(--text);
}
.legal-content h1 strong {
  font-weight:600;
  color:var(--gold);
  font-family:inherit;
}
.legal-meta {
  font-family:'JetBrains Mono',monospace; font-size:.62rem;
  letter-spacing:.1em; color:var(--dim);
  padding-bottom:2rem; margin-bottom:3rem;
  border-bottom:1px solid var(--border2);
  text-transform:uppercase;
}
.legal-content h2 {
  font-family:'Cormorant Garamond',serif; font-weight:600;
  font-size:1.45rem;
  line-height:1.25;
  margin:2.75rem 0 1rem;
  color:var(--text);
  padding-bottom:0.08em;
}
.legal-content h3 {
  font-family:'Cormorant Garamond',serif;
  font-weight:600;
  font-size:1.1rem;
  line-height:1.3;
  margin:1.75rem 0 .75rem;
  color:var(--text);
  padding-bottom:0.05em;
}
.legal-content p, .legal-content li {
  font-family:'Syne',sans-serif;
  font-size:.92rem;
  line-height:1.65;
  color:var(--muted);
  margin-bottom:1rem;
}
.legal-content ul, .legal-content ol {
  padding-left:1.5rem;
  margin-bottom:1.5rem;
}
.legal-content li { margin-bottom:.65rem; }
.legal-content li::marker { color:var(--gold); }
.legal-content a {
  color:var(--gold2);
  text-decoration:underline;
  text-decoration-color:rgba(201,168,76,.35);
  text-underline-offset:3px;
  transition:color .2s, text-decoration-color .2s;
}
.legal-content a:hover {
  color:var(--gold);
  text-decoration-color:var(--gold);
}
/* Subtle bolding — same family, slightly brighter, no stark white */
.legal-content strong {
  color:var(--text);
  font-weight:600;
  font-family:inherit;
}
.legal-content em {
  color:var(--muted);
  font-style:italic;
  font-family:inherit;
  font-size:inherit;
}
.legal-content code {
  font-family:'JetBrains Mono',monospace;
  font-size:.85em;
  color:var(--gold2);
  background:var(--gold-dim);
  padding:.1em .35em;
  border-radius:2px;
}

/* ── REDUCED MOTION SUPPORT ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity:1 !important; transform:none !important; }
  .marquee-track { animation:none !important; }
  .cursor, .cursor-ring { display:none !important; }
}

/* Marquee mobile — keep speed consistent with desktop visual rate */
@media (max-width:880px) {
  .marquee-track { animation-duration:18s; }
}
@media (max-width:480px) {
  .marquee-track { animation-duration:14s; }
}

/* ── RESPONSIVE ── */
@media (max-width:1200px) {
  .inner { padding:0 .5rem; }
}
@media (max-width:1024px) {
  .f-top { grid-template-columns:1fr 1fr; gap:2.5rem; }
  .trust-inner { grid-template-columns:1fr; gap:1.5rem; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .s-item:nth-child(odd) { border-right:1px solid var(--border); }
  .s-item:nth-child(1), .s-item:nth-child(2) { border-bottom:1px solid var(--border); }
  .f-row { grid-template-columns:1fr; }
  nav { padding:0 1.5rem; height:70px; }
  .mobile-menu { top:70px; }
  .section { padding:3.5rem 1.5rem; }
  .s-num { font-size:1.9rem; }
}
@media (max-width:880px) {
  .nav-links, .nav-ghost { display:none; }
  .hamburger { display:flex; }
  .nav-cta { padding:.55rem 1.1rem; font-size:.6rem; }
  .logo-text { font-size:.95rem; }
  .logo-mark { width:28px; height:28px; }
}
@media (max-width:640px) {
  .f-top { grid-template-columns:1fr; gap:2rem; padding-bottom:3rem; margin-bottom:3rem; }
  .f-bottom { flex-direction:column; align-items:flex-start; gap:1.25rem; }
  .stats-bar { grid-template-columns:1fr 1fr; }
  .trust-inner { text-align:center; }
  .trust-label { text-align:center; margin-bottom:.5rem; }
  .trust-badges { gap:.4rem; justify-content:center; align-items:center; }
  .t-badge {
    font-size:.5rem; padding:.4rem .7rem;
    display:inline-flex; flex:0 0 auto; width:auto;
  }
  .toast { left:1rem; right:1rem; bottom:1rem; max-width:none; }
  .section { padding:3rem 1.25rem; }
  .f-main { padding:4rem 1.25rem 2.5rem; }
  .compliance-box { padding:1.25rem; }
  .compliance-box::before { font-size:.5rem; }
  .c-name { font-size:.58rem; }
  .c-status { font-size:.5rem; }
  .s-num { font-size:1.7rem; }
  .s-label { font-size:.5rem; }
  .f-legal { gap:1rem; flex-wrap:wrap; }
  .page-hero { padding:5rem 1.25rem 3rem; }
}
@media (max-width:420px) {
  .stats-bar { grid-template-columns:1fr; }
  .s-item { border-right:none !important; border-bottom:1px solid var(--border); }
  .s-item:last-child { border-bottom:none; }
  .trust-badges { flex-direction:column; align-items:flex-start; }
  .t-badge { width:100%; justify-content:flex-start; }
}
