/* ============================================================
   Scrub.io — Design System (reconstructed from brand screenshots)
   Signal-yellow accent · dark default + light theme · rounded geo type
   ============================================================ */

/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('unbundled/fonts/poppins-aa80937a.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('unbundled/fonts/poppins-a0faa5ab.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('unbundled/fonts/poppins-71ab499f.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('unbundled/fonts/poppins-6cbe4d28.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('unbundled/fonts/poppins-c5520a65.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('unbundled/fonts/poppins-25b7694c.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('unbundled/fonts/poppins-696cbc38.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('unbundled/fonts/poppins-25f27b62.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('unbundled/fonts/poppins-4acca0dd.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('unbundled/fonts/poppins-123f95ee.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('unbundled/fonts/poppins-f656720b.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('unbundled/fonts/poppins-edf16acc.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('unbundled/fonts/poppins-7a447fc1.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('unbundled/fonts/poppins-75212c7d.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('unbundled/fonts/poppins-f790e7fa.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('unbundled/fonts/poppins-5b233bee.woff2') format('woff2');
  unicode-range:
    U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC,
    U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('unbundled/fonts/poppins-9aa07329.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('unbundled/fonts/poppins-d42b23bc.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  /* accent (tweakable) */
  --accent: #f7c61b;
  --accent-ink: #15140c; /* text on accent */
  --accent-soft: rgba(247, 198, 27, 0.14);
  --accent-line: rgba(247, 198, 27, 0.55);

  /* risk / status */
  --good: #22c55e;
  --good-soft: rgba(34, 197, 94, 0.14);
  --warn: #f0a92b;
  --warn-soft: rgba(240, 169, 43, 0.16);
  --bad: #ef4444;
  --bad-soft: rgba(239, 68, 68, 0.14);

  --radius-pill: 999px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --maxw: 1200px;
  --shell-x: clamp(20px, 5vw, 64px);

  --font: 'Poppins', system-ui, sans-serif;

  /* DARK THEME (default) */
  --bg: #0e0e10;
  --bg-2: #141416;
  --panel: #161618;
  --panel-2: #1c1c1f;
  --card: #18181b;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #fafafa;
  --text-2: #a6a6ad;
  --text-3: #6e6e76;
  --nav-bg: rgba(28, 28, 31, 0.72);
  --hero-grid: rgba(255, 255, 255, 0.035);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}

[data-theme='light'] {
  --bg: #f4f4f5;
  --bg-2: #ffffff;
  --panel: #ffffff;
  --panel-2: #f6f6f7;
  --card: #ffffff;
  --line: rgba(15, 15, 20, 0.09);
  --line-2: rgba(15, 15, 20, 0.14);
  --text: #18181b;
  --text-2: #56565e;
  --text-3: #8a8a92;
  --nav-bg: rgba(255, 255, 255, 0.74);
  --hero-grid: rgba(15, 15, 20, 0.04);
  --shadow: 0 24px 60px -24px rgba(15, 15, 25, 0.22);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body.scrub-site {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background 0.4s ease,
    color 0.4s ease;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
body.scrub-site a,
.footer a {
  color: inherit;
  text-decoration: none;
}
body.scrub-site img {
  max-width: 100%;
  display: block;
}

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--shell-x);
}
.section {
  padding: clamp(64px, 9vw, 132px) 0;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
}
.muted {
  color: var(--text-2);
}

body.scrub-site h1,
body.scrub-site h2,
body.scrub-site h3,
body.scrub-site h4 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-weight: 700;
}
body.scrub-site h1 {
  font-size: clamp(40px, 6vw, 76px);
}
body.scrub-site h2 {
  font-size: clamp(30px, 4.4vw, 54px);
}
body.scrub-site p {
  margin: 0;
  line-height: 1.62;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--text-2);
}
.btn-dark {
  background: var(--text);
  color: var(--bg);
}
.btn-dark:hover {
  transform: translateY(-1px);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}
.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

/* ---------- nav ---------- */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 60;
  padding: 0 var(--shell-x);
}
.nav {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 11px 12px 11px 22px;
  box-shadow: var(--shadow);
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
}
.brand-logo {
  display: block;
  height: 29px;
  width: auto;
}
svg.brand-logo {
  fill: var(--text);
}
img.brand-logo {
  display: block;
  width: 143px;
  height: 29px;
}
.nav .links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
}
.nav .links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  transition:
    color 0.2s,
    background 0.2s;
}
.nav .links a:hover {
  color: var(--text);
  background: var(--panel-2);
}
.nav .spacer {
  flex: 1;
}
.nav .right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.theme-toggle:hover {
  transform: rotate(-12deg);
  border-color: var(--line-2);
}

/* dropdown */
.menu {
  position: relative;
}
.menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}
.menu-btn:hover {
  color: var(--text);
  background: var(--panel-2);
}
.menu-pop {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 320px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.menu:hover .menu-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu-item {
  display: flex;
  gap: 13px;
  padding: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.menu-item:hover {
  background: var(--panel-2);
}
.menu-item .mi-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.menu-item h5 {
  margin: 0 0 3px;
  font-size: 14.5px;
  font-weight: 600;
}
.menu-item p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.4;
}

/* ---------- doodle accents ---------- */
.scribble-circle {
  position: absolute;
  pointer-events: none;
  color: var(--accent);
}
.hl {
  position: relative;
  display: inline-block;
}
.hl svg {
  position: absolute;
  left: -4%;
  bottom: -10px;
  width: 108%;
  height: 16px;
  color: var(--accent);
  pointer-events: none;
}
.squig path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: squig-draw 2s linear forwards;
}
@keyframes squig-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .squig path {
    animation: none;
    stroke-dashoffset: 0;
  }
}
.spark {
  display: inline-block;
  color: var(--accent);
  vertical-align: super;
  font-size: 0.5em;
}

/* pill tag */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text-2);
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(54px, 7vw, 92px);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    #000 40%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    #000 40%,
    transparent 78%
  );
}
.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.scrub-site .hero h1 {
  width: 100%;
  margin: 22px 0 0;
  text-align: center;
}
body.scrub-site .hero .sub {
  width: 100%;
  max-width: 56ch;
  margin: 24px 0 0;
  color: var(--text-2);
  font-size: clamp(16px, 1.5vw, 19px);
  text-align: center;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-seg {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: var(--radius-pill);
  background: var(--panel-2);
  border: 1px solid var(--line);
  margin: 0 auto;
}
.hero-seg button {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}
.hero-seg button.on {
  background: var(--text);
  color: var(--bg);
}

/* hero dashboard + floating cards */
.hero-stage {
  position: relative;
  margin: 56px auto 0;
  max-width: 1040px;
}
.hero-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--panel);
}
.hero-shot img {
  width: 100%;
  display: block;
}

