:root {
  color-scheme: dark;
  --bg: #0b161b;
  --panel: #142329;
  --edge: #324348;
  --ink: #f3f7f5;
  --muted: #b4c5c6;
  --mint: #88f0cf;
  --gold: #f3c887;
  --red: #ffaaa3;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding: 20px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .7; }
.skip { position: absolute; z-index: 2; top: -100px; left: 10px; padding: 10px; background: var(--bg); }
.skip:focus { top: 8px; }
.wrap { width: min(1216px, 91%); margin: auto; }
header { border-bottom: 1px solid var(--edge); }
nav, .brand, .navlinks, .actions, .toolbar, .dashhead, .footer, .preview-head, .preview-link { display: flex; align-items: center; }
nav { justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { gap: 10px; font-size: 23px; font-weight: 720; letter-spacing: -.065em; }
.brand i { font-weight: 450; font-style: normal; color: var(--muted); }
.navlinks { gap: 26px; font-size: 14px; }
.navlinks a:hover, footer a:hover, summary:hover { color: var(--mint); }
.navlinks a:last-child { border: 1px solid var(--edge); border-radius: 5px; padding: 7px 14px; }
.hero { position: relative; padding: clamp(48px,7vw,104px) 0; background: radial-gradient(ellipse at 87% 22%, #1c3c3d, transparent 57%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .8fr); align-items: center; gap: clamp(24px,6vw,100px); }
.kicker, .eyebrow, .step, .demo, .sample { font: 600 11px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.kicker, .step { color: var(--mint); }
.eyebrow { color: var(--muted); font-size: 10px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(42px,5.35vw,80px); letter-spacing: -.071em; line-height: 1.02; margin: 18px 0 22px; }
h2 { font-size: clamp(30px,3.3vw,50px); letter-spacing: -.055em; line-height: 1.09; margin: 12px 0 18px; }
h3 { font-size: 21px; letter-spacing: -.033em; line-height: 1.22; margin: 9px 0; }
p { color: var(--muted); max-width: 78ch; }
.lead { font-size: clamp(16px,1.4vw,20px); max-width: 60ch; }
.fine, small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.actions { gap: 12px; flex-wrap: wrap; margin: 28px 0 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #52656a; border-radius: 6px; background: #1b2c33; padding: 10px 15px; min-height: 42px; font-weight: 640; font-size: 14px; }
.btn:hover, select:hover { border-color: var(--mint); }
.primary { background: var(--mint); color: #09221c; border-color: var(--mint); }
.primary:hover { background: #b1ffdf; }
.preview { background: linear-gradient(135deg, #1d3336, #132329 75%); border: 1px solid #486263; border-top: 3px solid var(--mint); border-radius: 12px; padding: clamp(18px,2.3vw,30px); box-shadow: 0 24px 60px #0003; }
.preview-head, .preview-link { justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 650; }
.sample, .demo { color: var(--gold); }
.sample { border: 1px solid #786847; border-radius: 3px; padding: 2px 6px; font-size: 9px; }
.preview-content { display: flex; align-items: center; gap: 18px; padding: 22px 0; }
.preview-content h3 { font-size: clamp(21px,2.1vw,31px); margin: 4px 0; }
.preview-content p { font-size: 13px; }
.dial { --score: 0%; display: grid; place-items: center; width: 88px; height: 88px; flex: none; border-radius: 50%; background: conic-gradient(from -90deg, var(--mint) var(--score), #344b4b 0); }
.dial div { display: grid; align-content: center; text-align: center; width: 74px; height: 74px; border-radius: 50%; background: #1a3033; }
.dial strong { font-size: 30px; line-height: 1; letter-spacing: -.07em; }
.dial small { font: 10px/1.5 var(--mono); }
.preview-item { display: flex; gap: 12px; align-items: baseline; border-top: 1px solid var(--edge); padding: 10px 0; }
.preview-item strong, .preview-item small { display: block; }
.preview-item strong { font-size: 14px; }
.signal { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex: none; }
.signal.amber { background: var(--gold); }
.preview-link { color: var(--mint); margin-top: 12px; font-size: 13px; }
section { padding: clamp(42px,6vw,84px) 0; border-top: 1px solid var(--edge); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.grid.pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { background: var(--panel); border: 1px solid var(--edge); border-radius: 9px; padding: clamp(18px,2vw,28px); }
.card p { font-size: 15px; line-height: 1.6; }
.logos { display: flex; gap: 7px; flex-wrap: wrap; }
.logos:not(:empty) { margin-top: 20px; }
.logo { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; padding: 4px 7px; background: #1c2f35; border-radius: 4px; }
.logo img { object-fit: contain; width: 17px; height: 17px; }
.logo .gateway-mark { width: 36px; height: 22px; }
.logo .mono { filter: invert(92%) sepia(6%) saturate(217%); }
.ms { display: grid; grid-template-columns: repeat(2,7px); gap: 1px; }
.ms i { height: 7px; background: #f25022; }
.ms i:nth-child(2) { background: #7fba00; }
.ms i:nth-child(3) { background: #00a4ef; }
.ms i:nth-child(4) { background: #ffb900; }
#demo { background: #101e23; }
.dash { margin-top: 26px; border: 1px solid #486165; background: #101b20; border-radius: 12px; box-shadow: 0 16px 50px #0003; overflow: hidden; }
.dashhead { padding: 15px 20px; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #1b2c31; border-bottom: 1px solid var(--edge); }
.dashhead strong { font-size: 15px; }
.dashbody { display: grid; grid-template-columns: 180px minmax(0,1fr); }
aside { padding: 14px 10px; border-right: 1px solid var(--edge); }
aside button { display: block; width: 100%; padding: 10px; text-align: left; border: 1px solid transparent; color: var(--muted); border-radius: 4px; background: none; font-size: 14px; }
aside button:hover { color: var(--ink); background: #182b31; }
aside button.active { color: var(--mint); background: #1a3838; border-color: #295150; }
.work { padding: clamp(15px,2vw,28px); min-width: 0; }
.toolbar { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar > div:last-child { display: flex; gap: 8px; flex-wrap: wrap; }
.view-name { font-size: 20px; letter-spacing: -.04em; }
select { background: #1b2c33; border: 1px solid var(--edge); border-radius: 5px; padding: 8px; min-height: 40px; max-width: 100%; font-size: 13px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin: 20px 0; }
.metric { padding: 14px; background: var(--panel); border: 1px solid var(--edge); border-radius: 7px; }
.metric strong { display: block; font-size: clamp(26px,3vw,36px); letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.metric span { font-size: 12px; color: var(--muted); }
.bar { height: 4px; border-radius: 4px; overflow: hidden; margin-top: 7px; background: #335152; }
.bar i { display: block; background: var(--mint); height: 100%; }
.tablewrap { width: 100%; overflow-x: auto; margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--edge); vertical-align: top; }
th { color: var(--muted); font: 600 10px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
td select { font-size: 12px; min-height: 36px; }
.high { color: var(--red); } .medium { color: var(--gold); } .ok { color: var(--mint); }
.status { color: var(--mint); font-size: 13px; }
.status:not(:empty) { margin: 10px 0; }
.evidence { padding: 15px; border: 1px solid var(--edge); background: #17292f; border-radius: 6px; margin-bottom: 16px; }
.evidence h3 { margin-top: 0; font-size: 17px; }
.evidence p { font-size: 13px; margin-bottom: 5px; }
.evidence .tablewrap { margin-bottom: 0; }
.price { font-size: 23px; font-weight: 650; color: var(--mint); margin: 6px 0; }
#contact .btn { margin: 20px 0 7px; }
details { padding: 15px 0; border-bottom: 1px solid var(--edge); max-width: 850px; }
details:first-of-type { margin-top: 20px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 10px; }
.footer { flex-wrap: wrap; padding: 28px 0; font-size: 14px; gap: 8px 20px; }
.footer span { font-weight: 700; }
.footer a { color: var(--mint); }
.footer small { margin-left: auto; }
.mobile-view { display: none; }
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashbody { grid-template-columns: 155px minmax(0,1fr); }
}
.founder-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 7vw, 96px); }
.founder-layout h2 { max-width: 16ch; }
.founder-note { max-width: 65ch; }
.founder-note p + p { margin-top: 14px; }
.founder-signature { display: block; max-width: 100%; height: auto; margin-top: 20px; }
@media (max-width: 720px) {
  .founder-layout { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  nav { flex-wrap: wrap; padding: 13px 0; }
  .navlinks { gap: 13px; flex-wrap: wrap; font-size: 13px; }
  .dashbody { display: block; }
  aside { border: 0; border-bottom: 1px solid var(--edge); padding: 10px 14px; }
  aside button { display: none; }
  .mobile-view { display: flex; align-items: center; gap: 12px; font-size: 13px; }
  .mobile-view select { flex: 1; }
  .metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer small { width: 100%; margin-left: 0; }
}
@media (max-width: 520px) {
  .grid, .grid.pair { grid-template-columns: 1fr; }
  nav { gap: 9px; }
  .navlinks { width: 100%; justify-content: space-between; }
  .navlinks a:last-child { padding: 4px 8px; }
  .demo { font-size: 9px; } .dashhead { padding: 12px 14px; }
  .work { padding: 12px; }
  .toolbar > div:last-child { flex: 1 1 100%; }
  #findingTable thead { position: absolute; overflow: hidden; clip-path: inset(50%); height: 1px; width: 1px; }
  #findingTable tbody, #findingTable tr { display: block; }
  #findingTable tr { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; border-top: 1px solid var(--edge); padding: 12px 0; }
  #findingTable td { padding: 0; border: none; }
  #findingTable td:first-child { grid-column: 1 / -1; font-weight: 650; }
  #findingTable td:nth-child(3) { text-align: right; }
  #findingTable td:last-child { grid-column: 1 / -1; }
  .evidence { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
