/* ==========================================================================
   Adherepro — Compliance & Regulatory Advisory
   Design language: boutique monochrome + electric cobalt
   Headings: Space Grotesk · Body: Geist
   ========================================================================== */

:root {
  --ink: #0A0A0A;
  --ink-soft: #18181B;
  --paper: #FAFAF8;
  --paper-2: #F2F2EE;
  --muted: #52525B;
  --muted-2: #71717A;
  --line: #E5E5E0;
  --line-strong: #D4D4CE;
  --cobalt: #2F5CFF;
  --cobalt-ink: #1E3FCC;
  --cobalt-wash: #ECF0FF;
  --radius: 14px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---- Type ---------------------------------------------------------------- */
h1, h2, h3, h4, .font-display {
  font-family: "Space Grotesk", "Geist", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
}

.display-xl { font-size: clamp(2.7rem, 7vw, 5.6rem); letter-spacing: -0.035em; }
.display-lg { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
.display-md { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1340px; }

/* Eyebrow / section index labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cobalt);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--cobalt);
  display: inline-block;
}
.eyebrow--muted { color: var(--muted-2); }
.eyebrow--muted::before { background: var(--line-strong); }

.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: 999px;
  cursor: pointer; border: 1px solid var(--b);
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn-primary:hover { background: var(--cobalt-ink); border-color: var(--cobalt-ink); box-shadow: 0 12px 30px -12px rgba(47,92,255,.6); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-soft); box-shadow: 0 12px 30px -14px rgba(0,0,0,.5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: #fff; }
.btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

/* Text link with animated underline */
.link-line {
  position: relative; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
}
.link-line::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1.5px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.link-line:hover { color: var(--cobalt); }
.link-line:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,250,248,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word { white-space: nowrap; }
.brand b { color: var(--cobalt); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 6px 0; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--cobalt); transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  border-radius: 10px; background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 49; background: var(--paper);
  padding: 100px 24px 40px; display: flex; flex-direction: column;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-nav { transform: translateY(0); visibility: visible; }
.mobile-nav a { font-family: "Space Grotesk", sans-serif; font-size: 1.9rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.mobile-nav a span { color: var(--muted-2); font-size: .85rem; font-family: "Geist"; }

/* ---- Announcement bar ---------------------------------------------------- */
.topbar {
  background: var(--ink); color: var(--paper); font-size: .82rem;
  text-align: center; padding: 9px 16px; letter-spacing: .01em;
}
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar b { color: #fff; }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-tight { padding: clamp(56px, 8vw, 100px) 0; }
.dark { background: var(--ink); color: var(--paper); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--paper); }
.dark p { color: rgba(250,250,248,.66); }
.dark .eyebrow { color: #fff; }
.dark .eyebrow::before { background: var(--cobalt); }

/* Hairline grid helpers */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .rule { background: rgba(255,255,255,.12); }

/* ---- Cards --------------------------------------------------------------- */
.card {
  position: relative; isolation: isolate;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card > * { position: relative; z-index: 1; }
/* cursor-tracking cobalt spotlight */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(47,92,255,.10), transparent 55%);
}
.card:hover { transform: translateY(-5px); border-color: rgba(47,92,255,.35); box-shadow: 0 26px 56px -32px rgba(10,10,10,.4); }
.card:hover::before { opacity: 1; }
.card h3 { transition: color .4s var(--ease); }
.card:hover h3 { color: var(--cobalt); }

/* Tactile stat lift */
.stat { transition: transform .5s var(--ease); }
.stat:hover { transform: translateY(-3px); }
.stat:hover .num .suffix { animation: suffixPulse .5s var(--ease); }
@keyframes suffixPulse { 50% { transform: translateY(-3px); } }
.stat .num .suffix { display: inline-block; }

/* Payment method plates */
.pay-plate { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 7px; box-shadow: 0 1px 3px rgba(10,10,10,.12); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pay-plate:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(10,10,10,.35); }
.pay-logo { height: 22px; width: auto; display: block; }
.footer-divider { width: 1px; height: 22px; background: rgba(255,255,255,.18); display: inline-block; }

/* Service list rows */
.svc-row {
  display: grid; grid-template-columns: 70px 1fr auto; gap: 28px; align-items: start;
  padding: 34px 0; border-top: 1px solid var(--line); position: relative; cursor: pointer;
}
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .idx { font-family: "Space Grotesk"; font-size: 1rem; color: var(--muted-2); padding-top: 4px; }
.svc-row h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); transition: color .3s var(--ease), transform .4s var(--ease); }
.svc-row p { margin-top: 10px; max-width: 60ch; }
.svc-row .arrow { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: .35s var(--ease); }
.svc-row .arrow svg { transition: transform .35s var(--ease); }
.svc-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; top: -1px; background: linear-gradient(90deg, var(--paper-2), transparent); opacity: 0; transition: opacity .4s var(--ease); z-index: -1; border-radius: 10px; }
.svc-row:hover h3 { color: var(--cobalt); transform: translateX(6px); }
.svc-row:hover .arrow { background: var(--cobalt); border-color: var(--cobalt); color: #fff; transform: rotate(-45deg); }
.svc-tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: .78rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; }