/* hero mini dashboard */
.hero-dash {
  --hd-bg: var(--bg-2);
  --hd-panel: var(--card);
  --hd-text: var(--text);
  --hd-muted: var(--text-2);
  --hd-line: var(--line);
  --hd-accent: var(--accent);
  --hd-good: var(--good);
  --hd-bad: var(--bad);
  --hd-chart-grid: var(--line);
  --hd-icon-purple-bg: rgba(124, 58, 237, 0.18);
  --hd-icon-purple-fg: #a78bfa;
  --hd-icon-yellow-bg: var(--accent-soft);
  --hd-icon-yellow-fg: var(--accent);
  --hd-icon-green-bg: var(--good-soft);
  --hd-icon-green-fg: var(--good);
  --hd-icon-orange-bg: var(--warn-soft);
  --hd-icon-orange-fg: var(--warn);
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 420px;
  background: var(--hd-bg);
  color: var(--hd-text);
  font-family: var(--font);
  text-align: left;
  pointer-events: none;
  user-select: none;
}
[data-theme='light'] .hero-dash {
  --hd-icon-purple-bg: #ede9fe;
  --hd-icon-purple-fg: #7c3aed;
  --hd-icon-yellow-bg: #fef3c7;
  --hd-icon-yellow-fg: #d97706;
  --hd-icon-green-bg: #dcfce7;
  --hd-icon-green-fg: #16a34a;
  --hd-icon-orange-bg: #ffedd5;
  --hd-icon-orange-fg: #ea580c;
}
.hd-side {
  display: flex;
  flex-direction: column;
  padding: 18px 12px 14px;
  border-right: 1px solid var(--hd-line);
  background: var(--hd-panel);
}
.hd-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 0 6px;
  color: var(--hd-text);
}
.hd-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.hd-nav-foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--hd-line);
}
.hd-nav-item {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--hd-muted);
  padding: 7px 10px;
  border-radius: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hd-nav-item.on {
  background: var(--hd-accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.hd-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--hd-panel);
  border-bottom: 1px solid var(--hd-line);
}
.hd-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 280px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--hd-bg);
  color: var(--hd-muted);
  font-size: 11px;
}
.hd-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hd-bell {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--hd-accent);
  color: var(--accent-ink);
}
.hd-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.hd-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hd-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c4b5fd, #818cf8);
  flex-shrink: 0;
}
.hd-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hd-user-meta strong {
  font-size: 11px;
  font-weight: 600;
}
.hd-user-meta span {
  font-size: 9px;
  color: var(--hd-muted);
}
.hd-content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.hd-title {
  margin: 0;
  font-size: 18px !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hd-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.hd-card {
  background: var(--hd-panel);
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
}
.hd-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}
.hd-card-lbl {
  font-size: 8.5px;
  line-height: 1.35;
  color: var(--hd-muted);
  font-weight: 500;
}
.hd-card-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hd-card-icon.purple {
  background: var(--hd-icon-purple-bg);
  color: var(--hd-icon-purple-fg);
}
.hd-card-icon.yellow {
  background: var(--hd-icon-yellow-bg);
  color: var(--hd-icon-yellow-fg);
}
.hd-card-icon.green {
  background: var(--hd-icon-green-bg);
  color: var(--hd-icon-green-fg);
}
.hd-card-icon.orange {
  background: var(--hd-icon-orange-bg);
  color: var(--hd-icon-orange-fg);
}
.hd-card-val {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hd-trend {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
}
.hd-trend.up {
  color: var(--hd-good);
}
.hd-trend.down {
  color: var(--hd-bad);
}
.hd-chart-wrap {
  background: var(--hd-panel);
  border: 1px solid var(--hd-line);
  border-radius: 12px;
  padding: 12px 14px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hd-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 600;
}
.hd-select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 500;
  color: var(--hd-muted);
  padding: 4px 8px;
  border: 1px solid var(--hd-line);
  border-radius: 6px;
  background: var(--hd-bg);
}
.hd-chart {
  width: 100%;
  height: 120px;
  display: block;
}
.hero-dash .hd-chart-grid {
  stroke: var(--hd-chart-grid);
}
.hero-dash .hd-chart-fill-top {
  stop-color: var(--hd-accent);
  stop-opacity: 0.22;
}
.hero-dash .hd-chart-fill-bot {
  stop-color: var(--hd-accent);
  stop-opacity: 0;
}
.hero-dash .hd-chart-line {
  fill: none;
  stroke: var(--hd-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.hero-dash .hd-chart-dot {
  fill: var(--hd-panel);
  stroke: var(--hd-accent);
  stroke-width: 2.5;
}
.hero-dash .hd-chart-tip {
  fill: var(--hd-accent);
}
.hero-dash .hd-chart-tip-text {
  fill: var(--accent-ink);
  font-size: 10px;
  font-family: var(--font);
  font-weight: 600;
}
@media (max-width: 900px) {
  .hero-dash {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hd-side {
    display: none;
  }
  .hd-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .hd-user-meta,
  .hd-search span {
    display: none;
  }
  .hd-cards {
    grid-template-columns: 1fr 1fr;
  }
  .hd-card-val {
    font-size: 15px;
  }
}
.float-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 14px 18px;
  z-index: 3;
}
.float-card .lbl {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 4px;
}
.float-card .big {
  font-size: 22px;
  font-weight: 700;
}
.float-card.tl {
  top: 16%;
  left: -3%;
}
.float-card.tr {
  top: 30%;
  right: -4%;
}
.float-card.bl {
  bottom: 12%;
  left: 4%;
}
.float-card.br {
  bottom: 22%;
  right: -2%;
}
.float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  background: var(--text);
  color: var(--bg);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.float-pill.tr {
  top: 10%;
  right: 2%;
}
.float-pill.bl {
  bottom: 8%;
  left: 6%;
}

/* ---------- logo strip ---------- */
.logo-strip {
  text-align: center;
}
.logo-strip .cap {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 26px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  justify-content: center;
  align-items: center;
}
.logo-mark {
  display: block;
  height: clamp(22px, 3vw, 34px);
  width: var(--logo-w, 80px);
  opacity: 0.7;
  background: var(--text-2);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
  transition: background 0.2s;
}
.logo-mark--stripe {
  --logo: url(../images/logos/stripe.svg);
  --logo-w: 56px;
}
.logo-mark--plaid {
  --logo: url(../images/logos/plaid.svg);
  --logo-w: 72px;
}
.logo-mark--adyen {
  --logo: url(../images/logos/adyen.svg);
  --logo-w: 80px;
}
.logo-mark--mono {
  --logo: url(../images/logos/mono.svg);
  --logo-w: 88px;
}
.logo-mark--apex {
  --logo: url(../images/logos/apex.svg);
  --logo-w: 40px;
  height: clamp(28px, 4vw, 42px);
}
.logo-mark--ansa {
  --logo: url(../images/logos/ansa.svg);
  --logo-w: 72px;
}

/* ---------- generic two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.feat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}
.feat {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.feat:hover {
  border-color: var(--line);
  background: var(--panel);
}
.feat .fic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--text);
}
.feat h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.feat p {
  font-size: 14px;
  color: var(--text-2);
}

/* portrait */
.portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/4.4;
}

/* placeholder media */
.ph {
  position: relative;
  display: grid;
  place-items: center;
}
.ph code {
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  background: var(--bg);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* ---------- transaction demo card ---------- */
.txn-card {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 14px;
  color: var(--accent-ink);
}
.txn-card .badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.12);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  margin: 4px 0 12px 6px;
}
.txn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 13px 15px;
  margin-bottom: 9px;
}
.txn-row .ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.txn-row .ic.x {
  background: #1a1a1a;
  color: #fff;
}
.txn-row .ic.ok {
  background: #1a1a1a;
  color: var(--accent);
}
.txn-row .t1 {
  font-size: 14px;
  font-weight: 600;
}
.txn-row .t2 {
  font-size: 12px;
  opacity: 0.7;
}
.txn-row .amt {
  margin-left: auto;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- credit report (flagship) ---------- */
.report-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.report-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.report-head .ava {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex: none;
}
.report-head .who h4 {
  font-size: 17px;
}
.report-head .who .meta {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 3px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--good);
  background: var(--good-soft);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

.report-body {
  display: grid;
  grid-template-columns: 248px 1fr;
}
.report-score {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.gauge {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 4px auto 0;
}
.gauge .val {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.gauge .val .n {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.gauge .val .o {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 4px;
}
.risk-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.score-foot {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.report-detail {
  padding: 8px 10px 18px;
}
.rtabs {
  display: flex;
  gap: 4px;
  padding: 12px 14px 0;
  flex-wrap: wrap;
}
.rtab {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: none;
  cursor: pointer;
  transition: all 0.18s;
}
.rtab:hover {
  color: var(--text);
}
.rtab.on {
  background: var(--accent);
  color: var(--accent-ink);
}
.rpanel {
  padding: 16px 16px 6px;
}
.rpanel.fade {
  animation: none;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 6px;
}
.metric {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
}
.metric .mlbl {
  font-size: 11.5px;
  color: var(--text-2);
  margin-bottom: 7px;
}
.metric .mval {
  font-size: 20px;
  font-weight: 700;
}
.metric .msub {
  font-size: 11.5px;
  margin-top: 4px;
}

.bar {
  height: 8px;
  border-radius: 6px;
  background: var(--panel-2);
  overflow: hidden;
  margin-top: 10px;
}
.bar > i {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--accent);
}

.timeline {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.tl-cell {
  flex: 1 1 18px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.tl-cell.ok {
  background: var(--good-soft);
  color: var(--good);
}
.tl-cell.late {
  background: var(--warn-soft);
  color: var(--warn);
}
.tl-cell.miss {
  background: var(--bad-soft);
  color: var(--bad);
}

.facility {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
}
.facility:last-child {
  border-bottom: none;
}
.facility .fl {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex: none;
}
.facility .fname {
  font-size: 14.5px;
  font-weight: 600;
}
.facility .fmeta {
  font-size: 12px;
  color: var(--text-2);
}
.facility .fbal {
  margin-left: auto;
  text-align: right;
}
.facility .fbal .b {
  font-weight: 700;
  font-size: 14.5px;
}
.facility .fbal .s {
  font-size: 11.5px;
}
.status-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.chip-ok {
  background: var(--good-soft);
  color: var(--good);
}
.chip-warn {
  background: var(--warn-soft);
  color: var(--warn);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
}
.step .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.step h4 {
  font-size: 19px;
  margin: 14px 0 9px;
}
.step p {
  font-size: 14px;
  color: var(--text-2);
}

/* report contents grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}
.card .cic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.card h4 {
  font-size: 18px;
  margin-bottom: 9px;
}
.card p {
  font-size: 14px;
  color: var(--text-2);
}

/* coverage / trust band */
.trust-band {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat .n {
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stat .n em {
  color: var(--accent);
  font-style: normal;
}
.stat .l {
  font-size: 13.5px;
  color: var(--text-2);
  margin-top: 6px;
}

/* flags */
.flags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--panel);
}
.flag-chip .fg {
  font-size: 16px;
}

/* ---------- FAQ ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 4px;
  cursor: pointer;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 600;
}
.faq-q .pm {
  margin-left: auto;
  font-size: 22px;
  color: var(--text-2);
  transition: transform 0.25s;
  flex: none;
}
.faq-item.open .pm {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 4px 24px;
}
.faq-a p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 60ch;
}

/* ---------- CTA ---------- */
.cta-card {
  background: #0b0b0c;
  border-radius: var(--radius-lg);
  padding: clamp(50px, 8vw, 96px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
}
[data-theme='light'] .cta-card {
  background: #0b0b0c;
}
body.scrub-site .cta-card h2 {
  color: #fff;
  max-width: 18ch;
  margin: 0;
  text-align: center;
  align-self: center;
  position: relative;
  z-index: 2;
}
body.scrub-site .cta-card p {
  color: rgba(255, 255, 255, 0.62);
  max-width: 54ch;
  margin: 20px 0 0;
  text-align: center;
  align-self: center;
  position: relative;
  z-index: 2;
}
.cta-card .hero-cta {
  margin-top: 34px;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h6 {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer .flink {
  display: block;
  font-size: 14.5px;
  color: var(--text-2);
  padding: 7px 0;
  transition: color 0.2s;
}
.footer .flink:hover {
  color: var(--text);
}
.foot-mail {
  display: flex;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 16px;
  max-width: 360px;
  margin-top: 16px;
}
.foot-mail input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
}
.foot-mail input::placeholder {
  color: var(--text-3);
}
.addr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  max-width: 560px;
}
.addr h6 {
  margin-bottom: 8px;
}
.addr p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.foot-bottom .copy {
  font-size: 13px;
  color: var(--text-3);
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}
.socials a:hover {
  transform: translateY(-3px);
}

/* reveal */
.reveal {
  opacity: 1;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .split,
  .faq-wrap {
    grid-template-columns: 1fr;
  }
  .report-body {
    grid-template-columns: 1fr;
  }
  .report-score {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .steps,
  .cards-3 {
    grid-template-columns: 1fr;
  }
  .stat-row {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-row {
    grid-template-columns: 1fr;
  }
  .nav .links {
    display: none;
  }
  .float-card,
  .float-pill {
    display: none;
  }
}
@media (max-width: 560px) {
  .addr,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

body.legacy-page .container {
  width: 100%;
  max-width: var(--maxw) !important;
  margin-inline: auto;
}
body.legacy-page header,
body.legacy-page .container {
  padding-left: var(--shell-x);
  padding-right: var(--shell-x);
}
