/* intheloop landing page */
:root {
  --blue: #0079BF; --blue-mid: #5AA9DA; --blue-soft: #E8F3FA;
  --navy: #0E1A2B; --slate: #3D4B5C; --muted: #5E6B79;
  --mist: #EEF4F9; --paper: #FBFCFD; --white: #fff; --hair: #E3E9F0; --line: #D6E2EC;
  --warn: #D98A00; --warn-soft: #FFF4E0; --ok: #1E9E6A;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif; --mono: "DM Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, .8, .24, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--sans); color: var(--slate); background: var(--paper); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
b, strong, h1, h2, h3 { color: var(--navy); }
img { display: block; max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-wide { max-width: 1344px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.lede { font-size: 20px; max-width: 640px; margin-top: 20px; color: var(--slate); }
.fine { font-size: 14px; color: var(--muted); margin-top: 40px; max-width: 720px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 999px; transition: background .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: #006AA8; transform: translateY(-1px); }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); }
.link-cta { font-weight: 600; color: var(--blue); font-size: 16px; padding: 13px 8px; }
.link-cta:hover { color: var(--navy); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 252, 253, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--hair); }
.nav-in { height: 60px; display: flex; align-items: center; gap: 32px; }
.nav .links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--slate); }
.nav .links a:hover { color: var(--navy); }

/* hero */
.hero { position: relative; height: calc(100vh - 60px); min-height: 640px; max-height: 1000px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--paper); }
.hero-flow { position: absolute; inset: 0; }
.hero-flow canvas { position: absolute; inset: 0; }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 34% 30% at 50% 44%, rgba(251,252,253,.97) 40%, rgba(251,252,253,.75) 70%, rgba(251,252,253,0) 100%); }
.hero-copy { position: relative; text-align: center; margin-top: -6vh; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); opacity: .8; }
/* the live demo section: the window grows as it scrolls into place */
.demo-sec { padding: 120px 0 140px; }
.demo-head { text-align: center; } .demo-head .lede { margin-left: auto; margin-right: auto; }
.hero .sub { font-size: 21px; max-width: 640px; margin: 24px auto 0; }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
@media (min-width:900px) and (max-height:700px){.hero{height:calc(100svh - 60px);min-height:560px}.hero h1{font-size:64px}.hero .sub{margin-top:14px;font-size:19px}.cta-row{margin-top:20px}}
#demo { margin-top: 56px; scroll-margin-top: 76px; }

