:root {
  --bg:        #FFFFFF;
  --bg-2:      #F6F9FC;
  --bg-3:      #ECF0F4;
  --ink:       #0A2540;
  --ink-2:     #425466;
  --dim:       #8898A8;
  --line:      #E6EBF1;
  --line-2:    #EFF3F8;
  --card:      #FFFFFF;
  --pos:       #2A9D5A;
  --pos-soft:  #E6F4ED;
  --neg:       #DF503B;
  --neg-soft:  #FCEAE6;
  --accent-1:  #635BFF;
  --accent-2:  #00D4FF;
  --accent-3:  #FF7A59;
  --shadow-sm: 0 1px 2px rgba(10,37,64,0.04);
  --shadow:    0 2px 8px rgba(10,37,64,0.06), 0 1px 1px rgba(10,37,64,0.04);
  --shadow-md: 0 8px 24px rgba(10,37,64,0.08), 0 1px 2px rgba(10,37,64,0.04);
  --shadow-lg: 0 30px 80px -20px rgba(10,37,64,0.22), 0 4px 14px rgba(10,37,64,0.08);
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-pill: 22px;

  --gutter: clamp(20px, 5vw, 64px);
  --max:    1240px;
  --sans:   'Onest', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

html.theme-violet  { --accent-1:#635BFF; --accent-2:#00D4FF; }
html.theme-coral   { --accent-1:#FF7A59; --accent-2:#FFB85C; }
html.theme-emerald { --accent-1:#0E9F6E; --accent-2:#67E8B5; }
html.theme-navy    { --accent-1:#0A2540; --accent-2:#3D6EFF; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss03", "cv11";
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--mono); font-feature-settings: "zero","tnum"; }

/* ============== announce bar ============== */
.announce {
  background: var(--ink); color: #fff;
  font-size: 12.5px; text-align: center;
  padding: 9px 16px;
  letter-spacing: -0.005em;
}
.announce a {
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
  transition: border-color .15s;
}
.announce a:hover { border-bottom-color: #fff; }
.announce .accent { font-weight: 600; color: #fff; }

/* ============== header ============== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .15s, background .15s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.012em; color: var(--ink);
}
.brand .mark {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--ink); position: relative;
  flex-shrink: 0;
}
.brand .mark::after {
  content:''; position: absolute; left: 6px; right: 6px; bottom: 7px; height: 2px;
  background: #fff; border-radius: 1px;
}
.brand .mark::before {
  content:''; position: absolute; left: 6px; right: 10px; bottom: 12px; height: 2px;
  background: #fff; border-radius: 1px; opacity: 0.55;
}
.brand .brand-name { white-space: nowrap; }
.brand .caret {
  font-weight: 400; margin-left: 1px;
  animation: brand-caret-blink 1.06s step-end infinite;
}
@keyframes brand-caret-blink { 0% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .brand .caret { animation: none; }
}
.main-nav { display: flex; gap: 2px; margin-left: 8px; }
.main-nav a {
  padding: 7px 12px; border-radius: var(--r-sm);
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-2); }
.main-nav a.active { color: var(--ink); }
.nav-item.has-sub { position: relative; display: flex; align-items: center; }
.nav-item.has-sub > a .caret-down {
  font-size: 9px; color: var(--dim); margin-left: 3px; vertical-align: middle;
}
.nav-sub {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-md);
  padding: 6px; margin-top: 8px; z-index: 60;
  display: none; flex-direction: column; gap: 1px;
}
.nav-sub::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub { display: flex; }
.main-nav .nav-sub a {
  padding: 8px 11px; border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink-2); font-weight: 500; white-space: nowrap;
}
.main-nav .nav-sub a:hover { background: var(--bg-2); color: var(--ink); }
.main-nav .nav-sub a.is-current { background: var(--bg-2); color: var(--ink); }
.header-spacer { flex: 1; }
.nav-collapse { display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; flex-shrink: 0;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--r-sm); color: var(--ink); cursor: pointer; padding: 0;
}
.nav-toggle:hover { background: var(--bg-2); }
.nav-toggle-box { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle-bar { top: 5px; }
.nav-toggle-bar::before { content: ''; top: -5px; }
.nav-toggle-bar::after  { content: ''; top: 5px; }
.site-header.nav-open .nav-toggle-bar { background: transparent; }
.site-header.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.site-header.nav-open .nav-toggle-bar::after  { top: 0; transform: rotate(-45deg); }
.header-search {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); font-size: 13px; color: var(--dim);
  min-width: 240px; cursor: text;
  transition: border-color .15s, background .15s;
}
.header-search:hover { border-color: var(--ink); background: #fff; }
.header-search .kbd {
  margin-left: auto; padding: 1px 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink-2);
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: var(--r-pill);
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  cursor: pointer; border: 0; transition: transform .12s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn.primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 2px rgba(10,37,64,0.08);
}
.btn.primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn.ghost {
  background: #fff; color: var(--ink);
  box-shadow: 0 1px 2px rgba(10,37,64,0.06), 0 0 0 1px var(--line);
}
.btn.ghost:hover { box-shadow: 0 2px 8px rgba(10,37,64,0.10), 0 0 0 1px var(--ink); transform: translateY(-1px); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* ============== gradient mesh decorations ============== */
.mesh {
  position: absolute; pointer-events: none; z-index: 0;
  filter: blur(50px); opacity: 0.55;
}
.mesh.is-hero {
  top: -120px; right: -120px; width: 760px; height: 760px;
  background:
    radial-gradient(circle at 25% 30%, color-mix(in oklab, var(--accent-2) 60%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, color-mix(in oklab, var(--accent-1) 60%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 50% 80%, color-mix(in oklab, var(--accent-3) 50%, transparent) 0%, transparent 55%);
}
.mesh.is-mid {
  top: 40%; left: -200px; width: 600px; height: 600px;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in oklab, var(--accent-2) 50%, transparent) 0%, transparent 60%);
  opacity: 0.25;
}

/* ============== hero ============== */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 7vw, 88px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 64px); align-items: center;
  position: relative;
}
.hero-content { position: relative; z-index: 2; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 13px; color: var(--ink-2);
  font-weight: 500; margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pos); position: relative;
}
.hero-pill .dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--pos); opacity: 0.25; animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 0.25; } 50% { transform: scale(1.6); opacity: 0; } }
.hero-pill .arrow { color: var(--dim); margin-left: 2px; transition: transform .15s; }
.hero-pill:hover .arrow { transform: translateX(2px); color: var(--ink); }
h1.hero-title {
  font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02;
  letter-spacing: -0.032em; font-weight: 600;
  margin: 0 0 22px; color: var(--ink);
  text-wrap: balance;
}
.hero-lead {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5; color: var(--ink-2);
  max-width: 50ch; margin: 0 0 32px;
}
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-search {
  display: flex; gap: 6px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  max-width: 520px;
}
.hero-search:focus-within {
  border-color: var(--accent-1);
  box-shadow: var(--shadow-md), 0 0 0 4px color-mix(in oklab, var(--accent-1) 14%, transparent);
}
.hero-search .icon { display: inline-flex; align-items: center; padding: 0 4px 0 14px; color: var(--dim); }
.hero-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  padding: 12px 6px; font-family: inherit; font-size: 15px; color: var(--ink);
}
.hero-search input::placeholder { color: var(--dim); }
.hero-search button {
  border: 0; padding: 0 22px;
  background: var(--ink); color: #fff;
  border-radius: 999px;
  font-family: inherit; font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background .15s, transform .12s;
}
.hero-search button:hover { background: var(--ink-2); }
.shortcuts {
  margin-top: 18px; font-size: 13px; color: var(--dim);
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.shortcuts .lbl { margin-right: 4px; }
.shortcuts a {
  padding: 4px 10px; background: var(--bg-2);
  border-radius: 999px; color: var(--ink-2); font-weight: 500;
  font-size: 12.5px; transition: background .15s, color .15s;
  border: 1px solid transparent;
}
.shortcuts a:hover { background: #fff; color: var(--ink); border-color: var(--line); }

/* ============== hero tilted mockup ============== */
.mock-wrap {
  position: relative; z-index: 1;
  perspective: 1500px;
  padding: 20px 0;
}
.mock {
  background: #fff; border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-6deg) rotateX(3deg) rotate(0.6deg);
  transform-style: preserve-3d;
  position: relative;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.mock-wrap:hover .mock { transform: rotateY(-3deg) rotateX(1.5deg) rotate(0.3deg); }
.mock::before {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.mock-head {
  display: flex; align-items: baseline; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--line-2);
}
.mock-head .ticker {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 3px 8px; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--r-sm); letter-spacing: 0.04em;
}
.mock-head .logo {
  width: 24px; height: 24px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.mock-head .logo img { width: 18px; height: 18px; object-fit: contain; display: block; }
.mock-head .nm { font-weight: 600; font-size: 17px; letter-spacing: -0.012em; }
.mock-head .price {
  margin-left: auto; font-family: var(--mono); font-size: 14px; color: var(--ink); font-weight: 500;
}
.mock-head .ch { color: var(--pos); margin-left: 8px; font-weight: 500; }
.mock-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 16px 22px; border-bottom: 1px solid var(--line-2);
}
.mock-grid .s { border-right: 1px solid var(--line-2); padding-right: 16px; }
.mock-grid .s:last-child { border-right: 0; padding-left: 16px; padding-right: 0; }
.mock-grid .s:nth-child(2) { padding-left: 16px; }
.mock-grid .k { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.mock-grid .v { font-size: 22px; font-weight: 600; letter-spacing: -0.018em; color: var(--ink); margin-top: 4px; }
.mock-grid .v .u { font-size: 0.55em; color: var(--ink-2); font-weight: 500; margin-left: 3px; }
.mock-tbl-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px 10px;
}
.mock-tbl-head .ttl { font-weight: 600; font-size: 13px; }
.mock-tbl-head .meta { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.mock-tbl { width: 100%; border-collapse: collapse; }
.mock-tbl th, .mock-tbl td {
  padding: 11px 22px; font-size: 13px; text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.mock-tbl th {
  font-family: var(--mono); font-size: 10.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; padding-top: 8px; padding-bottom: 8px;
}
.mock-tbl tbody tr:last-child td { border-bottom: 0; }
.mock-tbl td.r, .mock-tbl th.r { text-align: right; font-family: var(--mono); font-feature-settings: "tnum"; }
.mock-tbl .who { font-weight: 500; color: var(--ink); }
.mock-tbl .bar { display: inline-flex; align-items: center; gap: 8px; }
.mock-tbl .bar .t { width: 60px; height: 5px; background: var(--bg-3); border-radius: 3px; overflow: hidden; }
.mock-tbl .bar .f { height: 100%; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); border-radius: 3px; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
/* floating mini cards over mockup */
.mock-float {
  position: absolute; background: #fff;
  border-radius: var(--r); box-shadow: var(--shadow-md);
  padding: 12px 14px; font-size: 12px;
  transform-style: preserve-3d;
  animation: float 6s ease-in-out infinite;
}
.mock-float .k { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.mock-float .v { font-family: var(--mono); font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.mock-float .ch { font-family: var(--mono); font-size: 11px; margin-top: 1px; }
.mock-float.tl { top: -8px; left: -28px; transform: translateZ(40px) rotate(-3deg); }
.mock-float.br { bottom: -8px; right: -28px; transform: translateZ(40px) rotate(2deg); animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateZ(40px) translateY(0) rotate(-3deg); }
  50%      { transform: translateZ(40px) translateY(-6px) rotate(-2deg); }
}
.mock-float.br { animation-name: floatR; }
@keyframes floatR {
  0%, 100% { transform: translateZ(40px) translateY(0) rotate(2deg); }
  50%      { transform: translateZ(40px) translateY(-6px) rotate(3deg); }
}

/* ============== trust strip ============== */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; gap: 32px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.trust-inner .lbl {
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500;
}
.trust-inner .logos {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  color: var(--ink-2); font-weight: 500; opacity: 0.7;
}
.trust-inner .logos .lg {
  font-family: var(--mono); font-size: 13px; letter-spacing: -0.005em;
}

/* ============== section frame ============== */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) var(--gutter) 0;
  position: relative;
}
.section-head {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 40px; margin-bottom: clamp(28px, 4vw, 48px);
  align-items: end;
}
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; color: var(--accent-1);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
.section-head .eyebrow .sq {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-1);
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08;
  letter-spacing: -0.022em; font-weight: 600;
  margin: 12px 0 0; max-width: 22ch; text-wrap: balance;
}
.section-head p {
  font-size: 16.5px; color: var(--ink-2); max-width: 52ch;
  margin: 0;
}

/* ============== stats ============== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
}
.stat {
  padding: 28px 26px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); position: relative; overflow: hidden;
}
.stat::after {
  content:''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
}
.stat.in::after { transform: scaleX(1); }
.stat .v {
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1;
  font-weight: 600; letter-spacing: -0.025em; color: var(--ink);
}
.stat .v .u { font-size: 0.45em; color: var(--ink-2); margin-left: 4px; font-weight: 500; vertical-align: 0.4em; }
.stat .k { margin-top: 14px; font-size: 14px; color: var(--ink); font-weight: 500; }
.stat .sub { margin-top: 2px; font-size: 12.5px; color: var(--dim); }

/* ============== feature cards (6 datasets) ============== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px 24px;
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat .icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink); font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.04em;
}
.feat h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.012em; }
.feat p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.feat .meta {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.feat .meta strong { color: var(--ink); font-weight: 500; }

/* ============== companies preview table ============== */
.tbl-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.tbl-toolbar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); background: var(--bg-2);
  flex-wrap: wrap;
}
.tbl-toolbar .group { display: flex; gap: 4px; align-items: center; }
.tbl-toolbar .lbl {
  font-family: var(--mono); font-size: 10.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.08em; margin-right: 4px;
}
.tbl-chip {
  padding: 5px 11px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 12.5px; color: var(--ink-2); font-weight: 500;
  cursor: pointer; transition: all .15s;
  display: inline-flex; align-items: center; gap: 6px;
}
.tbl-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.tbl-chip:hover { border-color: var(--ink); color: var(--ink); }
.tbl-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tbl-toolbar .spacer { flex: 1; }
.tbl-toolbar .mini-search {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 13px; color: var(--dim);
}
.tbl-toolbar .mini-search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); width: 160px; }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl thead th {
  font-family: var(--mono); font-size: 10.5px; color: var(--dim); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 14px 20px; text-align: left; background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 1;
}
.tbl tbody tr {
  transition: background .12s;
  cursor: pointer;
}
.tbl tbody tr:hover { background: var(--bg-2); }
.tbl td {
  padding: 16px 20px; font-size: 14px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl .r, .tbl th.r { text-align: right; font-family: var(--mono); font-feature-settings: "tnum"; }
.tbl .co {
  display: inline-flex; align-items: center; gap: 12px;
}
.tbl .co .mark {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line);
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(10,37,64,0.04);
}
.tbl .co .mark img { width: 22px; height: 22px; object-fit: contain; display: block; }
.tbl .co .mark.letter {
  font-family: var(--mono); font-weight: 600; font-size: 12px; color: var(--ink-2);
}
.tbl .co .nm { font-weight: 600; color: var(--ink); }
.tbl .co .tk { font-family: var(--mono); font-size: 11.5px; color: var(--dim); display: block; margin-top: 1px; }
.sect-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: var(--r-sm);
  font-size: 11.5px; font-weight: 500;
  background: var(--bg-2); color: var(--ink-2);
}
.sect-chip .dot { width: 6px; height: 6px; border-radius: 50%; }
.spark-cell { white-space: nowrap; }
.spark-cell .val { display: inline-block; min-width: 56px; text-align: right; font-family: var(--mono); font-size: 13px; }
.spark-cell svg { vertical-align: middle; margin: 0 8px; }
.spark-cell .pct { font-family: var(--mono); font-size: 12.5px; min-width: 48px; display: inline-block; text-align: right; }
.tbl tfoot td {
  padding: 14px 20px; background: var(--bg-2);
  font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.06em;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.tbl tfoot a { color: var(--ink); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: 13px; }
.tbl tfoot a:hover { color: var(--accent-1); }

/* ============== latest changes ============== */
.changes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
}
.ch-row {
  display: grid; grid-template-columns: 16px 130px 1fr auto;
  gap: 14px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line-2);
}
.ch-row .ind {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dim); justify-self: center;
}
.ch-row .ind.pos  { background: var(--pos); }
.ch-row .ind.neg  { background: var(--neg); }
.ch-row .ind.new  { background: var(--ink); }
.ch-row .ind.pdmr { background: transparent; border: 1.5px solid var(--ink); width: 9px; height: 9px; }
.ch-row .when {
  font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.ch-row .what { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ch-row .what strong { color: var(--ink); font-weight: 600; }
.ch-row .what .kind {
  font-family: var(--mono); font-size: 10.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.06em; margin-right: 10px;
  font-weight: 500;
}
.ch-row .delta {
  font-family: var(--mono); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.ch-row .delta.pos { color: var(--pos); }
.ch-row .delta.neg { color: var(--neg); }

/* ============== owners grid ============== */
.owners {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.owner-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 22px 22px 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.owner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.owner-card.lg { grid-column: span 2; }
.owner-card .head { display: flex; align-items: center; gap: 12px; }
.owner-card .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 13px; color: var(--ink-2); flex-shrink: 0;
  overflow: hidden;
}
.owner-card .avatar img { width: 22px; height: 22px; object-fit: contain; display: block; }
.owner-card .nm { font-weight: 600; font-size: 15px; letter-spacing: -0.012em; color: var(--ink); }
.owner-card .kind { font-size: 12px; color: var(--dim); margin-top: 1px; }
.owner-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-2); }
.owner-card .stats .v { font-family: var(--mono); font-weight: 600; font-size: 17px; color: var(--ink); }
.owner-card .stats .k { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.owner-card.lg p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ============== company page peek ============== */
.peek-wrap {
  background: linear-gradient(135deg, var(--ink) 0%, #0E2D4F 100%);
  border-radius: 24px;
  padding: clamp(36px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr);
  gap: clamp(36px, 5vw, 56px); align-items: center;
  position: relative; overflow: hidden;
  color: #fff;
}
.peek-wrap::before {
  content:''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle at center,
    color-mix(in oklab, var(--accent-1) 50%, transparent) 0%,
    color-mix(in oklab, var(--accent-2) 30%, transparent) 40%, transparent 70%);
  filter: blur(60px); opacity: 0.6;
}
.peek-wrap .left { position: relative; z-index: 1; }
.peek-wrap .eyebrow { color: var(--accent-2); }
.peek-wrap .eyebrow .sq { background: var(--accent-2); }
.peek-wrap h3 {
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; letter-spacing: -0.022em;
  font-weight: 600; margin: 12px 0 18px; color: #fff;
}
.peek-wrap p { color: rgba(255,255,255,0.7); font-size: 16px; margin: 0 0 24px; line-height: 1.55; }
.peek-wrap ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.peek-wrap ul li {
  display: flex; align-items: center; gap: 12px; font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.peek-wrap .ul-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; flex-shrink: 0;
}
.peek-card {
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.2);
  color: var(--ink); overflow: hidden;
  position: relative; z-index: 1;
}

/* ============== access blocks ============== */
.access {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.access .col {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.access .col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.access .col .icon {
  width: 40px; height: 40px; border-radius: var(--r); margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); color: var(--ink);
  font-family: var(--mono); font-weight: 600; font-size: 13px;
}
.access .col h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.012em; }
.access .col p { margin: 0 0 18px; color: var(--ink-2); font-size: 14px; }
.access .col .endpoint {
  font-family: var(--mono); font-size: 12px;
  background: var(--bg-2); border-radius: var(--r-sm);
  padding: 10px 12px; color: var(--ink); margin-top: auto;
  display: block;
  border-left: 2px solid var(--accent-1);
  white-space: nowrap; overflow-x: auto;
}
.access .col .link {
  margin-top: 14px; font-size: 13px; font-weight: 500; color: var(--accent-1);
  display: inline-flex; align-items: center; gap: 4px;
}
.access .col .link:hover .arrow { transform: translateX(3px); }

/* ============== footer ============== */
footer {
  margin-top: clamp(72px, 10vw, 120px);
  background: var(--bg-2); border-top: 1px solid var(--line);
}
footer .top {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) var(--gutter) 32px;
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, 1fr); gap: 40px;
}
footer .brand-block .brand { font-size: 17px; }
footer .tag {
  margin-top: 14px; font-size: 14px; color: var(--ink-2);
  max-width: 36ch; line-height: 1.55;
}
footer .badges { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
footer .badges .badge {
  padding: 4px 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; font-size: 11.5px; color: var(--ink-2); font-weight: 500;
  font-family: var(--mono);
}
footer h4 {
  font-size: 12px; font-weight: 600; color: var(--ink); margin: 0 0 16px;
  text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono);
}
footer a {
  display: block; padding: 4px 0; font-size: 14px; color: var(--ink-2);
  transition: color .12s;
}
footer a:hover { color: var(--accent-1); }
footer .bot {
  max-width: var(--max); margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--dim);
}

