/* Motion runs whatever the device's reduced-motion setting: the owner's call, 15 Nov 2026 (Windows with
   Animation effects off showed a half-still site). What used to wait for no-preference is @media all. */
/* ==========================================================================
   site.css: the shell (header, navigation, footer) and every poster part.
   Shared with the help centre, which reuses the shell.
   ========================================================================== */

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.site-header.is-stuck { border-bottom-color: var(--rule); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 30px; width: auto; }
.brand-tag {
  font-stretch: 90%; font-weight: 650;
  font-size: 0.95rem; color: var(--ink-soft);
  padding-left: 0.75rem; border-left: 1px solid var(--rule-strong);
}
.logo-dark { display: none; }
:root[data-theme='dark'] .logo-dark { display: block; }
:root[data-theme='dark'] .logo-light { display: none; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.5rem 0.7rem;
  font-weight: 600; font-size: var(--fs-sm); white-space: nowrap;
  text-decoration: none; color: var(--ink);
  border-radius: var(--r-sm);
}
.nav-link:hover { text-decoration: underline; text-underline-offset: 0.35em; }
.nav-link[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; text-decoration-color: var(--purple); }
.caret { width: 0.5rem; height: 0.5rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }

/* Menu icons: one line drawing per page (the sprite at the top of _header.html). In the menus
   each sits on a tile of its page's own second ink with deep ink on top (the Fill-On-Paper
   Rule); pages with no ink of their own take a purple tile. Bare, in purple ink, in the top bar. */
