/* Threshold website. Brand: The Tally (platform/brand/guidelines.html). */
@font-face { font-family: "Bricolage Grotesque"; src: url(/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url(/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: Inter; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --page: #f4efe4; --surface: #fffdf8; --sunken: #ebe5d8; --ink: #132a2c; --ink-2: #45595a; --muted: #5f6e6c;
  --line: rgba(19, 42, 44, .13); --teal: #0d6b6e; --lagoon: #3fb8ad; --foam: #9fe3d6; --wash: #d8ebe8; --track: #dfe9e4;
  --deep: #132a2c; --sand: #f4efe4; --data: #008f8f; --data-2: #eb6834; --grey: #a9b3ae;
  --good: #0ca30c; --warn: #fab219; --crit: #d03b3b; --good-ink: #006300; --crit-ink: #b3261e;
  --display: "Schibsted Grotesk", system-ui, sans-serif; --wordmark: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0b1718; --surface: #142527; --sunken: #0f1e20; --ink: #f4efe4; --ink-2: #b9c4bf; --muted: #84928f;
    --line: rgba(244, 239, 228, .14); --teal: #3fb8ad; --wash: #173638; --track: #29464a; --deep: #173133;
    --data: #2fa39a; --grey: #5d6f6c; --good-ink: #58d058; --crit-ink: #f08a8a;
  }
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--page); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

h1, h2, .display { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 78px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; }
p { text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink-2); max-width: 36em; }
.sub { color: var(--ink-2); max-width: 40em; margin-top: 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font: 600 15px/1.2 var(--sans); text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: filter .12s, border-color .12s, transform .12s; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--teal); border-color: transparent; color: var(--surface); }
.btn.primary:hover { filter: brightness(1.1); border-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { border-radius: 999px; }
.arrow { text-decoration: none; font-weight: 600; color: var(--teal); }
.arrow::after { content: "→"; display: inline-block; margin-left: 6px; transition: transform .2s; } .arrow:hover::after { transform: translateX(5px); }


/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; padding: 52px 0 92px; }
.hero .lede { margin: 24px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta small { flex-basis: 100%; color: var(--muted); font-size: 14px; margin-top: 8px; }
.page-head { padding: 56px 0 72px; max-width: 880px; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 66px); }
.page-head .lede { margin-top: 22px; }

/* product illustration */
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 18px; box-shadow: 0 40px 70px -50px rgba(19, 42, 44, .55); font-size: 13px; display: grid; gap: 12px; transform: rotate(.6deg); }
.shot figcaption { font-size: 12px; color: var(--muted); padding: 0 4px; }
.live { background: var(--deep); color: var(--sand); border-radius: 18px; padding: 20px 22px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: end; }
.live .k { grid-column: 1 / -1; font-size: 12.5px; color: #b9c8c4; display: flex; align-items: center; gap: 8px; }
.live .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 0 4px rgba(63, 184, 173, .25); }
.live .v { font: 700 64px/1 var(--display); letter-spacing: -.04em; }
.live .v small { font: 500 14px/1 var(--sans); letter-spacing: 0; color: #b9c8c4; margin-left: 6px; }
.live .pct { font: 700 22px/1 var(--display); color: var(--foam); padding-bottom: 8px; }
.live .bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(244, 239, 228, .16); overflow: hidden; margin-top: 8px; }
.live .bar b { display: block; height: 100%; border-radius: 4px; background: var(--lagoon); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; min-width: 0; }
.tile .k { color: var(--ink-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .v { font: 700 26px/1.15 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.tile .d { font-size: 12px; font-weight: 600; margin-top: 2px; } .d.up { color: var(--good-ink); } .d.down { color: var(--crit-ink); } .d.flat { color: var(--muted); font-weight: 500; }
.panel { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 10px; }
.panel .k { font-size: 12.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.panel .k span { font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.panel .k span::before { content: ""; width: 14px; height: 2px; background: var(--grey); }
.panel svg { display: block; width: 100%; height: auto; margin-top: 8px; }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.finding { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 2px 4px; }
.finding svg { margin-top: 2px; }
.finding b { display: block; font-size: 13.5px; } .finding span { color: var(--ink-2); }

/* facts strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 22px 24px; border-left: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.strip li:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; color: var(--ink); font: 700 20px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 2px; }

section { padding: 92px 0; }
section + section { border-top: 1px solid var(--line); }
.strip + section, section.flush { border-top: 0; }

/* tally numerals */
.tally { display: block; color: var(--ink); margin-bottom: 18px; }
.tally .slash { stroke: var(--lagoon); }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 52px; }
.cols3 p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; }
.card p { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; }
.card .mini { margin: -4px -4px 20px; padding: 16px; border-radius: 14px; background: var(--sunken); min-height: 132px; display: grid; align-content: center; gap: 8px; font-size: 13px; }
.mini .line { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.mini .line small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--good); }
.dot.warn { background: var(--warn); border-radius: 2px; } .dot.crit { background: var(--crit); }
.mini .big { font: 700 44px/1 var(--display); letter-spacing: -.035em; text-align: center; }
.mini .cap { text-align: center; color: var(--ink-2); }
.mini .rank { display: grid; grid-template-columns: 82px 1fr 34px; gap: 8px; align-items: center; color: var(--ink-2); font-size: 12.5px; }
.mini .rank i { height: 10px; border-radius: 3px; background: var(--data); display: block; }
.mini .rank b { text-align: right; color: var(--ink); font-weight: 600; }

/* how it works diagram */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.flowline { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 14px; align-items: stretch; margin-top: 52px; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.node svg { color: var(--teal); margin-bottom: 14px; }
.node p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.hop { display: grid; align-content: center; justify-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); min-width: 84px; text-align: center; }
.hop::after { content: ""; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, var(--lagoon) 0 8px, transparent 8px 14px); }
.onsite { grid-column: 1 / 4; grid-row: 2; border: 1px dashed var(--muted); border-top: 0; border-radius: 0 0 14px 14px; text-align: center; font-size: 13px; color: var(--ink-2); padding: 14px 10px 10px; margin-top: -6px; }
.offsite { grid-column: 5; grid-row: 2; text-align: center; font-size: 13px; color: var(--ink-2); padding-top: 8px; }
.steps { display: grid; gap: 28px; counter-reset: s; }
.steps > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; counter-increment: s; }
.steps > div::before { content: counter(s); grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--teal); font: 700 17px var(--display); }
.steps p { grid-column: 2; color: var(--ink-2); margin-top: 6px; font-size: 16px; }

