/* Layout: one dark ground, wide 1180px rail, display type set huge and tight; mono labels carry structure; indigo is the only accent (the "dot"). */
:root {
  --ground: #171717;
  --panel: #211f1e;
  --raised: #2a2826;
  --line: rgba(234, 227, 221, .10);
  --line-2: rgba(234, 227, 221, .18);
  --taupe: #a8978c;
  --taupe-2: #887870;
  --cream: #eae3dd;
  --paper: #e9e3dd;
  --paper-ink: #1b1a19;
  --muted: #958a83;
  --dot: #8c95ff;
  --dot-deep: #5b6ce0;
  --dot-ink: #10121f;
  --app: #121418;
  --display: "Outfit", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--cream); font-family: var(--display); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--dot); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); font-weight: 500; text-transform: uppercase; }
.dot { color: var(--dot); }
.t-taupe { color: var(--taupe); }
.t-cream { color: var(--cream); }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }

/* Buttons: mono caps, 8px radius, arrow that kicks on a loop */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border: 0; border-radius: 8px; box-shadow: none; -webkit-appearance: none; appearance: none; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.btn svg { width: 14px; height: 14px; animation: kick 3.6s ease-in-out infinite; }
.btn-dot { background: var(--dot); color: var(--dot-ink); }
.btn-dot:hover { background: #a3aaff; }
.btn-dark { background: var(--raised); color: var(--cream); }
.btn-dark:hover { background: #34312f; }
.btn-paper { background: var(--paper); color: var(--paper-ink); }
.btn-paper:hover { background: #fff; }
@keyframes kick { 0%, 80%, 100% { transform: translateX(0); } 86% { transform: translateX(4px); } 92% { transform: translateX(0); } 96% { transform: translateX(2px); } }

/* Nav */
.nav { position: relative; z-index: 5; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.brand svg { width: 26px; height: 28px; color: var(--cream); }
.nav-links { display: flex; gap: 30px; font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; color: var(--cream); }
.nav-links a { opacity: .9; }
.nav-links a:hover { opacity: 1; color: var(--dot); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.signin { font-family: var(--mono); font-weight: 500; font-size: 13px; text-transform: uppercase; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 40px; padding-block: 64px 40px; }
.kicker { font-family: var(--mono); font-weight: 500; font-size: 14px; text-transform: uppercase; color: var(--taupe); margin: 0 0 22px; }
.hero h1 { font-size: clamp(64px, 10vw, 128px); line-height: .9; letter-spacing: -.045em; }
.hero h1 span { display: block; padding-bottom: .06em; }
.hero h1 .l1, .hero h1 .l2 { color: var(--taupe); }
.hero h1 .l3 { color: var(--cream); }
.lede { max-width: 30em; margin: 28px 0 0; font-size: 18px; color: var(--muted); }
.lede b { color: var(--cream); font-weight: 500; }
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.reveal .l1, .reveal .l2, .reveal .l3, .reveal .kicker, .reveal .lede, .reveal .cta-row { animation: wipe 1s cubic-bezier(.2, .7, .2, 1) both; }
.reveal .l2 { animation-delay: .12s; } .reveal .l3 { animation-delay: .24s; }
.reveal .lede { animation: rise .9s .4s ease-out both; } .reveal .cta-row { animation: rise .9s .5s ease-out both; }
@keyframes wipe { from { clip-path: inset(-10% 100% -25% 0); } to { clip-path: inset(-10% -10% -25% 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Hero stage: fixed 560x480 design, scaled to fit */
.stage-fit { position: relative; width: 100%; aspect-ratio: 560 / 480; }
.stage { position: absolute; left: 0; top: 0; width: 560px; height: 480px; transform-origin: 0 0; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s .5s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
.chip { position: absolute; left: 0; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; width: 200px; height: 30px; padding: 0 12px 0 0; border-radius: 4px; background: #d6d0ca; color: #2a2826; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.35); transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); clip-path: inset(0 0 0 0); transition: transform 1s cubic-bezier(.65, 0, .25, 1), clip-path .5s .55s, filter .8s, opacity .6s; animation: chipFloat 3.2s ease-in-out infinite alternate; animation-delay: var(--fd); }
.chip i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px 0 0 4px; background: #bfb8b1; font-style: normal; }
.chip i svg { width: 13px; height: 13px; }
@keyframes chipFloat { from { translate: 0 -5px; } to { translate: 0 5px; } }
.scene.center .chip, .scene.stack .chip { animation: none; translate: none; }
.scene.center .chip { transform: translate(var(--cx), var(--cy)) rotate(0deg); }
.scene.stack .chip { transform: translate(var(--tx), var(--ty)) rotate(0deg); filter: brightness(var(--b)); clip-path: inset(0 calc(var(--tx) + 108px) 0 0 round 4px 0 0 4px); }
.lr-pill { position: absolute; left: 92px; top: -62px; padding: 4px 10px; border-radius: 999px; background: var(--dot); color: var(--dot-ink); font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: .5s 1s; }
.composer { position: absolute; z-index: 2; left: 92px; top: -32px; width: 497px; opacity: 0; transform: translateX(18px); transition: opacity .6s .75s, transform .7s .75s cubic-bezier(.2, .7, .2, 1); }
.composer img, .composer canvas { width: 100%; height: auto; }
.composer canvas { position: absolute; inset: 0; }
.composer.live img { visibility: hidden; }
.scene.stack .composer, .scene.stack .lr-pill { opacity: 1; transform: none; }
.frame { position: absolute; border-radius: 10px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.frame img { width: 100%; height: auto; }
.scene .frame { transform: translateY(16px); opacity: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1) .1s, opacity .6s .1s; }
.scene.on .frame { transform: none; opacity: 1; }
.frame-bar { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; font-size: 12px; font-weight: 600; color: var(--paper-ink); border-bottom: 1px solid rgba(0,0,0,.08); }
.frame-bar svg { width: 14px; height: 15px; color: var(--paper-ink); }
.frame-bar .mono { margin-left: auto; font-size: 10px; color: #7a716b; }
.badge { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-2); font-size: 13px; box-shadow: 0 14px 30px rgba(0,0,0,.4); opacity: 0; transform: translateY(10px); transition: .6s .7s; }
.badge svg { width: 16px; height: 16px; color: var(--dot); }
.scene.on .badge { opacity: 1; transform: none; }
.frame-app { background: var(--app); border: 1px solid var(--line); }
/* Layered scenes: a faded real screen behind, one bright piece in front (Salesloft-style) */
.layered .base { position: absolute; left: 0; top: 0; width: 600px; border-radius: 10px; overflow: hidden; opacity: 0; transform: scale(1.03); -webkit-mask-image: linear-gradient(120deg, #000 25%, rgba(0,0,0,.35) 55%, transparent 82%); mask-image: linear-gradient(120deg, #000 25%, rgba(0,0,0,.35) 55%, transparent 82%); transition: opacity .8s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.layered .base img { display: block; width: 100%; height: auto; }
.layered.on .base { opacity: .55; transform: none; }
.hop { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--dot); color: var(--dot-ink); font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .02em; opacity: 0; transform: translateX(-8px); transition: opacity .4s .9s, transform .5s .9s; }
.hop svg { width: 13px; height: 13px; }
.hop::after { content: ""; position: absolute; left: 100%; top: 50%; width: 28px; height: 1.5px; background: var(--dot); transform-origin: 0 50%; transform: scaleX(0); transition: transform .4s 1.25s; }
.layered.on .hop { opacity: 1; transform: none; }
.layered.on .hop::after { transform: scaleX(1); }
.layered .fg { position: absolute; z-index: 2; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55); opacity: 0; transform: translateY(18px); transition: opacity .6s 1.3s, transform .8s 1.3s cubic-bezier(.2, .7, .2, 1); }
.layered.on .fg { opacity: 1; transform: none; }
.fg img { display: block; width: 100%; height: auto; }
/* rows reveal one by one, top to bottom */
.layered .fg.rows { -webkit-mask-image: linear-gradient(#000 0 40%, transparent 60%); mask-image: linear-gradient(#000 0 40%, transparent 60%); -webkit-mask-size: 100% 250%; mask-size: 100% 250%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.layered.on .fg.rows { animation: rowsIn 2.2s cubic-bezier(.45, 0, .2, 1) 1.2s forwards; }
@keyframes rowsIn { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
/* Pulse chart card */
.card-paper { background: #f4f1ec; color: var(--paper-ink); padding: 16px 18px 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.card-head .mono { font-size: 11px; color: #6f6760; }
.card-head .up { font-size: 13px; font-weight: 700; color: #1f8f4e; padding: 2px 9px; border-radius: 999px; background: rgba(31,143,78,.12); opacity: 0; transform: scale(.8); transition: .4s 3s; }
.layered.on .card-head .up { opacity: 1; transform: none; }
.card-paper svg { display: block; width: 100%; height: auto; overflow: visible; }
.card-paper .grid line { stroke: rgba(0,0,0,.08); }
.card-paper .ax text, .card-paper svg > text { font: 500 10px var(--mono); fill: #8a827b; text-anchor: middle; }
.card-paper .ax text { text-anchor: end; }
.bar { fill: #a9aef7; transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .7s cubic-bezier(.3, .8, .3, 1); transition-delay: calc(1.8s + var(--d)); }
.bar.last { fill: #5b6ce0; }
.layered.on .bar { transform: none; }
.avg { stroke: #2a2826; stroke-width: 1; stroke-dasharray: 4 4; opacity: 0; transition: opacity .5s 2.7s; }
.avg-t { font: 500 10px var(--mono); fill: #2a2826; opacity: 0; transition: opacity .5s 2.8s; }
.layered.on .avg, .layered.on .avg-t { opacity: .7; }
.card-foot { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.08); font-size: 12.5px; color: #4a443f; opacity: 0; transition: opacity .5s 3.4s; }
.card-foot b { color: var(--paper-ink); }
.card-foot svg { flex: none; width: 15px; height: 15px; color: #5b6ce0; }
.layered.on .card-foot { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .layered .base, .layered .fg, .hop, .hop::after, .bar, .avg, .avg-t, .card-foot, .card-head .up { transition: none; } .layered.on .fg.rows { animation: none; -webkit-mask-image: none; mask-image: none; } }

.tabs { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; padding-block: 8px 72px; }
.tab { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: none; color: var(--taupe-2); font: 600 17px/1.2 var(--display); letter-spacing: -.01em; cursor: pointer; transition: color .3s; }
.tab::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); transform: scale(0); transition: transform .3s; }
.tab[aria-selected="true"] { color: var(--cream); }
.tab[aria-selected="true"]::before { transform: scale(1); }
.tab:hover { color: var(--cream); }

/* Section heads */
section { position: relative; }
.big { font-size: clamp(44px, 7.4vw, 96px); line-height: .96; letter-spacing: -.04em; }
.big > span { display: block; }

/* Story numbers */
.story { padding-block: 72px 0; }
.stat-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { position: relative; padding: 14px 18px 18px; border: 0; border-left: 1px solid var(--line); background: none; text-align: left; color: var(--cream); cursor: pointer; font: inherit; }
.stat:last-child { border-right: 1px solid var(--line); }
.stat::after { content: ""; position: absolute; left: -1px; top: -1px; height: 2px; width: 0; background: var(--dot); }
.stat[aria-selected="true"]::after { animation: fill var(--dur, 6s) linear forwards; }
.stat small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--muted); }
.stat b { display: block; margin-top: 10px; font-size: 30px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--taupe); }
.stat[aria-selected="false"] b { color: var(--taupe-2); }
@keyframes fill { to { width: calc(100% + 1px); } }
.band { position: relative; margin-top: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--app); overflow: hidden; }
.band-inner { position: relative; max-width: 1440px; margin: 0 auto; }
.band-shot { position: relative; margin-left: auto; width: min(1120px, 86%); }
.band-shot img { width: 100%; }
.hl { position: absolute; border: 2px solid var(--dot); border-radius: 12px; box-shadow: 0 0 0 9999px rgba(10, 11, 14, .5), 0 0 30px rgba(140, 149, 255, .45); transition: all .7s cubic-bezier(.6, 0, .2, 1); pointer-events: none; }
.quote { position: absolute; left: 0; bottom: 0; width: min(380px, 40%); padding: 34px 32px 30px; background: var(--dot); color: var(--dot-ink); border-radius: 0 10px 0 0; }
.quote b { display: block; font-size: 40px; line-height: 1; letter-spacing: -.03em; }
.quote small { display: block; margin-top: 6px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; }
.quote p { margin: 18px 0 26px; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; min-height: 4.05em; }
.quote a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.quote a svg { width: 16px; height: 16px; }
.mark-tile { position: absolute; left: min(380px, 40%); bottom: calc(100% - 92px); width: 92px; height: 92px; margin-left: 0; display: none; }

/* Signal section */
.sig { padding-block: 120px 40px; overflow: hidden; }
.sig-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sig-head .big { font-size: clamp(40px, 5.4vw, 66px); }
.sig-head p { margin: 10px 0 0; font-size: 17px; color: var(--muted); max-width: 30em; }
.sig-head p b { color: var(--cream); font-weight: 500; }
.sig-cols { display: grid; grid-template-columns: 1.12fr 1fr 1.12fr; margin-top: 88px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; color: var(--taupe); }
.sig-cols span:nth-child(2) { text-align: center; }
.sig-cols span:nth-child(3) { text-align: right; }
.wrap-wide { max-width: 1460px; }
.sig-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr) minmax(0, 1.12fr); gap: 0; align-items: center; margin-top: 44px; }
.sig-grid > svg.rails { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.panel { position: relative; z-index: 1; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px 0; }
.av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--raised); color: var(--dot); flex: none; }
.av svg { width: 17px; height: 17px; }
.panel-head h3 { font-size: 17px; letter-spacing: -.01em; }
.panel-head small { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.crop { margin: 14px; border-radius: 9px; overflow: hidden; background: var(--app); border: 1px solid rgba(255,255,255,.04); }
.crop img { width: 100%; height: auto; }
.crop-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 14px 14px; align-items: start; }
.crop-pair .crop { margin: 0; }
.right-stack { display: grid; gap: 14px; }
.engine { position: relative; aspect-ratio: 1 / 1; margin: 0 92px 0 84px; }
.engine canvas { position: absolute; inset: -34%; width: 168%; height: 168%; max-width: none; }
.orbit { position: absolute; inset: -4%; border-radius: 50%; animation: spin 18s linear infinite; }
.orbit::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid transparent; border-right-color: rgba(140, 149, 255, .55); border-top-color: rgba(140, 149, 255, .12); filter: drop-shadow(0 0 6px rgba(140,149,255,.5)); }
@keyframes spin { to { transform: rotate(360deg); } }
.tiles { position: absolute; inset: 4%; display: grid; grid-template-columns: 1fr 1fr; gap: 22%; }
.tile { position: relative; padding: 12px 13px; border-radius: 9px; background: rgba(26, 25, 24, .88); border: 1px solid var(--line-2); transition: border-color .4s, box-shadow .4s; }
.tile small { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--muted); transition: color .4s; }
.tile b { display: block; margin-top: 7px; font-size: 15px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.tile.on { border-color: var(--dot); box-shadow: 0 0 24px rgba(140, 149, 255, .25); }
.tile.on small { color: var(--dot); }
.engine-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 6px 13px; border-radius: 999px; background: var(--dot); color: var(--dot-ink); font-family: var(--mono); font-weight: 500; font-size: 12.5px; text-transform: uppercase; white-space: nowrap; box-shadow: 0 0 34px rgba(140,149,255,.55); z-index: 2; }
.sig-foot { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; margin-top: 30px; }
.sig-foot p { grid-column: 2; margin: 0; text-align: center; font-size: 14px; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--cream); }
.link-arrow i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--raised); color: var(--dot); }
.link-arrow i svg { width: 12px; height: 12px; }
.sig-foot .link-arrow { grid-column: 3; justify-self: end; }

/* Counter row */
.counter { margin-top: 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter .wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.counter .n { padding-block: 64px; padding-right: 32px; border-right: 1px solid var(--line); font-size: clamp(56px, 7vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.counter .n sup { font-size: .34em; vertical-align: 1.5em; margin-left: 6px; letter-spacing: -.01em; color: var(--taupe); }
.counter h3 { align-self: center; padding: 40px 0 40px 52px; font-size: clamp(26px, 3.3vw, 40px); line-height: 1.1; letter-spacing: -.025em; color: var(--taupe); }
.counter h3 em { font-style: normal; color: var(--cream); }

/* Roles */
.roles { padding-block: 110px 0; }
.roles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.role { padding: 22px 22px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.role header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.role h3 { font-size: 19px; letter-spacing: -.01em; }
.role ul { list-style: none; margin: 0; padding: 0; }
.role li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.35; }
.role li .mono { font-size: 11px; padding-top: 2px; color: var(--dot); }
.role li .mono.alt { color: var(--taupe); }
.beta { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line-2); font-family: var(--mono); font-weight: 500; font-size: 10px; text-transform: uppercase; color: var(--taupe); vertical-align: 2px; }

/* CTA */
.cta { padding-block: 110px 0; }
.cta-card { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 84px) clamp(24px, 6vw, 72px); border-radius: 12px; background: var(--paper); color: var(--paper-ink); }
.cta-card .kicker { color: #6f6560; }
.cta-card .big .a { color: #8a7a71; }
.cta-card .big .b { color: var(--paper-ink); }
.cta-card .dot { color: var(--dot-deep); }

.cta-card .btn-dot { background: var(--dot-deep); color: #fff; }
.cta-card .btn-dot:hover { background: #4a5ad3; }
.cta-card .btn-ghost { background: transparent; color: var(--paper-ink); border: 1px solid rgba(0,0,0,.15); }
.cta-card canvas { max-width: none; position: absolute; left: 30%; bottom: -170px; width: 420px; height: 420px; opacity: .55; pointer-events: none; }

.cta-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.cta-copy, .demo-form { position: relative; }
.cta-note { margin: 22px 0 0; max-width: 26em; font-size: 17px; color: #5f5752; }
.demo-form { display: grid; gap: 12px; padding: 22px; border-radius: 12px; background: #f5f1ed; border: 1px solid rgba(0,0,0,.08); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-form label { display: grid; gap: 5px; min-width: 0; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: #6f6560; }
.demo-form input, .demo-form select { width: 100%; height: 40px; padding: 0 11px; border-radius: 7px; border: 1px solid rgba(0,0,0,.16); background: #fff; color: var(--paper-ink); font: 15px var(--display); text-transform: none; color-scheme: light; }
.demo-form input:focus, .demo-form select:focus { outline: 2px solid var(--dot-deep); outline-offset: 0; border-color: transparent; }
.demo-form input[aria-invalid="true"] { border-color: #c2412d; }
.demo-form .btn { justify-content: center; margin-top: 4px; }
.form-msg { margin: 0; min-height: 1.2em; font-size: 13px; color: #5f5752; }
/* Footer */
footer { padding-block: 96px 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; font-family: var(--mono); font-weight: 500; font-size: 11px; text-transform: uppercase; color: var(--taupe); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--cream); }
.foot-grid ul a:hover { color: var(--dot); }
.foot-cta { display: grid; gap: 10px; justify-items: start; }
.foot-cta p { margin: 0 0 6px; font-size: 14px; color: var(--muted); max-width: 22em; }
.wordmark { display: flex; align-items: flex-end; gap: clamp(10px, 2vw, 24px); margin-top: 90px; line-height: .78; }
.wordmark svg { width: clamp(40px, 10vw, 140px); height: auto; flex: none; color: var(--taupe); margin-bottom: .6%; }
.wordmark b { font-size: clamp(40px, 14.2vw, 196px); letter-spacing: -.05em; color: var(--taupe); font-weight: 700; white-space: nowrap; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 0; padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.legal nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Responsive */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 36px 24px; }
  .stage-fit { max-width: 560px; margin: 0 auto; }
  .sig-head { grid-template-columns: 1fr; gap: 20px; }
  .sig-cols { display: none; }
  .sig-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; }
  .sig-grid > svg.rails { display: none; }
  .engine { width: min(100%, 440px); margin: 10px auto; }
  .sig-foot { grid-template-columns: 1fr; gap: 18px; }
  .sig-foot p, .sig-foot .link-arrow { grid-column: 1; justify-self: center; }
  .roles-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-cta { grid-column: 1 / -1; }
  .band-shot { width: 100%; }
  .quote { position: relative; width: 100%; border-radius: 0; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card canvas { opacity: .3; left: auto; right: -120px; top: -120px; bottom: auto; }
}
@media (max-width: 640px) {
  .signin { display: none; }
  .nav .btn { height: 38px; padding: 0 13px; font-size: 14px; }
  .lede { font-size: 16px; }
  .tabs { justify-content: flex-start; gap: 4px 18px; padding-bottom: 48px; }
  .tab { font-size: 15px; }
  .stat-tabs { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2) { border-right: 1px solid var(--line); }
  .counter .wrap { grid-template-columns: 1fr; }
  .counter .n { border-right: 0; padding-block: 40px 0; }
  .counter h3 { padding: 16px 0 40px; }
  .role li { grid-template-columns: 84px minmax(0, 1fr); font-size: 14px; }
  .quote p { min-height: 0; }
  .stage-fit { aspect-ratio: 560 / 760; }
  .stage { height: 760px; }
  .scene.stack .chip { opacity: 0; transform: translate(var(--cx), var(--cy)) translateX(-40px); filter: none; clip-path: inset(0 0 0 0); }
  .scene:not([data-scene="0"]) { top: 120px; bottom: auto; height: 480px; }
  .composer { left: 50px; top: 40px; width: 460px; }
  .lr-pill { left: 50px; top: 4px; }
  .f2 { grid-template-columns: 1fr; }
  .demo-form { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Signal section: raw moments on the left */
.moments { list-style: none; margin: 14px; padding: 0; border-radius: 9px; background: var(--app); border: 1px solid rgba(255,255,255,.04); }
.moments li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 15px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.moments li:first-child { border-top: 0; }
.moments i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--taupe); }
.moments i svg { width: 15px; height: 15px; }
.moments b { display: block; font-weight: 500; font-size: 15px; color: #e6e3e0; line-height: 1.25; }
.moments small { display: block; font-size: 12.5px; color: #8b8e96; margin-top: 2px; }
.moments .mono { font-size: 10.5px; color: #8b8e96; padding: 3px 7px; border: 1px dashed rgba(255,255,255,.18); border-radius: 5px; white-space: nowrap; }
.moments-foot { margin: 0 18px 16px; font-size: 13px; color: var(--muted); font-style: italic; }

/* Scene 3: supervisor engagement built as live rows, so it can move smoothly */
.fg.eng { background: #16181d; border: 1px solid rgba(255,255,255,.07); padding: 12px 14px 10px; color: #e6e3e0; }
.eng-h { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 2px 10px; }
.eng-h b { font-size: 13px; font-weight: 600; }
.eng-h span { font-size: 10.5px; color: #8b8e96; }
.fg.eng ul { list-style: none; margin: 0; padding: 0; }
.fg.eng li { display: grid; grid-template-columns: 26px minmax(0, 1fr) 58px 74px; align-items: center; gap: 10px; padding: 6px 4px; opacity: 0; transform: translateY(8px); }
.fg.eng li.grp { display: flex; justify-content: space-between; margin-top: 4px; padding: 5px 8px; border-radius: 5px; background: rgba(255,255,255,.04); font-size: 10px; font-weight: 600; color: #a9acb3; }
.fg.eng li.grp:first-child { margin-top: 0; }
.fg.eng li.grp span { font-weight: 500; color: #8b8e96; }
.fg.eng i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.06); font: 600 9px/1 var(--display); font-style: normal; color: #a9acb3; }
.fg.eng b { font-size: 12.5px; font-weight: 500; line-height: 1.2; }
.fg.eng small { display: block; font-size: 10px; font-weight: 400; color: #8b8e96; }
.fg.eng .cov { height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.fg.eng .cov em { display: block; width: var(--w, 100%); height: 100%; border-radius: 4px; background: #22c55e; transform: scaleX(0); transform-origin: 0 50%; }
.fg.eng .ok { font-size: 10.5px; font-weight: 500; color: #22c55e; opacity: 0; }
.fg.eng .cov.amb em { background: #f59e0b; } .fg.eng .cov.red em { background: #ef4444; }
.fg.eng .ok.amb { color: #f59e0b; } .fg.eng .ok.red { color: #ef4444; }
.layered.on .fg.eng li { animation: engRow .55s cubic-bezier(.2, .7, .2, 1) var(--d) both; }
.layered.on .fg.eng .cov em { animation: engBar .9s cubic-bezier(.3, .6, .2, 1) calc(var(--d) + .25s) both; }
.layered.on .fg.eng .ok { animation: engFade .4s ease-out calc(var(--d) + .95s) both; }
@keyframes engRow { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes engBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes engFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fg.eng li, .fg.eng .ok { opacity: 1; transform: none; } .fg.eng .cov em { transform: none; } }

/* Home section 1: record to check-in (the only place the rails + dot-field engine appear) */
.rc-head { margin-top: 120px; }
.sig-grid.rc-grid { grid-template-columns: minmax(0, 1fr) 432px minmax(0, 1.12fr); }
.rc-grid .engine { width: 256px; margin: 0 auto; }
.rc-recs { list-style: none; margin: 14px; padding: 0; border-radius: 9px; background: var(--app); border: 1px solid rgba(255,255,255,.04); }
.rc-recs li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 14px; padding: 15px 14px; border-top: 1px solid rgba(255,255,255,.06); }
.rc-recs li:first-child { border-top: 0; }
.rc-recs i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--taupe); }
.rc-recs i svg { width: 15px; height: 15px; }
.rc-recs b { display: block; font-weight: 500; font-size: 14px; color: #e6e3e0; line-height: 1.3; }
.rc-recs small { display: block; font-size: 12px; color: #8b8e96; margin-top: 3px; }
.rc-tag, .bf-chip.tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 500; color: #c8c9ff; background: rgba(140,149,255,.14); border: 1px solid rgba(140,149,255,.35); white-space: nowrap; }
.rc-tag::before, .bf-chip.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.rc-who { display: flex; align-items: center; gap: 16px; margin: 14px 14px 0; padding: 14px 16px; border-radius: 9px; background: var(--app); }
.rc-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.rc-who b { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.rc-who small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rc-who .mono { margin-left: auto; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.rc-areas { display: flex; flex-direction: column; gap: 9px; margin: 12px 14px 14px; }
.rc-area { padding: 12px 16px; border-radius: 11px; background: var(--app); border: 1px solid rgba(255,255,255,.06); }
.rc-area header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rc-area h4 { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.rc-chip { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; white-space: nowrap; }
.rc-chip svg { width: 11px; height: 11px; }
.rc-chip.g { background: rgba(16,185,129,.15); color: #34d399; }
.rc-chip.n { background: #26262c; color: var(--muted); }
.rc-chip.a { background: rgba(245,158,11,.15); color: #fbbf24; }
.rc-area > p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 2px 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.rc-area > p > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-area > p i { width: 6px; height: 6px; border-radius: 50%; flex: none; background: #10b981; }
.rc-area > p i.coach { background: #3b82f6; }
.rc-area em { font-style: normal; color: var(--cream); }
.rc-area .sm { color: #85858e; }
.rc-area > p.rc-exp { display: -webkit-box; margin-top: -3px; font-size: 12px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-acts { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.rc-acts span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.rc-acts svg { width: 12px; height: 12px; }
.rc-acts .ok { border-color: rgba(52,211,153,.25); background: rgba(52,211,153,.09); color: #6ee7b7; }
.rc-acts .cn { border-color: rgba(248,113,113,.25); background: rgba(248,113,113,.09); color: #fca5a5; }
.rc-foot, .bf-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.rc-foot p, .bf-foot p { margin: 0; max-width: 640px; font-size: 15px; color: var(--muted); }
.rc-foot p b, .bf-foot p b { color: var(--cream); font-weight: 500; }
.rc-foot .mono, .bf-foot .mono { font-size: 11.5px; color: var(--taupe); }
.rc-foot .mono b, .bf-foot .mono b { color: var(--dot); font-weight: 500; }

/* Home section 2: bring your own forms (a quiet hand-off, no engine) */
.sig.bf { padding-top: 140px; }
.sig-cols.two { display: flex; justify-content: space-between; gap: 16px; }
.bf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1.2fr); align-items: center; margin-top: 44px; }
.bf-handoff { display: flex; align-items: center; }
.bf-handoff span { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(234,227,221,.05), rgba(234,227,221,.28)); }
.bf-handoff span:last-child { background: linear-gradient(90deg, rgba(140,149,255,.5), rgba(140,149,255,.08)); }
.bf-handoff b { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 11px; color: var(--dot); border: 1px solid rgba(140,149,255,.38); background: rgba(140,149,255,.13); white-space: nowrap; }
.bf-handoff svg { width: 12px; height: 12px; }
.bf-bld { margin: 14px; padding: 14px; min-height: 452px; border-radius: 9px; background: var(--app); }
.bf-name { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 16px; font-weight: 600; }
.bf-name .caret { width: 1.5px; height: 18px; margin-left: -8px; background: var(--dot); animation: bfBlink 1s steps(1) infinite; }
@keyframes bfBlink { 50% { opacity: 0; } }
.bf-name .custom { margin-left: auto; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 500; color: var(--dot); background: rgba(140,149,255,.13); border: 1px solid rgba(140,149,255,.38); opacity: 0; transition: opacity .3s; }
.bf-meta { display: flex; flex-wrap: wrap; gap: 7px; min-height: 28px; margin-top: 9px; }
.bf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 12px; color: var(--cream); white-space: nowrap; }
.bf-chip svg { width: 12px; height: 12px; color: var(--muted); }
.bf-chip.tag { margin-top: 0; padding: 5px 9px; }
.bf-fields { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.bf-fld { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: rgba(234,227,221,.025); }
.bf-fld > div { display: flex; align-items: center; gap: 8px; }
.bf-fld .ft { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 2px 8px; border-radius: 999px; font-size: 11px; color: var(--muted); background: rgba(234,227,221,.06); white-space: nowrap; }
.bf-fld .ft svg { width: 11px; height: 11px; }
.bf-fld b { font-size: 13.5px; font-weight: 500; }
.bf-fld .req { margin-left: auto; font-size: 9.5px; color: #6f6862; }
.bf-fld .opts { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; }
.bf-fld .opts i { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-style: normal; font-size: 11.5px; color: #cfc6bf; }
.bf-fld .opts i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.2px solid var(--muted); }
.bf-saved { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 12.5px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.bf-saved .ok { display: inline-flex; align-items: center; gap: 6px; color: #4ade80; }
.bf-saved .ok svg { width: 13px; height: 13px; }
.bf-saved .mono { font-size: 10.5px; color: var(--dot); }
.bf-bld .in { animation: bfPop .38s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes bfPop { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.bf-shots-h { margin-top: 88px; }
.bf-shots { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 22px; }
.bf-stack { display: flex; flex-direction: column; gap: 18px; }
.bf-shot { margin: 0; padding: 10px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.bf-shot .crop { margin: 0; border-radius: 8px; }
.bf-shot figcaption { padding: 12px 6px 4px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.bf-shot figcaption b { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 600; color: var(--cream); }
.bf-shot figcaption .mono { margin-right: 8px; font-size: 11px; color: var(--dot); }

@media (max-width: 1020px) {
  .rc-head { margin-top: 80px; }
  .sig-grid.rc-grid { grid-template-columns: 1fr; gap: 12px; }
  .rc-grid .engine { margin: 90px auto; }
  .sig.bf { padding-top: 90px; }
  .sig-cols.two { display: none; }
  .bf-grid { grid-template-columns: 1fr; gap: 28px; }
  .bf-handoff { flex-direction: column; height: 72px; }
  .bf-handoff span { flex: 1; width: 1px; height: auto; background: linear-gradient(180deg, rgba(234,227,221,.05), rgba(234,227,221,.28)); }
  .bf-handoff span:last-child { background: linear-gradient(180deg, rgba(140,149,255,.5), rgba(140,149,255,.08)); }
  .bf-shots { grid-template-columns: 1fr; }
  .bf-bld { min-height: 0; }
}
@media (max-width: 640px) {
  .rc-who .mono { display: none; }
  .rc-foot, .bf-foot { margin-top: 28px; }
}

/* Bring your forms: its own page (forms.html) */
.sig.bf.bf-page { padding-top: 96px; }
.bf-cta { padding-block: 40px 120px; }
.bf-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid var(--line); }
.bf-cta p { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; color: var(--cream); }
@media (max-width: 1020px) { .sig.bf.bf-page { padding-top: 56px; } .bf-cta { padding-block: 24px 80px; } }

/* Cookie notice (consent.js) + footer legal links */
.cookie { position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 16px; max-width: 520px; padding: 14px 14px 14px 18px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.45); font-size: 13.5px; line-height: 1.45; color: var(--muted); animation: cookieIn .22s ease-out both; transition: opacity .2s, transform .2s; }
.cookie p { margin: 0; }
.cookie a { color: var(--cream); text-decoration: underline; text-underline-offset: 2px; }
.cookie .btn { flex: none; height: 38px; padding: 0 16px; font-size: 14px; border: 0; box-shadow: none; cursor: pointer; }
.cookie.out { opacity: 0; transform: translateY(8px); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .cookie { left: 16px; max-width: none; } }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a:hover { color: var(--cream); }
.legal { justify-content: flex-start; gap: 12px 28px; }
/* Hero scene 3: coverage tiers (green full, amber partial, red low) */
.fg.eng li.mid .cov em { background: #f59e0b; }
.fg.eng li.mid .ok { color: #fbbf24; }
.fg.eng li.low .cov em { background: #ef4444; }
.fg.eng li.low .ok { color: #f87171; }

/* Record-to-check-in, simplified (2026-11-23): one-line area rows, no record subtitles */
.rc-areas.rc-list { gap: 0; padding: 4px 0; border-radius: 9px; background: var(--app); border: 1px solid rgba(255,255,255,.06); }
.rc-list .rc-area { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px; border: 0; border-top: 1px solid rgba(255,255,255,.06); border-radius: 0; background: none; }
.rc-list .rc-area:first-child { border-top: 0; }
.rc-list .rc-area h4 { font-size: 14.5px; font-weight: 500; color: #e6e3e0; }
.rc-recs li > div > b + .rc-tag { margin-top: 10px; }