.g-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.g {
  flex: 0 0 auto; box-sizing: border-box;
  width: 30px; height: 30px; padding: 5px; border-radius: 8px;
  background: var(--purple); color: var(--on-purple);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.g[data-ink] { background: var(--ink2); color: var(--on-ink2); }
.g-line { width: 1.05rem; height: 1.05rem; padding: 0; border-radius: 0; background: none; color: var(--purple-ink); stroke-width: 2; }
/* Between the drawer and a wide screen the bar has no room for them. */
@media (max-width: 1299.98px) { .nav .nav-link > .g-line { display: none; } }

/* The menu: a plain two-column sheet. An ink tile, the name and one line. */
.mega {
  position: absolute; left: -0.5rem; top: 100%;
  width: min(560px, 80vw);
  padding: 0.75rem;
  background: var(--sheet);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.3s var(--ease), visibility 0.2s;
}
.nav-item:hover > .mega, .nav-item:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem; }
.mega-link { display: grid; grid-template-columns: 30px 1fr; align-content: start; column-gap: 0.65rem; padding: 0.6rem 0.75rem; border-radius: var(--r-sm); text-decoration: none; }
.mega-link > .g { grid-row: span 2; margin-top: 2px; }
.mega-link b { display: block; font-weight: 700; font-size: var(--fs-sm); }
.mega-link span { display: block; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.4; margin-top: 0.1rem; }
.mega-link:hover { background: var(--paper-2); text-decoration: none; }
.mega-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  margin-top: 0.5rem; padding: 0.75rem 0.75rem 0.25rem;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs); color: var(--ink-soft);
}
.mega-foot a { font-weight: 700; color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-login { font-weight: 600; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap; }
/* While the hero's own Book a demo is on screen, the header's steps back. */
.hero-cta-visible .site-header .ticket-sm {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--rule-strong);
}
.site-header .ticket-sm { transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease); }
.header-login:hover { text-decoration: underline; text-underline-offset: 0.35em; }

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 1px solid var(--rule); border-radius: 50%;
  background: transparent; color: var(--ink);
}
.theme-toggle:hover { border-color: var(--rule-strong); background: var(--paper-2); }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle .ico-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .ico-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .ico-moon { display: none; }
.theme-toggle-wide { width: 100%; height: auto; border-radius: var(--r-sm); display: flex; gap: 0.6rem; padding: 0.7rem 1rem; justify-content: center; }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem; margin-left: auto;
  border: 1px solid var(--rule); border-radius: var(--r-sm); background: transparent;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 1.15rem; height: 2px; background: var(--ink);
  transform: translateX(-50%); transition: transform 0.3s var(--ease), opacity 0.2s;
  content: '';
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after { top: 6px; left: 0; transform: none; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  overflow-y: auto;
  padding: 1rem var(--gutter) 2rem;
  background: var(--paper);
  display: none;
}
.nav-open .drawer { display: block; }
.drawer-group { border-bottom: 1px solid var(--rule); }
.drawer-toggle, .drawer-solo {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: 1rem 0; background: none; border: 0; text-align: left; text-decoration: none;
  font-weight: 800; font-stretch: 85%; font-size: 1.35rem; letter-spacing: -0.015em;
}
.drawer-panel { display: none; padding-bottom: 0.75rem; }
.drawer-group.is-open .drawer-panel { display: block; }
.drawer-group.is-open .caret { transform: rotate(225deg); }
.drawer-panel a { display: flex; align-items: center; gap: 0.75rem; padding: 0.45rem 0; text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.drawer-panel .g { width: 26px; height: 26px; padding: 4px; border-radius: 7px; }
.drawer-panel .g-mark { flex: 0 0 auto; width: 26px; height: 26px; }
.drawer-label { display: inline-flex; align-items: center; gap: 0.75rem; }
.drawer-label .g-line { width: 26px; height: 26px; padding: 2px; }
.drawer-actions { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.drawer-actions .ticket { width: 100%; }
.drawer-actions .ticket-main { flex: 1; justify-content: center; }

/* Book a demo beside the menu button, where the desktop actions are hidden. It steps back
   with the header's own while a hero's button is on screen (.hero-cta-visible). */
.header-cta-m { display: none; }
@media (max-width: 1079.98px) {
  .nav, .header-actions { display: none; }
  .nav-toggle { display: block; margin-left: 0.6rem; }
  .header-cta-m { display: block; margin-left: auto; }
  .nav-open .header-cta-m { visibility: hidden; }   /* the open drawer has its own */
}
@media (max-width: 379.98px) {
  .header-cta-m .ticket-stub { display: none; }
  .header-cta-m .ticket-main { padding-right: 0.9rem; }
}

/* ==========================================================================
   Book a demo: the page's words on the poster, the form on a white sheet
   beside them (below them on one column).
   ========================================================================== */
.demo-hero .page-hero-grid { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
@media (max-width: 899.98px) { .demo-hero .page-hero-grid { grid-template-columns: 1fr; } }
.demo-next { list-style: none; margin: 2rem 0 0; padding: 0; max-width: 34rem; }
.demo-next li { padding: 0.8rem 0; border-top: 1px solid color-mix(in srgb, currentColor 28%, transparent); }
.demo-next b { display: block; font-weight: 750; font-stretch: 92%; font-size: 1.05rem; }
.demo-next span { color: var(--on-purple-2); font-size: var(--fs-sm); }
.demo-alt { margin-top: 1.5rem; color: var(--on-purple-2); font-size: var(--fs-sm); }
.demo-alt a { font-weight: 700; color: var(--on-purple); }

.demo-card {
  --err: #a33a1c;
  background: var(--sheet); color: var(--ink);
  border-radius: var(--r);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-float);
}
:root[data-theme='dark'] .demo-card { --err: #ff9a6b; }
.demo-card :focus-visible { outline-color: var(--purple-ink); }
.demo-card a { color: var(--purple-ink); }
.field + .field { margin-top: 1.05rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 650; font-size: var(--fs-sm); }
.field .opt { margin-left: 0.35rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  display: block; width: 100%;
  min-height: 2.9rem; padding: 0.6rem 0.8rem;
  font-size: 1rem;   /* 16px or larger, so a phone doesn't zoom in on focus */
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule-strong); border-radius: var(--r-sm);
  transition: border-color 0.2s;
}
.field textarea { min-height: 5.5rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-soft); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--purple-ink); }
.field [aria-invalid='true'] { border-color: var(--err); border-width: 2px; }
.field-err { margin-top: 0.35rem; font-size: var(--fs-xs); font-weight: 650; color: var(--err); }
.demo-alert {
  margin-bottom: 1.1rem; padding: 0.8rem 1rem;
  border: 1px solid color-mix(in srgb, var(--err) 45%, transparent); border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--err) 9%, transparent);
  font-size: var(--fs-sm);
}
.demo-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-send { width: 100%; margin-top: 1.5rem; border: 0; font-family: inherit; }
.demo-send .ticket-main { flex: 1; justify-content: center; }
.demo-send[aria-busy='true'] { cursor: progress; filter: saturate(0.7); transform: none; }
.demo-fine { margin-top: 0.9rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.demo-done:focus { outline: none; }
.demo-done p { margin-top: 0.75rem; color: var(--ink-soft); }
/* On the Book a demo page the header's buttons would only point back at it. */
.on-demo-page .site-header .ticket-sm { visibility: hidden; }

/* ==========================================================================
   Posters: the page's bands. Each is printed on one field.
   ========================================================================== */
.poster { position: relative; padding-block: var(--band); }
.poster--paper { background: var(--paper); }
.poster--sheet { background: var(--paper-2); }
.poster--purple, .poster--deep { color: var(--on-purple); }
.poster--purple { background: var(--purple); }
.poster--deep { background: var(--purple-deep); }
.poster--purple .lead, .poster--deep .lead,
.poster--purple .fine, .poster--deep .fine { color: var(--on-purple-2); }
.poster--purple a:not(.ticket), .poster--deep a:not(.ticket) { color: inherit; }
.poster--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.poster + .poster--paper.poster--follow { padding-top: 0; }

/* A heading block: one claim, stated once. */
.claim { max-width: 46rem; }
.claim .h2 + .lead, .claim .bill + .lead { margin-top: 1.4rem; }
.claim .actions { margin-top: 2rem; }

/* Split: words on one side, the real thing on the other. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split--flip > :first-child { order: 2; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--top { align-items: start; }
.split--gap { margin-top: clamp(2.5rem, 5vw, 4rem); }
.fine--below { margin-top: 1rem; }
/* Beside a long list, the screenshot stays in view while the list scrolls. */
@media (min-width: 900px) {
  .split--top > .shot, .split--top > .shot-sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
}
@media (max-width: 899.98px) {
  .split, .split--even { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
}

/* ==========================================================================
   Home hero: the four-act bill, the tour dates, the app, the ticket.
   ========================================================================== */
/* Top padding and slogan size also follow the screen's height, so the audience switch under the
   button is in the first screen on a 720px-tall laptop as well as a 900px one. */
.hero { padding-top: clamp(2.5rem, min(6vw, 5vh), 5rem); padding-bottom: 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
/* The slogan is four lines, always: each act holds its own line, and the size
   is set so the longest ("Your Platform.", about 5.9em wide) fits its column. */
.hero .bill {
  font-size: clamp(3rem, min(6.9vw, 10vh), 6.3rem);
  font-stretch: 62%;
  line-height: 0.86;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero .bill > span { white-space: nowrap; }
/* Type, not a fill: --ink2-type is the ink lightened just enough to read on the purple field. */
.hero .bill span:last-child { color: var(--ink2-type); transition: color 0.45s var(--ease); }
.hero-lead { margin-top: 1.5rem; max-width: 34rem; }
.hero .actions { margin-top: 1.75rem; }
/* The words column: slogan, button, the audience switch, then where the app is published. */
.hero-grid > :first-child { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
/* The app stands on the poster's bottom edge. */
.hero-app { justify-self: end; align-self: end; position: relative; margin-bottom: calc(-1 * clamp(3rem, 6vw, 4.5rem)); }
/* What the demo is, under each Book a demo on the page. */
.demo-note { margin-top: 0.75rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.poster--purple .demo-note, .poster--deep .demo-note { color: var(--on-purple-2); }
@media (max-width: 899.98px) {
  .hero .bill { font-size: min(14.5vw, 6.6rem); }
  /* On one column the app comes into the first screen: slogan, lead, button, then the top of
     the app, then the switch that re-dresses it, so a tap changes something in view. The words
     column steps aside (display: contents) so its parts and the app order as one column. */
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-grid > :first-child { display: contents; }
  .hero .bill { order: 1; }
  .hero-lead { order: 2; }
  .hero-lead-more { display: none; }
  .hero .actions { order: 3; }
  .hero .demo-note { order: 4; }
  .hero-app { order: 5; align-self: center; margin: 1.75rem 0 0; }
  .hero-app .pinned { max-height: 22rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .hero .switch-wrap { order: 6; margin-top: 1rem; }
  .hero .dates { order: 7; padding-bottom: clamp(2.5rem, 8vw, 3.5rem); }
}

/* Tour dates: where the app plays, as one line of names under the switch. */
.dates { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; }
.dates li { display: inline-flex; align-items: center; gap: 0.5rem; }
/* The status dot: white on the hero, so the only bright things there are the slogan and its
   button; it fills once that platform is live. */
.dates { --dot: var(--on-purple); }
.dates .st {
  position: relative; flex: 0 0 auto;
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  border: 2px solid var(--dot); background: var(--dot);
}
.dates b { font-stretch: 88%; font-weight: 700; font-size: var(--fs-sm); letter-spacing: -0.005em; color: var(--on-purple-2); }

/* The market switch: a ruled row under the button. Choosing an audience re-inks the poster
   and swaps the line beneath; until then the colourway cycle marks whose app is showing. */
.switch-wrap { margin-top: clamp(1.5rem, 3vh, 2.25rem); border-top: 2px solid currentColor; max-width: 40rem; }
.switch-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.35rem; }
.switch-label { font-size: var(--fs-sm); font-weight: 600; color: var(--on-purple-2); }
.switch { display: flex; flex-wrap: wrap; gap: 0 1.35rem; list-style: none; margin: 0; padding: 0; }
.switch button {
  position: relative;
  min-height: 2.75rem; padding: 0.7rem 0;
  background: none; border: 0; color: inherit;
  font-weight: 750; font-stretch: 88%; letter-spacing: -0.01em; font-size: 1.05rem;
  opacity: 0.86;   /* 0.75 measured 4.3:1 on the purple field; this clears 4.5:1 */
  transition: opacity 0.2s;
}
.switch button::after {
  content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 6px;
  background: var(--ink2); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.switch button:hover { opacity: 1; }
/* The chosen audience is marked by the ink bar above it; the label itself stays white, since
   at this size no ink reads as text on the purple field. */
.switch button[aria-pressed='true'] { opacity: 1; color: var(--on-purple); }
.switch button[aria-pressed='true']::after { transform: none; }
/* While the colours cycle, a thinner bar says whose app is on show. The button carries the
   sketch's ink (data-ink), since the poster keeps its own. */
.switch button.is-showing { opacity: 1; }
.switch button.is-showing::after { transform: none; height: 3px; }
/* When the names wrap, a bar on top would read as the line above's underline: under the name. */
@media (max-width: 699.98px) {
  .switch button::after { top: auto; bottom: 0.35rem; height: 4px; }
  .switch button.is-showing::after { height: 2px; }
}
.switch-foot { display: flex; align-items: flex-start; gap: 1rem; }
.switch-foot .switch-line { flex: 1; }
.switch-pause {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 2.25rem; height: 2.25rem; margin-top: 0.35rem;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 50%;
  background: none; color: inherit;
}
.switch-pause[hidden] { display: none; }
.switch-pause:hover { border-color: currentColor; }
.switch-pause svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.switch-pause .i-play { display: none; fill: currentColor; stroke-width: 1.5; }
.switch-pause[aria-pressed='true'] .i-pause { display: none; }
.switch-pause[aria-pressed='true'] .i-play { display: block; }
.switch-line {
  display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; align-items: baseline;
  margin-top: 0.35rem;
  color: var(--on-purple-2);
}
.switch-line a { font-weight: 700; color: var(--on-purple); }

/* ==========================================================================
   The app sketch: the real home-screen layout with sample content, re-inked
   by the market switch. Stays dark in both themes: it is the app's own UI.
   ========================================================================== */
.appsketch {
  --brand: var(--ink2);
  width: min(330px, 78vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 34px 34px 0 0;
  background: #121015;
  color: #f1edf3;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-stretch: 100%;
  font-size: 12px;
  line-height: 1.35;
  transition: box-shadow 0.4s;
}
.as-status { display: flex; justify-content: space-between; padding: 12px 22px 4px; font-weight: 700; font-size: 11px; }
.as-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; }
.as-logo {
  width: 22px; height: 22px; border-radius: 6px; background: var(--brand);
  display: grid; place-items: center; color: #1a1020; font-weight: 900; font-size: 12px;
  transition: background 0.45s var(--ease);
}
.as-name { font-weight: 800; font-size: 14px; letter-spacing: -0.01em; }
.as-icons { margin-left: auto; display: flex; gap: 12px; opacity: 0.8; }
.as-icons i { width: 14px; height: 14px; border: 1.6px solid currentColor; border-radius: 50%; display: block; }
.as-icons i + i { border-radius: 4px; }
.as-feature { margin: 4px 12px 0; border-radius: 12px; overflow: hidden; background: #1d1a22; }
.as-art {
  aspect-ratio: 16 / 9;
  background: var(--brand);
  color: #1a1020;
  padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background 0.45s var(--ease);
}
.as-art small { font-weight: 800; letter-spacing: 0.08em; font-size: 10px; text-transform: uppercase; opacity: 0.8; }
.as-art strong { font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 38px; line-height: 0.86; }
.as-meta { padding: 10px 12px 12px; }
.as-meta b { display: block; font-size: 14px; }
.as-meta span { opacity: 0.72; }
.as-btns { display: flex; gap: 6px; margin-top: 9px; }
.as-btns span { padding: 6px 11px; border-radius: 8px; font-weight: 700; font-size: 11px; background: rgba(255, 255, 255, 0.09); }
.as-btns span:first-child { background: var(--brand); color: #1a1020; transition: background 0.45s var(--ease); }
.as-h { display: flex; justify-content: space-between; padding: 14px 14px 7px; font-weight: 800; font-size: 13px; }
.as-h span { font-weight: 600; opacity: 0.7; font-size: 11px; }
.as-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.as-links span {
  height: 54px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid color-mix(in srgb, var(--brand) 55%, transparent);
  transition: border-color 0.45s var(--ease);
}
.as-rail { display: flex; gap: 8px; padding: 0 12px; overflow: hidden; }
.as-card { flex: 0 0 62%; border-radius: 10px; background: #1d1a22; overflow: hidden; }
/* Each tile is a piece of the client's own artwork: their ink, their lettering. */
.as-card i {
  display: flex; align-items: flex-end;
  aspect-ratio: 16 / 9; padding: 7px 9px;
  background: color-mix(in srgb, var(--brand) 78%, #2a2530);
  color: #1a1020; font-style: normal;
  font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 21px; line-height: 0.88;
  transition: background 0.45s var(--ease);
}
.as-card:nth-child(2) i { background: color-mix(in srgb, var(--brand) 45%, #f1edf3); }
.as-card b { display: block; padding: 7px 9px 1px; font-size: 12px; }
.as-card span { display: block; padding: 0 9px 9px; opacity: 0.7; font-size: 11px; }

/* Pins: labels on leader lines, pointing at a part of the screen. */
.pinned { position: relative; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); font-weight: 750; font-stretch: 80%;
  letter-spacing: 0; white-space: nowrap;
  pointer-events: none;
}
.pin::before { content: ''; order: 1; width: var(--len, 44px); height: 1px; background: currentColor; }
.pin::after { content: ''; order: 2; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
.pin b { order: 0; font-weight: inherit; }
.pin--right { flex-direction: row-reverse; }
.pin--left { transform: translate(-100%, -50%); }
.pin--right { transform: translate(0, -50%); }
@media (max-width: 1079.98px) { .pin { display: none; } }
.sketch-note { margin-top: 0.9rem; font-size: var(--fs-xs); color: var(--on-purple-2); text-align: center; }

/* ==========================================================================
   Real screenshots, pasted flat.
   ========================================================================== */
.shot { margin: 0; }
/* Pasted flat: a hairline edge, no shadow. Depth belongs only to the one
   app-over-portal layer (.layered .shot--float). */
.shot img,
.shot video {
  display: block;
  height: auto;
  width: 100%;
  border-radius: var(--r);
  border: 1px solid var(--rule-strong);
  background: var(--sheet);
}
.shot--phone { max-width: 300px; margin-inline: auto; }
.shot--portrait { max-width: 520px; margin: 2.5rem auto 0; }
.shot--phone img { border-radius: 18px; border-color: rgba(0, 0, 0, 0.35); }
.shot figcaption { margin-top: 0.85rem; font-size: var(--fs-xs); color: var(--ink-soft); }
.poster--purple .shot figcaption, .poster--deep .shot figcaption { color: var(--on-purple-2); }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.shot-pair .shot--phone + .shot--phone { margin-top: 3rem; }
.shot-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1rem; }
@media (max-width: 699.98px) {
  .shot-row { grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .shot-row > * { scroll-snap-align: start; }
}

/* ==========================================================================
   The programme: the back of every poster. What is included, in ruled rows.
   ========================================================================== */
.programme {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 0 2.5rem;
  margin: 2.5rem 0 0;
}
.programme > div { border-top: 1px solid var(--rule-strong); padding: 1rem 0 1.5rem; }
.poster--purple .programme > div, .poster--deep .programme > div { border-top-color: color-mix(in srgb, currentColor 32%, transparent); }
.programme dt { font-stretch: 90%; font-weight: 750; font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.2; }
.programme dd { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: var(--fs-sm); }
.poster--purple .programme dd, .poster--deep .programme dd { color: var(--on-purple-2); }
.programme--one { grid-template-columns: 1fr; }
/* Facts across the full width beneath a stage, three abreast where they fit. */
.programme--across { margin-top: clamp(2.5rem, 5vw, 4rem); }
.split--stage { align-items: center; }

/* Everything in the plan, straight after the home hero: ruled rows four across, each led by its
   page's ink tile from the menu (the Fill-On-Paper Rule), the whole row a link. */
/* What sets HeartBeat apart: three groups of ruled rows, each claim followed by how most platforms
   do the same thing. The media group takes two of the four columns (its rows run two abreast), so
   the section has a lead, a second and a third instead of fourteen equal cells. */
.diff {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2rem, 4vw, 3rem); align-items: start;
}
.diff-group--wide { grid-column: span 2; }
.diff h3 {
  font-stretch: 85%; font-weight: 850; font-size: clamp(1.35rem, 1vw + 1.05rem, 1.75rem);
  line-height: 1.05; letter-spacing: -0.025em;
  border-top: 2px solid currentColor; padding-top: 1rem;
}
.diff .programme { grid-template-columns: minmax(0, 1fr); margin-top: 0.9rem; }
.diff-group--wide .programme { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 2.5rem); }
.diff .programme > div:first-child, .diff-group--wide .programme > div:nth-child(2) { border-top: 0; }
.diff .programme dt { font-size: 1.05rem; }
.diff .vs { margin-top: 0.7rem; font-size: var(--fs-xs); line-height: 1.4; }
.diff .vs span { display: block; font-weight: 750; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--purple-ink); }
@media (max-width: 1079.98px) {
  .diff { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: clamp(2rem, 4vw, 3rem); }
  .diff-group--wide { grid-column: 1 / -1; }
}
@media (max-width: 699.98px) {
  .diff-group--wide .programme { grid-template-columns: minmax(0, 1fr); }
  .diff-group--wide .programme > div:nth-child(2) { border-top: 1px solid var(--rule-strong); }
}
@media (max-width: 559.98px) { .diff { grid-template-columns: minmax(0, 1fr); } }
/* Stories: four short tiles on the home page, each a moment followed through the platform, and the
   plain three-up list of the other stories at the foot of each story page. */
.poster--stories { padding-block: clamp(2.75rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem); }
.stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.9rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.stories li { display: flex; }
.stories a {
  flex: 1; display: flex; flex-direction: column;
  padding: 1.4rem 1.15rem 1rem;
  background: var(--purple-deep); color: var(--on-purple);
  border-radius: 4px; box-shadow: inset 0 4px 0 var(--ink2);
  text-decoration: none;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), opacity 0.3s;
}
.stories .count { font-weight: 800; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink2); }
.stories b { display: block; margin-top: 0.5rem; font-weight: 800; font-stretch: 88%; font-size: 1.3rem; line-height: 1.12; letter-spacing: -0.015em; }
.stories .chain { display: flex; flex-wrap: wrap; gap: 0.1rem 0.55rem; margin: 0.6rem 0 0; padding: 0; list-style: none; font-size: var(--fs-xs); line-height: 1.4; color: var(--on-purple-2); }
/* The parts light up one after another while the tile is on screen (site.js sequence()), so the
   count on the tile is something you watch happen. Dim only when the script has armed it. */
.js-chain .stories .chain li { opacity: 0.45; transition: opacity 0.35s, color 0.35s; }
.js-chain .stories .chain li.is-done { opacity: 1; }
.js-chain .stories .chain li.is-now { opacity: 1; color: var(--ink2); font-weight: 700; }
.js-chain .stories a:hover .chain li, .js-chain .stories a:focus-visible .chain li { opacity: 1; color: var(--on-ink2); }
.stories .go {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 0.7rem;
  font-weight: 700; font-stretch: 92%; font-size: 0.9rem;
}
.stories .chain + .go { margin-top: 1rem; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.stories .go svg { width: 1.05rem; height: 1.05rem; transition: transform 0.35s var(--ease); }
.stories a:hover, .stories a:focus-visible { background: var(--ink2); color: var(--on-ink2); }
.stories a:hover .count, .stories a:focus-visible .count, .stories a:hover .chain, .stories a:focus-visible .chain { color: var(--on-ink2); }
.stories a:hover .go svg { transform: translateX(4px); }
@media (hover: hover) { .stories:hover a:not(:hover) { opacity: 0.62; } }
@media (max-width: 1079.98px) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Eight tiles would stack tall on a phone: a swipeable row instead, each tile most of the width so the
   next one shows at the edge. */
@media (max-width: 559.98px) {
  .stories {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.6rem;
  }
  .stories li { scroll-snap-align: start; }
}
/* Doubled class: the four-up .features rules sit later in this file and would otherwise win. */
.features.features--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features.features--three a { display: block; }
.features.features--three b, .features.features--three span { display: block; }
@media (max-width: 899.98px) { .features.features--three { grid-template-columns: 1fr; gap: 0; } }
.poster--features { padding-block: clamp(2.75rem, 5vw, 4rem); }
.poster--stories + .poster--features { padding-top: clamp(1rem, 3vw, 2rem); }
.poster--features + .poster--paper { padding-top: clamp(1rem, 3vw, 2rem); }
.features-title { font-weight: 800; font-stretch: 85%; font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -0.02em; }
.features {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem;
  list-style: none; margin: 1.25rem 0 0; padding: 0;
}
.features a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-items: start;
  height: 100%; padding: 1rem 0 1.15rem;
  border-top: 1px solid var(--rule-strong);
  text-decoration: none; color: var(--ink);
}
.features .g, .features .g-studio { grid-row: span 2; width: 40px; height: 40px; }
.features .g { padding: 8px; border-radius: 10px; }
.features b { font-weight: 750; font-stretch: 90%; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.25; }
.features span { margin-top: 0.2rem; font-size: var(--fs-xs); color: var(--ink-soft); line-height: 1.4; }
.features a:hover b, .features a:focus-visible b { text-decoration: underline; text-underline-offset: 0.3em; }
.features a:hover { border-top-color: var(--purple-ink); }
@media (max-width: 1079.98px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .features { grid-template-columns: 1fr; gap: 0; } .features a { padding: 0.8rem 0 0.9rem; } }

/* ==========================================================================
   The live demo tour (/try): numbered steps on the purple field beside the real app in a
   phone frame. A step's number fills with the ink when the visitor has done it; the step the
   app is on gets a lighter ground. On one column the steps become a row of chips above the
   phone, so the app stays in view.
   ========================================================================== */
.tour {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; margin-top: clamp(2rem, 4vw, 3rem);
}
.tour-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; max-width: 34rem; }
.tour-steps li { counter-increment: step; border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.tour-steps li:last-child { border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.tour-steps button {
  display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 1rem; row-gap: 0.15rem; align-items: start;
  width: 100%; padding: 1rem 0.75rem 1.05rem; text-align: left;
  background: none; border: 0; color: inherit; border-radius: 10px; cursor: pointer;
  transition: background 0.25s;
}
.tour-steps button::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 55%, transparent);
  font-weight: 800; font-stretch: 88%; font-size: 1rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.tour-steps b { font-weight: 750; font-stretch: 90%; font-size: 1.15rem; letter-spacing: -0.01em; }
.tour-steps span { font-size: var(--fs-sm); color: var(--on-purple-2); }
.tour-steps button:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.tour-steps li.is-current button { background: color-mix(in srgb, currentColor 12%, transparent); }
.tour-steps li.is-done button::before { content: ''; background: var(--ink2); border-color: var(--ink2); }
/* The tick, drawn: two sides of a rotated box. */
.tour-steps li.is-done button { position: relative; }
.tour-steps li.is-done button::after {
  content: ''; position: absolute; left: calc(0.75rem + 0.72rem); top: calc(1rem + 0.5rem);
  width: 0.5rem; height: 0.95rem; border: solid var(--on-ink2); border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.tour-phone {
  width: min(360px, 86vw); padding: 10px; border-radius: 34px;
  background: #121015; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.tour-screen { position: relative; aspect-ratio: 9 / 18.6; border-radius: 26px; overflow: hidden; background: #16110a; }
.tour-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-start { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.tour-start img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(0.9) brightness(0.72); }
.tour-start-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  padding: 0.9rem 1.3rem; border-radius: 10px; background: var(--ink2); color: var(--on-ink2);
  font-weight: 750; font-size: 1.05rem;
}
.tour-start-label svg { width: 1.1rem; height: 1.1rem; }
.tour-start:hover .tour-start-label, .tour-start:focus-visible .tour-start-label { transform: translate(-50%, -50%) scale(1.03); }
.tour-fine { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 46rem; }
.tour [hidden] { display: none !important; }
/* Which side: the member app or the portal. Two ruled tabs on the poster, the chosen one
   underlined in the ink, like the home page's audience switch. */
.tour-modes { grid-column: 1 / -1; display: flex; gap: 1.5rem; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.tour-modes button {
  position: relative; padding: 0.7rem 0; background: none; border: 0; color: inherit; cursor: pointer;
  font-weight: 750; font-stretch: 88%; font-size: 1.1rem; opacity: 0.86;
}
.tour-modes button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; background: var(--ink2); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.tour-modes button[aria-selected='true'] { opacity: 1; }
.tour-modes button[aria-selected='true']::after { transform: none; }
/* Which demo (on /try, and where a page offers more than one): a row of chips above the tabs,
   each a made-up organisation over who it stands for; the chosen one filled with the ink. */
.tour-demos { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tour-demos button {
  display: grid; justify-items: start; gap: 0.05rem; padding: 0.55rem 0.95rem; text-align: left;
  background: none; color: inherit; border: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 12px; cursor: pointer; transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.tour-demos b { font-weight: 750; font-stretch: 90%; font-size: 1rem; line-height: 1.2; }
.tour-demos small { font-size: var(--fs-xs); color: var(--on-purple-2); line-height: 1.2; }
.tour-demos button:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.tour-demos button[aria-pressed='true'] { background: var(--ink2); border-color: var(--ink2); color: var(--on-ink2); }
.tour-demos button[aria-pressed='true'] small { color: inherit; opacity: 0.8; }
@media (max-width: 899.98px) {
  .tour-demos { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; scrollbar-width: none; }
  .tour-demos::-webkit-scrollbar { display: none; }
  .tour-demos button { flex: 0 0 auto; }
}
/* On the portal side the page is wide: the steps become a row of chips over a browser frame. */
.tour[data-mode='portal'] { grid-template-columns: 1fr; gap: 1.25rem; }
.tour[data-mode='portal'] .tour-steps { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: none; }
.tour[data-mode='portal'] .tour-steps li, .tour[data-mode='portal'] .tour-steps li:last-child { border: 0; }
.tour[data-mode='portal'] .tour-steps button { grid-template-columns: 1.75rem auto; column-gap: 0.55rem; padding: 0.5rem 0.85rem 0.5rem 0.5rem;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 99px; align-items: center; }
.tour[data-mode='portal'] .tour-steps button::before { width: 1.75rem; height: 1.75rem; font-size: 0.85rem; grid-row: auto; }
.tour[data-mode='portal'] .tour-steps span { display: none; }
.tour[data-mode='portal'] .tour-steps b { font-size: 0.95rem; white-space: nowrap; }
.tour[data-mode='portal'] .tour-steps li.is-done button::after { left: calc(0.5rem + 0.55rem); top: calc(0.5rem + 0.3rem); width: 0.4rem; height: 0.8rem; }
@media (max-width: 899.98px) {
  .tour[data-mode='portal'] .tour-steps { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; }
}
.tour-browser { width: 100%; }
.tour-browser-bar {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  background: #1d1a22; border-radius: 14px 14px 0 0; color: #c9bccf; font-size: var(--fs-xs);
}
.tour-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.tour-browser-bar span { margin-left: 0.75rem; padding: 3px 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.tour-browser-screen {
  position: relative; overflow: hidden; aspect-ratio: 1440 / 900; background: #f4f2f1;
  border-radius: 0 0 14px 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.tour-browser-screen iframe { position: absolute; left: 0; top: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; }
.tour-browser-screen .tour-start img { object-position: top left; }
.tour-full { display: inline-flex; margin-top: 0.85rem; }
/* While the app starts (seconds on a first visit): its name over the frame, a line filling. */
.tour-loading { display: none; }
.tour.is-loading .tour-loading {
  position: absolute; inset: 0; z-index: 1; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  background: #16110a; color: #f1edf3; font-weight: 750; font-size: 1.1rem; text-align: center;
}
.tour-loading span { font-weight: 500; font-size: var(--fs-xs); color: #c9bccf; }
.tour.is-loading .tour-loading::after {
  content: ''; width: 9rem; height: 3px; margin-top: 0.6rem; border-radius: 2px;
  background: linear-gradient(90deg, var(--ink2) 0 40%, rgba(255, 255, 255, 0.15) 40%);
  background-size: 250% 100%; animation: tour-fill 1.4s var(--ease) infinite;
}
@keyframes tour-fill { from { background-position: 100% 0; } to { background-position: 0 0; } }
.try-line { margin-top: 1rem; }
@media (max-width: 899.98px) {
  .tour { grid-template-columns: 1fr; gap: 1.25rem; }
  .tour-modes { order: 0; }
  .tour-phone, .tour-browser { justify-self: center; order: 2; }
  .tour-steps {
    order: 1; display: flex; gap: 0.5rem; overflow-x: auto; max-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 0.25rem; scrollbar-width: none;
  }
  .tour-steps::-webkit-scrollbar { display: none; }
  .tour-steps li, .tour-steps li:last-child { flex: 0 0 auto; border: 0; }
  .tour-steps button { grid-template-columns: 1.75rem auto; column-gap: 0.55rem; padding: 0.5rem 0.85rem 0.5rem 0.5rem;
    border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 99px; align-items: center; }
  .tour-steps button::before { width: 1.75rem; height: 1.75rem; font-size: 0.85rem; grid-row: auto; }
  .tour-steps span { display: none; }
  .tour-steps b { font-size: 0.95rem; white-space: nowrap; }
  .tour-steps li.is-done button::after { left: calc(0.5rem + 0.55rem); top: calc(0.5rem + 0.3rem); width: 0.4rem; height: 0.8rem; }
  .tour-phone { width: min(360px, 92vw); }
}

/* A single line of proof: small, ruled, beneath a claim. */
.more { margin-top: 2rem; }
.more.more--apart { margin-top: clamp(2rem, 4vw, 3rem); }

/* ==========================================================================
   The series wall: one poster per kind of audience, each in its own ink.
   ========================================================================== */
.series {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  list-style: none; padding: 0;
}
.series li { display: flex; }
.series a {
  flex: 1;
  display: flex; flex-direction: column;
  min-height: 16rem;
  padding: 1.4rem 1.4rem 1.2rem;
  background: var(--purple-deep);
  color: var(--on-purple);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), opacity 0.3s;
}
/* Each tile is that audience's poster: the market named small, and a series of
   theirs lettered large in their own ink. */
.series .t {
  font-weight: 800; font-stretch: 88%; letter-spacing: -0.015em;
  font-size: 1.2rem; line-height: 1.15;
  transition: color 0.45s var(--ease);
}
/* The audience is lettered large in its ink; the small line above it names a series from that
   audience's demo app. */
.series .art {
  display: block;
  font-weight: 900; font-stretch: 72%;
  font-size: clamp(2.5rem, 3.9vw, 3.6rem); line-height: 0.92; letter-spacing: -0.03em;
  hyphens: auto; overflow-wrap: break-word;
  color: var(--ink2);
  transition: color 0.45s var(--ease);
}
.series .art small {
  display: block; margin-bottom: 0.7rem; line-height: 1.3;
  font-size: 0.8rem; font-stretch: 90%; font-weight: 700; letter-spacing: 0.02em; text-transform: none;
  color: var(--on-purple-2);
}
.series a:hover .art, .series a:focus-visible .art, .series a:hover .art small, .series a:focus-visible .art small { color: var(--on-ink2); }
.series .d { margin-top: 1rem; padding-top: 0; }
.series .d { margin-top: auto; padding-top: 1.5rem; color: var(--on-purple-2); font-size: var(--fs-sm); max-width: 30ch; }
.series .go {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1.1rem; padding-top: 0.8rem;
  border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  font-weight: 700; font-stretch: 92%; font-size: 0.95rem;
}
.series .go svg { width: 1.1rem; height: 1.1rem; transition: transform 0.35s var(--ease); }
.series a:hover, .series a:focus-visible { background: var(--ink2); color: var(--on-ink2); }
.series a:hover .t, .series a:focus-visible .t, .series a:hover .d, .series a:focus-visible .d { color: var(--on-ink2); }
.series a:hover .go svg { transform: translateX(4px); }
@media (hover: hover) { .series:hover a:not(:hover) { opacity: 0.62; } }
/* Six audiences fill two rows; "Something else" runs the full width beneath them. */
.series .other { grid-column: 1 / -1; }
.series .other a { background: transparent; color: var(--ink); border: 1px solid var(--rule-strong); }
.series .other .t { color: var(--ink); }
.series .other .d { color: var(--ink-soft); }
.series .other .art { color: var(--purple-ink); }
.series .other .art small { color: var(--ink-soft); }
.series .other a:hover { background: var(--paper-2); color: var(--ink); }
.series .other a:hover .t, .series .other a:hover .d { color: var(--ink); }
@media (max-width: 899.98px) { .series { grid-template-columns: 1fr 1fr; } .series a { min-height: 14rem; } }
/* Book a demo again once the visitor has found their kind of audience. */
.after-tiles { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.after-tiles .actions, .after-tiles .demo-note { margin: 0; }
@media (max-width: 559.98px) { .series { grid-template-columns: 1fr; } .series a { min-height: 13rem; } }

/* ==========================================================================
   Stations: how it works, in order. The numbers are the order.
   ========================================================================== */
.stations {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 1.5rem;
  counter-reset: stop;
}
.stations li {
  counter-increment: stop;
  padding-top: 1rem;
  border-top: 3px solid color-mix(in srgb, var(--ink2) 28%, transparent);
  margin-top: -3px;
  background: linear-gradient(var(--ink2), var(--ink2)) top left / 100% 3px no-repeat;
  background-origin: border-box;
}
.stations li::before {
  content: counter(stop);
  display: block;
  font-weight: 900; font-stretch: 62%; font-size: 3.5rem; line-height: 0.9;
  color: var(--ink2);
  margin-bottom: 0.75rem;
}
.stations h3 { font-stretch: 88%; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.15; }
.stations p { margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.poster--purple .stations p, .poster--deep .stations p { color: var(--on-purple-2); }
.poster--purple .stations li::before { color: var(--ink2-type); }
@media (max-width: 899.98px) { .stations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 559.98px) { .stations { grid-template-columns: 1fr; } }

/* ==========================================================================
   The week: a timeline of what happens when, lit day by day as it scrolls.
   ========================================================================== */
.week { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; max-width: 60rem; }
.week li {
  display: grid; grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr); gap: 0.25rem 2rem;
  padding: 1.25rem 0; border-top: 1px solid var(--rule-strong);
}
.week li:last-child { border-bottom: 1px solid var(--rule-strong); }
.week .when { font-weight: 900; font-stretch: 78%; font-size: clamp(1.6rem, 2vw + 0.8rem, 2.25rem); line-height: 1; letter-spacing: -0.02em; color: var(--purple-ink); }
.week h3 { font-weight: 800; font-stretch: 90%; font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.2; }
.week p { margin-top: 0.35rem; color: var(--ink-soft); max-width: 62ch; }
.poster--purple .week li, .poster--deep .week li { border-color: color-mix(in srgb, currentColor 28%, transparent); }
.poster--purple .week .when { color: var(--ink2-type); }
.poster--deep .week .when { color: var(--ink2); }
.poster--purple .week p, .poster--deep .week p { color: var(--on-purple-2); }
@media (max-width: 639.98px) { .week li { grid-template-columns: 1fr; } }
@media all {
  .js-stations .week li { opacity: 0.4; transition: opacity 0.5s; }
  .js-stations .week li .when { transform: translateX(-8px); transition: transform 0.6s var(--ease); }
  .js-stations .week li.is-on { opacity: 1; }
  .js-stations .week li.is-on .when { transform: none; }
}

/* The audience pages open on that audience's own app. */
.page-hero .appsketch { justify-self: center; border-radius: 34px; }
.page-hero-grid > .sketch-note--hero { grid-column: 2; margin-top: -1rem; }
@media (max-width: 899.98px) { .page-hero-grid > .sketch-note--hero { grid-column: 1; } }

/* ==========================================================================
   Quote: the one principle, set big.
   ========================================================================== */
.principle {
  font-weight: 800; font-stretch: 80%;
  font-size: clamp(1.6rem, 2.4vw + 0.8rem, 2.6rem);
  line-height: 1.12; letter-spacing: -0.01em;
  max-width: 30ch; text-wrap: balance;
}

/* ==========================================================================
   Pairs: two ways to do something, side by side, ruled.
   ========================================================================== */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.pair > div { border-top: 2px solid currentColor; padding-top: 1.25rem; }
.pair h3 { font-stretch: 85%; font-weight: 850; font-size: clamp(1.5rem, 1.4vw + 1rem, 1.95rem); line-height: 1.05; letter-spacing: -0.025em; }
.pair p { margin-top: 0.8rem; color: var(--ink-soft); max-width: 52ch; }
.pair .quiet { margin-top: 1.1rem; }
.poster--purple .pair p, .poster--deep .pair p { color: var(--on-purple-2); }
@media (max-width: 767.98px) { .pair { grid-template-columns: 1fr; gap: 2rem; } }

/* ==========================================================================
   Index: many things, one line each, in columns.
   ========================================================================== */
.index { list-style: none; padding: 0; margin: 2rem 0 0; columns: 3 14rem; column-gap: 2.5rem; }
.index li { break-inside: avoid; padding: 0.55rem 0; border-top: 1px solid var(--rule); font-size: var(--fs-sm); }
.index b { font-weight: 700; }
.poster--purple .index li, .poster--deep .index li { border-top-color: color-mix(in srgb, currentColor 28%, transparent); }

/* Ruled rows: a plain list, one line of fact per row. */
.rows { list-style: none; padding: 0; margin: 1rem 0 0; }
.rows li { padding: 0.6rem 0; border-top: 1px solid var(--rule); font-size: var(--fs-sm); }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.poster--purple .rows li, .poster--deep .rows li { border-color: color-mix(in srgb, currentColor 28%, transparent); }
.pair .rows { margin-top: 1rem; }

/* The specifics: a two-column table of facts. */
.specs { margin: 2.5rem 0 0; }
.specs > div {
  display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: 0.35rem 2rem;
  padding: 1.05rem 0; border-top: 1px solid var(--rule-strong);
}
.specs > div:last-child { border-bottom: 1px solid var(--rule-strong); }
.specs dt { font-stretch: 90%; font-weight: 750; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.3; }
.specs dd { margin: 0; color: var(--ink-soft); max-width: 68ch; }
.specs dd a { color: var(--purple-ink); font-weight: 600; }
@media (max-width: 639.98px) { .specs > div { grid-template-columns: 1fr; } }

/* A comparison table: what we do against what the category usually does, row by row. Scrolls sideways on a phone rather than squeezing. */
.compare-wrap { overflow-x: auto; margin: 2.5rem 0 0; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--rule-strong); vertical-align: top; }
.compare thead th { font-stretch: 90%; font-weight: 750; border-bottom-width: 2px; }
.compare tbody th { font-stretch: 90%; font-weight: 750; width: 13rem; }
.compare td { color: var(--ink-soft); }
.compare td:nth-child(2) { color: var(--ink); font-weight: 600; }

/* A note that belongs beside a claim: small, ruled above. */
.aside { margin-top: 1.75rem; padding-top: 1rem; border-top: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--ink-soft); max-width: 60ch; }
.poster--purple .aside, .poster--deep .aside { border-top-color: color-mix(in srgb, currentColor 28%, transparent); color: var(--on-purple-2); }

/* ==========================================================================
   Inner-page hero
   ========================================================================== */
.page-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem); }
.page-hero .bill { font-size: clamp(3rem, 6.4vw + 0.4rem, 6.25rem); }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero .actions { margin-top: 2rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (max-width: 899.98px) { .page-hero-grid { grid-template-columns: 1fr; } }
.crumbs { display: flex; gap: 0.5rem; font-size: var(--fs-xs); margin-bottom: 1.75rem; color: var(--on-purple-2); }
.crumbs a { color: inherit; }

/* ==========================================================================
   FAQ: native details, ruled.
   ========================================================================== */
.faq { max-width: 52rem; margin-top: 2.5rem; }
.faq details { border-top: 1px solid var(--rule-strong); }
.faq details:last-child { border-bottom: 1px solid var(--rule-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: 0 0 auto; width: 0.7rem; height: 0.7rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq details > div { padding: 0 0 1.4rem; color: var(--ink-soft); max-width: 68ch; }
.faq details > div p + p { margin-top: 0.75rem; }

/* ==========================================================================
   Prose: privacy policy, about.
   ========================================================================== */
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.8rem, 2vw + 1rem, 2.5rem); margin-top: 3rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35rem; }
.prose a { color: var(--purple-ink); font-weight: 600; }

/* ==========================================================================
   Pricing: one ticket, every stage.
   ========================================================================== */
.admits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; margin-top: 3rem; }
.admit {
  padding: 1.75rem 1.6rem 1.6rem;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 4px;
  display: flex; flex-direction: column;
}
.admit h2, .admit h3 { font-stretch: 80%; font-weight: 900; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; }
.admit .what { margin-top: 0.75rem; color: var(--ink-soft); font-size: var(--fs-sm); }
.admit ul { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.admit li { padding: 0.5rem 0; border-top: 1px solid var(--rule); font-size: var(--fs-sm); }
.admit .actions { margin-top: auto; padding-top: 1.5rem; }
.admit--main { background: var(--purple-deep); color: var(--on-purple); border-color: transparent; }
.poster--paper .admit--main, .poster--sheet .admit--main { background: var(--purple); }
.admit:not(.admit--main) a:not(.ticket) { color: var(--purple-ink); }
.admit--main .what { color: var(--on-purple-2); }
.admit--main li { border-top-color: color-mix(in srgb, currentColor 28%, transparent); }

/* The plan's price on the main ticket, filled in from the portal by site.js. */
.plan-price { margin: 1rem 0 0; display: grid; gap: 0.2rem; }
.plan-price[hidden] { display: none; }
.plan-price-main { font-size: var(--fs-h3); line-height: 1.1; }
.plan-price-main strong { font-stretch: 80%; font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.2rem); letter-spacing: -0.03em; }
.plan-price-unit { color: var(--on-purple-2); }
.plan-price-alt, .plan-price-setup { font-size: var(--fs-sm); color: var(--on-purple-2); }
.plan-price-alt[hidden] { display: none; }
.plan-price-alt strong, .plan-price-setup strong { color: var(--on-purple); }

/* Everything included, grouped by module. */
.included { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 2.5rem 2.5rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.included h3 { font-weight: 800; font-stretch: 88%; font-size: 1.2rem; letter-spacing: -0.015em; padding-bottom: 0.6rem; border-bottom: 2px solid currentColor; }
.included .rows { margin-top: 0; }
.included .rows li:last-child { border-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.routes { list-style: none; padding: 0; margin: 2.5rem 0 0; }
.routes li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--rule-strong); }
.routes li:last-child { border-bottom: 1px solid var(--rule-strong); }
.routes h3 { font-stretch: 85%; font-weight: 850; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.routes p { margin-top: 0.3rem; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 56ch; }
@media (max-width: 639.98px) { .routes li { grid-template-columns: 1fr; } }

/* ==========================================================================
   Closing poster, before the footer on every page.
   ========================================================================== */
.close-poster .bill { font-size: clamp(3rem, 7vw + 0.5rem, 6.5rem); }
.close-poster .lead { margin-top: 1.5rem; }
.close-poster .actions { margin-top: 2.25rem; }
/* The one price statement on the home page: what the price depends on, with /pricing beside it. */
.price-line { margin-top: 1rem; max-width: 40rem; color: var(--on-purple-2); }
.price-line b { color: var(--on-purple); font-weight: 750; }
@media (max-width: 559.98px) {
  /* The link's arrow stays with its words when it wraps under the button. */
  .close-poster .actions .quiet { white-space: nowrap; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--purple-deep);
  color: var(--on-purple);
  /* A hairline, so a page that closes on a deep poster still has an end before the footer. */
  border-top: 1px solid color-mix(in srgb, var(--on-purple) 14%, transparent);
  padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
  font-size: var(--fs-sm);
}
.site-footer .logo-light { display: none; }
.site-footer .logo-dark { display: block; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem 2rem; }
.footer-brand img { height: 32px; width: auto; }
.footer-brand p { margin-top: 1rem; max-width: 26ch; color: var(--on-purple-2); }
.footer-col h2, .footer-col h4 { font-stretch: 90%; font-weight: 750; font-size: 1rem; margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.45rem; }
.footer-col a { color: var(--on-purple-2); text-decoration: none; }
.footer-col a:hover { color: var(--on-purple); text-decoration: underline; }
.footer-bottom, .footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3.5rem; padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  color: var(--on-purple-2); font-size: var(--fs-xs);
}
.footer-bottom nav, .footer-legal nav { display: flex; gap: 1.25rem; }
.footer-bottom a, .footer-legal a { color: inherit; }
@media (max-width: 899.98px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; }

/* ==========================================================================
   Player and search sketches: sample content in the real layouts. The
   transcript lights line by line, following the speaker.
   ========================================================================== */
.sketch-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.sketch-pair .appsketch { width: 100%; aspect-ratio: auto; border-radius: 26px; padding-bottom: 14px; }
.sketch-pair .appsketch + .appsketch { margin-top: 3rem; }
.ps-video { margin: 4px 12px 0; border-radius: 12px; overflow: hidden; }
.ps-video .as-art { aspect-ratio: 16 / 9; }
.ps-bar { height: 3px; margin: 10px 12px 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 46%; background: var(--brand); }
.ps-lines { list-style: none; margin: 8px 8px 0; padding: 0; }
.ps-lines li { padding: 6px 8px; border-radius: 8px; font-size: 12px; line-height: 1.4; opacity: 0.55; transition: opacity 0.4s, background 0.4s; }
.ps-lines li b { display: block; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand); opacity: 0.9; }
.ps-lines li.is-now, .ps-lines li:nth-child(3):not(.is-done):not(.is-now) { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.js-transcript .ps-lines li:nth-child(3):not(.is-now) { opacity: 0.55; background: none; }
.js-transcript .ps-lines li.is-done { opacity: 0.7; }
.ss-box { margin: 6px 12px 10px; padding: 9px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; }
.ss-box span { opacity: 0.55; }
.ss-hit { margin: 0 12px 8px; padding: 10px 11px; border-radius: 10px; background: #1d1a22; }
.ss-hit b { display: block; font-size: 12.5px; }
.ss-hit span { display: block; opacity: 0.7; font-size: 11px; }
.ss-hit q { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; quotes: none; }
.ss-hit mark { background: color-mix(in srgb, var(--brand) 55%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }
.ss-hit time { opacity: 0.7; white-space: nowrap; }
@media (max-width: 559.98px) { .sketch-pair { grid-template-columns: 1fr; } .sketch-pair .appsketch + .appsketch { margin-top: 0; } }

/* ==========================================================================
   Layered: the portal, with the app it drives floating in front of it.
   The phone sits at a different depth and drifts as the page scrolls.
   ========================================================================== */
.layered { position: relative; padding: 0 9% 12% 0; }
.layered > .shot:first-child { margin: 0; }
.layered .shot--float {
  position: absolute; right: 0; bottom: 0;
  width: 31%; max-width: 250px; margin: 0;
}
.layered .shot--float img {
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  box-shadow: 0 20px 28px -18px rgba(10, 6, 12, 0.6);
}
.layered figcaption { max-width: 60%; }
/* A tall settings panel instead of a wide page: the panel on the left, the app wearing those
   settings larger beside it. */
.layered--panel { padding: 0 0 6% 0; }
.layered--panel > .shot:first-child { width: 60%; }
.layered--panel .shot--float { width: 44%; max-width: 300px; }

/* ==========================================================================
   The offline scene: a phone that loses signal and carries on.
   Stages (set by site.js on [data-stage]): 0 online, 1 no signal,
   2 form saved while offline, 3 back online and sent.
   ========================================================================== */
.offline {
  --ok: #5fd08a;
  width: min(340px, 100%);
  justify-self: center;
  background: #121015; color: #f1edf3;
  border-radius: 28px;
  padding: 14px 14px 16px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-size: 13px; line-height: 1.4;
}
/* Given the stage beside a claim, the scene is the poster's picture, so it plays larger. */
.offline--stage { width: min(400px, 100%); font-size: 14.5px; }
.off-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 12px; font-weight: 700; font-size: 12px; }
.off-bars { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.off-bars i { width: 3px; background: currentColor; border-radius: 1px; transition: opacity 0.35s, transform 0.35s var(--ease); }
.off-bars i:nth-child(1) { height: 4px; } .off-bars i:nth-child(2) { height: 7px; }
.off-bars i:nth-child(3) { height: 10px; } .off-bars i:nth-child(4) { height: 12px; }
.offline[data-stage='1'] .off-bars i, .offline[data-stage='2'] .off-bars i { opacity: 0.18; }
.off-sig { display: flex; align-items: center; gap: 7px; }
.off-net { font-weight: 700; font-size: 11px; opacity: 0.8; }
.offline[data-stage='1'] .off-net, .offline[data-stage='2'] .off-net { color: var(--ink2); opacity: 1; }
.off-card { background: #1d1a22; border-radius: 14px; padding: 12px; }
.off-card + .off-card { margin-top: 8px; }
.off-now { display: flex; gap: 10px; align-items: center; }
.off-art { width: 46px; height: 46px; border-radius: 9px; background: var(--ink2); flex: 0 0 auto; }
.off-now b { display: block; font-size: 13px; }
.off-now span { opacity: 0.7; font-size: 12px; }
.off-prog { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); margin-top: 10px; overflow: hidden; }
.off-prog i { display: block; height: 100%; width: 40%; background: var(--ink2); border-radius: inherit; }
.off-form { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.off-form b { font-size: 13px; }
.off-chip {
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.35s, color 0.35s;
}
.offline[data-stage='2'] .off-chip { background: color-mix(in srgb, var(--ink2) 30%, transparent); color: var(--ink2); }
.offline[data-stage='3'] .off-chip { background: color-mix(in srgb, var(--ok) 25%, transparent); color: var(--ok); }
.off-say {
  margin-top: 12px; padding: 10px 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700; font-size: 13px; min-height: 2.6em;
}
.off-say span { display: none; }
.offline[data-stage='0'] .off-say span:nth-child(1),
.offline[data-stage='1'] .off-say span:nth-child(2),
.offline[data-stage='2'] .off-say span:nth-child(3),
.offline[data-stage='3'] .off-say span:nth-child(4) { display: block; animation: off-in 0.5s var(--ease); }
@keyframes off-in { from { opacity: 0; transform: translateY(4px); } }
@media all {
  .js-offline .off-prog i { animation: off-play 12s linear infinite; }
  @keyframes off-play { from { width: 18%; } to { width: 78%; } }
}

/* ==========================================================================
   The flow run: a Flow's steps, lit one after another. Waits carry a bar
   that fills while the Flow waits.
   ========================================================================== */
.flowrun { list-style: none; margin: 0; padding: 0; position: relative; max-width: 26rem; }
.flowrun::before {
  content: ''; position: absolute; left: 0.62rem; top: 0.9rem; bottom: 0.9rem; width: 2px;
  background: color-mix(in srgb, currentColor 22%, transparent);
}
.flowrun li { position: relative; display: flex; align-items: center; gap: 0.9rem; padding: 0.45rem 0; }
.fr-dot {
  position: relative; z-index: 1; flex: 0 0 auto;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  border: 2px solid var(--ink2); background: var(--ink2);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.fr-body b { display: block; font-weight: 700; font-size: var(--fs-sm); }
.fr-body span { display: block; font-size: var(--fs-xs); opacity: 0.8; }
.fr-wait .fr-dot { width: 0.7rem; height: 0.7rem; margin-left: 0.28rem; margin-right: 0.28rem; }
.fr-wait .fr-body { flex: 1; font-size: var(--fs-xs); opacity: 0.85; }
.fr-bar { display: block; height: 3px; margin-top: 0.35rem; border-radius: 2px; background: color-mix(in srgb, currentColor 18%, transparent); overflow: hidden; }
.fr-bar i { display: block; height: 100%; width: 100%; background: var(--ink2); transform-origin: left; }
@media all {
  .js-flowrun .flowrun li { opacity: 0.45; transition: opacity 0.4s; }
  .js-flowrun .flowrun .fr-dot { background: transparent; transform: scale(0.85); }
  .js-flowrun .flowrun .fr-bar i { transform: scaleX(0); }
  .js-flowrun .flowrun li.is-done, .js-flowrun .flowrun li.is-now { opacity: 1; }
  .js-flowrun .flowrun li.is-done .fr-dot, .js-flowrun .flowrun li.is-now .fr-dot { background: var(--ink2); transform: none; }
  .js-flowrun .flowrun li.is-now:not(.fr-wait) .fr-dot { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ink2) 30%, transparent); }
  .js-flowrun .flowrun li.is-done .fr-bar i { transform: none; }
  .js-flowrun .flowrun li.is-now .fr-bar i { transform: none; transition: transform 1.6s linear; }
}

/* ==========================================================================
   The pipeline: a recording travelling through Studio's stages.
   ========================================================================== */
.pipeline { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.4rem; }
.pipeline li { position: relative; padding-top: 0.85rem; font-size: var(--fs-xs); font-weight: 700; font-stretch: 90%; }
.pipeline li::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px;
  background: linear-gradient(var(--ink2), var(--ink2)) left / 100% 100% no-repeat, color-mix(in srgb, currentColor 18%, transparent);
}
.pipeline span { display: block; font-weight: 500; opacity: 0.75; margin-top: 0.15rem; }
@media all {
  .js-pipeline .pipeline li { opacity: 0.5; transition: opacity 0.4s; }
  .js-pipeline .pipeline li::before { background-size: 0% 100%, auto; }
  .js-pipeline .pipeline li.is-done, .js-pipeline .pipeline li.is-now { opacity: 1; }
  .js-pipeline .pipeline li.is-done::before { background-size: 100% 100%, auto; }
  .js-pipeline .pipeline li.is-now::before { background-size: 100% 100%, auto; transition: background-size 1.3s var(--ease); }
}
@media (max-width: 699.98px) { .pipeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.25rem; } }

/* ==========================================================================
   HeartBeat Studio: its own plum field and lilac ink, taken from its mark.
   Studio posters are deep posters with Studio's colours, so every deep rule
   (text, rows, field) applies to them.
   ========================================================================== */
.poster--deep.poster--studio { background: #3b2247; }
:root[data-theme='dark'] .poster--deep.poster--studio { background: #2c1834; }
.studio-lockup { display: flex; align-items: center; gap: 0.9rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.studio-lockup img { width: 56px; height: 56px; }
.studio-lockup b { display: block; font-weight: 850; font-stretch: 85%; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.05; }
.studio-lockup span { display: block; font-size: var(--fs-sm); color: var(--on-purple-2); }
.studio-mark { justify-self: center; width: min(320px, 70vw); }
.studio-mark img, .studio-mark-svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(10, 4, 14, 0.45)); }
/* The mark plays: the outer bars move like a level meter, and a ripple runs
   down the play triangle as if the recording has started. Faster on hover. */
@media all {
  .studio-mark-svg g[fill="#f0e7f6"] rect,
  .studio-mark-svg g[fill="#b394c8"] rect { transform-box: fill-box; transform-origin: center; }
  .studio-mark-svg g[fill="#f0e7f6"] rect { animation: hbs-level 1.3s ease-in-out infinite alternate; }
  .studio-mark-svg g[fill="#f0e7f6"] rect:nth-child(2) { animation-delay: -0.55s; animation-duration: 1.1s; }
  .studio-mark-svg g[fill="#f0e7f6"] rect:nth-child(3) { animation-delay: -0.95s; animation-duration: 1.45s; }
  .studio-mark-svg g[fill="#b394c8"] rect { animation: hbs-play 2.6s var(--ease) infinite; }
  .studio-mark-svg g[fill="#b394c8"] rect:nth-child(2) { animation-delay: 0.1s; }
  .studio-mark-svg g[fill="#b394c8"] rect:nth-child(3) { animation-delay: 0.2s; }
  .studio-mark-svg g[fill="#b394c8"] rect:nth-child(4) { animation-delay: 0.3s; }
  .studio-mark-svg g[fill="#b394c8"] rect:nth-child(5) { animation-delay: 0.4s; }
  .studio-mark-svg g[fill="#b394c8"] rect:nth-child(6) { animation-delay: 0.5s; }
  .studio-mark-svg g[fill="#b394c8"] rect:nth-child(7) { animation-delay: 0.6s; }
  .studio-mark.is-pointed .studio-mark-svg g[fill="#f0e7f6"] rect { animation-duration: 0.45s; }
  .studio-mark.is-pointed .studio-mark-svg g[fill="#b394c8"] rect { animation-duration: 1.1s; }
}
@keyframes hbs-level { from { transform: scaleY(0.5); } to { transform: scaleY(1.15); } }
@keyframes hbs-play {
  0%, 55%, 100% { transform: scaleY(1); }
  18% { transform: scaleY(0.68); }
  36% { transform: scaleY(1.08); }
}
@media (max-width: 899.98px) { .studio-mark { display: none; } }
.mega-link--studio { display: grid; grid-template-columns: 30px 1fr; column-gap: 0.65rem; }
.mega-link--studio img { grid-row: span 2; width: 30px; height: 30px; margin-top: 2px; }

/* Made in Studio, seen in the app: a Studio screen, a signal, the phone it lands on. */
.made { list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0; }
.made > li {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) 72px minmax(0, 0.5fr);
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-top: 1px solid var(--rule-strong);
}
.made > li:last-child { border-bottom: 1px solid var(--rule-strong); }
.made h3 { font-weight: 850; font-stretch: 85%; font-size: clamp(1.4rem, 1.2vw + 1rem, 1.85rem); letter-spacing: -0.025em; line-height: 1.05; }
.made p { margin-top: 0.6rem; color: var(--ink-soft); font-size: var(--fs-sm); max-width: 38ch; }
.made .by { display: block; margin-top: 1rem; font-size: var(--fs-xs); font-weight: 700; color: var(--purple-ink); }
.made .shot--phone { max-width: 210px; }
.made-link { position: relative; height: 2px; background: color-mix(in srgb, var(--purple) 35%, transparent); border-radius: 1px; }
.made-link::after {
  content: ''; position: absolute; right: -6px; top: 50%;
  width: 9px; height: 12px; background: var(--purple);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
}
.made-link i {
  position: absolute; top: 50%; left: 0; width: 22px; height: 6px; margin-top: -3px; border-radius: 3px;
  background: var(--purple); opacity: 0;
}
@media all {
  .made-link i { animation: made-signal 2.4s var(--ease) infinite; }
  .made > li:nth-child(2) .made-link i { animation-delay: 0.4s; }
  .made > li:nth-child(3) .made-link i { animation-delay: 0.8s; }
  .made > li:nth-child(4) .made-link i { animation-delay: 1.2s; }
  .made > li:nth-child(5) .made-link i { animation-delay: 1.6s; }
}
@keyframes made-signal {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateX(52px); opacity: 0; }
}
@media (max-width: 899.98px) {
  .made > li { grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); }
  .made > li > div:first-child { grid-column: 1 / -1; }
  .made-link { display: none; }
}

/* ==========================================================================
   Picture viewer (site.js imageViewer), here and in the help centre.
   Each picture sits in a bare button; all its framing stays on the img, so a
   visitor without JavaScript sees exactly the same page.
   ========================================================================== */
.hb-zoom {
  display: block; width: 100%; margin: 0; padding: 0;
  border: 0; border-radius: var(--r); background: none; color: inherit;
  font: inherit; text-align: inherit; cursor: zoom-in;
}
.hb-zoom img { display: block; }
.hb-zoom:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.hb-viewer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden;
  background: rgba(8, 5, 14, 0.975); color: #fff;
}
.hb-viewer::backdrop { background: transparent; }
.hb-viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; animation: hbv-in 0.16s var(--ease); }
@keyframes hbv-in { from { opacity: 0; } }
.hbv-stage { position: relative; overflow: hidden; touch-action: none; cursor: zoom-out; }
.hbv-img {
  position: absolute; left: 50%; top: 50%; max-width: none;
  transform: translate(-50%, -50%);
  border-radius: 10px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  user-select: none; -webkit-user-drag: none; cursor: zoom-in;
}
.hb-viewer.is-zoomed .hbv-img { cursor: grab; }
.hb-viewer.is-dragging .hbv-img { cursor: grabbing; }
.hb-viewer.is-easing .hbv-img { transition: transform 0.18s var(--ease); }
.hbv-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.7rem 1rem;
  padding: 0.7rem 1rem calc(0.9rem + env(safe-area-inset-bottom));
}
.hbv-cap { flex-basis: 100%; max-width: 72ch; margin: 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); text-align: center; }
.hbv-bar {
  display: flex; align-items: center; gap: 0.3rem; padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.07);
}
.hbv-bar button, .hbv-close {
  display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 0.5rem;
  border: 0; border-radius: 999px; background: transparent; color: #fff;
  font-family: inherit; font-size: 0.85rem; font-weight: 750; cursor: pointer;
}
.hbv-bar button[hidden] { display: none; }
.hbv-bar button:hover:not(:disabled), .hbv-close:hover { background: rgba(255, 255, 255, 0.15); }
.hbv-bar button:disabled { opacity: 0.35; cursor: default; }
.hbv-bar button:focus-visible, .hbv-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hbv-pct { min-width: 3.4em; font-variant-numeric: tabular-nums; }
.hbv-close {
  position: absolute; top: calc(0.75rem + env(safe-area-inset-top)); right: 0.75rem; z-index: 1;
  background: rgba(255, 255, 255, 0.12);
}
html.hbv-lock { overflow: hidden; }

/* The home hero's per-audience screens: exactly the sketch's frame, sitting on the poster's edge. */
.hero-shots img {
  display: block; width: min(330px, 78vw); height: auto;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: #121015;
}
.hero-shots img[hidden], .appsketch[hidden] { display: none; }

/* The market pages' hero: a real phone screen where the sketch used to be, the same size and
   corners, so the page keeps its shape. */
.page-hero .hero-shot { justify-self: center; width: min(330px, 78vw); }
.page-hero .hero-shot img {
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  background: #121015;
}

/* Three phones fanned in one hero: the coaches page shows three demo businesses. The tilt
   is on the trio as a whole, so each phone keeps its own fixed lean. */
.page-hero .hero-trio { position: relative; justify-self: center; width: min(470px, 92vw); aspect-ratio: 470 / 640; }
.page-hero .hero-trio .hero-shot { position: absolute; width: 56%; margin: 0; }
.page-hero .hero-trio .hero-shot:nth-child(1) { left: 0; top: 9%; transform: rotate(-7deg); z-index: 1; }
.page-hero .hero-trio .hero-shot:nth-child(2) { left: 22%; top: 0; z-index: 3; }
.page-hero .hero-trio .hero-shot:nth-child(3) { right: 0; top: 9%; transform: rotate(7deg); z-index: 2; }
.page-hero .hero-trio .hero-shot img { border-radius: 26px; }
/* The outer phones lean out past their box; on a phone keep the whole fan inside the gutters. */
@media (max-width: 599.98px) { .page-hero .hero-trio { width: 80vw; } }

/* Phone screens in a row, scrolled sideways on a narrow screen instead of squeezed. */
.phone-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem 0 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 35%, transparent) transparent;
}
.phone-row > figure { scroll-snap-align: start; margin: 0; }
.phone-row img {
  width: 100%; height: auto; border-radius: 22px;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.phone-row figcaption { margin-top: 0.8rem; font-size: var(--fs-sm); color: var(--on-purple-2); max-width: 26ch; }
.phone-row figcaption b { display: block; color: var(--on-purple); font-weight: 750; font-size: 1rem; }

/* A rail of real screens, scrolled sideways, snapping to each. */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 620px); gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem 0 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  scrollbar-width: thin; scrollbar-color: color-mix(in srgb, currentColor 35%, transparent) transparent;
}
.rail > figure { scroll-snap-align: start; margin: 0; }
.rail img { border-radius: var(--r); border: 1px solid color-mix(in srgb, currentColor 22%, transparent); width: 100%; }
.rail figcaption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--on-purple-2); }
.rail figcaption b { display: block; color: var(--on-purple); font-weight: 750; font-size: 1rem; }