/* industries */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 28px; }
.industries h3 { font-size: 17px; }
.industries p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }
.family { margin-top: 64px; } .family:first-of-type { margin-top: 0; }
.family h2 { font-size: clamp(24px, 2.6vw, 32px); display: flex; align-items: baseline; gap: 14px; }
.family h2 small { font: 500 14px var(--sans); letter-spacing: 0; color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.jump a:hover { color: var(--ink); border-color: var(--muted); }
.more { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; color: var(--ink-2); }

/* dark panel */
.deep { background: var(--deep); color: #f4efe4; border-radius: 28px; padding: clamp(32px, 5vw, 68px); }
.deep .eyebrow { color: var(--lagoon); }
.deep h2 { max-width: 20em; }
.deep ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 40px; margin-top: 40px; }
.deep li { padding-top: 16px; border-top: 1px solid rgba(244, 239, 228, .18); font-size: 16px; }
.deep li b { display: block; margin-bottom: 4px; }
.deep li span, .deep p { color: #b9c8c4; }
.deep .arrow { color: var(--foam); display: inline-block; margin-top: 34px; }

/* product page feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.feature.flip > :first-child { order: 2; }
.feature ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; }
.feature li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 16px; }
.feature li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 3px; height: 1em; border-radius: 2px; background: var(--lagoon); transform: rotate(18deg); }
.feature li b { color: var(--ink); font-weight: 600; }
.vis { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 10px; font-size: 13.5px; box-shadow: 0 30px 60px -50px rgba(19, 42, 44, .5); }
.vis .hd { font-weight: 600; font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; }
.vis .row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.vis .row small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.vis .row div b { display: block; } .vis .row div span { color: var(--ink-2); font-size: 13px; }
.pill { font-size: 11.5px; font-weight: 650; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.pill.ok { color: var(--good-ink); background: rgba(12, 163, 12, .12); } .pill.bad { color: var(--crit-ink); background: rgba(208, 59, 59, .12); } .pill.plain { color: var(--ink-2); background: var(--sunken); }
.check { display: flex; gap: 10px; align-items: center; color: var(--ink); } .check::before { content: "✓"; width: 18px; height: 18px; border-radius: 5px; background: var(--teal); color: var(--surface); flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.check.off { color: var(--muted); } .check.off::before { content: ""; background: var(--track); }

/* tables */
.keep { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.keep > div { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.keep h3 { display: flex; align-items: center; gap: 10px; }
.keep ul { list-style: none; padding: 0; margin-top: 16px; }
.keep li { padding: 11px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.faq { max-width: 820px; margin-top: 36px; }
.faq details { border-top: 1px solid var(--line); padding: 20px 0; } .faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 24px/1 var(--display); color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin-top: 12px; max-width: 44em; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; padding-bottom: 100px; }
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formcard label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.formcard .full { grid-column: 1 / -1; }
.formcard input, .formcard select, .formcard textarea { font: 16px var(--sans); color: var(--ink); background: var(--page); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; }
.formcard textarea { min-height: 120px; resize: vertical; }
.formcard small { color: var(--muted); font-size: 13.5px; }
.aside h3 { margin-top: 30px; } .aside h3:first-child { margin-top: 0; }
.aside p { color: var(--ink-2); margin-top: 6px; }
.aside ol { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); display: grid; gap: 8px; }

.final { text-align: center; padding: 104px 0 112px; }
.final .lede { margin: 18px auto 30px; }
.final .cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 44px 0 48px; font-size: 14.5px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, auto); gap: 32px 72px; }
.foot .brand { font-size: 21px; margin-bottom: 12px; }
.foot h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; font-weight: 650; }
.foot a { display: block; text-decoration: none; padding: 4px 0; } .foot a:hover { color: var(--ink); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; font-size: 13.5px; }
.legal span:last-child { max-width: 46em; }

