/* Meebo marketing site. Brand tokens come from the Junction 2026 final pitch and the dashboard. */
@font-face { font-family: "Lexend"; src: url("../fonts/lexend-100_900-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* The box screen's own 5x7 font, and the pitch deck's display face. One pixel of it is 1/8 em, so it is only ever
   set at whole multiples of 8 px, in its one weight, with font smoothing off. ASCII only, no x-height tricks. */
@font-face { font-family: "Meebo Box"; src: url("../fonts/meebo-box.woff2") format("woff2"); font-display: block; }

:root {
  --ground: #eeedf2;          /* the hero photo's own backdrop (renders/photos.py evens the photo out to exactly this) */
  --paper: #ffffff;
  --ink: #1b2430;
  --ink-deep: #11171f;
  --red: #ce3138;
  --red-bright: #e5484d;
  --red-deep: #b0252c;
  --pink: #fcebec;
  --pink-line: #f4d3d5;
  --line: rgb(27 36 48 / .1);
  --slate: #5a6373;
  --tone: #d26b72;            /* the quiet half of a two-tone headline on light */
  --mute: #858d9b;            /* the quiet half in the hero: ink, turned down */
  --on-dark: #fafafc;
  --on-dark-quiet: rgb(250 250 252 / .56);
  --line-dark: rgb(250 250 252 / .2);
  --ok: #22c55e; --warn: #f59e0b; --bad: #ef4444;   /* the colours the box screen uses */
  --ok-ink: #0f7a4f; --warn-ink: #9a5b00; --bad-ink: #b4233c;   /* the same three, dark enough to read on white */

  --f: "Lexend", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --px: "Meebo Box", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: clamp(16px, 2.4vw, 32px);
  /* Display sizes for the sans, in tens: a pixel word set inside at .8em lands on 48, 40, 32 or 24 px. */
  --t1: 60px; --t2: 40px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --r-s: 10px; --r-m: 16px; --r-l: 22px; --r-xl: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 350 17px/1.5 var(--f); letter-spacing: -.011em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .foot :focus-visible { outline-color: #ff9da1; }
::selection { background: var(--red); color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-s); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 2 * var(--gut), 1240px); margin-inline: auto; }

/* Pixel labels, as on the pitch slides. */
.label { font: 400 16px/1 var(--px); letter-spacing: 0; text-transform: uppercase; -webkit-font-smoothing: none; font-smooth: never; }
.px, .pxw, .pxd { font-family: var(--px); font-weight: 400; font-synthesis: none; letter-spacing: 0; -webkit-font-smoothing: none; font-smooth: never; }
.px { font-size: 16px; line-height: 1; }
/* A pixel word inside a sans headline: the box's own voice. At .8em its capitals and x-height match Lexend's. */
.pxw { font-size: .8em; line-height: 1; white-space: nowrap; word-spacing: -.25em; }
/* Every glyph sits at the left of a 6 pixel cell. In display sizes the narrow ones give some of it back. */
.k { margin-right: -.25em; }          /* i, l, 1 and the comma: two pixels */
.k1 { margin-right: -.125em; }        /* f: one */
.total .label { line-height: 1.25; }
.fine { font-size: 13px; line-height: 1.4; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px 0 8px; border-radius: 8px; background: var(--ground); color: var(--ink); }
.tag::before { content: ""; width: 14px; height: 14px; background: url("../brand/meebo-bubble-icon.svg") center / contain no-repeat; }

.h2 { font-size: var(--t1); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.tone { color: var(--tone); }
.tone .pxw { color: var(--red); }
.h2 .tone { display: block; }
.dark .tone { color: var(--on-dark-quiet); }
.dark .tone .pxw { color: var(--on-dark); }
.dark .panel .tone { color: rgb(255 255 255 / .76); }
.head { display: grid; justify-items: center; gap: 20px; text-align: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--r-s); font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; transition: background-color .25s var(--ease), box-shadow .25s var(--ease), transform .15s var(--ease), color .25s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-red { background: var(--red); color: #fff; }
.btn-paper { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
@media (hover: hover) {
  .btn-red:hover { background: var(--red-deep); }
  .btn-paper:hover { box-shadow: inset 0 0 0 1px var(--red); color: var(--red-deep); }
}
.play { width: 0; height: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; }

/* ---------- top bar ---------- */
.top { position: fixed; z-index: 50; top: 16px; left: var(--gut); right: var(--gut); display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; transition: transform .5s var(--ease); }
.top > * { pointer-events: auto; }
.top.is-away { transform: translateY(-240%); }
.pill { position: relative; display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); padding: 6px 6px 6px 10px; border-radius: 12px; background: rgb(255 255 255 / .9); box-shadow: inset 0 0 0 1px var(--line), 0 6px 24px rgb(27 36 48 / .06); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 8px; min-height: 34px; }
.brand img { width: 26px; height: 26px; }
.brand span { font: 400 24px/1 var(--px); color: var(--ink); -webkit-font-smoothing: none; transform: translateY(-1px); }
.menu-btn { display: grid; place-content: center; gap: 5px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: var(--red); transition: background-color .25s var(--ease); }
.menu-btn i { display: block; width: 14px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
@media (hover: hover) { .menu-btn:hover { background: var(--red-deep); } }
.menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px; padding: 8px; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), 0 18px 48px rgb(27 36 48 / .14); transform-origin: 20px 0; animation: menu-in .28s var(--ease); }
.menu[hidden] { display: none; }
.menu a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; font-size: 16px; font-weight: 400; }
.menu a .label { color: var(--slate); }
@media (hover: hover) { .menu a:hover { background: var(--pink); color: var(--red-deep); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.top-cta { display: flex; gap: 8px; }
.top-cta .btn { box-shadow: 0 6px 24px rgb(27 36 48 / .1); }
.top-cta .btn-paper { box-shadow: inset 0 0 0 1px var(--line), 0 6px 24px rgb(27 36 48 / .1); }
/* The hero has the same two buttons, so these wait until it has scrolled away. */
.js .top-cta { opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.js .top.is-past .top-cta { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */
/* Copy on the left, the photo of the hand on the right, standing on the bottom edge. Nothing else.
   The photo's backdrop is the page's ground colour, so it has no edge. */
.hero { position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; width: min(100% - 2 * var(--gut), 1240px); min-height: max(100svh, 640px); margin-inline: auto; }
.hero-copy { position: relative; z-index: 1; display: grid; justify-items: start; padding: 96px 0 7svh; }
.kicker { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 8px; border-radius: 9px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 400; color: var(--ink); }
.kicker img { width: 16px; height: 16px; }
.hero h1 { margin-top: 26px; font-weight: 400; }
.hero h1 .ln { display: block; }
.pxd { display: block; font-size: 72px; line-height: 1; white-space: nowrap; word-spacing: -.25em; }
.mute { color: var(--mute); }
.hero h1 .mute { display: block; margin-top: 12px; font-size: 40px; line-height: 1.1; letter-spacing: -.045em; }
.hero-sub { margin-top: 22px; font-size: 18px; line-height: 1.45; color: var(--slate); text-wrap: balance; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-photo { align-self: end; display: block; width: min((100svh - 72px) * .75, 46vw, 735px); margin-bottom: -16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hero-photo img { width: 100%; }

/* The live 3D box (parts stage): the still is the fallback, the canvas takes its place. */
.gl-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .7s var(--ease); touch-action: pan-y; cursor: grab; }
.gl-canvas.is-live { opacity: 1; }
.gl-canvas.is-held { cursor: grabbing; }

/* Rows of the dashboard views. */
.talk-row { display: grid; grid-template-columns: 50px 1fr 34px; align-items: center; gap: 10px; font-size: 13px; }
.talk-row + .talk-row { margin-top: 7px; }
.talk-row b { font-weight: 400; }
.talk-row span { text-align: right; color: var(--slate); font-variant-numeric: tabular-nums; }
.track { height: 8px; border-radius: 99px; background: var(--pink); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: inherit; background: var(--red-bright); }

/* ---------- dark stretch ---------- */
.dark { background: var(--ink); color: var(--on-dark); }

/* What it is: the sentence, and the box on a real table. */
.intro { padding: clamp(80px, 9vw, 140px) 0 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.intro-text { display: grid; justify-items: start; gap: clamp(20px, 2.4vw, 32px); }
.lead { font-size: var(--t2); font-weight: 400; line-height: 1.12; letter-spacing: -.04em; text-wrap: pretty; }
.intro-photo { display: block; }
.intro-photo img { width: 100%; border-radius: var(--r-xl); }

.why { padding: clamp(96px, 11vw, 168px) 0 clamp(80px, 9vw, 136px); text-align: center; }
.statement { max-width: 1010px; margin: clamp(28px, 3.4vw, 48px) auto 0; font-size: var(--t1); font-weight: 400; line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.stats > div { display: grid; align-content: start; justify-items: center; gap: 16px; padding: 4px clamp(16px, 3vw, 40px); }
.stats > div + div { border-left: 1px solid var(--line-dark); }
.stats dt { font: 400 64px/1 var(--px); font-synthesis: none; letter-spacing: 0; word-spacing: -.5em; -webkit-font-smoothing: none; white-space: nowrap; }
.stats dd { max-width: 26ch; font-size: 16px; color: var(--on-dark-quiet); text-wrap: balance; }
.stats small { display: block; margin-top: 8px; font-size: 13px; opacity: .8; }

/* The red panel. */
.panel { position: relative; overflow: hidden; width: min(100% - 2 * var(--gut), 1376px); margin-inline: auto; padding: clamp(56px, 7vw, 104px) clamp(16px, 4vw, 64px) clamp(16px, 4vw, 64px); border-radius: var(--r-xl); background: var(--red); color: #fff; }
.phases { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1160px; margin: clamp(40px, 5vw, 72px) auto 0; }
.phases li { display: grid; align-content: start; gap: 12px; padding: 2px clamp(14px, 1.8vw, 26px) 6px; font-size: 16px; line-height: 1.45; }
.phases li + li { border-left: 1px solid rgb(255 255 255 / .28); }
.phases .label { color: #fff; }
.phases h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.says { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.says li, .phases .says li { display: block; padding: 7px 10px 8px; border: 0; border-radius: 10px 10px 10px 3px; background: #fff; color: var(--red-deep); font-size: 13px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
/* The two dashboard views, drawn in code: the end of the example meeting, and four weeks of them. */
.views { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1020px; margin: clamp(40px, 5vw, 72px) auto 0; }
.view { display: flex; flex-direction: column; min-width: 0; padding: 8px; border-radius: var(--r-l); background: var(--ground); color: var(--ink); }
.view-win { flex: 1; display: grid; align-content: start; gap: 8px; padding: 8px; border-radius: 15px; background: #e4e4ea; }
.vcard, .kpis div { padding: 14px 16px 16px; border-radius: 11px; background: var(--paper); }
.vhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.vnote { font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.vbig { font-size: 48px; color: var(--ok-ink); }
.segs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; height: 14px; margin-top: 14px; overflow: hidden; border-radius: 5px; }
.segs i { background: var(--ok-ink); }
.segs i[data-tone="off"] { background: var(--bad-ink); }
.mood { height: 14px; border-radius: 5px; background: var(--ok-ink); }
.vsmall { margin-top: 12px; font-size: 14px; line-height: 1.3; color: var(--slate); }
.vlog li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid #edf0f5; font-size: 14px; line-height: 1.3; }
.vlog li:last-child { padding-bottom: 0; }
.vlog time { color: var(--slate); font-variant-numeric: tabular-nums; }
.view-win > * { min-width: 0; }
.kpis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px; }
.kpis div { display: grid; align-content: space-between; gap: 14px; padding: 12px 14px 14px; }
.kpis dt { font-size: 13px; line-height: 1.25; color: var(--slate); }
.kpis dd { font-size: 24px; white-space: nowrap; }
.weeks { width: 100%; height: 96px; overflow: visible; }
.weeks polyline { fill: none; stroke: var(--red); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.weeks .bad-line { stroke: #98a0ad; stroke-width: 1.5; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.weeks-x { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--slate); }
.fix li { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #edf0f5; }
.fix li:last-child { padding-bottom: 0; }
.fix b { font-size: 24px; }
.fix b[data-tone="off"] { color: var(--bad-ink); } .fix b[data-tone="drift"] { color: var(--warn-ink); }
.fix span { font-size: 15px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.fix small { display: block; margin-top: 2px; font-size: 13px; font-weight: 350; letter-spacing: 0; color: var(--slate); }
.view figcaption { padding: 20px 16px 22px; text-align: center; }
.view h3 { font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.view figcaption p { max-width: 38ch; margin: 6px auto 0; font-size: 15px; color: var(--slate); text-wrap: balance; }
.panel-fine { margin-top: 20px; text-align: center; color: rgb(255 255 255 / .86); }

.score { padding: clamp(96px, 11vw, 168px) 0 0; }
.score-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.paper { display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r-l); background: var(--ground); color: var(--ink); }
.paper > .label { color: var(--red); }
.paper h3 { margin-top: 12px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; color: var(--red); }
.paper .fine { margin-top: auto; padding-top: 24px; color: var(--slate); }

.chart { flex: 1; display: grid; grid-template-columns: 1fr 156px; gap: 16px; margin-top: 28px; }
.plot { position: relative; min-height: 250px; margin: 8px 0 30px; }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot path, .plot line { fill: none; vector-effect: non-scaling-stroke; }
.plot .axis { stroke: rgb(27 36 48 / .16); stroke-width: 1.5; }
.plot .guide { stroke: rgb(27 36 48 / .16); stroke-width: 1.5; stroke-dasharray: 4 4; }
.plot .with { stroke: var(--red); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.plot .without { stroke: #7d8593; stroke-width: 3; stroke-dasharray: 8 6; stroke-linejoin: round; }
.plot .dot { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--red); }
.plot .dot.open { background: var(--ground); box-shadow: inset 0 0 0 2.5px #7d8593; }
.plot .note { position: absolute; font-size: 13px; line-height: 1.25; color: var(--ink); }
.plot .label { position: absolute; color: var(--red); white-space: nowrap; }
.plot .t { position: absolute; top: calc(100% + 8px); font-size: 13px; color: var(--slate); font-variant-numeric: tabular-nums; }
.legend { display: grid; grid-template-rows: 1fr 1fr auto; gap: 8px; padding-top: 8px; font-size: 14px; line-height: 1.3; color: var(--slate); }
.legend b { display: block; font-size: 32px; margin-bottom: 8px; color: var(--ink); }
.legend .a { align-self: start; padding-top: 10%; } .legend .a b { color: var(--red); } .legend .a span { color: var(--ink); font-weight: 500; }
.legend .b { align-self: end; }
.legend .label { display: block; margin-bottom: 6px; color: var(--slate); }

.parts { flex: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: 28px; }
.total { display: grid; align-content: start; gap: 14px; padding: 20px; border-radius: 14px; background: var(--red); color: #fff; font-size: 14px; line-height: 1.35; }
.total .label { color: #fff; }
.total b { display: grid; gap: 10px; font-size: 96px; line-height: .875; }
.total b small { font-size: 16px; line-height: 1; text-transform: uppercase; }
.total strong { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.bars { display: grid; align-content: space-between; gap: 14px; }
.bars div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.bars dt { font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.bars dt small { display: block; font-size: 13px; font-weight: 350; color: var(--slate); letter-spacing: 0; }
.bars dd { align-self: start; font-size: 16px; font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; }
.bars .track { grid-column: 1 / -1; margin-top: 6px; }
.bars .track { background: rgb(206 49 56 / .14); }
.bars .track i { background: var(--red); width: var(--v); }
.js .bars:not(.in) .track i { width: 0; }
.score-notes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.score-notes li { padding: 4px clamp(12px, 2vw, 28px); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.score-notes li + li { border-left: 1px solid var(--line-dark); }

.works { padding: clamp(96px, 11vw, 168px) 0 0; }
.tile-rows { display: grid; gap: clamp(28px, 3vw, 44px); margin-top: clamp(40px, 5vw, 64px); }
.tile-row { display: grid; justify-items: center; gap: 18px; }
.tile-row > .label { color: var(--on-dark-quiet); }
.tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 8px; }
.tiles li { display: grid; justify-items: center; align-content: start; gap: 4px; width: 164px; text-align: center; font-size: 15px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.tiles svg { width: 76px; height: 76px; margin-bottom: 10px; border-radius: 20px; }
.tiles small { font-size: 13px; font-weight: 350; line-height: 1.3; letter-spacing: 0; color: var(--on-dark-quiet); text-wrap: balance; }

.thebox { padding: clamp(96px, 11vw, 168px) 0 clamp(96px, 11vw, 160px); }
/* The parts stage. Without the live box: two stills, each beside its list.
   With it (html.gl): the box stays in view on the left and opens as the second list scrolls in. */
.box-grid { margin-top: clamp(40px, 5vw, 72px); }
.box-view { display: none; }
.step { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px); }
.step + .step { margin-top: clamp(48px, 6vw, 96px); }
.still-fig { position: relative; }
.still-fig img { width: 100%; }
.step[data-step="open"] .still-fig img { max-width: 560px; margin-inline: auto; }
.step-text > .label { color: #ff9da1; }
.step-text h3 { max-width: 16ch; margin: 14px 0 22px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.pin { position: absolute; display: grid; place-items: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: var(--red); color: #fff; font: 400 16px/1 var(--px); -webkit-font-smoothing: none; box-shadow: 0 0 0 4px rgb(206 49 56 / .25); padding-left: 2px; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.pin.is-hot { background: #fff; color: var(--red-deep); box-shadow: 0 0 0 6px rgb(255 255 255 / .28); }
.pins { position: absolute; inset: 0; pointer-events: none; }
.pins .pin { left: 0; top: 0; opacity: 0; will-change: transform; }
.keylist { display: grid; counter-reset: k; }
.keylist li { counter-increment: k; display: grid; grid-template-columns: 28px 1fr; gap: 2px 14px; padding: 13px 0; border-top: 1px solid var(--line-dark); }
.keylist li:last-child { border-bottom: 1px solid var(--line-dark); }
.keylist li::before { content: counter(k); grid-row: span 2; font: 400 16px/1.4 var(--px); color: #ff9da1; -webkit-font-smoothing: none; }
.keylist b { font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.keylist span { font-size: 15px; color: var(--on-dark-quiet); line-height: 1.35; }
.facts { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; margin-top: 22px; }
.facts dt { font: 400 16px/1.2 var(--px); -webkit-font-smoothing: none; white-space: nowrap; }
.facts dd { margin-top: 6px; font-size: 14px; line-height: 1.3; color: var(--on-dark-quiet); }

.gl .box-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 72px); margin-top: 0; }
.gl .box-view { display: block; position: sticky; top: 0; height: 100svh; margin-left: calc(-1 * max(var(--gut), (100vw - 1240px) / 2)); }
.gl .gl-slot { position: absolute; inset: 0; }
.gl .still-fig { display: none; }
.gl .step { grid-template-columns: 1fr; align-content: center; min-height: 100svh; }
.gl .step + .step { margin-top: 0; }
.box-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; margin-top: clamp(40px, 5vw, 72px); }
.cell { position: relative; overflow: hidden; display: grid; border-radius: var(--r-l); background: #232d3b; }
.cell picture { display: contents; }
.demo-tile { align-content: end; min-height: 440px; }
.demo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cell .cap { position: relative; padding: 88px 24px 22px; font-size: 16px; line-height: 1.3; background: linear-gradient(transparent, rgb(8 11 15 / .8)); }
.cell .label { display: block; margin-bottom: 10px; color: #ff9da1; }
.play-btn { position: absolute; left: 50%; top: 44%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--red); color: #fff; transition: background-color .25s var(--ease); }
.play-btn .play { border-left-width: 15px; border-block-width: 10px; margin-left: 5px; }
@media (hover: hover) { .demo-tile:hover .play-btn { background: var(--red-bright); } }
.private { align-content: start; background: none; box-shadow: inset 0 0 0 1px var(--line-dark); }
.private img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 30% 78%; }
.private-text { padding: 22px 24px 12px; }
.private h3 { margin: 12px 0 14px; font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; line-height: 1.05; letter-spacing: -.04em; }
.private li { padding: 12px 0; border-top: 1px solid var(--line-dark); font-size: 16px; line-height: 1.35; }
.private li b { font-weight: 500; }
.private li span { color: var(--on-dark-quiet); }

/* ---------- footer ---------- */
.foot { background: var(--ink-deep); color: var(--on-dark); padding: clamp(56px, 6vw, 88px) 0 0; overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { max-width: 300px; }
.foot-brand .brand span { color: #fff; }
.foot-brand p { margin-top: 14px; font-size: 15px; color: var(--on-dark-quiet); }
.signup { width: min(100%, 380px); }
.signup label { display: block; font-size: 16px; font-weight: 500; }
.signup-row { display: flex; gap: 6px; margin-top: 12px; }
.signup input { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; border: 0; border-radius: var(--r-s); background: rgb(255 255 255 / .09); color: #fff; font-size: 15px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.signup input::placeholder { color: rgb(255 255 255 / .6); }
.signup p { margin-top: 12px; font-size: 14px; color: var(--on-dark-quiet); }
.signup p.is-msg { color: #ffb4b7; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: clamp(48px, 6vw, 80px); }
.foot-cols h3 { margin-bottom: 14px; font-size: 15px; font-weight: 500; }
.foot-cols li { font-size: 15px; color: var(--on-dark-quiet); }
.foot-cols li + li { margin-top: 2px; }
.foot-cols a, .foot-cols li > span { display: inline-block; padding: 5px 0; transition: color .25s var(--ease); }
@media (hover: hover) { .foot-cols a:hover { color: #fff; } }
.foot-cols .quotes li { color: #ffb4b7; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 64px); font-size: 14px; color: var(--on-dark-quiet); }
/* Five glyphs of 6/8 em, the last one 5/8: the word spans the page between the gutters. */
.giant { margin: clamp(24px, 4vw, 56px) 0 0; padding-left: var(--gut); font: 400 calc((100vw - 2 * var(--gut)) / 3.66)/.9 var(--px); color: var(--on-dark); white-space: nowrap; overflow: hidden; user-select: none; letter-spacing: 0; transform: translateY(3%); }

/* ---------- demo dialog ---------- */
.demo { width: min(1080px, 100% - 32px); padding: 0; border: 0; border-radius: var(--r-l); background: #000; overflow: hidden; box-shadow: 0 40px 120px rgb(0 0 0 / .5); }
.demo::backdrop { background: rgb(17 23 31 / .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.demo video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.demo form { position: absolute; top: 12px; right: 12px; }
.demo button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: 14px; font-weight: 500; }
.demo[open] { animation: menu-in .35s var(--ease); }

/* ---------- 404 ---------- */
/* Dark, like the stretch the box lives in: the render of the box saying so sits on ink. */
.lost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 24px; min-height: 100svh; padding: 120px var(--gut) 64px; overflow: hidden; }
.lost-copy { display: grid; justify-items: start; gap: 24px; }
.lost h1 { font: 400 80px/1 var(--px); font-synthesis: none; letter-spacing: 0; word-spacing: -.25em; -webkit-font-smoothing: none; white-space: nowrap; }
.lost p { max-width: 30ch; font-size: 20px; color: var(--on-dark-quiet); }
.lost .label { color: #ff9da1; }
.lost-box { width: 118%; max-width: none; margin-left: -6%; }
@media (max-width: 1180px) { .lost h1 { font-size: 56px; } }
@media (max-width: 760px) { .lost { grid-template-columns: 1fr; align-content: center; } .lost h1 { font-size: 40px; } .lost-box { width: 130%; margin-left: -15%; } }

/* ---------- motion ---------- */
/* One move: things rise and settle. The headline's lines come up through a mask and the hand comes up from the
   bottom edge, then barely floats. Further down, headlines rise line by line as they scroll in, the stats count
   and the score bars fill. Nothing else moves. */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln { clip-path: inset(-.1em -.1em -.2em); }
  .hero h1 .ln > span { animation: rise 1.1s var(--ease) both; }
  .hero h1 .ln + .ln > span { animation-delay: .1s; }
  .kicker, .hero-sub, .hero .btns { animation: fade 1s var(--ease) .5s both; }
  .hero-photo { animation: settle 1.5s var(--ease) .1s both; }
  .hero-photo img { animation: float 8s ease-in-out 1.8s infinite alternate; }

  /* main.js wraps each word; every word of a line shares that line's delay. */
  [data-lines] .w { display: inline-block; clip-path: inset(-.12em -.1em -.24em); }
  [data-lines] .w > span { display: inline-block; transform: translateY(135%); transition: transform 1s var(--ease) calc(var(--l, 0) * 90ms); }
  [data-lines].in .w > span { transform: none; }

  .js .bars:not(.in) .track i { width: 0; }
  .bars .track i { transition: width 1.2s var(--ease) calc(.15s + var(--i, 0) * 90ms); }
}
@keyframes rise { from { transform: translateY(125%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { opacity: 0; transform: translateY(8%); } }
@keyframes float { to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- other screens ---------- */
@media (min-width: 1700px) {
  .hero-in { width: min(100% - 2 * var(--gut), 1480px); }
  .pxd { font-size: 80px; }
  .hero h1 .mute { font-size: 44px; }
}
@media (max-width: 1279px) {
  :root { --t1: 50px; --t2: 30px; }
  .pxd { font-size: 56px; }
  .hero h1 .mute { margin-top: 10px; font-size: 32px; }
  .hero-photo { width: min((100svh - 72px) * .75, 42vw); }
  .stats dt { font-size: 48px; }
  .tiles li { width: 150px; }
}
@media (max-width: 959px) {
  :root { --t1: 40px; }
  /* The hero stacks: copy in the middle, the hand under it. */
  .hero-in { grid-template-columns: minmax(0, 1fr); justify-items: center; min-height: 0; }
  .hero-copy { justify-items: center; padding: 112px 0 0; text-align: center; }
  .pxd { font-size: 64px; }
  .btns { justify-content: center; }
  .hero-photo { width: min(100%, 520px); margin-top: 8px; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phases { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .phases li:nth-child(3) { border-left: 0; }
  .score-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; }
  .gl .box-grid { grid-template-columns: 1fr; gap: 0; }
  .gl .box-view { z-index: 2; height: 46svh; margin-inline: calc(-1 * var(--gut)); background: var(--ink); box-shadow: 0 18px 18px -6px var(--ink); }
  .gl .step { min-height: 0; align-content: start; padding: 32px 0 24px; }
  .gl .step[data-step="open"] { min-height: 60svh; padding-bottom: 8px; }
  .box-row { grid-template-columns: minmax(0, 1fr); }
  .demo-tile { min-height: 0; aspect-ratio: 16 / 10; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .top { top: 12px; }
  .top-cta [data-demo] { display: none; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stats > div { padding: 32px 0; }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line-dark); }
  .stats dt { font-size: 56px; }
  .panel { border-radius: var(--r-l); }
  .views { grid-template-columns: minmax(0, 1fr); }
  .chart { grid-template-columns: 1fr; }
  .plot { aspect-ratio: 44 / 26; min-height: 0; }
  .legend { grid-template-rows: none; grid-template-columns: 1fr 1fr; padding-top: 36px; gap: 20px 16px; }
  .legend .a { padding-top: 0; } .legend .b { align-self: start; } .legend .c { grid-column: 1 / -1; }
  .score-notes { grid-template-columns: 1fr; }
  .score-notes li { padding: 18px 0; }
  .score-notes li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .tiles { gap: 24px 4px; }
  .tiles li { width: 46%; max-width: 170px; }
}
@media (max-width: 599px) {
  :root { --t1: 30px; }
  body { font-size: 16px; }
  .hero-copy { padding-top: 100px; }
  .hero h1 { margin-top: 22px; }
  .pxd { font-size: 40px; }
  .hero h1 .mute { font-size: 26px; }
  .hero-sub { margin-top: 16px; font-size: 16px; }
  .btns { margin-top: 24px; }
  .hero-photo { margin-top: 0; }
  .intro-photo img { border-radius: var(--r-l); }
  .phases { grid-template-columns: 1fr; row-gap: 0; }
  .phases li { padding: 22px 4px; }
  .phases li + li { border-left: 0; border-top: 1px solid rgb(255 255 255 / .28); }
  .parts { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kpis div:last-child { grid-column: 1 / -1; }
  .demo-tile { aspect-ratio: 4 / 5; }
  .pin { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .signup-row { flex-wrap: wrap; } .signup-row .btn { flex: 1 0 100%; }
  .plot .note { display: none; }
}
@media (max-width: 374px) {
  .pill { gap: 12px; }
  .top-cta .btn { padding: 0 14px; }
  .pxd { font-size: 32px; }
  .hero h1 .mute { font-size: 22px; }
}