/* the product window */
.player { position: relative; }
.win { position: relative; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(14, 26, 43, .06), 0 2px 4px rgba(14, 26, 43, .04), 0 24px 64px -12px rgba(14, 26, 43, .18), 0 60px 120px -40px rgba(0, 121, 191, .18); }
.win-bar { height: 40px; display: flex; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid var(--hair); background: #fff; font-size: 13px; }
.win-bar .dots { display: flex; gap: 7px; }
.win-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hair); }
.win-bar .mark { width: 18px; height: 18px; margin-left: 10px; }
.win-bar .mark .rg { fill: var(--navy); transform-origin: 51px 51px; }
.win-bar .mark .dt { fill: var(--blue); transition: fill .3s; }
.win-bar .title { font-weight: 600; color: var(--navy); }
.win-bar .state { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.win-bar .state.loop { color: var(--warn); }
.win-bar .state.you { color: var(--blue); }
.win-bar .act { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.win-bar .act .hint { font-size: 12.5px; color: var(--muted); }
.win-bar .act .bt { border: 0; background: var(--mist); color: var(--navy); font: 600 12.5px var(--sans); padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.win-bar .act .bt:hover { background: var(--blue-soft); }
.win-body { position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.win-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.win-body .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.win-body .start { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(251, 252, 253, .35); cursor: pointer; }
.win-body .start span { background: var(--navy); color: #fff; font-weight: 600; font-size: 16px; padding: 14px 26px 14px 22px; border-radius: 999px; display: inline-flex; gap: 10px; align-items: center; box-shadow: 0 12px 32px rgba(14, 26, 43, .25); }

/* in-the-loop: spotlight and callout */
.spot { position: absolute; border-radius: 14px; box-shadow: 0 0 0 4000px rgba(14, 26, 43, .5), 0 0 0 3px var(--warn); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); z-index: 3; }
.spot.on { opacity: 1; }
.loop-call { position: absolute; z-index: 4; width: 320px; background: #fff; border-radius: 14px; padding: 20px 22px 18px; box-shadow: 0 24px 60px -12px rgba(14, 26, 43, .4); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease) .15s, transform .45s var(--ease) .15s; pointer-events: none; }
.loop-call.on { opacity: 1; transform: none; pointer-events: auto; }
.loop-call .lk { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--warn); text-transform: uppercase; }
.loop-call .lk svg { width: 26px; height: 26px; }
.loop-call .lk .rg { fill: var(--navy); }
.loop-call .lk .dt { fill: var(--warn); animation: pulse 1.6s var(--ease) infinite; transform-origin: 81.76px 20.24px; }
.loop-call h4 { font-size: 19px; color: var(--navy); margin: 12px 0 6px; letter-spacing: -.01em; }
.loop-call p { font-size: 15px; line-height: 1.5; }
.loop-call p.you { margin-top: 8px; color: var(--navy); font-weight: 600; }
.loop-call .hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.loop-call .hint.nudge { animation: nudge 1s var(--ease) 1; color: var(--warn); }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes nudge { 0%, 100% { transform: none; } 30% { transform: translateX(-4px); } 60% { transform: translateX(4px); } }

/* hover tooltip over inspectable things */
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--navy); color: #fff; font-size: 12.5px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tip.on { opacity: 1; transform: none; }

/* the player bar */
.ctrl { display: flex; align-items: center; gap: 14px; margin: 18px auto 0; max-width: 920px; padding: 8px 10px 8px 8px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 1px var(--hair), 0 8px 24px -12px rgba(14, 26, 43, .15); }
.ctrl .pp { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; }
.ctrl .pp svg { width: 14px; height: 14px; }
.ctrl .scrub { position: relative; flex: 1; height: 38px; cursor: pointer; touch-action: none; }
.ctrl .scrub .tr { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--hair); border-radius: 2px; }
.ctrl .scrub .fl { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--blue); border-radius: 2px; width: 0; }
.ctrl .scrub .tk { position: absolute; top: 50%; width: 2px; height: 10px; margin: -5px 0 0 -1px; background: #fff; border-radius: 1px; box-shadow: 0 0 0 1px var(--line); }
.ctrl .scrub .tk.loop { background: var(--warn); box-shadow: none; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; }
.ctrl .scrub .lb { position: absolute; bottom: 100%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; color: #fff; background: var(--navy); padding: 3px 7px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.ctrl .scrub:hover .lb.on { opacity: 1; }
.ctrl .tm { font-family: var(--mono); font-size: 12.5px; color: var(--muted); min-width: 104px; white-space: nowrap; text-align: center; flex: none; }
.ctrl .ex { flex: none; border: 0; background: var(--mist); color: var(--navy); font: 600 13.5px var(--sans); padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.ctrl .ex:hover { background: var(--blue-soft); }
.ctrl .ex.on { background: var(--blue); color: #fff; }
.player-note { text-align: center; font-size: 15px; color: var(--muted); margin-top: 14px; min-height: 24px; }
.player-note b { color: var(--navy); }
.player-note button { border: 0; background: none; color: var(--blue); font: 600 15px var(--sans); cursor: pointer; margin-left: 10px; }

/* sections */
.band { padding: 140px 0; }
.band-mist { background: var(--mist); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.fact b { display: block; font-size: 64px; line-height: 1; letter-spacing: -.04em; font-weight: 600; color: var(--blue); }
.fact p { margin-top: 16px; font-size: 18px; }
.fact small { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border-radius: 999px; margin-top: 48px; box-shadow: 0 0 0 1px var(--hair); }
.tabs button { border: 0; background: none; font: 500 15px var(--sans); color: var(--slate); padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tab-open { margin: -28px 0 28px; }
.tab-open .link-cta { padding-left: 0; }
.tab-line { margin: 20px 0 40px; font-size: 18px; max-width: 720px; min-height: 56px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; counter-reset: s; }
.steps li { border-top: 2px solid var(--navy); padding-top: 24px; }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.steps h3 { font-size: 26px; margin-top: 8px; }
.steps p { margin-top: 10px; font-size: 17px; }
.cta { background: var(--navy); color: #C9D6E3; text-align: center; padding: 140px 0; }
.cta h2 { color: #fff; }
.cta p { font-size: 20px; margin: 18px 0 36px; }
.cta-mark { width: 64px; height: 64px; margin: 0 auto 32px; display: block; }
.foot { padding: 48px 0 64px; font-size: 13.5px; color: var(--muted); }
.foot-in { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.foot-in p:last-child { margin-left: auto; }

/* paper → record (scroll-pinned with sticky) */
.paper { position: relative; background: var(--paper); height: 300vh; }
.paper-pin { position: sticky; top: 0; height: 100vh; padding: 76px 0 28px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.paper-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 14px; }
.paper-head .lede { margin: 0; font-size: 17px; }
.paper-stage { position: relative; width: min(1136px, calc(100% - 64px)); margin: 0 auto; height: min(calc(100vh - 360px), 600px); min-height: 440px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: minmax(0, 1fr); gap: 80px; align-items: center; }
.pp-form { position: relative; height: 100%; aspect-ratio: 1000 / 1318; border-radius: 12px; overflow: hidden; background: #EEF4F9; box-shadow: 0 24px 60px -24px rgba(14, 26, 43, .35); }
.pp-flat { position: absolute; left: 0; top: 0; box-shadow: 0 2px 12px rgba(14, 26, 43, .12); }
.pp-hl { position: absolute; inset: 0; pointer-events: none; }
.pp-hl .hl { position: absolute; border-radius: 4px; box-shadow: 0 0 0 2px var(--blue); background: rgba(0, 121, 191, .08); opacity: 0; transition: opacity .2s; }
.pp-hl .hl.w { box-shadow: 0 0 0 2px var(--warn); background: rgba(217, 138, 0, .1); }
.pp-hl .hl.ok { box-shadow: 0 0 0 2px var(--ok); background: rgba(30, 158, 106, .08); }
.pp-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.pp-lines path { fill: none; stroke: var(--blue); stroke-width: 1.4; }
.pp-lines path.w { stroke: var(--warn); } .pp-lines path.ok { stroke: var(--ok); }
.pp-rec { background: #fff; border-radius: 16px; padding: 16px 24px 8px; box-shadow: 0 0 0 1px var(--hair), 0 24px 60px -30px rgba(14, 26, 43, .3); align-self: stretch; display: flex; flex-direction: column; }
.pp-rh { flex-wrap: wrap; gap: 2px 12px; display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; padding-bottom: 10px; border-bottom: 1px solid var(--hair); }
.pp-rh b { font-weight: 500; color: var(--blue); } .pp-rh b.ok { color: var(--ok); }
.pp-rec ol { list-style: none; flex: 1; display: grid; grid-auto-rows: 1fr; }
.pp-rec li { display: grid; grid-template-columns: 150px 1fr; column-gap: 16px; padding: 2px 0; align-content: center; border-bottom: 1px solid var(--hair); opacity: 0; position: relative; }
.pp-rec li .l { grid-row: span 2; font-size: 13px; color: var(--muted); padding-top: 2px; }
.pp-rec li:not(.in) .v, .pp-rec li:not(.in) .s { visibility: hidden; }
.pp-rec li:not(.in):before { background: var(--hair); }
.pp-rec li .v { font-size: 15.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.pp-rec li .s { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.pp-rec li.w .v { color: var(--warn); } .pp-rec li.w .s { color: var(--warn); }
.pp-rec li.ok .v { color: var(--ok); }
.pp-rec li:before { content: ""; position: absolute; left: -24px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--blue); }
.pp-rec li.w:before { background: var(--warn); } .pp-rec li.ok:before { background: var(--ok); }
.pp-note { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 10px; letter-spacing: .04em; }
.paper.static { height: auto; }
.paper.static .paper-pin { position: relative; height: auto; padding: 120px 0; }


/* stage label + scroll captions (Read, Check) */
.stage-label { width: min(1136px, calc(100% - 64px)); margin: 0 auto 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.cap { width: min(1136px, calc(100% - 64px)); margin: 18px auto 0; display: flex; align-items: center; gap: 24px; }
.cap-list { list-style: none; display: grid; flex: 1; min-height: 56px; }
.cap-list li { grid-area: 1 / 1; display: flex; align-items: center; gap: 14px; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.4; color: var(--navy); opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.cap-list li.on { opacity: 1; transform: none; }
.cap-list li b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 13px/28px var(--mono); text-align: center; }
.cap-dots { display: flex; gap: 8px; flex: none; }
.cap-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, transform .3s; }
.cap-dots i.on { background: var(--blue); }
.paper.static .cap-list, .check.static .cap-list { gap: 12px; }
.paper.static .cap-list li, .check.static .cap-list li { grid-area: auto; opacity: 1; transform: none; }
.paper.static .cap-dots, .check.static .cap-dots { display: none; }

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

/* mobile: recorded video instead of the live app */
.mobile-video { display: none; width: 100%; aspect-ratio: 16 / 9; background: #fff; }
@media (max-width: 899px) {
  body { font-size: 17px; }
  .wrap, .wrap-wide { padding: 0 20px; }
  .nav .links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 56px 0 72px; }
  .band { padding: 88px 0; }
  .facts, .steps { grid-template-columns: 1fr; gap: 32px; }
  .win-bar .stamp { display: none; }
  .win-body { aspect-ratio: 16 / 9; }
  .ctrl, .player-note { display: none; }
  .mobile-video { display: block; }
  .tabs { display: flex; flex-wrap: wrap; border-radius: 20px; }
  .tabs button { flex: 1 1 auto; font-size: 14px; padding: 9px 12px; }
  .foot-in p:last-child { margin-left: 0; }
  .paper-head { grid-template-columns: 1fr; gap: 16px; }
  .paper-stage { height: auto; grid-template-columns: 1fr; gap: 24px; width: calc(100% - 40px); min-height: 0; }
  .paper-stage { grid-template-rows: none; }
  .pp-form { height: auto; width: 100%; }
  .stage-label, .cap { width: calc(100% - 40px); }
  .stage-label { margin-top: 20px; }
  .cap { margin-top: 20px; }
  .pp-lines { display: none; }
  .pp-rec { display: block; } .pp-rec ol { display: block; } .pp-rec li { padding: 8px 0; grid-template-columns: 1fr; } .pp-rec li .l { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* check: quote, binder, policy (scroll-pinned) */
.check { position: relative; height: 320vh; background: var(--mist); }
.check-pin { position: sticky; top: 0; height: 100vh; padding: 76px 0 24px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.check .src { font-size: 14px; color: var(--muted); }
.check h2 { font-size: clamp(32px, 3.5vw, 46px); }
.check-stage { width: min(1136px, calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.ck-docs { position: relative; display: grid; grid-template-columns: var(--lbw, 170px) repeat(3, minmax(0, 1fr)) var(--flw, 190px); column-gap: 12px; }
.ck-doc { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--hair), 0 18px 40px -26px rgba(14,26,43,.3); padding: 0 12px 6px; }
.ck-doc.scan { background: #FBFAF6; box-shadow: 0 0 0 1px #E6E1D6, 0 18px 40px -26px rgba(14,26,43,.3); }
.ck-dh { height: 52px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid var(--hair); margin-bottom: 2px; }
.ck-dh b { font-size: 14px; } .ck-dh span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.ck-lbcol .ck-dh, .ck-flags::before { border: 0; }
.ck-flags { padding-top: 54px; }
.ck-lb, .ck-c, .ck-fl { height: calc((min(100vh - 400px, 540px) - 60px) / 15); min-height: 26px; display: flex; align-items: center; font-size: 13px; transition: color .3s, background .3s; position: relative; }
.ck-lb { color: var(--slate); font-size: 12.5px; }
.ck-c { font-family: var(--mono); font-size: 12px; color: var(--navy); border-bottom: 1px solid #F1F4F8; padding: 0 4px; margin: 0 -4px; border-radius: 4px; white-space: nowrap; overflow: hidden; }
.ck-c.ok { color: var(--ok); }
.ck-c.df { background: var(--warn-soft); color: #9A6100; } .ck-doc.pol .ck-c.df { color: var(--warn); font-weight: 500; }
.ck-c.un { background: #F1F4F8; color: var(--muted); }
.ck-lb.df { color: var(--warn); font-weight: 600; } .ck-lb.un { color: var(--muted); }
.ck-c.stamped .stamp { position: absolute; left: 14px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 2px solid rgba(46, 76, 160, .55); box-shadow: inset 0 0 0 4px rgba(46,76,160,.12); }
.ck-c.stamped .rd { position: absolute; right: 2px; font-style: normal; font-size: 9.5px; color: var(--muted); opacity: 0; transition: opacity .4s; }
.ck-c.stamped.df .rd, .ck-c.stamped.ok .rd { opacity: 1; }
.ck-fl { opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.ck-fl.in { opacity: 1; transform: none; }
.ck-fl .tick { color: var(--ok); font-size: 13px; }
.ck-fl .pill { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.ck-fl .pill.critical { background: var(--warn); color: #fff; } .ck-fl .pill.major { background: var(--warn-soft); color: #9A6100; box-shadow: inset 0 0 0 1px #F2D49A; } .ck-fl .pill.unknown { background: #E8EDF2; color: var(--slate); }
.ck-scan { position: absolute; left: var(--lbw, 170px); right: var(--flw, 190px); top: 0; height: 2px; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,121,191,.12), 0 0 24px rgba(0,121,191,.45); border-radius: 2px; pointer-events: none; transition: opacity .3s; }
.ck-sum { display: flex; flex-direction: column; gap: 14px; padding-top: 54px; }
.ck-count { display: flex; align-items: baseline; gap: 10px; } .ck-count b { font-size: 48px; font-weight: 600; color: var(--navy); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; } .ck-count span { color: var(--muted); font-size: 14px; }
.ck-tally { display: flex; flex-wrap: wrap; gap: 6px; } .ck-tally span { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--muted); box-shadow: 0 0 0 1px var(--hair); }
.ck-tally .m { color: var(--ok); } .ck-tally .d.on { background: var(--warn); color: #fff; box-shadow: none; } .ck-tally .u.on { color: var(--slate); }
.ck-gap { background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--hair), 0 24px 50px -28px rgba(14,26,43,.35); opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); display: flex; flex-direction: column; gap: 4px; }
.ck-gap.in { opacity: 1; transform: none; }
.ck-gap .k { font-size: 12.5px; color: var(--muted); } .ck-gap .g { font-family: var(--mono); font-size: 34px; color: var(--warn); font-weight: 500; letter-spacing: -.02em; }
.ck-gap .s, .ck-gap .s2 { font-size: 13px; line-height: 1.4; } .ck-gap .s2 { color: var(--muted); }
.ck-bar { height: 8px; background: var(--hair); border-radius: 4px; overflow: hidden; margin: 8px 0 2px; } .ck-bar i { display: block; height: 100%; width: 100%; background: var(--warn); border-radius: 4px; }
.ck-next { display: flex; align-items: center; gap: 10px; font-size: 14px; opacity: 0; transition: opacity .5s; } .ck-next.in { opacity: 1; }
.ck-next .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px var(--warn-soft); }
.check.static { height: auto; } .check.static .check-pin { position: relative; height: auto; padding: 120px 0; }
@media (max-width: 899px) {
  .hero { height: auto; min-height: 0; max-height: none; padding: 64px 0 260px; }
  .hero-copy { margin-top: 0; }
  .hf-stat, .hf-lb { display: none; }
  .hero-veil { background: radial-gradient(ellipse 80% 40% at 50% 30%, rgba(251,252,253,.97) 50%, rgba(251,252,253,0) 100%); }
  .demo-sec { padding: 80px 0; }
  .win-bar .act { display: none; }
  .check-stage { grid-template-columns: 1fr; width: calc(100% - 40px); }
  .ck-docs { grid-template-columns: 110px 1fr 1fr 1fr; overflow-x: auto; } .ck-flags { display: none; } .ck-scan { display: none; }
  .ck-c { font-size: 11px; } .ck-lb { font-size: 11px; }
  .ck-sum { padding-top: 0; }
}

/* hero schematic, v2 frame: boxes, decisions, look-ups, lane tags, tiles, asks */
.hf-layer { position: absolute; inset: 0; pointer-events: none; }
.hf-st { position: absolute; left: 0; top: 0; will-change: transform; display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 8px; border-radius: 10px; background: rgba(255,255,255,.96); color: var(--navy); box-shadow: 0 0 0 1px var(--hair), 0 6px 18px -10px rgba(14,26,43,.28); transition: box-shadow .45s var(--ease), opacity .8s var(--ease); }
.hf-st .gl { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--mist); flex: none; }
.hf-st .gl svg { display: block; }
.hf-st .tx { display: flex; flex-direction: column; gap: 1px; white-space: nowrap; }
.hf-st .tx b { font-size: 13px; font-weight: 600; line-height: 1.2; }
.hf-st .tx em { display: flex; align-items: center; gap: 5px; font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--muted); }
.hf-st { min-height: 44px; }
.hf-st .dg { display: grid; place-items: center; width: 24px; height: 30px; flex: none; }
.hf-st .dg i { width: 14px; height: 14px; border-radius: 2px; transform: rotate(45deg); background: #fff; box-shadow: 0 0 0 1.5px var(--navy); transition: background .3s, box-shadow .3s; }
.hf-st.dec { padding-left: 10px; box-shadow: 0 0 0 1px var(--line), 0 6px 18px -10px rgba(14,26,43,.28); } .hf-st.dec .tx b { font-weight: 500; }
.hf-st.end { background: rgba(255,255,255,.88); box-shadow: 0 0 0 1px var(--hair); } .hf-st.end .tx b { font-weight: 500; color: var(--slate); }
.hf-st.shadow { opacity: 0; box-shadow: none; outline: 1.5px dashed rgba(0,121,191,.5); } .hf-st.shadow.on { opacity: 1; } .hf-st.shadow em { color: var(--blue); }
.hf-st.hit { box-shadow: 0 0 0 1.5px var(--blue), 0 0 0 6px rgba(0,121,191,.08), 0 6px 18px -10px rgba(14,26,43,.28); }
.hf-st.hit .dg i { background: var(--blue); box-shadow: 0 0 0 1.5px var(--blue); }
.hf-st.hit.w, .hf-st.hold { box-shadow: 0 0 0 1.5px var(--warn), 0 0 0 6px rgba(217,138,0,.1), 0 6px 18px -10px rgba(14,26,43,.28); }
.hf-st.hit.ok .dg i { background: var(--ok); box-shadow: 0 0 0 1.5px var(--ok); }
.hf-st.hit.ok { box-shadow: 0 0 0 1.5px var(--ok), 0 0 0 6px rgba(30,158,106,.08), 0 6px 18px -10px rgba(14,26,43,.28); }
.hf-st.cp { min-height: 36px; padding: 5px 11px 5px 6px; gap: 7px; } .hf-st.cp .gl { width: 24px; height: 24px; border-radius: 6px; } .hf-st.cp .dg { width: 20px; height: 24px; } .hf-st.cp .dg i { width: 12px; height: 12px; } .hf-st.cp .tx em { display: none; } .hf-st.cp .tx b { font-size: 12.5px; } .hf-st.cp.dec { padding-left: 8px; }
.hf-st.sm.xs { padding-left: 10px; } .hf-st.sm.xs .gl { display: none; }
.hf-st.sm { min-height: 34px; padding: 5px 9px 5px 6px; gap: 6px; } .hf-st.sm .gl { width: 22px; height: 22px; } .hf-st.sm .dg { width: 18px; height: 22px; } .hf-st.sm .dg i { width: 11px; height: 11px; } .hf-st.sm .tx b { font-size: 11.5px; }
.hf-layer .bd { position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%) translateY(4px); font: 500 10.5px var(--mono); letter-spacing: .03em; white-space: nowrap; color: var(--blue); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hf-layer .bd.on { opacity: 1; transform: translateX(-50%); } .hf-layer .bd.ok { color: var(--ok); } .hf-layer .bd.w { color: var(--warn); }
.hf-sys { position: absolute; left: 0; top: 0; will-change: transform; font: 500 10.5px var(--mono); letter-spacing: .04em; color: var(--blue); background: #fff; padding: 5px 10px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(0,121,191,.35); white-space: nowrap; opacity: 0; transition: opacity .4s var(--ease); }
.hf-sys.on { opacity: 1; }
.hf-lane { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; font: 500 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.hf-lane i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(30,158,106,.15); }
.hf-lb { position: absolute; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.hf-lb.in { transform: translateX(-8px); } .hf-lb.out { transform: translateX(calc(-100% + 8px)); text-align: right; color: var(--navy); }
.hf-lb.on.in { opacity: .9; transform: none; } .hf-lb.on.out { opacity: 1; transform: translateX(-100%); } .hf-lb.ok { color: var(--ok); }
.hf-stat { position: absolute; display: flex; flex-direction: column; gap: 2px; min-width: 170px; background: rgba(255,255,255,.9); border-radius: 12px; padding: 12px 14px; box-shadow: 0 0 0 1px var(--hair), 0 18px 40px -22px rgba(14,26,43,.35); opacity: 0; filter: blur(10px); transform: translate(0, 10px) scale(.96); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 4.5s linear; }
.hf-stat.on { opacity: 1; filter: blur(0); transform: translate(var(--dx), var(--dy)) scale(1); }
.hf-stat.far { opacity: 0; } .hf-stat.far.on { opacity: .55; filter: blur(1.6px); transform: translate(var(--dx), var(--dy)) scale(.86); }
.hf-stat .k { font-size: 12px; color: var(--muted); }
.hf-stat .v { display: flex; align-items: flex-end; gap: 10px; font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -.02em; line-height: 1.15; }
.hf-stat .v svg { width: 56px; height: 20px; }
.hf-stat .s { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.hf-stat.warn .v { color: var(--warn); } .hf-stat.ok .v { color: var(--ok); }
.hf-stat.tl { min-width: 0; width: 232px; gap: 6px; padding: 12px 14px 13px; }
.hf-stat.tl .row { position: relative; display: flex; align-items: center; gap: 12px; }
.hf-stat.tl .col { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.hf-stat.tl .v { font-size: 21px; align-items: baseline; gap: 6px; } .hf-stat.tl .v small { font: 500 11px var(--mono); color: var(--muted); letter-spacing: .02em; }
.hf-stat.tl .v.w { color: var(--navy); }
.hf-stat.tl .s { white-space: nowrap; }
.hf-stat.tl .ch { width: 56px; height: 56px; flex: none; overflow: visible; } .hf-stat.tl .ch.wide { width: 72px; height: 38px; }
.hf-stat.tl.t-stack .ch.wide { width: 100%; height: 8px; margin: 4px 0 2px; border-radius: 3px; overflow: hidden; }
.hf-stat.tl .dc { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 56px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--navy); letter-spacing: -.01em; }
.hf-stat.tl .lg { display: flex; flex-direction: column; gap: 3px; font: 10.5px var(--mono); color: var(--slate); flex: 1; }
.hf-stat.tl .lg span { display: flex; align-items: center; gap: 6px; white-space: nowrap; } .hf-stat.tl .lg i { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.hf-stat.tl .lg em { margin-left: auto; font-style: normal; color: var(--navy); }
.hf-stat.tl.t-stack .lg { flex-direction: row; gap: 10px; } .hf-stat.tl.t-stack .lg em { margin-left: 2px; }
.hf-stat.tl circle[style], .hf-stat.tl .ln { animation: tl-draw 1.1s var(--ease) both; }
.hf-stat.tl rect, .hf-stat.tl.t-grid circle { transform-box: fill-box; transform-origin: 50% 100%; animation: tl-grow .7s var(--ease) both; }
.hf-stat.tl.t-stack rect { transform-origin: 0 50%; animation-name: tl-grow-x; }
.hf-stat.tl.t-grid circle { transform-origin: 50% 50%; animation-name: tl-pop; }
@keyframes tl-draw { from { stroke-dasharray: 0 100; } }
@keyframes tl-grow { from { transform: scaleY(0); } } @keyframes tl-grow-x { from { transform: scaleX(0); } } @keyframes tl-pop { from { transform: scale(0); } }
.hf-stat.tl .v small { white-space: nowrap; } .hf-stat.tl .col { overflow: hidden; }
.hf-stat.tl.t-stack .lg { flex-wrap: wrap; gap: 4px 10px; }
.hf-stat.tl.t-donut { width: 256px; } .hf-stat.tl .lg em { padding-left: 8px; }
.hf-ask { position: absolute; left: 0; top: 0; width: 218px; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 11px; background: #fff; border-radius: 12px; pointer-events: auto;
  box-shadow: 0 0 0 1.5px var(--warn), 0 0 0 7px rgba(217,138,0,.08), 0 16px 34px -14px rgba(14,26,43,.35); opacity: 0; transition: opacity .45s var(--ease), box-shadow .4s; will-change: transform; }
.hf-ask.on { opacity: 1; }
.hf-ask .h { display: flex; align-items: center; gap: 6px; margin-bottom: 3px; }
.hf-ask .h svg { width: 15px; height: 15px; flex: none; } .hf-ask .h use { fill: var(--navy); }
.hf-ask .lk { font: 500 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--warn); }
.hf-ask b { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.hf-ask .q { font-size: 12.5px; color: var(--slate); }
.hf-ask .bt { display: flex; gap: 6px; margin-top: 7px; }
.hf-ask button { font: 600 11.5px var(--sans); border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; background: var(--mist); color: var(--navy); transition: background .2s, opacity .3s; }
.hf-ask button.ap { background: var(--blue); color: #fff; } .hf-ask button:hover { filter: brightness(.95); }
.hf-ask.ok { box-shadow: 0 0 0 1.5px var(--ok), 0 16px 34px -14px rgba(14,26,43,.35); } .hf-ask.ok .lk { color: var(--ok); }
.hf-ask.ok button { opacity: .35; cursor: default; }
.hf-ask.compact { width: auto; flex-direction: row; align-items: center; gap: 10px; padding: 7px 8px 7px 10px; }
.hf-ask.compact .h { margin: 0; } .hf-ask.compact .bt { margin: 0; }
.hero-copy { pointer-events: none; } .hero-copy a, .hero-copy button { pointer-events: auto; }
.hf-layer .bd.dn { bottom: auto; top: calc(100% + 6px); transform: translateX(-50%) translateY(-4px); } .hf-layer .bd.dn.on { transform: translateX(-50%); }
.hf-st.ghost { opacity: .42; box-shadow: 0 0 0 1px var(--hair); } .hf-st.ghost.on { opacity: 1; box-shadow: 0 0 0 1px var(--line), 0 6px 18px -10px rgba(14,26,43,.28); }
.hf-st.ghost.on.hit { box-shadow: 0 0 0 1.5px var(--blue), 0 0 0 6px rgba(0,121,191,.08), 0 6px 18px -10px rgba(14,26,43,.28); }
.hero-veil { display: none; }
.hero-foot { left: max(24px, calc((100% - 1800px) / 2 + 24px)); right: auto; bottom: 12px; text-align: left; }
@media (max-width: 899px) { .hero-foot { left: 0; right: 0; text-align: center; } }

/* pitch: authority model and what we build (deck slides 4-5) */
.pitch-sub { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 640px; }
.auth-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; margin-top: 64px; }
.auth { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--hair); overflow: hidden; font-size: 16px; }
.auth th { text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 18px 24px; background: var(--mist); }
.auth th:last-child { color: var(--blue); }
.auth td { padding: 22px 24px; border-top: 1px solid var(--hair); vertical-align: top; width: 50%; }
.auth td.us { background: var(--blue-soft); color: var(--slate); }
.auth td.us + td, .auth td:first-child { color: var(--slate); }
.auth-flow { margin: 0; max-width: 400px; justify-self: center; width: 100%; }
.auth-flow svg { width: 100%; height: auto; display: block; font-family: var(--sans); overflow: visible; }
.auth-flow .n-box { fill: #fff; stroke: var(--line); stroke-width: 1.5; }
.auth-flow .n-dark { fill: var(--navy); }
.auth-flow .n-blue { fill: var(--blue); }
.auth-flow .n-out { fill: #fff; stroke: var(--navy); stroke-width: 1.5; }
.auth-flow .n-ln { stroke: var(--muted); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.auth-flow .n-ln.dash { stroke-dasharray: 4 5; }
.auth-flow .n-t { font-size: 15px; font-weight: 600; fill: var(--navy); }
.auth-flow .n-t.sm { font-size: 14px; }
.auth-flow .n-s { font-size: 13px; fill: var(--muted); }
.auth-flow .n-t.w, .auth-flow .n-s.w { fill: #fff; }
.auth-flow .n-s.w { fill: rgba(255,255,255,.85); }
.pitch-build { margin-top: 120px; padding-top: 80px; border-top: 1px solid var(--hair); }
.pitch-h { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.25; letter-spacing: -.02em; max-width: 820px; font-weight: 600; }
.bs-tag { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.build-strip { display: grid; grid-template-columns: 1fr auto 1.6fr auto 1fr; gap: 16px; align-items: stretch; margin-top: 48px; }
.bs-box { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 0 0 1px var(--hair); }
.bs-box.core { background: var(--navy); display: flex; flex-direction: column; justify-content: center; }
.bs-box.core .bs-tag { color: #8CC6EA; }
.bs-arr { align-self: center; font-size: 24px; color: var(--muted); }
.chip { display: inline-block; margin: 0 6px 8px 0; padding: 5px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); font-size: 14px; }
.bs-steps { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; flex-wrap: nowrap; }
.bs-steps span { padding: 7px 11px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.bs-steps i { font-style: normal; color: #8CC6EA; }
.bs-room { margin-top: 16px; padding: 22px 28px; border-radius: 16px; background: var(--blue-soft); color: var(--slate); font-size: 16px; }
.bs-room .bs-tag { margin-bottom: 8px; }
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.aud > div { border-top: 2px solid var(--navy); padding-top: 18px; }
.aud p { font-size: 16px; }
@media (max-width: 1099px) {
  .build-strip { grid-template-columns: 1fr; gap: 8px; }
  .bs-arr { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 899px) {
  .auth-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .auth { font-size: 15px; } .auth th, .auth td { padding: 14px 14px; }
  .pitch-build { margin-top: 72px; padding-top: 56px; }
  .build-strip { grid-template-columns: 1fr; gap: 8px; margin-top: 32px; }
  .bs-arr { transform: rotate(90deg); justify-self: center; }
  .aud { grid-template-columns: 1fr; gap: 24px; }
  .bs-steps { flex-wrap: wrap; }
}

@media (min-width: 900px) {  /* check: compact columns so no cell clips */
  .check-stage { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .ck-docs { --lbw: 130px; --flw: 176px; column-gap: 8px; }
  .ck-c { font-size: 11px; } .ck-lb { font-size: 12px; } .ck-doc { padding: 0 6px 6px; }
  .ck-gap { padding: 16px; } .ck-gap .g { font-size: 28px; }
}

/* the monitor (v0.8): the tabbed player in an SVG monitor; click-catcher over the screen opens the control room */
.mon-wrap { max-width: 1480px; margin: 0 auto; padding: 0 20px; }
.monitor { position: relative; width: min(100%, 1440px, calc((100vh - 140px) * 1440 / 1030)); width: min(100%, 1440px, calc((100svh - 140px) * 1440 / 1030)); margin: 0 auto; aspect-ratio: 1440 / 1030; filter: drop-shadow(0 40px 60px rgba(14, 26, 43, .16)); }
.mon-frame { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mon-screen { position: absolute; left: 1.3889%; top: 1.9417%; width: 97.2222%; height: 83.8835%; border-radius: 9px; overflow: hidden; background: var(--paper); container-type: inline-size; }
.mon-screen .player { height: 100%; }
.player.inline .win, .player.in-overlay .win { height: 100%; display: flex; flex-direction: column; border-radius: 0; box-shadow: none; }
.player.inline .win-body, .player.in-overlay .win-body { flex: 1; aspect-ratio: auto; min-height: 0; }
.player.inline .player-note, .player.in-overlay .player-note { display: none; }
.player.inline .win-bar .act .bt, .player.inline .win-bar .dots { display: none; }
.player:not(.inline) .win-bar .chip { display: none; }
.win-bar .chip { font: 600 12.5px var(--sans); color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: 999px; }
.player.inline .win-bar .mark { margin-left: 0; }
.win-body .poster-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; z-index: 2; transition: opacity .35s; pointer-events: none; }
.win-body .poster-fill.gone { opacity: 0; }
.player .win-body .poster-fill.keep { opacity: 1; }
.mon-hit { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(14, 26, 43, 0); cursor: pointer; transition: background .25s var(--ease); outline: none; }
.mon-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; font: 600 16px var(--sans); padding: 13px 24px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease); box-shadow: 0 12px 32px rgba(14, 26, 43, .3); }
.mon-pill .d { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-mid); }
.mon-pill .t-m { display: none; }
.mon-hit:hover, .mon-hit:focus-visible { background: rgba(14, 26, 43, .1); }
.mon-hit:hover .mon-pill, .mon-hit:focus-visible .mon-pill { opacity: 1; transform: none; }
.mon-hit:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }

/* the expanded control room */
.ov { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.ov-back { position: absolute; inset: 0; background: rgba(14, 26, 43, .62); opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(3px); }
.ov.on .ov-back { opacity: 1; }
.ov-win { position: relative; width: 96vw; height: 92vh; transform-origin: 0 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .5); }
.ov-win .player { height: 100%; }
.ov-win .win-bar { height: 48px; }
.ov-tabs { display: inline-flex; gap: 2px; padding: 3px; background: var(--mist); border-radius: 999px; margin-left: 12px; }
.ov-tabs button { border: 0; background: none; font: 500 12.5px var(--sans); color: var(--slate); padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.ov-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.ov-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.ov-x:hover { background: var(--blue-soft); }
.ov-x svg { width: 13px; height: 13px; }
.ov button:focus-visible, .ov-x:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .ov-back, .mon-hit, .mon-pill, .win-body .poster-fill { transition: none; } }
@media (max-width: 899px) {
  .mon-wrap { padding: 0 12px; }
  .mon-screen { border-radius: 5px; }
  .player.inline .win-bar, .player .win-bar .dots { height: 34px; }
  .player .win-bar .dots, .player .win-bar .act, .player .win-bar .state { display: none; }
  .player .win-bar .title { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mon-pill { opacity: 1; transform: none; position: absolute; bottom: 10px; right: 10px; font-size: 13px; padding: 8px 14px; }
  .mon-pill .t-d { display: none; } .mon-pill .t-m { display: inline; }
  .win-body .poster-fill { object-position: center; }
}
/* check: 900-1180px uses the static layout (the pinned grid does not fit without clipping) */
@media (min-width: 900px) and (max-width: 1180px) {
  .check-stage { grid-template-columns: 1fr; gap: 24px; }
  .ck-docs { grid-template-columns: 130px repeat(3, minmax(0, 1fr)); --lbw: 130px; overflow-x: visible; column-gap: 12px; }
  .ck-flags, .ck-scan { display: none; }
  .ck-c { font-size: 11px; } .ck-lb { font-size: 12px; } .ck-doc { padding: 0 8px 6px; }
  .ck-sum { padding-top: 0; }
}

/* 1b · processes, unfolding: carousel of live graphs (carousel.js). Watch-only; one iframe at a time. */
.cr { --crw: min(100%, 1440px, calc((100svh - 225px) * 16 / 9)); max-width: 1520px; margin: 48px auto 0; padding: 0 32px; }
.cr-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: var(--crw); margin: 0 auto 14px; }
.cr-tab { position: relative; display: flex; align-items: baseline; gap: 10px; text-align: left; font: inherit; cursor: pointer; padding: 12px 16px 16px; background: none; border: 0; border-radius: 10px; color: var(--muted); transition: color .2s, background .2s; }
.cr-tab:hover { color: var(--navy); background: var(--mist); }
.cr-tab:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cr-tab[aria-selected="true"] { color: var(--navy); }
.cr-n { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.cr-l { font-weight: 600; font-size: 16px; }
.cr-bar { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.cr-bar b { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
.cr-frame { position: relative; width: var(--crw); aspect-ratio: 16 / 9; margin: 0 auto; overflow: hidden; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(14, 26, 43, .06), 0 2px 4px rgba(14, 26, 43, .04), 0 24px 64px -12px rgba(14, 26, 43, .18), 0 60px 120px -40px rgba(0, 121, 191, .18); }
.cr-frame iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.cr-frame iframe.on { opacity: 1; }
.cr-go { display: block; position: absolute; inset: 0; pointer-events: none; }
.cr-open { display: none; }
.cr-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.cr-line { width: var(--crw); margin: 22px auto 0; text-align: center; font-size: 17px; min-height: 3.2em; color: var(--slate); }
.cr-note { width: var(--crw); margin: 6px auto 0; text-align: center; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--muted); opacity: .8; }
@media (max-width: 699px) {
  .cr { padding: 0 20px; margin-top: 32px; --crw: 100%; }
  .cr-tabs { gap: 4px; } .cr-tab { padding: 10px 6px 14px; flex-direction: column; gap: 2px; } .cr-l { font-size: 13px; line-height: 1.25; } .cr-bar { left: 6px; right: 6px; }
  .cr-go { pointer-events: auto; }
  .cr-open { display: block; position: absolute; right: 8px; top: 8px; padding: 7px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 4px 14px rgba(14, 26, 43, .3); }
  .cr-line { font-size: 16px; text-align: left; min-height: 0; }
  /* the square crop shows the left part of the 16:9 graph; fade the right edge so no node reads as cut mid-way */
  .cr-poster { -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 99%); mask-image: linear-gradient(to right, #000 88%, transparent 99%); }
}
@media (prefers-reduced-motion: reduce) { .cr-frame iframe { transition: none; } }

/* mobile pass (Task 8, 4 Nov 2026). Index page only (body.lp), so the secret page, which shares this file, is untouched.
   Nothing here applies at 900px and up. Rhythm on phones: 20px gutter, 72px between sections, body 17px, captions 13px+. */
@media (max-width: 899px) {
  .lp .band { padding: 80px 0; }
  .lp .paper.static .paper-pin, .lp .check.static .check-pin { padding: 80px 0; }
  .lp .demo-sec { padding: 80px 0; }
  .lp #demo { margin-top: 0; }
  .lp .cta { padding: 96px 0; }
  .lp h1, .lp h2, .lp .pitch-h, .lp .cta p { text-wrap: balance; }
  .lp .brand { display: flex; align-items: center; min-height: 44px; }
  .lp .paper-pin > .wrap, .lp .check-pin > .wrap { width: 100%; }   /* a flex-column child shrank to its text at tablet widths */
  .lp .tabs button { min-height: 44px; }
}
@media (max-width: 699px) {
  /* type */
  .lp h1 { font-size: clamp(32px, 9.6vw, 44px); line-height: 1.04; }
  .lp h2, .lp .check h2 { font-size: clamp(29px, 8.4vw, 34px); line-height: 1.1; }
  .lp .lede { font-size: 18px; line-height: 1.5; margin-top: 16px; }
  .lp .eyebrow { margin-bottom: 12px; }
  .lp .pitch-sub { font-size: 16px; }
  .lp .lede, .lp .sub, .lp .cr-line, .lp .tab-line, .lp .fact p, .lp .steps p, .lp .aud p, .lp .bs-room { text-wrap: pretty; }

  /* rhythm */
  .lp .band, .lp .demo-sec { padding: 72px 0; }
  .lp .paper.static .paper-pin, .lp .check.static .check-pin { padding: 72px 0; }
  .lp .cta { padding: 88px 0 96px; }

  /* nav */
  .lp .nav-in { height: 56px; }

  /* hero: two-line headline, the Claims rail below the text (hero.js phone mode) */
  .lp .hero { padding-top: 48px; }
  .lp .hero .sub { font-size: 18px; line-height: 1.5; margin-top: 18px; max-width: 34ch; }
  .lp .cta-row { margin-top: 28px; }
  .lp .btn { min-height: 48px; padding: 13px 26px; }
  .lp .hero-foot { font-size: 13px; letter-spacing: 0; padding: 0 12px; }

  /* carousel: a taller crop of the poster so the graph reads, tabs as a three-up index */
  .lp .cr { margin-top: 28px; }
  .lp .cr-tab { min-height: 56px; }
  .lp .cr-n { font-size: 13px; }
  .lp .cr-l { font-size: 14px; text-wrap: balance; }
  .lp .cr-frame { aspect-ratio: 1 / 1; border-radius: 16px; }
  .lp .cr-poster { object-position: 6% 50%; }
  .lp .cr-open { right: 12px; top: 12px; bottom: auto; padding: 11px 16px; font-size: 14px; }
  .lp .cr-line { margin-top: 18px; }
  .lp .cr-note { font-size: 13px; letter-spacing: .02em; text-align: left; margin-top: 10px; }

  /* why now */
  .lp .facts { margin-top: 40px; gap: 36px; }
  .lp .fact b { font-size: 54px; }
  .lp .fact p { margin-top: 10px; font-size: 17px; }
  .lp .fact small { margin-top: 8px; }

  /* read and check: shared caption line */
  .lp .paper-head { margin-bottom: 0; }
  .lp .paper-head .lede { font-size: 17px; }
  .lp .stage-label { font-size: 13px; letter-spacing: 0; margin-top: 28px; }
  .lp .cap-list li { font-size: 16px; }
  .lp .cap { margin-top: 28px; }

  /* read: the record under the form */
  .lp .paper-stage { gap: 16px; }
  .lp .pp-rec { padding: 14px 18px 4px; }
  .lp .pp-rh { font-size: 13px; letter-spacing: .02em; }
  .lp .pp-rec li { padding: 10px 0; }
  .lp .pp-rec li:before { left: -12px; }
  .lp .pp-rec li .l { font-size: 13px; }
  .lp .pp-rec li .v { font-size: 16px; }
  .lp .pp-rec li .s { font-size: 13px; }

  /* check: each item stacks as its label, the three values side by side, then its flag (rows from check.js) */
  .lp .check-stage { gap: 28px; }
  .lp .ck-docs { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; overflow: visible; background: #fff; border-radius: 16px; padding: 0 14px 6px; box-shadow: 0 0 0 1px var(--hair), 0 18px 40px -26px rgba(14,26,43,.3); }
  .lp .ck-lbcol, .lp .ck-doc { display: contents; }
  .lp .ck-flags { display: contents; }
  .lp .ck-lbcol .ck-dh, .lp .ck-dh span { display: none; }
  .lp .ck-dh { grid-row: 1; height: auto; margin: 0; padding: 14px 0 10px; border-bottom: 1px solid var(--line); }
  .lp .ck-dh b { font-size: 14px; }
  .lp .ck-doc:nth-child(2) > * { grid-column: 1; }
  .lp .ck-doc:nth-child(3) > * { grid-column: 2; }
  .lp .ck-doc:nth-child(4) > * { grid-column: 3; }
  .lp .ck-lb, .lp .ck-c, .lp .ck-fl { height: auto; min-height: 0; }
  .lp .ck-lb { grid-column: 1 / -1; grid-row: var(--lr); padding: 12px 0 4px; font-size: 13px; color: var(--muted); }
  .lp .ck-lbcol .ck-lb:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .lp .ck-lb.df { color: var(--warn); }
  .lp .ck-c { grid-row: var(--vr); flex-direction: column; align-items: flex-start; justify-content: flex-start; white-space: normal; overflow: visible; overflow-wrap: anywhere; font-size: 13px; line-height: 1.35; padding: 3px 5px; margin: 0 0 10px; border-bottom: 0; }
  .lp .ck-c.ok { color: var(--slate); }   /* matches stay quiet so the 3 differences and the 1 unknown stand out */
  .lp .ck-c.stamped .stamp { left: auto; right: 2px; top: 1px; margin-top: 0; width: 20px; height: 20px; box-shadow: inset 0 0 0 3px rgba(46,76,160,.12); }
  .lp .ck-c.stamped .rd { position: static; font-size: 12px; margin-top: 2px; }
  .lp .ck-fl { grid-column: 1 / -1; grid-row: var(--fr); margin: -2px 0 12px; transform: none; }
  .lp .ck-fl:not(.f) { display: none; }
  .lp .ck-fl .pill { font-size: 13px; padding: 4px 11px; }
  .lp .ck-count b { font-size: 44px; }
  .lp .ck-tally span { font-size: 13px; padding: 5px 11px; }
  .lp .ck-gap .k { font-size: 13px; }
  .lp .ck-gap .s, .lp .ck-gap .s2 { font-size: 14px; }
  .lp .ck-next { font-size: 15px; }

  /* how it works: the authority table, the flow, the build strip */
  .lp .auth-grid { margin-top: 36px; gap: 36px; }
  .lp .auth { font-size: 16px; line-height: 1.45; border-radius: 14px; }
  .lp .auth th { font-size: 12px; letter-spacing: .08em; padding: 14px 14px; vertical-align: bottom; }
  .lp .auth td { padding: 16px 14px; }
  .lp .auth-flow { max-width: 360px; }
  .lp .pitch-build { margin-top: 64px; padding-top: 56px; }
  .lp .pitch-h { font-size: 24px; line-height: 1.3; }
  .lp .build-strip { margin-top: 28px; gap: 6px; }
  .lp .bs-box { padding: 20px; }
  .lp .bs-tag { font-size: 13px; letter-spacing: .08em; text-wrap: balance; }
  .lp .chip { font-size: 15px; padding: 6px 12px; }
  .lp .bs-steps { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; align-items: center; gap: 10px 8px; }
  .lp .bs-steps span { text-align: center; font-size: 15px; padding: 8px 14px; }
  .lp .bs-arr { font-size: 20px; line-height: 1; }
  .lp .bs-room { padding: 20px; }
  .lp .aud { margin-top: 44px; }

  /* workflows: the tabs as an even three-up segmented control; the monitor is a poster that links to the demo */
  .lp .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-radius: 16px; margin-top: 32px; }
  .lp .tabs button { min-height: 52px; padding: 8px 6px; border-radius: 12px; font-size: 14px; line-height: 1.25; text-wrap: balance; }
  .lp .tab-line { font-size: 17px; margin: 20px 0 36px; min-height: 0; }
  .lp .tab-open { margin: -24px 0 24px; }
  .lp .mon-wrap { padding: 0 14px; }
  .lp .mon-pill { min-height: 40px; font-size: 14px; padding: 9px 15px; }
  .lp #workflows { padding-bottom: 36px; }   /* the monitor art ends at the stand; the band padding below it read as dead space */
  .lp .mon-wrap { margin-bottom: -12px; }

  /* for brokers */
  .lp .steps { margin-top: 40px; gap: 28px; }
  .lp .steps li { padding-top: 18px; }
  .lp .steps h3 { font-size: 24px; margin-top: 6px; }
  .lp .steps p { font-size: 17px; }
  .lp .fine { margin-top: 32px; }

  /* cta and footer */
  .lp .cta-mark { width: 52px; height: 52px; margin-bottom: 26px; }
  .lp .cta p { font-size: 18px; margin: 14px 0 0; }
  .lp .foot { padding: 40px 0 48px; font-size: 14px; }
  .lp .foot-in { gap: 18px; }
}
@media (max-width: 699px) and (hover: none) {
  .lp .cr-tab:hover { background: none; color: var(--muted); }
  .lp .cr-tab[aria-selected="true"]:hover { color: var(--navy); }
  .lp .btn:hover { transform: none; }
}