/* ---- Stats --------------------------------------------------------------- */
.stat { }
.stat .num { font-family: "Space Grotesk"; font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .num .suffix { color: var(--cobalt); }
.stat .lbl { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.dark .stat .lbl { color: rgba(250,250,248,.6); }

/* ---- Marquee ------------------------------------------------------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk"; font-size: 1.05rem; font-weight: 500; color: var(--muted); white-space: nowrap; opacity: .8; }
.marquee-item svg { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Process timeline ---------------------------------------------------- */
.step { position: relative; padding-left: 0; }
.step .step-num { font-family: "Space Grotesk"; font-size: .8rem; letter-spacing: .15em; color: var(--cobalt); }
.step h3 { font-size: 1.35rem; margin-top: 14px; }
.step p { margin-top: 10px; }
.step .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--cobalt); position: absolute; }

/* ---- Testimonials -------------------------------------------------------- */
.quote { font-family: "Space Grotesk"; font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.22; }
.quote .accent { color: var(--cobalt); }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: "Space Grotesk"; font-weight: 600; color: var(--ink); border: 1px solid var(--line); flex: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.flex:hover > .avatar { transform: scale(1.07); box-shadow: 0 0 0 3px rgba(47,92,255,.4); }
.dark .avatar { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.16); }

/* ---- Forms --------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); font-family: "Space Grotesk"; }
.field input, .field select, .field textarea {
  font-family: "Geist"; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px var(--cobalt-wash);
}
.field input:focus-visible { outline: none; }

/* ---- Accordion ----------------------------------------------------------- */
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-head {
  width: 100%; background: transparent; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; text-align: left;
  font-family: "Space Grotesk", sans-serif; font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
}
.acc-icon { position: relative; width: 18px; height: 18px; flex: none; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; background: var(--cobalt); border-radius: 2px; transition: transform .35s var(--ease); }
.acc-icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.acc-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.acc-item.open .acc-icon::after { transform: scaleY(0); }
.acc-item.open .acc-head { color: var(--cobalt); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-body p { padding: 0 4px 26px; max-width: 64ch; }

/* ---- Background Paths (full-screen animated banner) ---------------------- */
.bg-paths {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
  background: var(--paper); color: var(--ink); padding: 90px 0;
}
.bg-paths__art { position: absolute; inset: 0; color: var(--ink); pointer-events: none; }
.bg-paths__layer { position: absolute; inset: 0; }
.bg-paths__layer svg { width: 100%; height: 100%; display: block; }
.bg-paths .flow-path {
  fill: none; stroke: currentColor;
  stroke-dasharray: 0.32 0.68; stroke-dashoffset: 0;
  animation-name: bgpFlow; animation-timing-function: linear;
  animation-iteration-count: infinite; animation-play-state: paused;
  will-change: stroke-dashoffset;
}
.bg-paths.bgp-go .flow-path { animation-play-state: running; }
@keyframes bgpFlow { to { stroke-dashoffset: -1; } }

.bg-paths__inner { position: relative; z-index: 1; text-align: center; max-width: 64rem; padding: 0 24px; margin: 0 auto; }
.bg-paths__title {
  font-family: "Space Grotesk", sans-serif; font-weight: 700;
  font-size: clamp(2.7rem, 8.5vw, 6.2rem); line-height: 0.98; letter-spacing: -0.045em;
}
.bgp-word { display: inline-block; }
.bgp-word:not(:last-child) { margin-right: 0.26em; }
.bgp-letter {
  display: inline-block; opacity: 0; transform: translateY(78%);
  background: linear-gradient(180deg, var(--ink), #3f3f46);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bg-paths.bgp-go .bgp-letter { animation: bgpLetterIn 0.85s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes bgpLetterIn { to { opacity: 1; transform: none; } }

.bgp-btn {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 38px;
  padding: 17px 32px; border-radius: 1.15rem;
  font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem;
  color: var(--ink); background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 32px -14px rgba(10,10,10,.3);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  will-change: transform;
}
.bgp-btn:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 20px 44px -18px rgba(10,10,10,.4); }
.bgp-btn:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.bgp-arrow { color: var(--cobalt); transition: transform .3s var(--ease); }
.bgp-btn:hover .bgp-arrow { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .bg-paths .flow-path { stroke-dasharray: none; animation: none; stroke-opacity: .14; }
  .bg-paths .bgp-letter { opacity: 1; transform: none; animation: none; }
}

/* ---- Crypto payments ----------------------------------------------------- */
.crypto-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 46px; }
.coin {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 22px; min-width: 196px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.coin:hover { transform: translateY(-4px); border-color: rgba(47,92,255,.45); box-shadow: 0 18px 40px -24px rgba(10,10,10,.35); }
.coin__icon { width: 40px; height: 40px; flex: none; transition: transform .45s var(--ease); }
.coin:hover .coin__icon { transform: translateY(-2px) scale(1.09) rotate(-4deg); }
.coin__icon svg { width: 100%; height: 100%; display: block; }
.coin__t { display: flex; flex-direction: column; line-height: 1.2; }
.coin__t b { font-family: "Space Grotesk", sans-serif; font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.coin__t span { font-size: .84rem; color: var(--muted); margin-top: 2px; }

/* ---- Prose (legal / long-form) ------------------------------------------ */
.prose { color: var(--muted); }
.prose > p { margin-bottom: 18px; max-width: 70ch; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 52px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 9px; max-width: 68ch; }
.prose a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .updated { font-size: .9rem; color: var(--muted-2); }

/* ---- Podcast ------------------------------------------------------------- */
.play-btn { width: 54px; height: 54px; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; color: #fff; flex: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.play-btn svg { margin-left: 2px; }
.ep:hover .play-btn { transform: scale(1.08); box-shadow: 0 12px 26px -10px rgba(47,92,255,.6); }
.ep { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.platform { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 16px; transition: border-color .25s var(--ease), color .25s var(--ease); }
.platform:hover { border-color: var(--ink); color: var(--ink); }
.platform svg { color: var(--ink); }
@media (max-width: 640px) {
  .ep { grid-template-columns: auto 1fr; align-items: start; }
  .ep .play-btn { margin-top: 4px; }
  .ep .ep-meta { grid-column: 1 / -1; text-align: left; color: var(--muted-2); }
}

/* ---- CTA drifting light -------------------------------------------------- */
.cta-band::after {
  content: ""; position: absolute; z-index: 0; top: -40%; left: -25%;
  width: 55%; height: 180%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent 70%);
  filter: blur(8px);
  animation: ctaDrift 16s ease-in-out infinite alternate;
}
@keyframes ctaDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(190%, 12%, 0); } }

/* ---- Footer crypto strip ------------------------------------------------- */
.footer-crypto { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.footer-crypto > span:first-child { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,250,248,.42); font-family: "Space Grotesk", sans-serif; }
.footer-coins { display: inline-flex; gap: 9px; align-items: center; }
.footer-coins img { width: 24px; height: 24px; display: block; }

/* ---- Footer -------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--paper); padding: 84px 0 36px; }
.footer a { color: rgba(250,250,248,.62); transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(250,250,248,.4); font-family: "Space Grotesk"; margin-bottom: 20px; }

/* ---- Reveal animations --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(7px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); will-change: opacity, transform, filter; }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }

.clip-up { overflow: hidden; }
.clip-up > * { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.clip-up.in > * { transform: translateY(0); }

/* Floating ambient grid for hero */
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 70% 0%, #000 0%, transparent 75%);
  opacity: .55;
}
.dark .grid-bg { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); }