@media (max-width: 920px) {
  .hero, .split, .feature, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 28px 0 64px; }
  .feature.flip > :first-child { order: 0; }
  .cols3, .cards { grid-template-columns: 1fr; gap: 28px; } .cards { gap: 16px; }
  section { padding: 64px 0; }
  .strip ul { grid-template-columns: 1fr 1fr; } .strip li { padding: 18px 16px; } .strip li:nth-child(odd) { border-left: 0; padding-left: 0; } .strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flowline { grid-template-columns: 1fr; } .hop { min-width: 0; padding: 2px 0; } .hop::after { width: 2px; height: 26px; background: repeating-linear-gradient(180deg, var(--lagoon) 0 8px, transparent 8px 14px); }
  .onsite, .offsite { display: none; }
  .keep { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; }
  .shot { transform: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .tiles { grid-template-columns: 1fr 1fr; } .tiles .tile:last-child { display: none; }
  .live .v { font-size: 52px; }
  .formcard { grid-template-columns: 1fr; padding: 22px; }
  .legal { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* =====================================================================================
   Second pass: dark bands, floating navigation, motion, the live floor, the scroll
   scene, the day replay and the industry switcher. See website/PROMPT.md.
   ===================================================================================== */
@view-transition { navigation: auto; }
::selection { background: var(--lagoon); color: #0c1c1e; }
body { padding: 0; }

/* dark band: re-points the tokens so everything inside adapts */
.band {
  --ink: #f4efe4; --ink-2: #b9c8c4; --muted: #8fa19d; --line: rgba(244, 239, 228, .13); --teal: #3fb8ad; --surface: #16302f; --sunken: #0f2224;
  --track: rgba(244, 239, 228, .14); --data: #3fb8ad; --grey: #5f7572; --wash: rgba(63, 184, 173, .16); --good-ink: #6fdc6f; --crit-ink: #ff9b93; --page: #0c1c1e;
  color: var(--ink); position: relative; isolation: isolate;
  background: radial-gradient(1100px 620px at 85% -8%, rgba(63, 184, 173, .20), transparent 62%), radial-gradient(900px 560px at -8% 108%, rgba(13, 107, 110, .38), transparent 60%), #0c1c1e;
}
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background: radial-gradient(circle, rgba(159, 227, 214, .11) 1px, transparent 1.4px) 0 0 / 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 85%); }
.band.top { padding-top: 96px; border-radius: 0 0 40px 40px; }
.band.solo { min-height: 78vh; display: grid; align-items: center; }
.band .btn { background: rgba(244, 239, 228, .07); border-color: rgba(244, 239, 228, .18); backdrop-filter: blur(8px); }
.band .btn:hover { background: rgba(244, 239, 228, .13); border-color: rgba(244, 239, 228, .34); }
.band .btn.primary { background: var(--lagoon); color: #0c1c1e; border-color: transparent; box-shadow: 0 10px 34px -10px rgba(63, 184, 173, .7); }
.band section { border: 0; }
.band .page-head { padding: 56px 0 84px; }
div.band:not(.top) { border-radius: 40px; margin: 0 12px; }
div.band:not(.top) + section, .strip + section, .scene + .band { border-top: 0; }

/* floating navigation */
.topbar { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; padding: 0 16px; }
.nav { pointer-events: auto; max-width: 1104px; margin: 0 auto; padding: 9px 10px 9px 20px; display: flex; align-items: center; gap: 26px; font-size: 15px; position: relative;
  color: #f4efe4; background: rgba(12, 28, 30, .74); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(244, 239, 228, .13); border-radius: 999px; box-shadow: 0 18px 44px -22px rgba(0, 0, 0, .6); }
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px/1 var(--wordmark); letter-spacing: -0.035em; text-decoration: none; margin-right: auto; color: inherit; }
.brand svg { flex: none; }
.foot .brand { color: var(--ink); font-size: 21px; margin-bottom: 12px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; color: #b9c8c4; font-weight: 500; transition: color .15s; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: #f4efe4; }
.nav-links a[aria-current] { text-decoration: underline; text-decoration-color: var(--lagoon); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.nav .btn { padding: 10px 18px; }
.nav .btn.primary { background: var(--lagoon); color: #0c1c1e; }
.nav-toggle { display: none; background: rgba(244, 239, 228, .1); color: #f4efe4; border-color: transparent; }
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-radius: 24px;
    background: #0c1c1e; border: 1px solid rgba(244, 239, 228, .13); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(244, 239, 228, .1); }
  .nav-links .btn { justify-content: center; margin-top: 16px; padding: 13px; }
  .band.top { padding-top: 84px; border-radius: 0 0 28px 28px; }
  div.band:not(.top) { margin: 0; border-radius: 28px; }
}

/* reveal, headline words, tally strokes, pointer light */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(8px); animation: word .85s cubic-bezier(.2, .7, .2, 1) calc(var(--i) * 75ms + 120ms) forwards; }
@keyframes word { to { opacity: 1; transform: none; filter: none; } }
.js .hero-copy > :not(h1) { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) .55s forwards; }
.js .hero-copy > .eyebrow { animation-delay: 0s; }
.js .hero-stage { opacity: 0; animation: rise 1s cubic-bezier(.2, .7, .2, 1) .35s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .tally path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .tally.in path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s ease-out calc(var(--i) * 130ms + 150ms); }
.card, .vis, .node, .keep > div, .sw-panel, .day-main { position: relative; }
.card::after, .vis::after, .node::after, .keep > div::after, .sw-panel::after, .day-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(63, 184, 173, .14), transparent 65%); }
.card:hover::after, .vis:hover::after, .node:hover::after, .keep > div:hover::after, .sw-panel:hover::after, .day-main:hover::after { opacity: 1; }
.card { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -34px rgba(19, 42, 44, .5); border-color: rgba(13, 107, 110, .35); }
.mini .rank i { width: var(--w); transform-origin: left; transition: transform .9s cubic-bezier(.2, .7, .2, 1) .2s; }
.js .rv:not(.in) .mini .rank i { transform: scaleX(0); }

/* hero */
.hero2 { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 56px; align-items: center; min-height: min(860px, calc(100vh - 96px)); padding-top: 28px; padding-bottom: 76px; }
.hero2 h1 { font-size: clamp(42px, 4.7vw, 74px); text-wrap: wrap; }
.hero2 .lede { margin: 26px 0 34px; }
.hero-stage { min-width: 0; padding: 0 0 0 30px; }
.stage { position: relative; aspect-ratio: 1000 / 640; border-radius: 30px; border: 1px solid rgba(244, 239, 228, .1);
  background: radial-gradient(circle, rgba(159, 227, 214, .10) 1px, transparent 1.5px) 0 0 / 22px 22px, rgba(6, 18, 20, .55);
  box-shadow: 0 70px 130px -70px rgba(63, 184, 173, .6), inset 0 0 90px rgba(63, 184, 173, .06); }
.stage > svg, .stage > canvas, .stage > .labels { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.stage .wall { fill: none; stroke: rgba(244, 239, 228, .2); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-width: 1.5; }
.stage .zone { fill: #3fb8ad; fill-opacity: .04; stroke: rgba(159, 227, 214, .26); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill-opacity .5s; }
.stage .counter { fill: rgba(244, 239, 228, .3); }
.stage .gate { stroke: #3fb8ad; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; filter: drop-shadow(0 0 6px #3fb8ad); stroke-dasharray: 6 5; animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -11; } }
.zl { position: absolute; transform: translate(12px, 9px); font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #8fa19d; white-space: nowrap; pointer-events: none; }
.zl b { margin-left: 7px; font: 700 13px var(--display); letter-spacing: 0; text-transform: none; color: #f4efe4; }
.zl.gate-label { transform: translate(-50%, 0); color: #3fb8ad; }
.glass { position: absolute; z-index: 2; min-width: 184px; padding: 14px 16px 15px; border-radius: 20px; background: rgba(18, 42, 44, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(244, 239, 228, .15); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.glass .k { font-size: 12px; color: #b9c8c4; display: flex; align-items: center; gap: 8px; }
.glass .v { font: 700 44px/1.05 var(--display); letter-spacing: -.04em; margin-top: 4px; }
.glass .v small { font: 500 12.5px var(--sans); letter-spacing: 0; color: #b9c8c4; margin-left: 7px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lagoon); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(63, 184, 173, .6); } to { box-shadow: 0 0 0 9px rgba(63, 184, 173, 0); } }
.glass .bar { height: 6px; border-radius: 3px; background: rgba(244, 239, 228, .14); overflow: hidden; margin-top: 10px; }
.glass .bar b { display: block; height: 100%; border-radius: 3px; background: var(--lagoon); transition: width .4s, background .3s; }
.glass .state { margin-top: 8px; font-size: 12px; font-weight: 600; color: #9fe3d6; }
.g-inside { left: -30px; top: -26px; }
.g-inside[data-state="busy"] .bar b { background: var(--warn); } .g-inside[data-state="busy"] .state { color: var(--warn); }
.g-inside[data-state="over"] .bar b { background: var(--crit); } .g-inside[data-state="over"] .state { color: #ff9b93; }
.g-inside[data-state="over"] { border-color: rgba(208, 59, 59, .7); box-shadow: 0 0 0 4px rgba(208, 59, 59, .16), 0 24px 50px -24px rgba(0, 0, 0, .7); }
.g-entries { left: -30px; bottom: -26px; }
.marks { display: block; width: 170px; height: 30px; margin-top: 8px; fill: none; stroke: #f4efe4; stroke-width: 3; stroke-linecap: round; }
.marks .slash { stroke: var(--lagoon); }
.marks .new { stroke-dasharray: 1; animation: draw .35s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.toasts { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; gap: 8px; justify-items: end; }
.toast { font-size: 13px; font-weight: 600; padding: 9px 14px 9px 30px; border-radius: 999px; position: relative; background: rgba(18, 42, 44, .92); border: 1px solid rgba(244, 239, 228, .16); animation: pop .4s cubic-bezier(.2, 1.3, .4, 1) both; }
.toast::before { content: ""; position: absolute; left: 13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--good); }
.toast.crit { border-color: rgba(208, 59, 59, .8); } .toast.crit::before { background: var(--crit); animation: pulse-r 1.2s ease-out infinite; }
.toast.warn::before { background: var(--warn); border-radius: 2px; }
@keyframes pulse-r { from { box-shadow: 0 0 0 0 rgba(208, 59, 59, .7); } to { box-shadow: 0 0 0 9px rgba(208, 59, 59, 0); } }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.94); } }
.stage-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 22px; margin-top: 44px; font-size: 14px; color: var(--ink-2); }
.stage-foot p { margin-right: auto; padding-left: 170px; } .stage-foot b { color: var(--ink); }
.stage-foot .btn { padding: 10px 18px; font-size: 14px; }

/* scroll scene */
.scene { height: 300vh; padding: 0; position: relative; }
.scene-pin { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; overflow: hidden; }
.scene-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; width: 100%; }
.scene-steps { list-style: none; padding: 0; margin-top: 34px; display: grid; gap: 6px; }
.scene-steps li { padding: 16px 0 16px 22px; border-left: 3px solid var(--line); opacity: .38; transition: opacity .4s, border-color .4s; }
.scene-steps li.on { opacity: 1; border-color: var(--lagoon); }
.scene-steps b { display: block; font: 700 21px/1.25 var(--display); letter-spacing: -.02em; } .scene-steps span { color: var(--ink-2); font-size: 16px; display: block; margin-top: 4px; }
.scene-stage { position: relative; border-radius: 30px; background: var(--deep); aspect-ratio: 8 / 5; box-shadow: 0 50px 100px -60px rgba(19, 42, 44, .8); overflow: hidden; }
.scene-stage svg { display: block; width: 100%; height: 100%; }
.scene-stage .glassrect { fill: rgba(244, 239, 228, .05); stroke: rgba(244, 239, 228, .12); }
.scene-stage .bracket { fill: none; stroke: #f4efe4; stroke-width: 3; stroke-linecap: round; }
.scene-stage .rec { fill: var(--crit); animation: blink 1.4s steps(2) infinite; } @keyframes blink { 50% { opacity: .25; } }
.scene-stage .camtext { fill: #b9c8c4; font: 600 15px var(--sans); letter-spacing: .12em; }
.scene-stage .fig { fill: rgba(244, 239, 228, .82); } .scene-stage .pt { fill: var(--lagoon); filter: drop-shadow(0 0 8px rgba(63, 184, 173, .9)); }
.scene-num { position: absolute; left: 50%; top: 43%; text-align: center; color: #f4efe4; opacity: 0; will-change: transform; }
.scene-num b { display: block; font: 700 clamp(72px, 11vw, 150px)/1 var(--display); letter-spacing: -.05em; color: var(--foam); }
.scene-num span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #b9c8c4; font-weight: 600; }
.scene-row { position: absolute; left: 50%; bottom: 7%; width: min(88%, 520px); opacity: 0; background: var(--sand); color: #132a2c; border-radius: 18px; padding: 16px 20px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.scene-row .hd { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 600; color: #45595a; align-items: center; }
.scene-row .pill.plain { background: #d8ebe8; color: #0d6b6e; }
.scene-row dl { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; margin-top: 12px; }
.scene-row dt { font-size: 12px; color: #5f6e6c; } .scene-row dd { margin: 0; font: 700 26px/1.1 var(--display); letter-spacing: -.03em; white-space: nowrap; }

/* a day, replayed */
.day { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; margin-top: 48px; }
.day-main, .day-side .tile, .feed { background: rgba(244, 239, 228, .045); border: 1px solid var(--line); border-radius: 24px; }
.day-main { padding: 24px 26px 20px; min-width: 0; }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 24px; margin-bottom: 18px; }
.clock { display: block; font: 700 clamp(34px, 4vw, 52px)/1 var(--display); letter-spacing: -.04em; min-width: 5.2em; }
.muted { color: var(--muted); font-size: 13.5px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; } .legend span::before { content: ""; width: 16px; height: 3px; border-radius: 2px; background: var(--data); }
.legend .l-usual::before { background: var(--grey); } .legend .l-limit::before { height: 0; border-top: 2px dashed #b9c8c4; background: none; }
.plot { position: relative; height: 300px; cursor: ew-resize; touch-action: pan-y; }
.plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.plot path, .plot line { fill: none; vector-effect: non-scaling-stroke; }
.plot .grid { stroke: var(--line); } .plot .limit { stroke: #b9c8c4; stroke-dasharray: 5 5; opacity: .7; }
.plot .usual { stroke: var(--grey); stroke-width: 2; } .plot .ghost { stroke: var(--data); stroke-width: 2; opacity: .22; }
.plot .today { stroke: var(--data); stroke-width: 3; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(63, 184, 173, .55)); }
.plot .area { fill: var(--data); opacity: .16; }
.playhead { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid rgba(244, 239, 228, .5); pointer-events: none; }
.playhead i { position: absolute; left: -7px; width: 13px; height: 13px; margin-top: -6px; border-radius: 50%; background: #f4efe4; box-shadow: 0 0 0 5px rgba(63, 184, 173, .35), 0 0 18px #3fb8ad; }
.playhead span { position: absolute; top: 0; left: 10px; white-space: nowrap; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f4efe4; color: #132a2c; }
.playhead.flip span { left: auto; right: 10px; }
.day .axis { margin-top: 8px; }
.day-ctl { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.day-ctl .btn { min-width: 92px; justify-content: center; padding: 10px 16px; }
input[type="range"] { flex: 1; appearance: none; -webkit-appearance: none; height: 28px; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: rgba(244, 239, 228, .2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--lagoon); border: 3px solid #0c1c1e; box-shadow: 0 0 0 1px var(--lagoon); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(244, 239, 228, .2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--lagoon); border: 3px solid #0c1c1e; }
.day-side { display: grid; grid-template-rows: auto 1fr; gap: 16px; min-width: 0; }
.tiles3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.day-side .tile { border-radius: 18px; padding: 14px; }
.day-side .tile .v { font-size: clamp(22px, 2.1vw, 28px); white-space: nowrap; transition: color .3s; }
.day-side .tile .v.hot { color: var(--warn); }
.meter { height: 5px; border-radius: 3px; background: var(--track); margin-top: 9px; overflow: hidden; } .meter b { display: block; height: 100%; background: var(--lagoon); border-radius: 3px; }
.meter[data-state="busy"] b { background: var(--warn); } .meter[data-state="over"] b { background: var(--crit); }
.feed { padding: 6px 18px; min-height: 250px; align-content: start; display: grid; }
.feed-empty { color: var(--muted); font-size: 14px; padding: 16px 0; }
.ev { display: grid; grid-template-columns: 12px 1fr auto; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; animation: pop .45s cubic-bezier(.2, 1.2, .4, 1) both; }
.ev:first-child { border-top: 0; }
.ev i { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: var(--good); }
.ev.crit i { background: var(--crit); } .ev.warn i { background: var(--warn); border-radius: 2px; } .ev.find i { background: var(--lagoon); border-radius: 2px; transform: rotate(45deg); } .ev.plain i { background: var(--muted); }
.ev b { display: block; } .ev span { color: var(--ink-2); font-size: 13.5px; } .ev small { color: var(--muted); white-space: nowrap; font-size: 12.5px; padding-top: 2px; }
.note { margin-top: 20px; font-size: 13.5px; color: var(--muted); }

/* industry switcher */
.switch { margin-top: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { font: 600 14.5px var(--sans); padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chips button:hover { color: var(--ink); border-color: var(--muted); }
.chips button[aria-selected="true"] { background: var(--ink); color: var(--page); border-color: transparent; }
.chips button:active { transform: scale(.96); }
.sw-panel { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; box-shadow: 0 40px 80px -60px rgba(19, 42, 44, .6); min-height: 330px; }
.sw-panel > div > *, .sw-right { animation: swap .5s cubic-bezier(.2, .7, .2, 1) calc(var(--j, 0) * 55ms) both; }
.sw-panel .tile { animation: swap .5s cubic-bezier(.2, .7, .2, 1) calc(var(--j, 0) * 55ms) both; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } }
.sw-left { display: grid; gap: 12px; align-content: start; }
.sw-find { display: grid; grid-template-columns: 12px 1fr; gap: 12px; padding: 15px 16px; border-radius: 14px; background: var(--sunken); font-size: 14.5px; }
.sw-find i { width: 10px; height: 10px; margin-top: 6px; border-radius: 2px; background: var(--warn); } .sw-find.crit i { background: var(--crit); border-radius: 50%; } .sw-find.good i { background: var(--good); border-radius: 50%; } .sw-find.find i { background: var(--teal); transform: rotate(45deg); }
.sw-find b { display: block; } .sw-find span { color: var(--ink-2); }
.sw-alert { font-size: 13.5px; color: var(--ink-2); padding: 0 4px; } .sw-alert span { font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-right: 10px; }
.sw-right { border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 14px; align-content: start; }
.sw-right .hd { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sw-right .rank { display: grid; grid-template-columns: 104px 1fr 40px; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.sw-right .rank i { display: block; height: 12px; border-radius: 4px; background: var(--data); width: var(--w); transform-origin: left; animation: grow .8s cubic-bezier(.2, .7, .2, 1) calc(var(--j) * 70ms + 150ms) both; }
.sw-right .rank b { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes grow { from { transform: scaleX(0); } }

/* industries search, closing tally */
.finder { display: grid; gap: 8px; margin-top: 34px; max-width: 460px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.finder input { font: 17px var(--sans); color: var(--ink); padding: 14px 20px; border-radius: 999px; border: 1px solid rgba(244, 239, 228, .2); background: rgba(244, 239, 228, .07); outline-offset: 3px; }
.finder input::placeholder { color: var(--muted); }
.band .jump a { background: rgba(244, 239, 228, .06); }
.none { margin-top: 40px; color: var(--ink-2); display: flex; gap: 18px; flex-wrap: wrap; }
.none[hidden], .family[hidden], .industries > div[hidden] { display: none; }
.bigtally { display: flex; justify-content: center; gap: 22px; margin-bottom: 30px; } .bigtally .tally { margin: 0; width: 64px; height: 62px; color: var(--teal); }
.final h2 { font-size: clamp(40px, 6vw, 76px); }
.more span { font-size: 13.5px; color: var(--muted); }
.formcard input:focus, .formcard select:focus, .formcard textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }

@media (max-width: 920px) {
  .hero2 { grid-template-columns: 1fr; gap: 44px; min-height: 0; padding-top: 20px; padding-bottom: 48px; }
  .hero-stage { padding: 0; }
  .stage { display: grid; border-radius: 22px; }
  .glass { position: static; min-width: 0; }
  .stage { aspect-ratio: auto; background: none; border: 0; box-shadow: none; grid-template-columns: 1fr 1fr; gap: 10px; }
  .stage::before { content: ""; grid-column: 1 / -1; aspect-ratio: 1000 / 640; border-radius: 22px; border: 1px solid rgba(244, 239, 228, .1); background: radial-gradient(circle, rgba(159, 227, 214, .10) 1px, transparent 1.5px) 0 0 / 18px 18px, rgba(6, 18, 20, .55); }
  .stage > svg, .stage > canvas, .stage > .labels { inset: 0 0 auto 0; height: auto; aspect-ratio: 1000 / 640; }
  .glass .v { font-size: 34px; } .marks { width: 100%; }
  .zl { font-size: 8.5px; transform: translate(7px, 6px); } .zl b { font-size: 11px; margin-left: 4px; }
  .toasts { top: 10px; right: 10px; } .toast { font-size: 11.5px; padding: 7px 11px 7px 25px; } .toast::before { left: 10px; }
  .stage-foot { margin-top: 16px; } .stage-foot p { padding-left: 0; flex-basis: 100%; }
  .scene { height: 260vh; }
  .scene-grid { grid-template-columns: 1fr; gap: 22px; }
  .scene-copy h2 { font-size: 28px; } .scene-steps { margin-top: 16px; }
  .scene-steps li { display: none; padding: 4px 0 4px 16px; } .scene-steps li.on { display: block; min-height: 132px; }
  .scene-row dd { font-size: 20px; } .scene-row { padding: 12px 14px; } .scene-row .hd { font-size: 11.5px; }
  .day { grid-template-columns: 1fr; } .day-main { padding: 18px 16px; } .plot { height: 220px; }
  .sw-panel { grid-template-columns: 1fr; padding: 14px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 8px; scrollbar-width: none; } .chips button { flex: none; }
}
@media (max-width: 520px) {
  .tiles3 { grid-template-columns: 1fr 1fr; } .tiles3 .tile:last-child { grid-column: 1 / -1; }
  .sw-panel .tiles { grid-template-columns: 1fr 1fr; } .sw-panel .tiles .tile:last-child { display: block; grid-column: 1 / -1; }
  .bigtally { gap: 10px; } .bigtally .tally { width: 46px; height: 44px; }
  .sw-right .rank { grid-template-columns: 92px 1fr 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-copy > *, .js .hero-stage, .js [data-split] .w { opacity: 1; transform: none; filter: none; }
  .js .tally path { stroke-dashoffset: 0; }
}
@media (min-width: 921px) and (max-width: 1140px) {
  .hero2 { grid-template-columns: 1fr; gap: 64px; min-height: 0; }
  .hero-copy { max-width: 720px; }
  .hero-stage { padding: 0 0 0 30px; }
}

/* =====================================================================================
   Third pass: new headline face, autoplaying how-it-works, real industry dashboards.
   ===================================================================================== */
h1, h2, .display { font-weight: 800; letter-spacing: -0.04em; }
h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.tile .v, .glass .v, .clock, .scene-num b, .scene-row dd, .mini .big { font-weight: 800; }

/* how it works: plays by itself, no pinning */
.scene { height: auto; padding: 92px 0; }
.scene-pin { position: static; height: auto; overflow: visible; }
.scene-steps li { position: relative; cursor: pointer; border-left-color: var(--line); transition: opacity .3s; }
.scene-steps li:hover { opacity: .75; } .scene-steps li.on { border-left-color: var(--line); opacity: 1; }
.scene-steps li::before { content: ""; position: absolute; left: -3px; top: 0; width: 3px; height: calc(var(--prog, 0) * 100%); background: var(--lagoon); border-radius: 2px; }
.scene-steps li.on::before { min-height: 12%; }
.scene-stage { transition: opacity .2s linear; }

/* industry dashboards */
.sc-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }
.sc-head b { display: block; font: 700 20px/1.2 var(--display); letter-spacing: -.02em; } .sc-head span { font-size: 13.5px; color: var(--muted); }
.sw-panel { display: block; min-height: 0; padding: 24px; }
.sc-grid { display: grid; gap: 12px; } .sc-cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.wg { grid-column: span var(--span, 12); border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-width: 0; display: grid; gap: 10px; align-content: start; animation: swap .5s cubic-bezier(.2, .7, .2, 1) calc(var(--j, 0) * 60ms) both; }
.wg.bare, .wg.wg-insights { border: 0; padding: 0; }
.wg-t { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.sc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sc-tiles .k { display: flex; align-items: center; gap: 7px; } .sc-tiles .pulse { flex: none; }

.wg .sw-find { animation: none; }
.sw-find.bad i { background: var(--crit); border-radius: 50%; } .sw-find.neutral i { background: var(--teal); transform: rotate(45deg); } .sw-find.warn i { background: var(--warn); }
.occ { display: grid; gap: 6px; font-size: 13.5px; } .occ > div:first-child { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); }
.occ b { color: var(--ink); font-variant-numeric: tabular-nums; } .occ small { font-weight: 400; color: var(--muted); }
.occ .meter { height: 8px; margin: 0; } .occ .meter b { background: var(--data); }
.occ[data-state="busy"] .meter b { background: var(--warn); } .occ[data-state="over"] .meter b { background: var(--crit); }
.lc { position: relative; height: 96px; cursor: crosshair; touch-action: pan-y; } .lc svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lc path, .q path, .q line { fill: none; vector-effect: non-scaling-stroke; } .lc .today, .q .today { stroke: var(--data); stroke-width: 2.4; stroke-linejoin: round; } .lc .usual { stroke: var(--grey); stroke-width: 1.8; }
.lc .cur { display: none; position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--ink-2); pointer-events: none; }
.wg .axis { margin-top: -4px; }
.lc-read { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); align-items: center; }
.lc-read span { display: inline-flex; align-items: center; gap: 6px; } .lc-read span::before { content: ""; width: 12px; height: 3px; border-radius: 2px; background: var(--data); }
.lc-read .l-usual::before { background: var(--grey); } .lc-read .l-need::before { height: 0; border-top: 2px solid var(--ink); background: none; } .lc-read .l-short::before { background: var(--serious, #ec835a); height: 8px; width: 8px; }
.lc-read em { font-style: normal; margin-left: auto; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.wg .rank { display: grid; grid-template-columns: minmax(70px, 38%) 1fr auto; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); }
.wg .rank span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wg .rank i { display: block; height: 10px; border-radius: 3px; background: var(--data); width: var(--w); transform-origin: left; animation: grow .8s cubic-bezier(.2, .7, .2, 1) calc(var(--j) * 60ms + 150ms) both; }
.wg .rank b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.q { display: grid; gap: 8px; } .q + .q { padding-top: 12px; border-top: 1px solid var(--line); }
.q-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--ink-2); } .q-top b { font: 800 24px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.q[data-state="busy"] .q-top b { color: var(--crit-ink); }
.q-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-height: 12px; } .q-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--data); } .q-dots em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 6px; }
.q svg { display: block; width: 100%; height: 40px; overflow: visible; } .q .limit { stroke: var(--muted); stroke-dasharray: 4 4; }
.q-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 12px; color: var(--muted); }
.fn { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; font-size: 13.5px; position: relative; padding-top: 16px; }
.fn i { position: absolute; top: 0; left: 0; height: 10px; width: var(--w); border-radius: 3px; background: var(--data); transform-origin: left; animation: grow .8s cubic-bezier(.2, .7, .2, 1) calc(var(--j) * 90ms + 150ms) both; }
.fn span { color: var(--ink-2); } .fn b { font-variant-numeric: tabular-nums; } .fn small { font-weight: 400; color: var(--muted); margin-left: 8px; }
.staff { display: flex; gap: 3px; height: 110px; align-items: stretch; padding-bottom: 18px; }
.staff > div { flex: 1; position: relative; display: flex; align-items: flex-end; min-width: 0; }
.staff b { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--data); } .staff .short b { background: #ec835a; }
.staff u { position: absolute; left: -1px; right: -1px; height: 2px; background: var(--ink); }
.staff span { position: absolute; top: 100%; left: 0; font-size: 10.5px; color: var(--muted); padding-top: 4px; white-space: nowrap; }
.heat { display: grid; grid-template-columns: 30px repeat(var(--n), minmax(0, 1fr)); gap: 2px; font-size: 10.5px; color: var(--muted); align-items: center; }
.heat i { display: block; aspect-ratio: 1.5; border-radius: 2px; background: var(--data); min-height: 9px; } .heat em { font-style: normal; white-space: nowrap; overflow: visible; }
.hist { display: flex; gap: 4px; height: 100px; align-items: stretch; padding-bottom: 18px; }
.hist > div { flex: 1; position: relative; display: flex; align-items: flex-end; } .hist b { width: 100%; border-radius: 3px 3px 0 0; background: var(--data); min-height: 2px; }
.hist span { position: absolute; top: 100%; left: 0; right: 0; text-align: center; font-size: 10.5px; color: var(--muted); padding-top: 4px; }
.plan2 { position: relative; border-radius: 10px; background: var(--sunken); }
.plan2 > div { position: absolute; border-radius: 6px; background: color-mix(in srgb, var(--data) calc(var(--a) * 100%), var(--surface)); border: 1px solid var(--surface); padding: 5px 7px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; font-size: 10.5px; line-height: 1.15; color: var(--ink); }
.plan2 span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .plan2 b { font: 800 14px var(--display); }

/* industries page */
.industries { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; background: none; border: 0; border-radius: 0; overflow: visible; }
.ind { all: unset; box-sizing: border-box; display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; position: relative; transition: transform .2s cubic-bezier(.2, .7, .2, 1), border-color .2s, box-shadow .2s; }
.ind strong { font: 700 17.5px/1.3 var(--display); letter-spacing: -.02em; padding-right: 26px; } .ind > span { color: var(--ink-2); font-size: 15px; }
.ind em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--teal); margin-top: 6px; } .ind em::after { content: " ↓"; }
.ind::after { content: "+"; position: absolute; top: 14px; right: 18px; font: 500 24px/1 var(--display); color: var(--teal); transition: transform .25s; }
a.ind::after { content: "→"; font-size: 18px; top: 20px; }
.ind:hover { transform: translateY(-3px); border-color: rgba(13, 107, 110, .4); box-shadow: 0 20px 40px -30px rgba(19, 42, 44, .5); }
.ind:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ind[aria-expanded="true"] { border-color: var(--teal); background: var(--wash); transform: none; } .ind[aria-expanded="true"]::after { transform: rotate(45deg); } .ind[aria-expanded="true"] em::after { content: " ↑"; }
.ind[hidden] { display: none; }
.ind-panel { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--teal); border-radius: 24px; padding: 26px; margin: 4px 0 10px; box-shadow: 0 40px 80px -60px rgba(19, 42, 44, .7); animation: swap .4s cubic-bezier(.2, .7, .2, 1) both; scroll-margin-top: 90px; }
.ind { scroll-margin-top: 96px; }
.sc-extra { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.sc-extra h4 { font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.sc-extra ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); } .sc-extra li b { display: block; color: var(--ink); font-weight: 600; }
.sc-cta { display: grid; gap: 14px; align-content: start; justify-items: start; font-size: 14.5px; color: var(--ink-2); }
.family h2 { margin-bottom: 20px; }

@media (max-width: 920px) {
  .scene { padding: 64px 0; height: auto; }
  .scene-grid { gap: 28px; } .scene-steps { margin-top: 20px; gap: 0; }
  .scene-steps li { display: block; padding: 10px 0 10px 16px; } .scene-steps li.on { min-height: 0; }
  .scene-steps span { font-size: 15px; }
  .scene-steps b { font-size: 18px; }
  .sw-panel, .ind-panel { padding: 16px; border-radius: 20px; }
  .wg { grid-column: 1 / -1; }
  .sc-extra { grid-template-columns: 1fr; gap: 22px; }
  .sc-tiles { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr; }
}
@media (min-width: 921px) and (max-width: 1100px) { .sc-grid.compact .wg:not(.bare):not(.wg-insights) { --span: 6 !important; } }

.wg-insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.wg-dow_heatmap .heat i { aspect-ratio: auto; height: 16px; }

[id] { scroll-margin-top: 96px; }
.sc-cta .btn:not(.primary) { font-size: 14px; padding: 9px 16px; }

/* =====================================================================================
   Fourth pass: a living page. Compare lens, product page motion, tooltips, overlap fixes.
   ===================================================================================== */
.sw-panel::after, .day-main::after { display: none; }                       /* no wash of colour over a whole dashboard */
.js .card.rv.in:hover { transform: translateY(-4px); }
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); transform: translateX(-120%); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }

/* ambient: the dark bands breathe, and points drift through the page headers */
.band.top { overflow: hidden; }
.band.top::after { content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; right: -18vw; top: -38vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(63, 184, 173, .2), transparent 62%); animation: glow 16s ease-in-out infinite; }
@keyframes glow { 50% { transform: translate(-6%, 8%) scale(1.12); } }
.drift { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 80%, transparent); }

/* hero: readouts clear of the door, alerts above the floor */
.hero-stage { padding-left: 60px; }
.g-inside { left: -60px; top: -46px; }
.g-entries { left: -60px; bottom: -62px; }
.stage-foot { margin-top: 26px; } .stage-foot p { padding-left: 140px; }
.toasts { top: auto; bottom: calc(100% - 20px); right: 18px; }
.zl { text-shadow: 0 1px 6px #0c1c1e; }
@media (min-width: 921px) and (max-width: 1140px) { .hero-stage { padding: 20px 0 0 60px; } }

/* how it works: drag to compare */
.how { padding-top: 92px; }
.lens { --pos: .5; position: relative; margin-top: 44px; aspect-ratio: 1000 / 460; border-radius: 30px; overflow: hidden; background: #0c1c1e; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  box-shadow: 0 50px 100px -60px rgba(19, 42, 44, .8); }
.lens svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cam-bg { fill: #364645; } .cam-floor { fill: none; stroke: rgba(244, 239, 228, .07); stroke-width: 2; }
.lens .bracket { fill: none; stroke: #f4efe4; stroke-width: 3; stroke-linecap: round; opacity: .8; }
.lens .rec { fill: var(--crit); animation: blink 1.4s steps(2) infinite; } .lens .camtext { fill: #d5dcd8; font: 600 14px var(--sans); letter-spacing: .12em; }
.lens .fig rect, .lens .fig circle { fill: #ece6d9; } .lens .fig .shadow { fill: rgba(0, 0, 0, .28); }
.data-bg { fill: #0c1c1e; } .lens .pt circle { fill: #3fb8ad; } .lens .pt .halo { opacity: .2; animation: halo 2.4s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .08; } }
.lens .gate { stroke: #3fb8ad; stroke-width: 3; stroke-dasharray: 8 7; stroke-linecap: round; animation: march 1s linear infinite; filter: drop-shadow(0 0 6px #3fb8ad); }
.lens .gate-t { fill: #3fb8ad; font: 600 12px var(--sans); letter-spacing: .14em; }
.lens-tag { position: absolute; top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 7px 13px; border-radius: 999px; color: #f4efe4; background: rgba(12, 28, 30, .72); backdrop-filter: blur(8px); pointer-events: none; }
.lens-tag.l { right: calc((1 - var(--pos)) * 100% + 34px); } .lens-tag.r { left: calc(var(--pos) * 100% + 34px); background: rgba(63, 184, 173, .22); color: #9fe3d6; }
.lens-note { position: absolute; left: 22px; bottom: 20px; font-size: 13px; color: #d5dcd8; pointer-events: none; opacity: clamp(0, calc((var(--pos) - .42) * 8), 1); max-width: 34%; }
.lens-read { position: absolute; right: 20px; bottom: 18px; display: flex; gap: 6px; pointer-events: none; opacity: clamp(0, calc((.74 - var(--pos)) * 8), 1); }
.lens-read div { min-width: 66px; padding: 9px 12px; border-radius: 14px; background: rgba(20, 44, 46, .82); border: 1px solid rgba(244, 239, 228, .14); color: #b9c8c4; font-size: 11.5px; display: grid; }
.lens-read b { font: 800 26px/1 var(--display); letter-spacing: -.03em; color: #f4efe4; }
.lens-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; outline: none; }
.lens-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #f4efe4; box-shadow: 0 0 14px rgba(244, 239, 228, .6); }
.lens-handle i { position: absolute; top: 50%; left: -24px; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: #f4efe4; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); display: grid; place-items: center; transition: transform .15s; }
.lens-handle i::before { content: "‹ ›"; font: 700 20px/1 var(--sans); color: #132a2c; letter-spacing: 2px; }
.lens:active .lens-handle i, .lens-handle:focus-visible i { transform: scale(1.12); } .lens-handle:focus-visible i { outline: 3px solid var(--lagoon); outline-offset: 3px; }
.lens-handle em { position: absolute; top: calc(50% + 34px); left: -30px; width: 60px; text-align: center; font: 600 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #f4efe4; animation: nudge 1.6s ease-in-out infinite; }
.lens.used .lens-handle em { display: none; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.how .flowline { margin-top: 28px; }
.hop::after { background-size: 14px 2px; animation: flow .7s linear infinite; }
@keyframes flow { to { background-position: 14px 0; } }
@keyframes flowdown { to { background-position: 0 14px; } }
.node { animation: nodepulse 4.5s ease-in-out infinite; } .node:nth-child(3) { animation-delay: 1.5s; } .node:nth-child(5) { animation-delay: 3s; }
@keyframes nodepulse { 0%, 30%, 100% { box-shadow: 0 0 0 0 rgba(63, 184, 173, 0); border-color: var(--line); } 12% { box-shadow: 0 0 0 5px rgba(63, 184, 173, .16); border-color: var(--lagoon); } }

/* product page */
.phead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; padding-bottom: 76px; }
.phead .page-head { padding: 40px 0 0; max-width: none; } .phead .cta { margin-top: 30px; }
.pdash { display: grid; gap: 12px; padding: 18px; border-radius: 28px; font-size: 13px; background: rgba(244, 239, 228, .05); border: 1px solid rgba(244, 239, 228, .13); backdrop-filter: blur(6px);
  box-shadow: 0 60px 120px -60px rgba(63, 184, 173, .55); animation: bob 8s ease-in-out infinite; }
.js .pdash.rv.in { transform: perspective(1200px) rotateY(calc(-7deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg))); transition: opacity .7s, transform .3s ease-out; }
@keyframes bob { 50% { translate: 0 -10px; } }
.pdash .live { background: rgba(6, 18, 20, .6); border: 1px solid rgba(244, 239, 228, .1); }
.pdash figcaption { font-size: 12px; color: var(--muted); padding: 0 4px; }
.pdash .finding { grid-template-columns: 12px 1fr; align-items: start; } .pdash .finding .dot { margin-top: 6px; }
.rotor { display: grid; min-height: 62px; } .rotor .finding { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; } .rotor .finding.on { opacity: 1; transform: none; }
.js .c-line { stroke-dasharray: 1; stroke-dashoffset: 1; } .js .c-area, .js .c-now { opacity: 0; }
.js .in .c-line { animation: drawline 2.2s ease-out .5s forwards; } .js .in .c-area { animation: areain 1s ease-out 1.9s forwards; } .js .in .c-now { animation: nowin .4s ease-out 2.6s forwards, nowpulse 1.8s ease-in-out 3s infinite; }
@keyframes drawline { to { stroke-dashoffset: 0; } } @keyframes areain { to { opacity: .14; } } @keyframes nowin { to { opacity: 1; } } @keyframes nowpulse { 50% { stroke-width: 7; stroke-opacity: .35; } }
.live .bar b { transition: width 1.2s ease; } .live .k i { animation: pulse 1.8s ease-out infinite; }
.js .feature .vis.rv.in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .7s, transform .3s ease-out, box-shadow .3s; }
.js .feature .vis.rv.in:hover { box-shadow: 0 44px 80px -50px rgba(19, 42, 44, .7); }
.js .vis.rv .row, .js .vis.rv .tile, .js .vis.rv .live { opacity: 0; }
.js .vis.rv.in .row, .js .vis.rv.in .tile, .js .vis.rv.in .live { animation: risein .55s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: .25s; }
.js .vis.rv.in :is(.row, .tile):nth-child(2) { animation-delay: .37s; } .js .vis.rv.in :is(.row, .tile):nth-child(3) { animation-delay: .49s; } .js .vis.rv.in :is(.row, .tile):nth-child(4) { animation-delay: .61s; }
.js .vis.rv.in .row:nth-child(5) { animation-delay: .73s; } .js .vis.rv.in .row:nth-child(6) { animation-delay: .85s; }
@keyframes risein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.arrive { animation: arrive .6s cubic-bezier(.2, 1.2, .4, 1) both !important; }
@keyframes arrive { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
.vis .row .dot { animation: none; } .vis[data-cycle] .row:nth-child(2) .dot, .mini[data-cycle] .line:first-child .dot { animation: pulse-r 1.6s ease-out infinite; }
button.row.check { all: unset; box-sizing: border-box; display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 6px; border-top: 1px solid var(--line); cursor: pointer; color: var(--ink); border-radius: 6px; transition: background .15s, color .15s; }
button.row.check:hover { background: var(--sunken); } button.row.check:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.check::before { transition: background .2s, transform .2s cubic-bezier(.2, 1.6, .4, 1); } button.check[aria-pressed="true"]::before { transform: scale(1.08); }
button.check[aria-pressed="false"] { color: var(--muted); } button.check[aria-pressed="false"]::before { content: ""; background: var(--track); transform: none; }
.try { font-size: 12.5px; font-weight: 600; color: var(--teal); padding: 4px 6px 0; }
.steps > div { position: relative; }
.steps > div:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 44px; bottom: -22px; width: 2px; border-radius: 1px; background: var(--line); transform-origin: top; }
.js .steps > div.rv::before { transition: background .5s var(--d, 0ms), color .5s var(--d, 0ms), transform .5s cubic-bezier(.2, 1.6, .4, 1) var(--d, 0ms); transform: scale(.7); }
.js .steps > div.rv.in::before { transform: none; background: var(--teal); color: var(--surface); }
.js .steps > div.rv.in:not(:last-child)::after { background: linear-gradient(var(--lagoon), var(--line)); animation: growdown .7s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes growdown { from { transform: scaleY(0); } }
.feature li::before { transition: transform .4s cubic-bezier(.2, 1.6, .4, 1); } .feature li:hover::before { transform: rotate(18deg) scaleY(1.3); }

/* small charts answer the pointer one mark at a time */
.tip { position: fixed; z-index: 90; pointer-events: none; padding: 6px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 500; white-space: nowrap; background: #132a2c; color: #f4efe4; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.tip[hidden] { display: none; }
.wg { transition: border-color .2s; } .wg:not(.bare):not(.wg-insights):hover { border-color: rgba(13, 107, 110, .4); }
.wg .rank, .occ, .fn { border-radius: 6px; transition: background .15s; box-shadow: 0 0 0 4px transparent; }
.wg .rank:hover, .occ:hover { background: var(--sunken); box-shadow: 0 0 0 4px var(--sunken); }
.heat i { transition: transform .12s; } .heat i:hover { outline: 2px solid var(--ink); outline-offset: 1px; opacity: 1 !important; position: relative; z-index: 1; }
.staff > div:hover b, .hist > div:hover b { filter: brightness(1.25); } .staff b, .hist b { transition: filter .15s; animation: growup .7s cubic-bezier(.2, .7, .2, 1) both; transform-origin: bottom; }
@keyframes growup { from { transform: scaleY(0); } }
.plan2 > div { transition: transform .15s, box-shadow .15s; } .plan2 > div:hover { transform: scale(1.04); z-index: 1; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }
.sc-tiles .tile { transition: transform .2s, border-color .2s; } .sc-tiles .tile:hover { transform: translateY(-2px); border-color: rgba(13, 107, 110, .4); }
.ind-panel { cursor: default; }

@media (max-width: 920px) {
  .hero-stage { padding: 0; } .stage-foot p { padding-left: 0; }
  .toasts { top: 10px; bottom: auto; right: 10px; } .toast:not(:last-child) { display: none; }
  .how { padding-top: 64px; }
  .lens { aspect-ratio: 5 / 4; border-radius: 22px; margin-top: 28px; }
  .lens-tag { font-size: 10px; padding: 5px 9px; top: 12px; } .lens-tag.l { right: calc((1 - var(--pos)) * 100% + 30px); } .lens-tag.r { left: calc(var(--pos) * 100% + 30px); }
  .lens-note { display: none; } .lens-read { right: 10px; bottom: 10px; gap: 4px; } .lens-read div { min-width: 52px; padding: 7px 9px; } .lens-read b { font-size: 20px; }
  .lens .camtext { font-size: 19px; } .lens .gate-t { font-size: 17px; }
  .hop::after { background-size: 2px 14px; animation-name: flowdown; }
  .phead { grid-template-columns: 1fr; gap: 36px; padding-bottom: 52px; } .phead .page-head { padding-top: 24px; }
  .js .pdash.rv.in { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .js .vis.rv .row, .js .vis.rv .tile, .js .vis.rv .live, .js .c-area, .js .c-now { opacity: 1; } .js .c-area { opacity: .14; } .js .c-line { stroke-dashoffset: 0; } }

.lens { aspect-ratio: 1000 / 400; }
.lens-note { left: 84px; bottom: 34px; }
.stage-foot p { padding-left: 168px; }
@media (max-width: 920px) { .lens { aspect-ratio: 5 / 4; } .stage-foot p { padding-left: 0; } }

@media (max-width: 1140px) { .hero2 h1 { text-wrap: balance; } }
@media (max-width: 920px) {
  .lens-tag.l { left: 10px; right: auto; opacity: clamp(0, calc((var(--pos) - .45) * 9), 1); }
  .lens-tag.r { right: 10px; left: auto; opacity: clamp(0, calc((.7 - var(--pos)) * 9), 1); }
}

/* four quiet facts along the bottom of the hero */
.hero-band { padding-bottom: 0; }
.hero2 { padding-bottom: 56px; }
.creed { list-style: none; padding: 22px 0 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 32px; border-top: 1px solid rgba(244, 239, 228, .13); }
.creed li { display: grid; gap: 2px; align-content: start; padding-left: 16px; position: relative; }
.creed li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 3px; height: 15px; border-radius: 2px; background: var(--lagoon); transform: rotate(18deg); }
.creed b { font: 700 15.5px/1.3 var(--display); letter-spacing: -.01em; color: #f4efe4; }
.creed span { font-size: 14px; color: #8fa19d; }
.js .creed { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) .9s forwards; }
@media (max-width: 920px) { .hero2 { padding-bottom: 36px; } .creed { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 20px 0 30px; } }
@media (prefers-reduced-motion: reduce) { .js .creed { opacity: 1; } }

/* =====================================================================================
   Phones: laid out for a phone, not a narrow desktop. Rows to swipe instead of long stacks,
   compact lists, less padding. See swipeDots() in site.js.
   ===================================================================================== */
.swipe-dots, .nav-cta { display: none; }
@media (max-width: 920px) {
  section, .how, .scene { padding: 52px 0; }
  h2 { font-size: 29px; } .sub { margin-top: 12px; font-size: 16px; } .eyebrow { margin-bottom: 10px; }
  .final { padding: 64px 0 72px; } .final h2 { font-size: 40px; }
  .band .page-head { padding: 28px 0 44px; } .page-head h1 { font-size: 38px; } .page-head .lede { margin-top: 16px; font-size: 17px; }

  /* nav: the demo button is always one tap away */
  .nav { gap: 8px; padding: 8px 8px 8px 16px; } .brand { font-size: 20px; }
  .nav-cta { display: inline-flex; padding: 9px 14px !important; font-size: 13.5px; } .nav-toggle { padding: 9px 13px; font-size: 13.5px; }
  .nav-links .btn.primary { display: none; }

  /* rows to swipe */
  .swipe { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: -20px; margin-right: -20px; padding: 4px 20px 6px; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: center; min-width: 0; }
  .swipe-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
  .swipe-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--track); transition: background .2s, width .2s; } .swipe-dots i.on { background: var(--teal); width: 18px; border-radius: 4px; }
  .cards.swipe { margin-top: 28px; } .cards.swipe .card { padding: 18px; } .card .mini { min-height: 118px; margin-bottom: 14px; }
  .cols3.swipe { margin-top: 28px; gap: 12px; } .cols3.swipe > div { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
  .keep.swipe { margin-top: 26px; } .keep.swipe > div { padding: 20px; } .keep li { padding: 9px 0; font-size: 15px; }
  .sc-cards.swipe > .wg { flex-basis: 86%; align-self: stretch; }

  /* hero */
  .hero2 { gap: 30px; padding-top: 12px; } .hero2 h1 { font-size: 40px; } .hero2 .lede { margin: 16px 0 22px; font-size: 17px; }
  .hero2 .cta { flex-wrap: nowrap; gap: 8px; } .hero2 .cta .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14px; white-space: nowrap; }
  .stage-foot { margin-top: 12px; gap: 10px; } .stage-foot p { font-size: 13px; } .stage-foot .btn { width: 100%; justify-content: center; }
  .glass { padding: 11px 13px 12px; border-radius: 16px; } .glass .v { font-size: 30px; } .glass .state { margin-top: 5px; }
  .creed { padding: 16px 0 24px; gap: 14px 16px; } .creed b { font-size: 14.5px; } .creed span { font-size: 13px; }

  /* three questions: numeral beside the text */
  .cols3:not(.swipe) { gap: 22px; margin-top: 28px; }
  .cols3:not(.swipe) > div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
  .cols3:not(.swipe) .tally { grid-row: span 2; width: 34px; height: 33px; margin: 2px 0 0; } .cols3:not(.swipe) p { grid-column: 2; font-size: 15px; margin-top: 4px; }

  /* how it works: three steps as a tight list */
  .how .flowline { margin-top: 18px; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 18px; }
  .how .node { background: none; border: 0; border-radius: 0; padding: 14px 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; animation: none; }
  .how .node svg { grid-row: span 2; margin: 2px 0 0; width: 28px; height: 28px; } .how .node h3 { font-size: 16.5px; } .how .node p { font-size: 14px; margin-top: 3px; }
  .how .hop { flex-direction: row; display: flex; align-items: center; gap: 10px; justify-content: flex-start; padding: 0 0 0 48px; font-size: 10.5px; color: var(--teal); }
  .how .hop::after { width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--lagoon) 0 8px, transparent 8px 14px); background-size: 14px 2px; animation-name: flow; }

  /* a day, replayed */
  .day { margin-top: 26px; gap: 10px; } .day-head { margin-bottom: 10px; } .clock { font-size: 34px; } .plot { height: 176px; }
  .day-ctl { margin-top: 10px; } .day-side { gap: 10px; }
  .tiles3 { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; } .tiles3 .tile:last-child { grid-column: auto !important; }
  .day-side .tile { padding: 10px 11px; border-radius: 14px; } .day-side .tile .k { font-size: 11px; } .day-side .tile .v { font-size: 19px; } .day-side .tile .d { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .feed { min-height: 0; height: 172px; overflow-y: auto; padding: 2px 14px; border-radius: 18px; } .ev { padding: 10px 0; font-size: 13.5px; } .ev span { font-size: 12.5px; }
  .note { margin-top: 12px; }

  /* industry dashboards */
  .switch { margin-top: 22px; } .sc-head { margin-bottom: 12px; } .sc-head b { font-size: 18px; }
  .sc-tiles { gap: 8px; } .sc-tiles .tile { padding: 11px 12px; } .sc-tiles .tile .v { font-size: 22px; }
  .sw-find { padding: 12px 14px; font-size: 14px; } .wg-insights { gap: 8px; }
  .ind-panel { margin: 2px 0 8px; } .sc-extra { margin-top: 16px; padding-top: 16px; gap: 18px; }

  /* industries page: a list to scan, not a wall of cards */
  .finder { margin-top: 22px; } .finder input { padding: 12px 18px; }
  .jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 18px -20px 0; padding: 0 20px 4px; } .jump::-webkit-scrollbar { display: none; } .jump a { flex: none; }
  .family { margin-top: 36px; } .family h2 { font-size: 22px; margin-bottom: 12px; }
  .industries { gap: 6px; }
  .ind { padding: 14px 44px 14px 16px; border-radius: 14px; gap: 2px; } .ind strong { font-size: 16px; padding: 0; } .ind > span { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } .ind em { display: none; }
  .ind::after { top: 50%; margin-top: -12px; right: 16px; }
  .ind[aria-expanded="true"] > span { -webkit-line-clamp: unset; }

  /* product page */
  .phead { gap: 26px; padding-bottom: 40px; } .pdash { padding: 12px; border-radius: 22px; animation: none; } .pdash .panel { display: none; } .rotor { min-height: 76px; }
  .feature { gap: 22px; } .feature > .vis { order: -1; } .feature.flip > :first-child { order: -1; }
  .feature .tally { width: 34px; height: 33px; margin-bottom: 10px; } .feature ul { margin-top: 14px; gap: 9px; } .feature li { font-size: 15px; }
  .vis { padding: 16px; border-radius: 18px; } .vis .row { padding: 8px 0; }
  .steps { gap: 20px; } .steps p { font-size: 15px; }

  /* privacy */
  .deep { padding: 26px 22px; border-radius: 22px; } .deep ul { grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 24px; } .deep li { padding-top: 12px; font-size: 14px; } .deep li b { font-size: 15px; }
  .faq { margin-top: 22px; } .faq details { padding: 15px 0; } .faq summary { font-size: 16.5px; }

  /* contact and footer */
  .formcard { gap: 12px; } .contact { gap: 30px; padding-bottom: 64px; }
  footer { padding: 32px 0 36px; } .foot { gap: 22px 24px; } .legal { margin-top: 24px; padding-top: 16px; }
}
@media (max-width: 920px) { .nav-cta { white-space: nowrap; padding: 9px 12px !important; font-size: 13px; } .brand { gap: 8px; } .brand svg { width: 26px; height: 26px; } }
@media (max-width: 350px) { .nav-cta { display: none; } }
@media (max-width: 920px) {
  .ind-panel .sc-head { flex-wrap: nowrap; align-items: flex-start; } .ind-panel .sc-head b { display: none; } .ind-panel .sc-head .btn { padding: 8px 14px; font-size: 13.5px; flex: none; }
  .sc-tiles .tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