/* ============== reveal ============== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============== responsive ============== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .mock-wrap { padding: 32px 0; }
  .mock { transform: rotateY(0) rotate(0); }
  .mock-wrap:hover .mock { transform: rotateY(0) rotate(0); }
  .mock-float { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .changes { grid-template-columns: 1fr; gap: 0; }
  .owners { grid-template-columns: repeat(2, 1fr); }
  .owner-card.lg { grid-column: span 2; }
  .peek-wrap { grid-template-columns: 1fr; }
  .access { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  footer .top { grid-template-columns: 1fr 1fr; }

  /* hero stacks to one column — center its content */
  .hero { text-align: center; }
  .hero-content { display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
  .hero-pill { align-self: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-search { margin-left: auto; margin-right: auto; width: 100%; max-width: 100%; }
  .hero-search input { min-width: 0; }
  .shortcuts { justify-content: center; }
  .mesh.is-hero {
    top: -140px; right: auto; left: 50%; transform: translateX(-50%);
    width: 480px; height: 480px;
  }
}
/* ============== mobile nav panel (hamburger) ============== */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
  .nav-collapse {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255,255,255,0.98);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px var(--gutter) 18px;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .site-header.nav-open .nav-collapse { display: flex; }
  .main-nav { display: flex; flex-direction: column; gap: 2px; margin-left: 0; width: 100%; }
  .main-nav a { padding: 12px; font-size: 15px; border-radius: var(--r-sm); }
  .nav-item.has-sub { flex-direction: column; align-items: stretch; }
  .nav-item.has-sub > a .caret-down { display: none; }
  .nav-sub {
    position: static; display: flex; flex-direction: column; min-width: 0;
    border: 0; box-shadow: none; background: transparent;
    margin: 0; padding: 0 0 4px 14px;
  }
  .main-nav .nav-sub a { padding: 10px 12px; font-size: 14px; }
  .header-spacer { display: none; }
  .header-search {
    display: inline-flex; width: 100%; min-width: 0;
    margin: 6px 0 0 !important; box-sizing: border-box;
  }
  .header-search input { width: 100% !important; flex: 1; }
  .nav-collapse .btn.primary { justify-content: center; margin-top: 8px; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .owners { grid-template-columns: 1fr; }
  .owner-card.lg { grid-column: span 1; }
  .tbl-toolbar .mini-search { display: none; }
  .tbl th:nth-child(3), .tbl td:nth-child(3),
  .tbl th:nth-child(5), .tbl td:nth-child(5) { display: none; }
  footer .top { grid-template-columns: 1fr; }
  .ch-row { grid-template-columns: 1fr; gap: 4px; }
  .ch-row .delta { justify-self: start; }
}


/* ============== page-level helpers used across inner pages ============== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.page-head {
  border-bottom: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(28px, 4vw, 48px);
  background: var(--bg);
  position: relative;
}
.page-head .crumbs {
  font-family: var(--mono); font-size: 11.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.page-head .crumbs a { color: var(--dim); }
.page-head .crumbs a:hover { color: var(--ink); }
.page-head .crumbs .sep { margin: 0 6px; color: var(--bg-3); }
.page-head h1 {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 600; margin: 0 0 14px;
  text-wrap: balance;
}
.page-head p.lead {
  font-size: 16.5px; color: var(--ink-2); max-width: 62ch; margin: 0; line-height: 1.55;
}
.page-head .head-row {
  display: flex; gap: 24px; align-items: end; justify-content: space-between; flex-wrap: wrap;
}
.page-head .right { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* compact KPI tiles used on dashboard pages */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0; }
.kpi {
  padding: 18px 20px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.kpi .k { font-family: var(--mono); font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.kpi .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.1; }
.kpi .v .u { font-size: 0.5em; color: var(--ink-2); font-weight: 500; margin-left: 3px; }
.kpi .d { font-family: var(--mono); font-size: 11.5px; margin-top: 4px; color: var(--dim); }
.kpi .d.pos { color: var(--pos); }
.kpi .d.neg { color: var(--neg); }

/* company-header readout strip — borderless, hairline-divided */
.kpi-strip {
  display: flex; margin: 24px 0;
  border-top: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
  border-bottom: 1px solid var(--line);
}
.kpi-strip .cell { flex: 1 1 0; min-width: 0; padding: 22px; }
.kpi-strip .cell:first-child { padding-left: 0; }
.kpi-strip .cell + .cell { border-left: 1px solid var(--line); }
.kpi-strip .l { font-size: 12px; color: var(--ink-2); font-weight: 500; letter-spacing: .005em; white-space: nowrap; }
.kpi-strip .v {
  display: flex; align-items: flex-end; gap: 7px; min-height: 34px; margin-top: 13px;
  font-family: var(--mono); font-size: 23px; font-weight: 500; color: var(--ink);
  letter-spacing: -.012em; line-height: 1; font-feature-settings: "tnum","zero";
}
.kpi-strip .v .u { font-size: .5em; color: var(--ink-2); font-weight: 500; align-self: flex-end; transform: translateY(-1px); }
.kpi-strip .v .d { font-size: 13px; color: var(--pos); font-weight: 500; letter-spacing: 0; }
.kpi-strip .v .d.neg { color: var(--neg); }
.kpi-strip .v .d .w { font-size: .85em; color: var(--dim); font-weight: 400; }
.kpi-strip .cell.lead .v { font-size: 31px; }
.kpi-strip .s { margin-top: 11px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .01em; white-space: nowrap; }
@media (max-width: 880px) {
  .kpi-strip { flex-direction: column; margin: 18px 0; }
  .kpi-strip .cell {
    flex: none; padding: 14px 0; border-left: 0; border-top: 1px solid var(--line);
    display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  }
  .kpi-strip .cell:first-child { border-top: 0; }
  .kpi-strip .l { order: 1; }
  .kpi-strip .v { order: 2; margin-top: 0; min-height: 0; font-size: 19px; }
  .kpi-strip .cell.lead .v { font-size: 21px; }
  .kpi-strip .s { display: none; }
}

/* generic card */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
}
.card h3 {
  margin: 0 0 4px; font-size: 16px; font-weight: 600; letter-spacing: -0.012em;
  display: flex; align-items: center; gap: 8px;
}
.card .sub { color: var(--dim); font-size: 12.5px; margin: 0 0 18px; }