/* ==========================================================================
   The signal field: a WebGL canvas behind purple and deep posters (site.js).
   The container rides above it; the flat field colour is the fallback.
   ========================================================================== */
.gl-field {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; z-index: 0;
  pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.has-gl > .gl-field { opacity: 1; }
.has-gl > .container { position: relative; z-index: 1; }

/* ==========================================================================
   Pointer reactions (mouse only; site.js adds .js-hover and the vars).
   ========================================================================== */
@media all {
  /* Lean toward the pointer, like picking something up. */
  .js-hover [data-tilt] {
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.6s var(--ease);
  }
  .js-hover [data-tilt].is-pointed { transition: transform 0.12s linear; }
  .js-hover .hero-app[data-tilt] .appsketch { box-shadow: calc(var(--hx, 0) * -18px) 30px 60px -30px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06); }

  /* A light that follows the pointer, in the tile's own ink. */
  .js-hover [data-light] { position: relative; isolation: isolate; }
  .js-hover [data-light]::after {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink2) 34%, transparent), transparent 62%);
    opacity: 0; transition: opacity 0.35s;
  }
  .js-hover [data-light].is-pointed::after { opacity: 1; }
  .js-hover .admit[data-light]::after { background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--ink2) 22%, transparent), transparent 60%); }

  /* With the light, the audience tiles no longer flood on hover: they stay
     dark, the light shows their ink, and the edge picks it up. */
  .js-hover .series a:hover { background: var(--purple-deep); color: var(--on-purple); box-shadow: inset 0 0 0 1.5px var(--ink2); }
  .js-hover .series a:hover .art { color: var(--ink2); }
  .js-hover .series a:hover .t { color: var(--on-purple); }
  .js-hover .series a:hover .d { color: var(--on-purple-2); }
  .js-hover .series .other a:hover { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--purple); }
  .js-hover .series .other a:hover .art { color: var(--purple-ink); }
  .js-hover .series .other a:hover .t { color: var(--ink); }
  .js-hover .series .other a:hover .d { color: var(--ink-soft); }
  .js-hover .series .other [data-light]::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--purple) 16%, transparent), transparent 62%); }

  /* Book a demo: a light sweeps across it, and it leans toward the pointer. */
  .ticket { overflow: hidden; isolation: isolate; }
  .ticket::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-130%);
  }
  .ticket:hover::after { transform: translateX(130%); transition: transform 0.9s var(--ease); }
  .js-hover .ticket:hover { transform: translate(var(--tx, 0px), calc(var(--ty, 0px) - 2px)); }

  /* Ruled rows draw their rule in ink as the pointer reaches them. */
  .programme > div { position: relative; }
  .programme > div::before {
    content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
    background: var(--purple); transform: scaleX(0); transform-origin: left;
    transition: transform 0.55s var(--ease);
  }
  .poster--purple .programme > div::before, .poster--deep .programme > div::before { background: var(--ink2); }
  .programme > div:hover::before { transform: none; }

  /* Navigation underlines draw in from the left. */
  .js-hover .nav-link:hover { text-decoration: none; }
  .js-hover .nav-link { background: linear-gradient(currentColor, currentColor) left calc(100% - 4px) / 0% 1.5px no-repeat; transition: background-size 0.35s var(--ease); }
  .js-hover .nav-link:hover { background-size: calc(100% - 1.4rem) 1.5px; background-position: 0.7rem calc(100% - 4px); }
}

/* A phone row of only a few screens (the real church's three): held to a readable size, and
   legible on a paper poster, where the row's captions would otherwise be the purple posters' pale type. */
.phone-row--few { max-width: 46rem; }
.poster--paper .phone-row figcaption, .poster--sheet .phone-row figcaption { color: var(--ink-soft); }
.poster--paper .phone-row figcaption b, .poster--sheet .phone-row figcaption b { color: var(--ink); }
