/* Greenstreet MMO — site styles */

@font-face {
  font-family: 'Inter';
  src: url('/assets/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f5f4ee;
  --paper-2: #ecebe3;
  --card: #fbfaf6;
  --white: #ffffff;
  --ink: #111713;
  --ink-2: #3c4540;
  --ink-3: #68716b;
  --line: rgba(17, 23, 19, .11);
  --line-2: rgba(17, 23, 19, .18);
  --green: #1d6a45;
  --jade: #9fdcb1;
  --jade-soft: #dcefe1;
  --amber: #ddb27d;
  --amber-text: #8a5716;
  --coral: #f17e67;
  --coral-text: #b0402a;

  --d-bg: #0f1411;
  --d-panel: #151b17;
  --d-panel-2: #1a211c;
  --d-line: rgba(239, 239, 231, .09);
  --d-line-2: rgba(239, 239, 231, .15);
  --d-text: #efefe7;
  --d-text-2: #aab4ac;
  --d-text-3: #7f8a82;

  --radius: 14px;
  --container: 1200px;
  --gutter: 24px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--jade); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 9px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #26302a; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(245, 244, 238, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-mobile-cta { display: none; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.x-logo { display: inline-block; width: 1em; height: 1em; fill: currentColor; flex: none; }
.nav-x { display: inline-flex; align-items: center; gap: 9px; height: 38px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.nav-x .x-logo { font-size: 15px; }
.nav-x:hover { border-color: var(--ink); background: var(--white); }

/* X announcement bar */
.topbar { background: var(--ink); color: var(--d-text); }
.topbar-link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px var(--gutter); font-size: 14px; color: var(--d-text-2); text-decoration: none; text-align: center; }
.topbar-link b { color: var(--d-text); font-weight: 600; }
.topbar-link .x-logo { font-size: 14px; color: var(--d-text); }
.topbar-arrow { color: var(--jade); transition: transform .2s var(--ease); }
.topbar-link:hover .topbar-arrow { transform: translateX(3px); }
.topbar-link:hover b { text-decoration: underline; text-underline-offset: 3px; }
.nav-toggle { display: none; width: 40px; height: 40px; margin-right: -8px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease); }
.nav-toggle i:first-of-type { top: 16px; }
.nav-toggle i:last-of-type { top: 23px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

/* Typography helpers */
.eyebrow { display: inline-flex; align-items: flex-start; gap: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.eyebrow .dot { flex: none; width: 8px; height: 8px; margin-top: .45em; border-radius: 2px; background: var(--green); }
.kicker { font-size: 14px; font-weight: 600; color: var(--green); letter-spacing: -.005em; margin-bottom: 18px; }
h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: .98; letter-spacing: -.047em; font-weight: 620; }
h2 { font-size: clamp(34px, 4.3vw, 56px); line-height: 1.02; letter-spacing: -.042em; font-weight: 620; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.02em; font-weight: 620; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -.012em; max-width: 640px; }
.section-intro { font-size: 18px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.01em; max-width: 520px; }
.fine { font-size: 13.5px; line-height: 1.5; color: var(--ink-3); }
.muted { color: var(--d-text-3); }

/* Sections */
.section { padding: 128px 0; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: end; max-width: none; }
.section-head.split .section-intro { justify-self: end; }

/* Hero */
.hero { padding: 72px 0 0; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: var(--ink); z-index: 0; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { margin-top: 26px; }
.hero-copy h1 span { color: var(--ink-3); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; margin-top: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Companies House chip */
.ch-chip { display: inline-flex; align-items: center; gap: 16px; margin-top: 32px; padding: 12px 16px 12px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17, 23, 19, .04); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; max-width: 100%; }
.ch-chip:hover { border-color: var(--line-2); box-shadow: 0 6px 18px -10px rgba(17, 23, 19, .3); }
.ch-chip img { width: 104px; height: auto; flex: none; }
.ch-chip-text { display: grid; gap: 1px; padding-left: 16px; border-left: 1px solid var(--line); min-width: 0; }
.ch-chip-text b { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.ch-chip-text span { font-size: 13.5px; color: var(--ink-3); }
.ch-chip-go { margin-left: 8px; font-size: 13.5px; font-weight: 600; color: var(--green); white-space: nowrap; }

/* X profile card */
.x-card { display: block; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17, 23, 19, .04), 0 24px 48px -30px rgba(17, 23, 19, .35); text-decoration: none; color: #0f1419; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.x-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(17, 23, 19, .04), 0 30px 56px -28px rgba(17, 23, 19, .42); }
.x-card-banner { display: block; aspect-ratio: 3 / 1; background: var(--ink); }
.x-card-banner img { width: 100%; height: 100%; object-fit: cover; }
.x-card-body { position: relative; display: grid; padding: 0 20px 20px; }
.x-card-avatar { width: 80px; height: 80px; margin-top: -40px; border-radius: 14px; border: 4px solid var(--white); background: var(--ink); }
.x-card-follow { position: absolute; top: 12px; right: 20px; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: #0f1419; color: #fff; font-size: 15px; font-weight: 700; }
.x-card-follow .x-logo { font-size: 13px; }
.x-card:hover .x-card-follow { background: #272c30; }
.x-card-name { margin-top: 10px; font-size: 20px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.x-card-handle { font-size: 15px; color: #536471; }
.x-card-bio { margin-top: 12px; font-size: 15px; line-height: 1.45; color: #0f1419; }
.x-card-meta { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 14px; color: #536471; }
.x-card-meta .x-logo { font-size: 12px; color: #0f1419; }
.hero-product { position: relative; z-index: 1; margin-top: 60px; padding-bottom: 88px; }

/* App window (dark product UI) */
.app {
  position: relative; background: var(--d-bg); color: var(--d-text); border-radius: 16px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(17, 23, 19, .9), 0 40px 80px -30px rgba(17, 23, 19, .55), 0 2px 0 rgba(255, 255, 255, .04) inset;
  font-size: 13px; line-height: 1.4;
}
.app-bar { display: flex; align-items: center; gap: 24px; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--d-line); background: #121814; }
.app-ws { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.app-ws small { font-weight: 500; font-size: 11.5px; color: var(--d-text-3); padding: 2px 7px; border-radius: 5px; background: rgba(239, 239, 231, .06); }
.app-tabs { display: flex; gap: 4px; margin-left: 12px; }
.app-tabs span { padding: 6px 11px; border-radius: 7px; color: var(--d-text-3); font-weight: 500; white-space: nowrap; }
.app-tabs span.is-on { color: var(--d-text); background: rgba(239, 239, 231, .07); }
.app-tabs b { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-left: 4px; padding: 0 5px; border-radius: 5px; background: rgba(241, 126, 103, .18); color: var(--coral); font-size: 11px; font-weight: 650; }
.app-live { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--d-text-2); font-weight: 500; white-space: nowrap; }
.app-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 3px rgba(159, 220, 177, .16); }
.app-live span { color: var(--d-text-3); margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--d-line-2); }

.app-body { display: grid; grid-template-columns: minmax(0, 1fr) 328px; }
.app-main { padding: 18px; display: grid; gap: 14px; min-width: 0; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--d-line); border-radius: 11px; background: var(--d-panel); }
.kpi { padding: 14px 16px 15px; min-width: 0; }
.kpi + .kpi { border-left: 1px solid var(--d-line); }
.kpi dt { color: var(--d-text-3); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi dd { margin-top: 7px; font-size: 27px; line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.kpi small { display: block; margin-top: 8px; color: var(--d-text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi.is-alert dd { color: var(--coral); }
.kpi.is-warn dd { color: var(--amber); }

.chart-card, .table-card { border: 1px solid var(--d-line); border-radius: 11px; background: var(--d-panel); min-width: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px 0; }
.card-head h3 { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.legend { display: flex; align-items: center; gap: 7px; color: var(--d-text-3); font-size: 11.5px; white-space: nowrap; }
.legend i { display: inline-block; width: 14px; height: 8px; border-radius: 2px; }
.legend .lg-band { background: rgba(159, 220, 177, .2); }
.legend .lg-line { height: 2px; background: var(--d-text); margin-left: 8px; }
.chart { width: 100%; height: 170px; margin-top: 8px; }
.chart .grid line { stroke: var(--d-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .band { fill: rgba(159, 220, 177, .16); }
.chart .band-edge { fill: none; stroke: rgba(159, 220, 177, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--d-text); stroke-width: 1.75; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart .spike { fill: none; stroke: var(--coral); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.chart .spike-fill { fill: rgba(241, 126, 103, .12); }
.chart .marker { stroke: var(--coral); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.chart-x { display: flex; justify-content: space-between; padding: 6px 16px 12px; color: var(--d-text-3); font-size: 11px; }
.chart-wrap { position: relative; }
.chart-flag { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 8px; padding: 5px 9px; border-radius: 7px; background: rgba(241, 126, 103, .14); color: #ffb3a3; font-size: 11.5px; font-weight: 600; white-space: nowrap; }

.pay-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 12.5px; }
.pay-table th { text-align: left; font-weight: 500; color: var(--d-text-3); font-size: 11.5px; padding: 6px 16px 8px; border-bottom: 1px solid var(--d-line); white-space: nowrap; }
.pay-table td { padding: 0 16px; height: 40px; border-bottom: 1px solid var(--d-line); white-space: nowrap; }
.pay-table tr:last-child td { border-bottom: 0; }
.pay-table .num { text-align: right; }
.pay-table tbody tr { cursor: pointer; transition: background-color .15s; }
.pay-table tbody tr:hover, .pay-table tbody tr:focus-visible { background: rgba(239, 239, 231, .035); outline: none; }
.pay-table tbody tr.is-selected { background: rgba(159, 220, 177, .07); }
.pay-table .t-time { color: var(--d-text-3); }
.pay-table .t-order { font-weight: 600; }
.pay-table .t-cust { color: var(--d-text-2); }
.pay-table .t-card { color: var(--d-text-3); }
.status { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.linked { background: rgba(241, 126, 103, .14); color: #ffab99; }
.status.normal { background: rgba(159, 220, 177, .1); color: var(--jade); }
.status.declined { background: rgba(239, 239, 231, .06); color: var(--d-text-3); }

.incident { border-left: 1px solid var(--d-line); padding: 20px 20px 22px; background: #121814; display: flex; flex-direction: column; }
.inc-head { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--d-text-3); }
.sev { padding: 3px 8px; border-radius: 6px; background: rgba(241, 126, 103, .16); color: #ffab99; font-weight: 650; }
.inc-id { color: var(--d-text-2); font-weight: 600; }
.inc-time { margin-left: auto; }
.inc-title { margin-top: 14px; font-size: 19px; letter-spacing: -.025em; }
.inc-sum { margin-top: 8px; color: var(--d-text-2); font-size: 13px; line-height: 1.5; }
.inc-label { margin-top: 20px; margin-bottom: 10px; color: var(--d-text-3); font-size: 11.5px; font-weight: 500; }
.sig-list { display: grid; gap: 11px; }
.sig-list li { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; font-size: 12.5px; }
.sig-list span { color: var(--d-text-2); }
.sig-list b { font-weight: 600; }
.sig-list i { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: rgba(239, 239, 231, .07); position: relative; overflow: hidden; }
.sig-list i::after { content: ''; position: absolute; inset: 0; width: var(--w); background: var(--coral); border-radius: 2px; transform-origin: left; }
.sig-list li:nth-child(n+4) i::after { background: var(--amber); }
.resp-list { display: grid; gap: 8px; }
.resp-list li { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; background: rgba(239, 239, 231, .04); font-size: 12.5px; font-weight: 500; }
.resp-list li::before { content: ''; flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23111713' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.resp-list small { margin-left: auto; color: var(--d-text-3); font-size: 11.5px; }
.inc-open { margin-top: auto; padding-top: 18px; color: var(--jade); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.inc-open::after { content: ' →'; }
.inc-open:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Payment drawer */
.drawer { position: absolute; inset: 52px 0 0 0; z-index: 3; display: flex; justify-content: flex-end; background: rgba(8, 11, 9, .5); }
.drawer[hidden] { display: none; }
.drawer-panel { width: 360px; max-width: 100%; height: 100%; overflow: auto; background: var(--d-panel-2); border-left: 1px solid var(--d-line-2); padding: 20px; animation: drawerIn .28s var(--ease); }
@keyframes drawerIn { from { transform: translateX(24px); opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; }
.drawer-head small { color: var(--d-text-3); font-size: 11.5px; }
.drawer-head h4 { font-size: 20px; letter-spacing: -.025em; margin-top: 2px; }
.drawer-close { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--d-line-2); background: none; color: var(--d-text-2); font-size: 20px; line-height: 1; cursor: pointer; }
.drawer-close:hover { color: var(--d-text); border-color: var(--d-text-3); }
.d-status { margin-top: 12px; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 16px; border-radius: 9px; overflow: hidden; border: 1px solid var(--d-line); background: var(--d-line); }
.d-grid div { background: var(--d-panel); padding: 10px 12px; min-width: 0; }
.d-grid dt { color: var(--d-text-3); font-size: 11px; }
.d-grid dd { margin-top: 3px; font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-sec { margin-top: 18px; color: var(--d-text-3); font-size: 11.5px; font-weight: 500; }
.d-list { margin-top: 8px; display: grid; gap: 7px; }
.d-list li { display: flex; gap: 10px; font-size: 12.5px; color: var(--d-text-2); line-height: 1.45; }
.d-list li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 6px; border-radius: 50%; background: var(--coral); }
.d-list.ok li::before { background: var(--jade); }
.d-note { margin-top: 18px; padding: 11px 12px; border-radius: 8px; background: rgba(239, 239, 231, .04); color: var(--d-text-2); font-size: 12.5px; line-height: 1.5; }

/* Context / comparison */
.context { background: var(--paper); }
.compare { display: grid; grid-template-columns: 380px minmax(0, 1fr); border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.compare-controls { padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.compare-q { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.profiles { display: grid; gap: 10px; }
.profiles button { text-align: left; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; gap: 2px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.profiles button b { font-size: 16px; font-weight: 600; letter-spacing: -.015em; }
.profiles button span { font-size: 14px; color: var(--ink-3); }
.profiles button:hover { border-color: var(--line-2); }
.profiles button[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.range-field { margin-top: 10px; display: grid; gap: 12px; font-size: 14px; color: var(--ink-3); font-weight: 500; }
.range-field span { display: flex; justify-content: space-between; }
.range-field output { color: var(--ink); font-weight: 600; font-feature-settings: 'tnum'; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--p, 0%), rgba(17, 23, 19, .14) var(--p, 0%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(17, 23, 19, .14); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); }

.compare-result { padding: 34px 38px 32px; display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.verdict { display: grid; gap: 10px; }
.verdict-tag { justify-self: start; height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 7px; font-size: 13px; font-weight: 650; }
.verdict[data-level="high"] .verdict-tag { background: #fbe1da; color: var(--coral-text); }
.verdict[data-level="warn"] .verdict-tag { background: #f5e7d2; color: var(--amber-text); }
.verdict[data-level="ok"] .verdict-tag { background: var(--jade-soft); color: var(--green); }
.verdict strong { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.035em; font-weight: 620; font-feature-settings: 'tnum'; }
.verdict p { color: var(--ink-2); max-width: 560px; }
.meter-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); font-feature-settings: 'tnum'; }
.meter-track { position: relative; height: 44px; margin-top: 8px; border-radius: 10px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(17, 23, 19, .08) calc(25% - 1px) 25%), rgba(17, 23, 19, .04); }
.meter-band { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 10px 4px 4px 10px; background: var(--jade); transition: width .6s var(--ease); }
.meter-mark { position: absolute; top: -6px; bottom: -6px; left: 66.66%; width: 2px; background: var(--ink); }
.meter-mark span { position: absolute; top: 50%; left: 8px; transform: translateY(-50%); background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 650; padding: 3px 7px; border-radius: 6px; }
.meter-key { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.meter-key i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.meter-key .k-band { background: var(--jade); }
.meter-key .k-mark { background: var(--ink); }
.meter-key b { font-weight: 600; color: var(--ink); }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.checks li { padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.checks li + li { border-left: 1px solid var(--line); }
.checks span { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.checks span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.checks li[data-level="warn"] span::before { background: var(--amber); }
.checks li[data-level="ok"] span::before { background: #58b27a; }
.checks b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; font-feature-settings: 'tnum'; }

/* How it works */
.how { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; }
.step-vis { height: 176px; border-radius: 14px; background: var(--d-bg); color: var(--d-text); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; margin-bottom: 26px; font-size: 12.5px; }
.step-n { font-size: 13px; font-weight: 600; color: var(--ink-3); font-feature-settings: 'tnum'; }
.step h3 { margin-top: 8px; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.conn { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 11px 12px; border-radius: 9px; background: var(--d-panel); border: 1px solid var(--d-line); }
.conn b { font-weight: 600; }
.conn span { grid-row: 2; color: var(--d-text-3); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conn i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 11px; font-weight: 600; color: var(--jade); padding: 3px 7px; border-radius: 6px; background: rgba(159, 220, 177, .1); }
.vis-learn svg { width: 100%; height: 86px; }
.vis-learn .b { fill: rgba(159, 220, 177, .18); }
.vis-learn .l { fill: none; stroke: var(--d-text); stroke-width: 1.6; }
.learn-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.learn-tags span { padding: 3px 8px; border-radius: 6px; background: rgba(239, 239, 231, .06); color: var(--d-text-2); font-size: 11px; }
.vis-link svg { width: 100%; height: 120px; }
.vis-link .edges path { stroke: rgba(241, 126, 103, .5); stroke-width: 1.2; fill: none; }
.vis-link .nodes circle { fill: var(--d-bg); stroke: var(--coral); stroke-width: 1.6; }
.vis-link rect { fill: rgba(241, 126, 103, .16); stroke: rgba(241, 126, 103, .55); }
.vis-link text { fill: #ffb3a3; font-size: 11px; font-weight: 650; text-anchor: middle; font-family: inherit; }
.vis-respond ul { display: grid; gap: 6px; }
.vis-respond li { display: flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 8px; background: var(--d-panel); border: 1px solid var(--d-line); color: var(--d-text-3); }
.vis-respond li::before { content: ''; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--d-text-3); flex: none; }
.vis-respond li.on { color: var(--d-text); }
.vis-respond li.on::before { border-color: var(--jade); background: var(--jade) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.4 5.2-5.2' fill='none' stroke='%23111713' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Signals (dark) */
.dark { background: var(--ink); color: var(--d-text); }
.dark .kicker { color: var(--jade); }
.dark .section-intro { color: var(--d-text-2); }
.sig-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--d-line-2); border-left: 1px solid var(--d-line-2); }
.sig-grid li { padding: 26px 24px 24px; border-right: 1px solid var(--d-line-2); border-bottom: 1px solid var(--d-line-2); display: flex; flex-direction: column; gap: 10px; min-height: 206px; transition: background-color .25s; }
.sig-grid li:hover { background: rgba(239, 239, 231, .025); }
.sg-k { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.sig-grid p { color: var(--d-text-2); font-size: 15px; line-height: 1.5; }
.sig-grid b { margin-top: auto; align-self: flex-start; font-size: 12.5px; font-weight: 600; color: #ffb3a3; background: rgba(241, 126, 103, .12); padding: 4px 9px; border-radius: 7px; font-feature-settings: 'tnum'; }
.fine.on-dark { color: var(--d-text-3); margin-top: 22px; }

/* Investigate */
.inv-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: center; }
.inv-copy .section-intro { margin-top: 22px; }
.ticks { margin-top: 30px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; color: var(--ink-2); font-size: 16px; }
.ticks li::before { content: ''; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--jade-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%231d6a45' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

.timeline-card { background: var(--d-bg); color: var(--d-text); border-radius: 16px; padding: 22px; box-shadow: 0 30px 70px -34px rgba(17, 23, 19, .55); min-width: 0; }
.kpi dd, .pay-table td, .tl-stats dd, .tl-clock, .tl-events time, .resp-list small, .inc-time, .chart-x, .d-grid dd { font-variant-numeric: tabular-nums; }
.tl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tl-head small { display: block; color: var(--d-text-3); font-size: 12px; }
.tl-head b { font-size: 15px; font-weight: 600; letter-spacing: -.015em; }
.tl-clock { font-size: 13px; font-weight: 600; color: var(--d-text-2); padding: 5px 9px; border-radius: 7px; background: rgba(239, 239, 231, .06); }
.tl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--d-line); border-radius: 11px; background: var(--d-panel); }
.tl-stats div { padding: 12px 14px; min-width: 0; }
.tl-stats div + div { border-left: 1px solid var(--d-line); }
.tl-stats dt { font-size: 11.5px; color: var(--d-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-stats dd { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
#tl-declined { color: var(--coral); }
.tl-bars { display: flex; align-items: flex-end; gap: 2px; height: 86px; margin-top: 18px; }
.tl-bars i { flex: 1; min-width: 0; border-radius: 2px 2px 0 0; background: rgba(239, 239, 231, .14); height: var(--h); transition: background-color .15s; }
.tl-bars i.past { background: rgba(239, 239, 231, .5); }
.tl-bars i.past.hot { background: var(--coral); }
.tl-range { display: block; margin-top: 6px; }
.timeline-card input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--jade) var(--p, 100%), rgba(239, 239, 231, .12) var(--p, 100%)); }
.timeline-card input[type="range"]::-moz-range-track { background: rgba(239, 239, 231, .12); }
.timeline-card input[type="range"]::-moz-range-progress { background: var(--jade); }
.timeline-card input[type="range"]::-webkit-slider-thumb { background: var(--d-text); border-color: var(--d-text); }
.timeline-card input[type="range"]::-moz-range-thumb { background: var(--d-text); border-color: var(--d-text); }
.tl-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--d-text-3); margin-top: 2px; }
.tl-events { margin-top: 16px; display: grid; gap: 2px; }
.tl-events li { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--d-text-3); transition: color .2s, background-color .2s, opacity .2s; opacity: .45; }
.tl-events li time { color: var(--d-text-3); }
.tl-events li.past { opacity: 1; color: var(--d-text-2); }
.tl-events li.current { background: rgba(239, 239, 231, .06); color: var(--d-text); }
.tl-events li b { font-weight: 600; color: inherit; }
.tl-events li[data-kind="resp"].past b { color: var(--jade); }
.tl-events li[data-kind="alert"].past b { color: #ffab99; }

/* Platforms */
.platforms { background: var(--paper-2); }
.plat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; }
.plat header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plat h3 { font-size: 28px; letter-spacing: -.035em; }
.plat header span { color: var(--ink-3); font-size: 14.5px; text-align: right; }
.plat dl { display: grid; }
.plat dl div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.plat dl div:last-child { border-bottom: 0; padding-bottom: 0; }
.plat dt { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.plat dd { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; }
.platforms .fine { margin-top: 22px; }

/* Company */
.company-copy { display: grid; gap: 14px; font-size: 18px; line-height: 1.55; color: var(--ink-2); letter-spacing: -.01em; max-width: 520px; justify-self: end; }
.proof-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.proof { border-radius: 18px; padding: 32px; display: flex; flex-direction: column; min-width: 0; }
.proof-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; min-height: 52px; }
.proof-tag { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 7px; white-space: nowrap; }
.proof-btn { margin-top: auto; align-self: flex-start; }
.proof-ch { background: var(--white); border: 1px solid var(--line); }
.proof-ch-logo { width: 160px; height: auto; }
.proof-ch .proof-tag { background: var(--jade-soft); color: var(--green); }
.proof-dl { margin: 26px 0 28px; border-top: 1px solid var(--line); }
.proof-dl div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.proof-dl dt { font-size: 14px; color: var(--ink-3); }
.proof-dl dd { font-size: 15.5px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.proof-x { background: var(--ink); color: var(--d-text); }
.proof-x-logo { font-size: 44px; color: var(--d-text); }
.proof-x .proof-tag { background: rgba(239, 239, 231, .08); color: var(--d-text); }
.proof-x-id { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.proof-x-id img { width: 64px; height: 64px; border-radius: 12px; border: 1px solid var(--d-line-2); }
.proof-x-id b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.proof-x-id span { font-size: 15.5px; color: var(--d-text-2); }
.proof-x-text { margin: 20px 0 28px; color: var(--d-text-2); font-size: 16px; line-height: 1.55; }
.btn-paper { background: var(--d-text); color: var(--ink); }
.btn-paper:hover { background: #fff; }
.btn .x-logo { font-size: 15px; }

/* Contact */
.contact { background: var(--ink); color: var(--d-text); }
.contact .kicker { color: var(--jade); }
.contact .section-intro { color: var(--d-text-2); margin-top: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.next { margin-top: 40px; display: grid; gap: 0; counter-reset: n; border-top: 1px solid var(--d-line-2); }
.next li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 2px 8px; padding: 18px 0; border-bottom: 1px solid var(--d-line-2); }
.next li::before { content: '0' counter(n); grid-row: 1 / span 2; font-size: 13px; font-weight: 600; color: var(--jade); padding-top: 2px; font-feature-settings: 'tnum'; }
.next b { font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.next span { color: var(--d-text-2); font-size: 15px; }
.contact-alt { margin-top: 32px; display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 420px; }
.alt-row { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--d-line-2); color: var(--d-text); text-decoration: none; font-size: 15px; font-weight: 600; min-width: 0; transition: border-color .2s, background-color .2s; }
.alt-row:hover { border-color: rgba(239, 239, 231, .35); background: rgba(239, 239, 231, .03); }
.alt-row > span:last-child { display: grid; min-width: 0; overflow-wrap: anywhere; }
.alt-row small { font-size: 12.5px; font-weight: 500; color: var(--d-text-3); }
.alt-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--d-text); color: var(--ink); }
.alt-ico svg { width: 17px; height: 17px; fill: currentColor; }

.lead-form { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.lead-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.lead-form label.full { margin-top: 18px; }
.req { color: var(--coral-text); font-weight: 600; }
.opt { font-weight: 450; color: var(--ink-3); font-size: 13px; margin-left: 4px; }
.lead-form input, .lead-form select, .lead-form textarea { display: block; margin-top: 7px; width: 100%; min-width: 0; height: 46px; padding: 0 13px; border: 1px solid rgba(17, 23, 19, .2); border-radius: 9px; background: var(--white); font-size: 16px; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.lead-form textarea { height: auto; min-height: 112px; padding: 12px 13px; resize: vertical; line-height: 1.5; }
.lead-form select { -webkit-appearance: none; appearance: none; padding-right: 38px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2368716b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/16px no-repeat; }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: #9aa29c; }
.lead-form input:hover, .lead-form select:hover, .lead-form textarea:hover { border-color: rgba(17, 23, 19, .35); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(29, 106, 69, .15); }
.lead-form [aria-invalid="true"] { border-color: var(--coral-text); }
.field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--coral-text); }
.honey { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin-top: 18px; min-height: 0; }
.turnstile:empty { margin-top: 0; }
.form-foot { display: flex; align-items: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.form-status { font-size: 14px; color: var(--ink-3); flex: 1; min-width: 200px; }
.form-status.error { color: var(--coral-text); }
.form-status.success { color: var(--green); font-weight: 600; }
.form-note { margin-top: 18px; font-size: 13px; color: var(--ink-3); line-height: 1.5; }
.form-note a { color: var(--ink-2); text-underline-offset: 2px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) center/12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 12px no-repeat; transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--paper); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand img { height: 30px; width: auto; }
.footer-xbtn { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; height: 42px; padding: 0 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.footer-xbtn:hover { background: #26302a; }
.footer-xbtn .x-logo { font-size: 15px; }
.footer-brand p { margin-top: 16px; color: var(--ink-3); font-size: 15px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 72px; }
.footer-cols h4 { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 14px; }
.footer-cols a { display: block; font-size: 15px; color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.company-record { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px 10px 14px; border-radius: 11px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.company-record:hover { border-color: var(--line-2); }
.company-record img { width: 112px; height: auto; }
.company-record span { display: grid; padding-left: 14px; border-left: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.company-record b { font-size: 14px; color: var(--ink); font-weight: 600; }
.footer-legal { font-size: 13.5px; color: var(--ink-3); flex: 1; min-width: 260px; line-height: 1.5; }
.footer-copy { font-size: 13.5px; color: var(--ink-3); }

/* Legal pages */
.doc { padding: 88px 0 112px; }
.doc-inner { max-width: 720px; }
.doc .meta { font-size: 14px; color: var(--ink-3); }
.doc h1 { font-size: clamp(40px, 5vw, 60px); margin-top: 14px; }
.doc h2 { font-size: 22px; letter-spacing: -.025em; margin-top: 44px; }
.doc p, .doc li { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.doc a { color: var(--green); text-underline-offset: 3px; }
.doc .back { display: inline-block; margin-top: 48px; font-weight: 600; color: var(--ink); text-decoration: none; }
.doc .back:hover { text-decoration: underline; }
.nav-simple .nav-actions { gap: 24px; }
.nav-simple .nav-actions a:not(.btn) { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.nav-simple .nav-actions a:not(.btn):hover { color: var(--ink); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance */
.js .app .kpis, .js .app .chart-card, .js .app .table-card, .js .app .incident { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .app.is-ready .kpis { opacity: 1; transform: none; transition-delay: .05s; }
.js .app.is-ready .chart-card { opacity: 1; transform: none; transition-delay: .15s; }
.js .app.is-ready .table-card { opacity: 1; transform: none; transition-delay: .25s; }
.js .app.is-ready .incident { opacity: 1; transform: none; transition-delay: .5s; }
.js .app .sig-list i::after { transform: scaleX(0); transition: transform .9s var(--ease); }
.js .app.is-ready .sig-list i::after { transform: scaleX(1); transition-delay: .8s; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-x span { display: none; }
  .nav-x { width: 38px; padding: 0; justify-content: center; }
  .hero-row { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; }
  .app-tabs span:nth-child(n+4) { display: none; }
  .app-body { grid-template-columns: minmax(0, 1fr) 300px; }
  .sig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sig-grid li { min-height: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 20px; }
}

@media (max-width: 1023px) {
  .section { padding: 104px 0; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .section-head.split .section-intro { justify-self: start; }
  .app-body { grid-template-columns: 1fr; }
  .incident { border-left: 0; border-top: 1px solid var(--d-line); display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .incident > .inc-head, .incident > .inc-title, .incident > .inc-sum { grid-column: 1 / -1; }
  .incident > .inc-label:nth-of-type(1) { grid-column: 1; grid-row: 4; }
  .incident > .sig-list { grid-column: 1; grid-row: 5; }
  .incident > .inc-label:nth-of-type(2) { grid-column: 2; grid-row: 4; }
  .incident > .resp-list { grid-column: 2; grid-row: 5; align-content: start; }
  .incident > .inc-open { grid-column: 1 / -1; }
  .compare { grid-template-columns: 1fr; }
  .compare-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inv-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .company-copy { justify-self: start; }
  .hero-row { grid-template-columns: 1fr; gap: 40px; }
  .x-card { max-width: 520px; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Collapse the main navigation into the menu before the links can wrap. */
@media (max-width: 1100px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(17, 23, 19, .25); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
  .nav-links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-links .nav-mobile-cta { display: flex; justify-content: center; margin-top: 18px; padding: 13px; border: 0; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 600; }
  .nav.is-open .nav-links { transform: none; opacity: 1; visibility: visible; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav.is-open { background: var(--paper); border-bottom-color: var(--line); }
  .nav-toggle { display: block; }
}

@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  .nav-actions .btn { display: none; }
  .topbar-more { display: none; }
  .hero { padding-top: 64px; }
  .hero-product { margin-top: 52px; padding-bottom: 64px; }
  .app-tabs { display: none; }
  .hide-md { display: none; }
  .plat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-copy h1 { margin-top: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .app-bar { padding: 0 14px; }
  .app-live span { display: none; }
  .app-main { padding: 12px; gap: 12px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--d-line); }
  .kpi { padding: 12px 13px; }
  .kpi dd { font-size: 24px; }
  .legend { display: none; }
  .chart { height: 130px; }
  .chart-x span:nth-child(even) { display: none; }
  .hide-sm { display: none; }
  .st-id { display: none; }
  .table-card .card-head .muted { display: none; }
  .pay-table th, .pay-table td { padding-left: 12px; padding-right: 12px; }
  .incident { display: flex; padding: 18px 16px 20px; }
  .drawer-panel { width: 100%; }
  .compare-controls, .compare-result { padding: 22px 18px; }
  .profiles { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .checks li + li { border-left: 0; border-top: 1px solid var(--line); }
  .checks li { grid-template-columns: 1fr auto; align-items: center; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .sig-grid { grid-template-columns: 1fr; }
  .sig-grid li { padding: 22px 18px; }
  .timeline-card { padding: 16px; border-radius: 14px; }
  .tl-stats { grid-template-columns: 1fr 1fr; }
  .tl-stats div:nth-child(3) { border-left: 0; }
  .tl-stats div:nth-child(n+3) { border-top: 1px solid var(--d-line); }
  .tl-events li { grid-template-columns: 56px 1fr; gap: 8px; padding: 7px 8px; font-size: 12.5px; }
  .plat { padding: 22px 18px; }
  .plat header { flex-direction: column; gap: 4px; }
  .plat header span { text-align: left; }
  .plat dl div { grid-template-columns: 1fr; gap: 4px; }
  .lead-form { padding: 20px 16px; border-radius: 14px; }
  .contact-alt { grid-template-columns: 1fr; }
  .ch-chip { flex-wrap: wrap; gap: 12px; }
  .ch-chip-text { border-left: 0; padding-left: 0; flex: 1 1 180px; }
  .ch-chip-go { margin-left: 0; }
  .proof { padding: 22px 18px; }
  .proof-ch-logo { width: 130px; }
  .proof-dl div { grid-template-columns: 1fr; gap: 2px; }
  .proof-x-logo { font-size: 36px; }
  .x-card-body { padding: 0 16px 18px; }
  .x-card-follow { right: 16px; }
  .company-record { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 16.5px; padding: 18px 0; }
  .faq-list details p { padding-right: 0; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
}

@media (max-width: 430px) {
  .hide-xs { display: none; }
}

@media (max-width: 380px) {
  .kpi dt, .kpi small { font-size: 11px; white-space: normal; }
  .nav-inner { gap: 16px; }
  .nav-actions { gap: 10px; }
  .brand img { height: 26px; }
  .app-ws small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