/* split layout used on detail pages: main + side */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; } .kpi-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .kpi-row { grid-template-columns: 1fr; } }

/* symmetric two-column grid that stacks on small screens */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* table card that scrolls horizontally on narrow screens instead of clipping */
.table-wrap {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}

/* sticky table-of-contents on detail pages */
.toc { position: sticky; top: 80px; padding: 18px; }
.toc h4 {
  font-family: var(--mono); font-size: 10.5px; color: var(--dim);
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 12px; font-weight: 500;
}
.toc a {
  display: block; padding: 7px 10px; border-radius: 6px;
  font-size: 13.5px; color: var(--ink-2); margin: 0 -10px; transition: all .12s;
  border-left: 2px solid transparent;
}
.toc a:hover { background: var(--bg-2); color: var(--ink); }
.toc a.active { border-left-color: var(--ink); color: var(--ink); font-weight: 500; background: var(--bg-2); }

/* dot indicator used in changes lists / tags */
.dotbox { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.dotbox .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.dotbox .dot.pos { background: var(--pos); }
.dotbox .dot.neg { background: var(--neg); }
.dotbox .dot.new { background: var(--ink); }
.dotbox .dot.pdmr { background: transparent; border: 1.5px solid var(--ink); width: 9px; height: 9px; }

/* code block */
.code {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6;
  background: var(--ink); color: #E2E8F0;
  border-radius: var(--r); padding: 18px 20px; overflow-x: auto;
}
.code .k { color: #67E8F9; }
.code .s { color: #FCD34D; }
.code .n { color: #F472B6; }
.code .c { color: #94A3B8; font-style: italic; }

/* segmented control */
.seg { display: inline-flex; padding: 3px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); }
.seg button {
  border: 0; background: transparent; padding: 6px 14px; font-family: var(--sans);
  font-size: 12.5px; color: var(--ink-2); cursor: pointer; border-radius: 999px;
  font-weight: 500;
}
.seg button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* small badge */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 4px;
  font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--bg-2); color: var(--ink-2);
  border: 1px solid var(--line);
}
.badge.pos { background: var(--pos-soft); color: var(--pos); border-color: transparent; }
.badge.neg { background: var(--neg-soft); color: var(--neg); border-color: transparent; }

/* nav active state util */
.main-nav a.is-active { color: var(--ink); position: relative; }
.main-nav a.is-active::after {
  content:''; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--ink);
}
