/* The 3D layer on top of the live site's own stylesheet (site.css, unchanged).
   Everything here is either the canvas, the slots the scenes are drawn into, or
   a page pattern the live site does not have yet. */

/* site.css zooms the whole page on wide screens; the WebGL canvas is sized in
   real pixels, so the preview keeps the 1:1 page and widens the measure instead. */
html { zoom: 1 !important; }
@media (min-width: 1700px) { :root { --max: 1480px; } }

/* #gl is only the shared drawing buffer; each scene is copied into a canvas inside its own
   box, so the page's own scrolling carries the picture and it never lags its card. */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; visibility: hidden; }
.no-gl #gl { display: none; }
.slot, .gl-story .story-stage { isolation: isolate; }
.scene-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
.no-gl .scene-gl, html:not(.gl-story) .story-stage > .scene-gl { display: none; }
#gl.scene-gl { position: absolute; width: 100%; height: 100%; z-index: -1; visibility: visible; }
main, .foot { position: relative; z-index: 1; }
.foot { background: var(--paper); }
/* sections with their own paint cover the canvas; plain ones let it through */
.sec:not(.field), .pressrow, .hero-h { background: transparent; }

/* a slot is an empty box the scene is drawn over */
.slot { position: relative; width: 100%; min-height: 420px; }
.no-gl .slot { display: none; }

/* split hero used on every page: words on one side, the scene on the other */
.h3d { padding: 40px 0 72px; }
.h3d .in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; align-items: center;
  min-height: calc(100vh - 160px); min-height: calc(100svh - 160px); }
.h3d h1.tt { font-size: clamp(38px, 5vw, 72px); text-wrap: balance; }
.h3d .slot { height: min(72vh, 660px); }
.h3d .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 6px; margin-top: 32px; }
.h3d .ctas .alt { margin-left: 18px; }
.h3d .crumbs { margin-bottom: 26px; }
.h3d .lede em { font-style: normal; color: var(--accent); }
.h3d.home { padding-top: 32px; }
.h3d.home .in { grid-template-columns: minmax(0, 1fr); gap: 0; justify-items: center; text-align: center; }
.h3d.home .h3d-copy { max-width: 900px; position: relative; z-index: 1; }
.h3d.home h1.tt { font-size: clamp(40px, 5vw, 72px); }
.h3d.home .lede { margin-left: auto; margin-right: auto; max-width: 54ch; }
.h3d.home .ctas { justify-content: center; }
.h3d.home .ctas .alt { margin-left: 18px; }
/* the home scene runs the full width of the page, like a film frame */
.h3d.home .slot { width: 100%; height: min(68vh, 660px, 58vw); margin-top: 4px; }
.h3d.home .clients { text-align: left; justify-self: stretch; }
.h3d.home .clients { grid-column: 1 / -1; margin-top: 8px; }
.no-gl .h3d .in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.h3d .in > * { min-width: 0; }
/* the film opener is a <button>; give it the live site's text-link look */
button.alt { background: none; border: 0; padding: 12px 0; font: inherit; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
button.alt:hover { color: var(--ink); }

/* page-to-page links */
.feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.fcard { display: flex; flex-direction: column; gap: 14px; min-height: 250px; padding: 22px; background: var(--paper);
  border-radius: var(--r); box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 12px 30px -16px rgba(10,10,10,.22), inset 0 0 0 1px var(--line);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 20px 40px -18px rgba(10,10,10,.3), inset 0 0 0 1px rgba(10,10,10,.14); }
.fcard .icons { display: flex; gap: 6px; min-height: 30px; align-items: center; }
.fcard .icons img { height: 22px; width: auto; }
.fcard h3 { margin: 0; font-size: 21px; font-weight: 400; letter-spacing: -.015em; line-height: 1.2; }
.fcard p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.fcard .go { margin-top: auto; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); }
.fcard .go::after { content: " \2192"; }
.kick { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 18px; }
.onfield .kick { color: rgba(255,255,255,.72); }

.appicon { display: inline-block; vertical-align: middle; flex: none; }