/* Decorative cobalt blob */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .14; background: var(--cobalt); pointer-events: none; z-index: 0; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--cobalt); width: 0; z-index: 60; transition: width .1s linear; }

/* Page intro hero spacing (header is sticky / in-flow) */
.hero { position: relative; padding-top: clamp(48px, 7vh, 90px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }

/* Utility */
.grid { display: grid; }
.flex { display: flex; }
.badge-cred { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); border: 1px solid var(--line); background:#fff; border-radius: 999px; padding: 7px 14px; }
.badge-cred svg { color: var(--cobalt); }

/* ---- Responsive ---------------------------------------------------------- */
/* Tablet — collapse multi-column grids to two-up */
@media (max-width: 1000px) {
  .grid:has(> .stat) { grid-template-columns: repeat(2, 1fr) !important; row-gap: 40px !important; }
  .grid:has(> .card) { grid-template-columns: repeat(2, 1fr) !important; }
  .grid:has(> .step) { grid-template-columns: repeat(2, 1fr) !important; row-gap: 40px !important; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .svc-row .idx { display: none; }
  .svc-row .arrow { position: absolute; right: 0; top: 30px; }
}

/* ===== Mobile pass (≤760px) — stack, tighten, resize ===================== */
@media (max-width: 760px) {
  .container { padding: 0 20px; }

  /* Stacking */
  .grid { grid-template-columns: 1fr !important; }
  .grid:has(> .card), .grid:has(> .step) { grid-template-columns: 1fr !important; }
  .grid:has(> .stat) { grid-template-columns: repeat(2, 1fr) !important; gap: 30px 22px !important; }

  /* Tighter vertical rhythm — less scrolling, more composed */
  .section { padding: 58px 0; }
  .section-tight { padding: 42px 0; }
  .hero { padding-top: 32px; }
  .card { padding: 24px; }
  .svc-row { padding: 24px 0; }
  .svc-row .arrow { top: 24px; }

  /* Resize display type for small screens */
  .display-xl { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .display-lg { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .quote { font-size: 1.5rem; }
  .bg-paths__title { font-size: clamp(2.3rem, 11.5vw, 3.4rem); }

  /* Primary actions go full-width — reads deliberate, easier to tap */
  .hero .btn, .bgp-btn, .cta-band .btn { width: 100%; justify-content: center; }

  /* Hide decorative blobs on small screens (clutter + overdraw) */
  .glow { display: none; }

  /* Background-Paths: not a near-empty full screen on a phone */
  .bg-paths { min-height: 70vh; min-height: 70svh; padding: 56px 0; }

  /* Announcement bar: smaller, calmer */
  .topbar { font-size: .76rem; padding: 8px 14px; line-height: 1.45; }

  /* Marquee + footer */
  .marquee-track { gap: 38px; }
  .marquee-item { font-size: .98rem; }
  .footer { padding: 56px 0 30px; }
  .footer .grid { grid-template-columns: 1fr 1fr !important; gap: 28px 20px !important; }
  .footer .grid > :first-child { grid-column: 1 / -1; }
  .footer-crypto { gap: 12px; }
}

/* ===== Small phones (≤460px) ============================================= */
@media (max-width: 460px) {
  .grid:has(> .stat) { grid-template-columns: 1fr !important; }
  .display-xl { font-size: clamp(2.15rem, 10vw, 2.9rem); }
  .section { padding: 50px 0; }
  .card { padding: 22px; }
  /* keep footer link columns 2-up (tighter than a long single stack) */
  .footer .grid { grid-template-columns: 1fr 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cta-band::after { animation: none; }
  .clip-up > * { transform: none !important; }
  .marquee-track { animation: none !important; }
}