/* lists of example messages, each tagged with the app it came from */
.inbox { display: grid; gap: 10px; margin-top: 34px; max-width: 760px; }
.inbox .irow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--paper);
  border-radius: var(--r); padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--line); }
.inbox .irow b { display: block; font-weight: 500; font-size: 13px; color: var(--ink-2); }
.inbox .irow q { quotes: "\201C" "\201D"; font-size: 16px; }
.inbox .st { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.inbox .st.ok { color: #0b72a8; }
.inbox .irow.needs { box-shadow: inset 0 0 0 1px rgba(42,187,255,.5); background: #f3fbff; }

.formats { display: grid; grid-template-columns: repeat(3, auto); gap: 18px; justify-content: start; margin-top: 34px; align-items: end; }
.formats figure { margin: 0; }
.formats img.ad { display: block; height: 300px; width: auto; border-radius: var(--r); box-shadow: 0 1px 2px rgba(10,10,10,.06), 0 14px 30px -14px rgba(10,10,10,.3); }
.formats figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.step { background: var(--paper); border-radius: var(--r); padding: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.step .n { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; color: #0b72a8; letter-spacing: .08em; }
.step h3 { margin: 10px 0 8px; font-weight: 400; font-size: 21px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.step .say { margin-top: 14px; display: inline-block; background: #0669d1; color: #fff; border-radius: 18px; padding: 8px 13px; font-size: 14.5px; line-height: 1.35; }
.step .say.in { background: #E9E9EB; color: #000; }

.next { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.next a.big { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.02em; }
.next a.big span { color: var(--ink-3); }
.next a.big:hover span { color: var(--ink); }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 34px; max-width: 980px; }
.people h3 { margin: 0 0 4px; font-weight: 400; font-size: 24px; letter-spacing: -.015em; }
.people .role { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.people p { color: var(--ink-2); line-height: 1.55; margin: 0 0 12px; }
.people a { display: inline-block; padding: 6px 0; border-bottom: 1px solid var(--line); }

.founder-scene { min-width: 0; }
.founder-controls { display: flex; visibility: hidden; min-height: 44px; justify-content: center; flex-wrap: wrap; gap: 10px; }
.gl-ready:not(.no-gl) .founder-controls { visibility: visible; }
.no-gl .founder-controls { display: none; }
.no-gl .founder-scene { display: none; }
.founder-controls button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line);
  border-radius: 999px; font: inherit; font-size: 14px; background: var(--paper); color: var(--ink); cursor: pointer; }
.founder-controls button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.founder-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) { .founder-scene { order: -1; margin-bottom: 24px; } }

.closing .slot { height: 240px; min-height: 0; max-width: 420px; margin: 0 auto 10px; }
/* the light slate field has no white type, so its intro copy needs full ink to read over the clouds */
.f-slate .lede { color: var(--ink); }

@media (max-width: 1100px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .h3d { padding: 8px 0 40px; }
  .h3d .in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  /* on phones each scene gets a box shaped like the scene, so nothing floats in empty space */
  .h3d .slot, .h3d.home .slot { order: -1; height: auto; min-height: 0; max-height: 54svh; aspect-ratio: 6.8 / 5.6; }
  .h3d.home { padding-top: 8px; }
  .h3d.home .slot { order: 0; aspect-ratio: 7.4 / 6.8; max-height: 56svh; margin-top: 18px; }
  .h3d .slot[data-stage="phone"] { aspect-ratio: auto; height: min(42svh, 360px); max-height: none; }
  .h3d .slot[data-stage="ads"] { aspect-ratio: 5.3 / 3.3; }
  .h3d .slot[data-stage="leads"] { aspect-ratio: 6 / 3.4; }
  .h3d .slot[data-stage="search"] { aspect-ratio: 5 / 4.6; }
  .h3d .slot[data-stage="proof"] { aspect-ratio: 4.8 / 4.6; }
  .h3d .slot[data-stage="control"] { aspect-ratio: 4.4 / 4; }
  .h3d .slot[data-stage="founders"] { aspect-ratio: 4.8 / 3.9; }
  .h3d h1.tt { font-size: clamp(34px, 9vw, 46px); }
  .h3d.home .clients { margin-top: 24px; }
  .steps, .people { grid-template-columns: 1fr; }
  .formats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .formats img.ad { height: auto; width: 100%; }
  .formats figcaption { font-size: 9.5px; }
  .inbox .irow { grid-template-columns: 30px minmax(0, 1fr); }
  .inbox .st { grid-column: 2; }
  .next { flex-direction: column; align-items: flex-start; }
  .h3d .ctas { column-gap: 20px; }
  .h3d .ctas .alt { margin-left: 0; }
  .closing .slot { height: 150px; }
}
@media (max-width: 560px) { .feat { grid-template-columns: 1fr; } .fcard { min-height: 0; } }

/* the film sits over a busy 3D page, so the backdrop goes darker and soft */
.film::backdrop { background: rgba(7,9,8,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* ── home: the scroll film ──────────────────────────────────────
   Without WebGL the chapters are plain sections. With it (.gl-story)
   the section is pinned and the chapters fade in over the 3D shots. */
.story-cap { padding: 56px 0; }
.story-cap .cap { max-width: 560px; }
.story-cap h1.tt { font-size: clamp(40px, 5vw, 72px); }
.story-cap h2.tt { font-size: clamp(32px, 3.6vw, 52px); }
.story-cap .lede em { font-style: normal; color: var(--accent); }
.story-cap .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.story-cap .ctas .alt { margin-left: 0; }
.story-rail, .story-hint { display: none; }
.gl-story .story { height: calc(var(--shots) * 100svh - var(--navh)); position: relative; }
:root { --navh: 72px; }
@media (max-width: 1000px) { :root { --navh: 64px; } }
.gl-story .story-stage { position: sticky; top: var(--navh); height: calc(100svh - var(--navh)); overflow: hidden; }
.gl-story .story-cap { position: absolute; inset: 0; padding: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; }
.gl-story .story-cap[data-cap="0"] { opacity: 1; visibility: visible; }
.gl-story .story-cap .in { width: 100%; }
.gl-story .story-cap .cap { max-width: min(520px, 42vw); }
.gl-story .story-rail { display: flex; flex-direction: column; gap: 4px; position: absolute; right: max(16px, calc((100vw - 1232px) / 2 - 56px)); top: 50%; transform: translateY(-50%); z-index: 2; }
.story-rail button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: none; border: 0; padding: 6px 0; cursor: pointer; font: 500 10px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: transparent; }
.story-rail button::after { content: ""; width: 14px; height: 2px; border-radius: 2px; background: rgba(10,10,10,.18); transition: width .25s, background .25s; }
.story-rail button:hover, .story-rail button:focus-visible { color: #6b7075; }
.story-rail button.on { color: transparent; }
.story-rail button.on:hover, .story-rail button.on:focus-visible { color: #0a0a0a; }
.story-rail button.on::after { width: 26px; background: #0a0a0a; }
.gl-story .story-hint { display: block; position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font: 500 10px/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #8a8f94; transition: opacity .3s; }
.gl-story .story-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 10px auto 0; background: linear-gradient(#8a8f94, transparent); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.logos .clients { margin-top: 0; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .gl-story .story-cap { align-items: flex-end; }
  .gl-story .story-cap .in { padding-bottom: 24px; padding-top: 40px; background: linear-gradient(to top, #fff 62%, rgba(255,255,255,0)); }
  .gl-story .story-cap .cap { max-width: none; }
  .story-cap h1.tt { font-size: clamp(34px, 9vw, 46px); }
  .story-cap h2.tt { font-size: clamp(28px, 7.4vw, 38px); }
  .gl-story .story-rail { flex-direction: row; top: 12px; right: 50%; transform: translateX(50%); gap: 6px; }
  .story-rail button { color: transparent !important; padding: 4px 0; font-size: 0; gap: 0; }
  .story-rail button::after { width: 10px; }
  .story-rail button.on::after { width: 20px; }
  .gl-story .story-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .gl-story .story-hint::after { animation: none; } }

/* ── home: the product walkthrough, shown like a screen on the desk ── */
.walk-film { margin: 40px 0 0; }
.walk-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 22px; background: #f7f7f5; box-shadow: 0 50px 120px -50px rgba(10,30,45,.35), 0 0 0 1px rgba(10,10,10,.06); }
.walk-film .micro { margin-top: 16px; }
@media (max-width: 760px) { .walk-film video { border-radius: 14px; } }
/* about: how the founders met */
.howmet { margin-top: 44px; max-width: 760px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.howmet .kick { margin: 0 0 10px; }
.howmet p:last-child { margin: 0; color: var(--ink-2); line-height: 1.6; }
.people p + p { margin-top: 0; }
/* key words in Osmoti blue: headings only, a few per page. #0a96e6 is the logo blue, deepened just enough to read on white */
:root { --brand-ink: #0a96e6; }
.tt em, .story-cap .tt em, .h3d .tt em { font-style: normal; color: var(--brand-ink); }
.tt b em { color: var(--brand-ink); }
/* leads: the four-step connection flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.fstep { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px 20px; display: flex; flex-direction: column; }
.fstep .n { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .08em; color: var(--field-readable-blue); }
.fstep h3 { margin: 10px 0 6px; font-weight: 400; font-size: 20px; letter-spacing: -.01em; }
.fstep p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.5; font-size: 15px; }
.fstep .icons { margin-top: auto; display: flex; gap: 8px; }
.fstep + .fstep::before { content: ""; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px; background: var(--line); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fstep + .fstep::before { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Playbook lead magnet. The one place the soft pink accent appears, as a background only. */
.pb-sec { padding-top: 40px; }
.pb { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center;
  background: #fdecf1; border-radius: 28px; padding: 56px 56px 52px; }
.pb-art { position: relative; aspect-ratio: 1 / 1.05; max-width: 440px; width: 100%; justify-self: center; }
.pb-art img { position: absolute; width: 66%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(80,20,40,.35), 0 2px 6px rgba(0,0,0,.08); }
.pb-back { right: 2%; top: 9%; transform: rotate(6deg); }
.pb-front { left: 4%; top: 2%; transform: rotate(-4deg); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.pb:hover .pb-front { transform: rotate(-6deg) translateY(-6px); }
.pb-copy .tt { font-size: clamp(30px, 3.4vw, 46px); max-width: 18ch; }
.pb-copy .tt em { color: var(--field-readable-blue); }
.pb-copy .lede { margin-top: 16px; }
.pb-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.pb-list li { display: flex; gap: 12px; }
.pb-list span { font-family: 'Geist Mono', ui-monospace, monospace; font-size: 12px; color: var(--field-readable-blue); padding-top: 3px; }
.pb-form { margin-top: 26px; }
.pb-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.pb-fields .wide { grid-column: 1 / -1; }
.pb-fields label span { display: block; font-family: 'Geist Mono', ui-monospace, monospace; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 6px 2px; }
.pb-fields input { width: 100%; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(10,10,10,.12); background: #fff; color: var(--ink); }
.pb-fields input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.pb-fields input[aria-invalid="true"] { border-color: #c62f4b; }
.pb-note { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }
.pb-note.err { color: #b0243e; }
.pb-done { margin-top: 6px; font-size: 16px; }
.pb-done a { border-bottom: 1px solid currentColor; }
.pb-form.sent .pb-fields, .pb-form.sent > .btn { display: none; }
@media (max-width: 900px) {
  .pb { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 30px 20px 30px; border-radius: 22px; }
  .pb-art { max-width: 300px; }
  .pb-fields { grid-template-columns: 1fr; }
  .pb-form .btn { width: 100%; }
}

/* ── First paint: the layout is chosen in <head>, the 3D layer fades in once it is ready ── */
.scene-gl { opacity: 0; transition: opacity .7s ease; }
.gl-ready .scene-gl { opacity: 1; }

/* ── Blush: the one warm accent. Backgrounds and small labels only; text accents stay blue. ── */
:root { --blush: #fdecf1; --blush-2: #fadbe6; --blush-ink: #b4235a; }
/* body backgrounds paint the whole document, so the glows are pinned in px from the top of the page */
html { background: var(--paper); }
body { background:
  radial-gradient(980px 680px at calc(100% + 60px) -160px, rgba(248, 190, 212, .72), rgba(248, 190, 212, 0) 70%),
  radial-gradient(760px 560px at -180px 600px, rgba(250, 208, 224, .6), rgba(252, 222, 233, 0) 70%),
  var(--paper) no-repeat; }
/* the film keeps a soft blush in its corner the whole way through */
.gl-story .story-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(820px 560px at -120px 100%, rgba(248, 190, 212, .55), rgba(248, 190, 212, 0) 70%); }
/* let the glow run up under the nav until the page scrolls */
.nav:not(.stuck) { background: transparent; }
.pill { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 999px; background: var(--blush-2);
  color: var(--blush-ink); font: 500 10.5px/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; }
.kick .pill { margin-right: 8px; vertical-align: 1px; }
.chip-pb { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 22px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: rgba(253, 236, 241, .9); border: 1px solid rgba(180, 35, 90, .12); font-size: 13.5px; color: var(--ink);
  transition: background .2s, transform .2s; }
.chip-pb .pill { height: 24px; }
.chip-pb:hover { background: var(--blush-2); }
.chip-pb:active { transform: scale(.98); }
.nl a.nl-pb { color: var(--blush-ink); }
.nl a.nl-pb::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #f06a99; margin-right: 7px; vertical-align: 2px; }
.blush-panel { background: var(--blush); border-radius: 28px; padding: 52px 32px 56px; text-align: center; }
.closing .slot { margin-bottom: 6px; }
.blush-panel .ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 22px; margin-top: 30px; }
.blush-panel .ctas .alt { margin-left: 0; }
.pb-more { display: inline-block; margin-top: 16px; font-size: 14.5px; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.pb .kick { display: flex; align-items: center; }

/* ── The Owner's Playbook page ── */
.pbhero { padding: 56px 0 24px; }
.pbhero .in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.pbhero h1.tt { font-size: clamp(38px, 4.6vw, 64px); }
.pbhero .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.pbhero .ctas .alt { margin-left: 0; }
.byline { margin: 22px 0 0; font: 500 11px/1.5 'Geist Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.pbhero .pb-art { max-width: 420px; }
.tldr { background: var(--blush); border-radius: 20px; padding: 24px 28px; max-width: 860px; }
.tldr .kick { margin: 0 0 8px; }
.tldr p:last-child { margin: 0; font-size: 17px; line-height: 1.6; }
.pbpart { margin-top: 64px; }
.pbms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.pbm { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 22px; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.pbm-n { margin: 0; font: 500 11px/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--field-readable-blue); }
.pbm h3 { margin: 12px 0 0; font-weight: 400; font-size: 23px; line-height: 1.2; letter-spacing: -.015em; }
.pbm-short { margin: 8px 0 0; color: var(--ink-2); font-size: 15.5px; }
.pbm-stat { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #0a0a0a; color: #d9dde1; font-size: 14px; line-height: 1.45; }
.pbm-stat b { display: block; font-weight: 400; font-size: 30px; letter-spacing: -.02em; color: #2abbff; margin-bottom: 2px; }
.pbm-why { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.pbm-src a { color: var(--field-readable-blue); font-size: 12px; }
.pbm-tags { margin: auto 0 0; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.pbm-tags span { font: 500 10.5px/1 'Geist Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; }
.pbsrc { margin: 18px 0 0; padding-left: 22px; font-size: 13px; line-height: 1.6; color: var(--ink-2); display: grid; gap: 6px; max-width: 980px; }
.pbsrc li { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  .chip-pb { font-size: 12.5px; margin-bottom: 16px; }
  .blush-panel { padding: 40px 18px 34px; border-radius: 22px; }
  .closing .slot { margin-bottom: 4px; }
  .pbhero { padding: 20px 0 8px; }
  .pbhero .in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pbhero .pb-art { order: -1; max-width: 210px; }
  .pbms { grid-template-columns: minmax(0, 1fr); }
  .pbm { padding: 22px 20px 20px; }
  .tldr { padding: 20px; }
  body { background:
    radial-gradient(520px 420px at calc(100% + 40px) -80px, rgba(249, 200, 218, .6), rgba(249, 200, 218, 0) 70%), var(--paper) no-repeat; }
  .chip-pb .pbx { display: none; }
  .h3d .slot, .h3d.home .slot { margin-top: 4px; }
}

.scene-poster { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.slot .scene-poster { position: absolute; inset: 0; }
.story-poster { display: none; }
.gl-story .story-poster { display: block; position: absolute; left: 48%; top: 8%; width: 49%; height: 78%; }
.gl-ready .scene-poster { visibility: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px), (max-aspect-ratio: 9/10) {
  .gl-story .story-poster { left: 8%; top: 34px; width: 84%; height: 46%; }
}
.no-gl .story-cap { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.no-gl .h3d .in { grid-template-columns: minmax(0, 1fr); }

.story-rail button { min-width: 44px; min-height: 44px; }
:root { --field-readable-blue: #0b72a8; }
.field.f-blue { background: var(--field-readable-blue); color: #fff; }
.field.f-blue .lede, .field.f-blue .kick, .field.f-blue .tt { color: #fff; }
.field.f-blue em { color: inherit; }

/* case study proof leads with the customer's logo */
.bigproof .bphead{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:20px 22px;background:var(--paper);border-bottom:1px solid var(--line)}
.bigproof .bplogo{display:block;line-height:0}
.bigproof .bplogo img{height:30px;width:auto;display:block}
.bigproof .bpwho{font-family:'Geist Mono',ui-monospace,monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2)}
.bigproof .bptag{margin-left:auto}
@media (max-width:560px){.bigproof .bphead{padding:16px}.bigproof .bplogo img{height:24px}.bigproof .bpwho{order:3;flex-basis:100%}}

/* Separate primary and secondary actions on narrow phones without shrinking text. */
@media (max-width: 420px) {
  .h3d .ctas, .story-cap .ctas, .pbhero .ctas, .blush-panel .ctas { gap: 8px; }
  .h3d .ctas .btn, .story-cap .ctas .btn, .pbhero .ctas .btn, .blush-panel .ctas .btn { width: 100%; }
  .h3d .ctas .alt, .story-cap .ctas .alt, .pbhero .ctas .alt, .blush-panel .ctas .alt {
    margin: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; width: 100%;
  }
  .gl-story .story-rail { gap: 0; }
}

/* Leads: retain the existing cards while aligning their app tiles and messages. */
.leads-page .flow .icons { align-items: center; min-height: 30px; }
.leads-page .flow .appicon:is([aria-label="Gmail"], [aria-label="Calendly"]) {
  border: 1px solid #e1e5e8;
  border-radius: 7px;
  background: var(--paper);
}
.leads-page .inbox .irow > div { min-width: 0; line-height: 1.4; }
@media (max-width: 900px) {
  .leads-page .inbox .irow { row-gap: 10px; }
  .leads-page .inbox .irow > :is(.appicon, img) { align-self: start; margin-top: 2px; }
}
/* The Leads poster hands over only once the scene is ready to paint. */
.leads-page .scene-gl { transition: none; }
/* The exported, transparent diagram remains useful if WebGL is unavailable. */
.no-gl .leads-page .slot[data-stage="leads"] { display: block; }
@media (min-width: 901px) {
  .no-gl .leads-page .h3d .in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
}

/* the closing mark is the 3D ring photo (Rahul, 2026-11-21): it replaced the WebGL
   mark here, and pages with this closing drop the footer copy so it shows once */
.closing .fmark { margin: 0 0 6px; }
.closing .fmark img { width: min(420px, 82vw); }
@media (max-width: 760px) { .closing .fmark { margin: 0 0 4px; } .closing .fmark img { width: min(300px, 78vw); } }
