/* Meridia360 marketing site: light theme.
   A white page with soft lavender tints, a faint grid and drifting colour behind the hero, bold
   ink headlines, the brand purple for calls to action and teal for "it worked". Content eases in as
   it scrolls into view (site.js adds .reveal / .is-in); everything respects reduced motion.
   Brand colours from the app's branding.ts. */
:root {
  --bg: #ffffff;
  --bg-2: #f6f5fc;
  --bg-3: #eceaf8;
  --tint: #f8f7fe;
  --line: rgb(23 21 43 / 0.08);
  --line-2: rgb(23 21 43 / 0.14);
  --ink: #14122b;
  --ink-2: #4a4766;
  --ink-3: #6e6b8a;
  --brand: #6152e4;
  --brand-hi: #5243d6;
  --brand-soft: rgb(97 82 228 / 0.1);
  --purple-1: #3c2fb0;
  --purple-2: #6152e4;
  --go: #14c3a2;
  --go-hi: #2fd6b6;
  --go-ink: #04261f;
  --go-text: #08866f;
  --soon: #f2b33d;
  --grad: linear-gradient(135deg, #6152e4 0%, #7d6ff7 55%, #14c3a2 130%);
  --shadow-sm: 0 1px 2px rgb(23 21 43 / 0.05), 0 4px 12px -6px rgb(23 21 43 / 0.08);
  --shadow: 0 1px 2px rgb(23 21 43 / 0.04), 0 24px 48px -28px rgb(40 30 110 / 0.28);
  --shadow-lg: 0 2px 4px rgb(23 21 43 / 0.04), 0 40px 80px -36px rgb(40 30 110 / 0.4);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 16px;
  --wrap: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: rgb(97 82 228 / 0.18); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin-inline: auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 480px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1.4 var(--font); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-hi); margin-bottom: 18px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--brand-soft); }
.eyebrow:not(:has(.step)) { padding-left: 14px; }
.eyebrow-light { color: var(--brand-hi); }
.soon { font: 600 11px/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; color: #4a3000; background: #ffe2a6; padding: 3px 6px; border-radius: 5px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }
.tier-tag { font: 600 11px/1 var(--font); font-style: normal; text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: var(--brand); padding: 3px 6px; border-radius: 5px; vertical-align: 2px; margin-left: 4px; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { white-space: nowrap; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, box-shadow .25s ease, color .2s ease, transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-go { background: var(--grad); background-size: 140% 140%; color: #fff; box-shadow: 0 10px 24px -10px rgb(97 82 228 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.25); }
.btn-go:hover { box-shadow: 0 16px 32px -12px rgb(97 82 228 / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.25); background-position: 100% 0; }
/* a light sweep across the primary button */
.btn-go::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%); translate: -120% 0; }
.btn-go:hover::after { translate: 120% 0; transition: translate .7s ease; }
.btn-line { color: var(--ink); background: #fff; border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-line:hover { border-color: rgb(97 82 228 / 0.45); color: var(--brand-hi); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } .btn-go::after { display: none; } }

/* ---------- announcement + header ---------- */
.announce { position: relative; background: var(--ink); color: #fff; text-align: center; font-weight: 500; font-size: 15px; padding: 10px 48px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.announce a { color: var(--go-hi); font-weight: 700; }
.announce-close { position: absolute; right: max(10px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.announce-close svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* The header is a floating glass pill: the bar itself is transparent, the row inside is the pill.
   It drops in on load, tightens and frosts more once the page scrolls (site.js adds .is-scrolled),
   and a soft highlight glides between the links under the pointer (site.js moves .nav-glow). */
.top { position: sticky; top: 0; z-index: 20; padding-top: max(12px, env(safe-area-inset-top, 0px)); pointer-events: none; }
.top .top-row { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 20px; width: calc(100% - 32px); max-width: 1232px; min-height: 68px; margin-inline: auto; padding: 0 10px 0 24px; border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.55));
  backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgb(255 255 255 / 0.75);
  box-shadow: 0 0 0 1px rgb(23 21 43 / 0.06), inset 0 1px 0 rgb(255 255 255 / 0.9), 0 12px 32px -16px rgb(40 30 110 / 0.3);
  transition: max-width .5s var(--ease), min-height .4s var(--ease), background-color .3s ease, box-shadow .4s ease, padding .4s var(--ease); }
/* a gradient rim that brightens once scrolled */
.top .top-row::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgb(97 82 228 / 0.5), rgb(255 255 255 / 0) 35%, rgb(255 255 255 / 0) 65%, rgb(20 195 162 / 0.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.top.is-scrolled .top-row { max-width: 1232px; min-height: 60px; background: linear-gradient(180deg, rgb(255 255 255 / 0.85), rgb(255 255 255 / 0.7)); box-shadow: 0 0 0 1px rgb(23 21 43 / 0.06), inset 0 1px 0 rgb(255 255 255 / 0.9), 0 18px 40px -18px rgb(40 30 110 / 0.4); }
.top.is-scrolled .top-row::before { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .top .top-row { animation: nav-in .8s var(--ease) both; } }
@keyframes nav-in { from { opacity: 0; translate: 0 -24px; scale: .96; } }
.brand { flex: none; display: flex; border-radius: 999px; }
.brand img { width: 146px; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav { position: relative; display: flex; gap: 2px; margin-left: auto; padding: 4px; border-radius: 999px; }
.nav-glow { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: rgb(255 255 255 / 0.95); box-shadow: 0 0 0 1px rgb(23 21 43 / 0.06), 0 6px 16px -8px rgb(40 30 110 / 0.45); opacity: 0; translate: var(--x, 0) 0; transition: translate .35s var(--ease), width .35s var(--ease), opacity .25s ease; pointer-events: none; }
.nav.has-glow .nav-glow { opacity: 1; }
.nav a { white-space: nowrap; position: relative; z-index: 1; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 13px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav:not(.has-glow) a:hover { background: rgb(255 255 255 / 0.8); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand); }
.top-cta { display: flex; align-items: center; gap: 8px; }
.top-cta .btn-line { background: rgb(255 255 255 / 0.6); }
@media (max-width: 560px) { .top-demo { display: none; } }
@media (min-width: 1141px) and (max-width: 1320px) { .nav a { padding-inline: 10px; font-size: 14.5px; } .top .top-row { gap: 12px; } .top-demo { display: none; } }
/* scroll progress along the bottom of the pill, drawn by site.js */
.scroll-progress { position: absolute; left: 28px; right: 28px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left; scale: var(--p, 0) 1; pointer-events: none; }
.menu { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; padding: 0; position: relative; }
.menu span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.menu span:first-child { top: 17px; }
.menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1140px) {
  .menu { display: block; }
  .top-cta { margin-left: auto; }
  .top .top-row { padding-left: 18px; min-height: 60px; }
  .top.is-scrolled .top-row { max-width: 1232px; }
  .top.is-scrolled .top-row { min-height: 56px; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); flex-direction: column; gap: 2px; margin: 0; padding: 10px; border-radius: 24px; background: rgb(255 255 255 / 0.95); backdrop-filter: blur(24px) saturate(1.8); -webkit-backdrop-filter: blur(24px) saturate(1.8); border: 1px solid rgb(255 255 255 / 0.9); box-shadow: 0 0 0 1px rgb(23 21 43 / 0.06), 0 30px 60px -24px rgb(40 30 110 / 0.45); }
  .nav:not(.open) { display: none; }
  .nav-glow { display: none; }
  .nav a { padding: 13px 16px; border-radius: 14px; color: var(--ink); font-size: 16px; }
  .nav a:hover, .nav:not(.has-glow) a:hover { background: var(--brand-soft); color: var(--brand-hi); }
  .nav a[aria-current="page"]::after { left: auto; right: 16px; top: 50%; bottom: auto; margin: -2px 0 0; }
  @media (prefers-reduced-motion: no-preference) {
    .nav.open { animation: drop .35s var(--ease) both; transform-origin: top right; }
    .nav.open a { animation: rise .4s var(--ease) both; }
    .nav.open a:nth-child(2) { animation-delay: .03s; } .nav.open a:nth-child(3) { animation-delay: .06s; } .nav.open a:nth-child(4) { animation-delay: .09s; }
    .nav.open a:nth-child(5) { animation-delay: .12s; } .nav.open a:nth-child(6) { animation-delay: .15s; } .nav.open a:nth-child(n + 7) { animation-delay: .18s; }
  }
}
@keyframes drop { from { opacity: 0; translate: 0 -10px; scale: .97; } }
@media (max-width: 420px) { .top .top-row { width: calc(100% - 20px); padding-left: 14px; gap: 10px; } .brand img { width: 118px; } .top-cta .btn-sm { padding: 0 12px; font-size: 14px; } .announce { font-size: 13px; padding-inline: 16px 44px; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding-block: 80px 72px; overflow: hidden; }
/* a faint grid, fading out from the middle */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgb(97 82 228 / 0.07) 1px, transparent 1px), linear-gradient(90deg, rgb(97 82 228 / 0.07) 1px, transparent 1px); background-size: 56px 56px; background-position: center top; mask-image: radial-gradient(ellipse 70% 70% at 60% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 35%, #000 20%, transparent 75%); }
/* drifting colour */
.hero::after { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -200px; top: -300px; background: radial-gradient(closest-side at 35% 40%, rgb(139 127 245 / 0.32), transparent), radial-gradient(closest-side at 70% 65%, rgb(20 195 162 / 0.2), transparent), radial-gradient(closest-side at 30% 75%, rgb(91 157 255 / 0.16), transparent); filter: blur(20px); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); font-weight: 750; letter-spacing: -0.045em; line-height: 1.04; background: linear-gradient(100deg, var(--ink) 0%, var(--ink) 45%, var(--brand) 70%, #14b896 90%, var(--ink) 100%); background-size: 220% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.lede a { color: var(--ink); text-decoration-color: rgb(97 82 228 / 0.5); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color .2s, text-decoration-color .2s; }
.lede a:hover { color: var(--brand-hi); text-decoration-color: currentColor; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.hero-viz { margin: 0; position: relative; display: grid; }
.orbit { grid-area: 1 / 1; width: 100%; max-width: 520px; margin-inline: auto; display: block; overflow: visible; }
.orbit-rings circle { stroke: rgb(97 82 228 / 0.3); stroke-width: 1.2; }
.orbit-rings circle:nth-child(2) { stroke: rgb(214 150 30 / 0.45); }
.orbit-rings circle:nth-child(3) { stroke: rgb(20 160 135 / 0.5); }
.chain { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: -8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; position: relative; box-shadow: var(--shadow-sm); }
.chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.chip b { font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip small { color: var(--ink-3); font-size: 12px; }
.chip-out { border-color: var(--go); }
.chip-out b { color: var(--go-text); }
.viz-note { text-align: center; margin-top: 10px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }

/* hero badge */
.hero-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 26px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgb(255 255 255 / 0.8); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.hero-pill:hover { border-color: rgb(97 82 228 / 0.45); color: var(--ink); box-shadow: 0 8px 20px -10px rgb(97 82 228 / 0.5); }
.hero-pill-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: rgb(20 195 162 / 0.14); color: var(--go-text); font-weight: 700; }
.hero-pill > span:nth-child(2) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-pill svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .2s ease; }
.hero-pill:hover svg { translate: 3px 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: drift 18s ease-in-out infinite alternate; }
  .hero h1 { animation: rise .9s var(--ease) both, sheen 9s ease-in-out 1.2s infinite; }
  .hero-copy > * { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(1) { animation-delay: .05s; }
  .hero-copy > :nth-child(3) { animation-delay: .25s; }
  .hero-copy > :nth-child(4) { animation-delay: .38s; }
  .hero-viz { animation: zoom-in 1.2s var(--ease) .15s both; }
  .page-hero .wrap > *, .docs-hero .wrap > * { animation: rise .8s var(--ease) both; }
  .page-hero .wrap > :nth-child(2), .docs-hero .wrap > :nth-child(2) { animation-delay: .08s; }
  .page-hero .wrap > :nth-child(3), .docs-hero .wrap > :nth-child(3) { animation-delay: .16s; }
  .page-hero .wrap > :nth-child(n + 4), .docs-hero .wrap > :nth-child(n + 4) { animation-delay: .24s; }
}
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(-80px, 60px) rotate(25deg) scale(1.08); } 100% { transform: translate(40px, 120px) rotate(-15deg) scale(.95); } }
@keyframes sheen { 0%, 55% { background-position: 0 0; } 100% { background-position: 100% 0; } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } }
@keyframes zoom-in { from { opacity: 0; scale: .92; } }
@media (max-width: 960px) { .hero { padding-block: 48px 48px; } .hero-grid { grid-template-columns: minmax(0, 1fr); } .orbit { max-width: 380px; } .hero::after { width: 600px; height: 600px; right: -260px; top: -160px; } }

/* ---------- demo video ---------- */
.btn-play { gap: 10px; padding-inline: 8px 16px; color: var(--ink); background: none; }
.btn-play small { font: 500 12px/1 var(--mono); color: var(--ink-3); }
.play-icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px rgb(23 21 43 / 0.08); transition: box-shadow .2s ease, background-color .2s ease; }
.play-icon svg { width: 14px; height: 14px; fill: #fff; }
.btn-play:hover .play-icon { background: var(--brand); box-shadow: 0 0 0 8px rgb(97 82 228 / 0.18); }
@media (prefers-reduced-motion: no-preference) { .play-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ping 2.4s ease-out infinite; } }
@keyframes ping { from { opacity: .6; scale: 1; } to { opacity: 0; scale: 1.9; } }
.video-dialog { width: min(1200px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: #000; overflow: visible; box-shadow: 0 40px 120px -20px rgb(20 15 60 / 0.6); }
.video-dialog::backdrop { background: rgb(20 18 43 / 0.55); backdrop-filter: blur(6px); }
.video-dialog video { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.video-dialog form { position: absolute; top: -52px; right: 0; }
.video-close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; box-shadow: var(--shadow-sm); }
.video-close svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 560px) { .video-dialog form { top: -48px; } }
@media (prefers-reduced-motion: no-preference) { .video-dialog[open], .trial-dialog[open] { animation: pop-in .35s var(--ease) both; } }
@keyframes pop-in { from { opacity: 0; translate: 0 16px; scale: .97; } }

/* ---------- logo strip ---------- */
.band { background: var(--tint); border-block: 1px solid var(--line); }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding-block: 22px; }
.band-title { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.band-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.band-logos li { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow-sm); }
.band-logos img { height: 24px; width: auto; }
.band-logos img.sq { height: 28px; }
.band-logos .band-text { background: transparent; color: var(--ink-2); border: 1px dashed var(--line-2); box-shadow: none; }
.band-marquee { flex: 1 1 420px; min-width: 0; overflow: hidden; padding-block: 4px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.band-track { display: flex; width: max-content; animation: band-roll 32s linear infinite; }
.band-track .band-logos { flex-wrap: nowrap; padding-right: 10px; }
.band-track .band-logos li { flex: none; }
.band-marquee:hover .band-track { animation-play-state: paused; }
@keyframes band-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band-marquee { mask-image: none; -webkit-mask-image: none; }
  .band-track { width: auto; animation: none; }
  .band-track .band-logos { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .band-track .band-logos[aria-hidden] { display: none; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: 112px; }
.section-tight { padding-block: 88px; }
.section-light, .section-tint, .section-purple { background: var(--tint); border-block: 1px solid var(--line); }
.head { max-width: 780px; margin-bottom: 56px; }
.head-center { margin-inline: auto; text-align: center; }
.head h2, .head-left, .proof-title, .mobile-text h2, .contact-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.head > p:last-child { margin-top: 18px; color: var(--ink-2); font-size: 1.1rem; }
.head-left { margin-bottom: 44px; max-width: 18em; }
.head .more { display: inline-flex; margin-top: 12px; color: var(--ink); }
.head p a:not(.more) { color: var(--brand-hi); text-underline-offset: 3px; }
@media (max-width: 720px) { .section { padding-block: 72px; } .section-tight { padding-block: 64px; } }

.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: rgb(20 195 162 / 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2308866f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

.step { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 12px/1 var(--font); letter-spacing: 0; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 56px; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 15px/1.2 var(--font); cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.tabs [role="tab"]:hover { color: var(--ink); background: rgb(255 255 255 / 0.7); }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(23 21 43 / 0.08), 0 6px 16px -8px rgb(40 30 110 / 0.35); }
@media (max-width: 960px) { .tabs { width: 100%; justify-content: flex-start; } }
.panel[hidden] { display: none; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.panel-text h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.panel-text > p:not(.tier) { margin-top: 18px; color: var(--ink-2); }
.tier { font-weight: 600; color: var(--ink-3); margin-bottom: 12px; font-size: 15px; }
.panel-shot { position: relative; }
.panel-shot::before { content: ""; position: absolute; inset: 6% -6% -8% 8%; background: radial-gradient(closest-side, rgb(97 82 228 / 0.28), transparent), radial-gradient(closest-side at 80% 80%, rgb(20 195 162 / 0.22), transparent); filter: blur(30px); z-index: 0; }
.shot { position: relative; z-index: 1; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) .panel-text { animation: rise .5s var(--ease) both; }
  .panel:not([hidden]) .panel-shot { animation: shot-in .7s var(--ease) .05s both; }
}
@keyframes shot-in { from { opacity: 0; translate: 0 24px; scale: .97; } }
@media (max-width: 960px) { .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 720px) { .tabs { flex-wrap: wrap; justify-content: center; width: 100%; border-radius: 24px; overflow: visible; } .tabs [role="tab"] { padding: 0 14px; min-height: 40px; } }

/* ---------- stats ---------- */
.proof { display: block; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.stat::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
.stat-big { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, var(--brand), #14b896); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-big small { font-size: 1rem; font-weight: 600; margin-left: 2px; -webkit-text-fill-color: var(--ink-3); }
.stat p:last-child { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 960px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease; }
.card h3 { font-size: 1.6rem; color: var(--ink); }
.card .ticks { margin-bottom: 28px; }
.card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.card-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgb(97 82 228 / 0.8); transition: transform .4s var(--ease); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.06); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-for { font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--ink-2); }
.card-for span { display: block; font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-hi); }
.card-lede { margin-top: 10px; color: var(--ink-2); }
.card .step { margin-right: 10px; vertical-align: 1px; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }
.more::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6M8.5 5.5L11 8l-2.5 2.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease), background-color .25s ease; }
.more:hover { color: var(--brand-hi); }
.more:hover::after, .card:hover .more::after { transform: translateX(4px); background-color: var(--brand); }
/* the whole card is the link; it lifts on hover, with a light that follows the pointer (site.js sets --mx/--my) */
.section-light .card .more::before { content: ""; position: absolute; inset: 0; }
.card::after, .plan::after, .doc-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(97 82 228 / 0.09), transparent 60%); }
.card:hover::after, .plan:hover::after, .doc-card:hover::after { opacity: 1; }
.card:hover { transform: translateY(-6px); border-color: rgb(97 82 228 / 0.25); box-shadow: 0 2px 4px rgb(23 21 43 / 0.04), 0 36px 60px -30px rgb(40 30 110 / 0.45); }
.card:has(.more:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.section-light .card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad); }
@media (prefers-reduced-motion: reduce) { .card, .card-icon { transition: none; } .card:hover { transform: none; } .card:hover .card-icon { transform: none; } }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* rail under the three cards: the data they all share */
.shared-stems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; height: 32px; }
.shared-stems span { justify-self: center; width: 2px; background: linear-gradient(var(--brand), var(--go)); background-size: 100% 200%; }
@media (prefers-reduced-motion: no-preference) { .shared-stems span { background: repeating-linear-gradient(180deg, var(--brand) 0 5px, transparent 5px 9px); animation: trickle 1s linear infinite; } }
@keyframes trickle { to { background-position: 0 9px; } }
.shared-rail { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; padding: 20px 28px; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.shared-title { font: 600 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--go-hi); }
.shared-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.shared-chips li { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.12); }
@media (max-width: 960px) { .shared-stems { grid-template-columns: 1fr; } .shared-stems span:not(:first-child) { display: none; } }

/* ---------- integrations hub ---------- */
/* Two rolling lanes: booking sources flow into Meridia360 on the left, what it connects to flows out
   on the right. site.js duplicates each track and adds .is-rolling; without it (no JS or reduced
   motion) the cards simply wrap. */
.hub { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0 28px; align-items: center; }
.hub-col { min-width: 0; display: grid; gap: 12px; }
.hub-label { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.hub-out .hub-label { text-align: right; }
.hub-lane { position: relative; }
.hub-lane::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, rgb(97 82 228 / 0.45) 0 6px, transparent 6px 11px); background-size: 11px 2px; }
.hub-track { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.hub-card { position: relative; flex: none; display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.hub-card:hover { border-color: rgb(97 82 228 / 0.3); box-shadow: 0 12px 24px -14px rgb(40 30 110 / 0.45); }
.hub-card strong { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; }
.hub-card small { display: block; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.hub-logo { flex: none; display: grid; place-items: center; width: 96px; height: 44px; border-radius: 10px; background: var(--bg-2); }
.hub-logo img { max-width: 78px; height: auto; }
.hub-logo-sq { width: 44px; }
.hub-logo-sq img { max-width: 30px; max-height: 28px; width: auto; }
.hub-icon { background: color-mix(in oklab, var(--c) 14%, #fff); }
.hub-icon svg { width: 22px; height: 22px; fill: none; stroke: color-mix(in oklab, var(--c) 80%, #000); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-lane.is-rolling { overflow: hidden; padding: 8px 0 12px; }
.hub-in .hub-lane.is-rolling { mask-image: linear-gradient(90deg, transparent, #000 18%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 94%, transparent); }
.hub-out .hub-lane.is-rolling { mask-image: linear-gradient(90deg, transparent, #000 6%, #000 82%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 82%, transparent); }
.hub-lane.is-rolling .hub-track { flex-wrap: nowrap; gap: 0; width: max-content; animation: roll var(--dur, 30s) linear infinite; }
.hub-lane.is-rolling .hub-card { margin-right: 12px; }
.hub-lane.is-rolling:hover .hub-track, .hub-lane.is-rolling:focus-within .hub-track { animation-play-state: paused; }
@keyframes roll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.hub-core { position: relative; display: grid; justify-items: center; gap: 12px; padding: 40px 8px; }
.hub-core img { width: 112px; height: 112px; border-radius: 30px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -16px rgb(97 82 228 / 0.6); position: relative; z-index: 1; }
.hub-core p { font-weight: 700; }
.hub-ring { position: absolute; top: 50%; left: 50%; width: 200px; height: 200px; margin: -118px 0 0 -100px; border-radius: 50%; border: 1px solid rgb(97 82 228 / 0.3); }
.hub-ring-2 { width: 280px; height: 280px; margin: -158px 0 0 -140px; border-style: dashed; opacity: .7; }
@media (prefers-reduced-motion: no-preference) {
  .hub-lane::before { animation: flow 1.2s linear infinite; }
  .hub-ring { animation: pulse 3.6s ease-in-out infinite; }
  .hub-ring-2 { animation: spin 40s linear infinite; }
  @keyframes flow { to { background-position: 11px 0; } }
  @keyframes pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .5; } }
  @keyframes spin { to { transform: rotate(360deg); } }
}
@media (max-width: 960px) {
  .hub { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hub-core { padding: 28px 0; }
  .hub-core img { width: 88px; height: 88px; border-radius: 24px; }
  .hub-ring { width: 160px; height: 160px; margin: -98px 0 0 -80px; }
  .hub-ring-2 { width: 220px; height: 220px; margin: -128px 0 0 -110px; }
  .hub-out .hub-label { text-align: left; }
  .hub-in .hub-lane.is-rolling, .hub-out .hub-lane.is-rolling { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(23 21 43 / 0.04), 0 36px 60px -30px rgb(40 30 110 / 0.45); }
.plan-main { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: 0 2px 4px rgb(23 21 43 / 0.04), 0 40px 80px -36px rgb(97 82 228 / 0.6); }
.plan-badge { position: absolute; top: -13px; left: 28px; background: var(--grad); color: #fff; font: 700 12px/1 var(--font); padding: 7px 12px; border-radius: 999px; box-shadow: 0 8px 16px -8px rgb(97 82 228 / 0.8); }
.plan h3 { font-size: 1.5rem; }
.plan-desc { color: var(--ink-2); margin-top: 6px; }
.plan-price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; min-height: 58px; }
.plan-price strong { font-size: 3.1rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price span { color: var(--ink-3); }
.plan-price-talk strong { font-size: 2rem; }
.plan-fee { color: var(--go-text); font-weight: 600; font-size: 15px; margin: 8px 0 24px; min-height: 1.5em; }
.plan .ticks { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .plan { transition: none; } .plan:hover { transform: none; } }
@media (max-width: 960px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; gap: 28px; } }

/* ---------- mobile ---------- */
.mobile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.mobile-text > p:last-child, .mobile-text > p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.phone { margin: 0; aspect-ratio: 9 / 19; border-radius: 30px; padding: 8px; background: var(--ink); box-shadow: 0 40px 70px -30px rgb(40 30 110 / 0.55); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.phone-raised { transform: translateY(-28px); }
@media (prefers-reduced-motion: no-preference) { .phones .phone { animation: float 7s ease-in-out infinite; } .phones .phone:nth-child(2) { animation-delay: -2.3s; } .phones .phone:nth-child(3) { animation-delay: -4.6s; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 960px) { .mobile { grid-template-columns: minmax(0, 1fr); gap: 40px; } .phones { gap: 12px; } .phone { border-radius: 22px; padding: 5px; } .phone img { border-radius: 18px; } .phone-raised { transform: translateY(-14px); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.faq .head-left { margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s ease, box-shadow .25s ease; }
.faq-list details:hover { border-color: var(--line-2); }
.faq-list details[open] { border-color: rgb(97 82 228 / 0.3); box-shadow: var(--shadow); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%2314122b' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/13px no-repeat; transition: transform .3s var(--ease), background-color .2s ease; }
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--brand-soft); }
.faq-list details p { padding: 0 0 22px; color: var(--ink-2); max-width: 62ch; }
.faq-list details p a { color: var(--brand-hi); }
@media (prefers-reduced-motion: no-preference) { .faq-list details[open] p { animation: rise .4s var(--ease) both; } }
@media (max-width: 960px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.contact-copy p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); max-width: 46ch; }
.contact-mail a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-mail a:hover { color: var(--brand-hi); }
.contact-form, .trial-form { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgb(97 82 228 / 0.15); background: #fff; }
.field [aria-invalid="true"] { border-color: #dc2e4e; }
.field-error { font-size: 13px; color: #b4233e; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status[data-tone="ok"] { color: var(--go-text); font-weight: 600; }
.form-status[data-tone="error"] { color: #b4233e; }
.section-glow { position: relative; isolation: isolate; overflow: hidden; background: var(--tint); border-top: 1px solid var(--line); }
.section-glow::before { content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; height: 140%; background: radial-gradient(closest-side at 30% 40%, rgb(139 127 245 / 0.25), transparent), radial-gradient(closest-side at 75% 70%, rgb(20 195 162 / 0.16), transparent); filter: blur(20px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .section-glow::before { animation: drift 20s ease-in-out infinite alternate; } }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } .contact-form, .trial-form { padding: 20px; } }

/* ---------- free trial request (a dialog built by site.js) ---------- */
.trial-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: transparent; overflow: visible; }
.trial-dialog::backdrop { background: rgb(20 18 43 / 0.45); backdrop-filter: blur(6px); }
.trial-form { position: relative; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.trial-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--grad); }
.trial-form h2 { font-size: clamp(1.6rem, 4vw, 2rem); }
.trial-form .eyebrow { margin-bottom: 4px; justify-self: start; }
.trial-intro { color: var(--ink-2); margin-top: -6px; }
.trial-steps { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 8px; border-radius: 14px; background: var(--bg-2); font-size: 14.5px; color: var(--ink-2); counter-reset: ts; }
.trial-steps li { counter-increment: ts; display: flex; gap: 10px; align-items: baseline; }
.trial-steps li::before { content: counter(ts); flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 11px/1 var(--font); translate: 0 -1px; }
.trial-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-2); cursor: pointer; transition: background-color .2s ease, rotate .3s var(--ease); }
.trial-close:hover { background: var(--bg-3); rotate: 90deg; }
.trial-close svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.trial-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 24px 8px 8px; }
.trial-done[hidden] { display: none; }
.trial-done p { color: var(--ink-2); max-width: 34ch; }
.trial-check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgb(20 195 162 / 0.14); }
.trial-check svg { width: 30px; height: 30px; fill: none; stroke: var(--go-text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) { .trial-done:not([hidden]) .trial-check { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; } .trial-done:not([hidden]) .trial-check svg { animation: draw .5s ease .25s both; } }
@keyframes draw { from { stroke-dashoffset: 30; } }

/* ---------- footer ---------- */
.foot { background: var(--tint); border-top: 1px solid var(--line); padding-block: 56px calc(36px + env(safe-area-inset-bottom, 0px)); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { color: var(--ink-3); font-size: 14.5px; margin-top: 14px; max-width: 26em; }
.foot-brand a { color: var(--ink-2); }
.foot-title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.foot-nav { display: flex; flex-direction: column; gap: 8px; }
.foot-nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .2s ease; }
.foot-nav a:hover { color: var(--brand-hi); }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 960px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* ---------- live bookings feed laid over the orbit ---------- */
.feed { grid-area: 1 / 1; align-self: end; justify-self: start; width: min(330px, 92%); margin: 0 0 4% -2%; background: rgb(255 255 255 / 0.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 2px 4px rgb(23 21 43 / 0.04), 0 40px 70px -30px rgb(40 30 110 / 0.5); position: relative; z-index: 2; }
.feed-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 2px 4px 10px; }
.feed-head small { margin-left: auto; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgb(20 195 162 / 0.2); }
.feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--bg-2); font-size: 13px; }
.feed li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 12px/1 var(--font); font-style: normal; color: #fff; background: var(--c); }
.feed li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.feed li b { color: var(--ink); font-weight: 600; }
.feed li em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.feed-foot { margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: rgb(20 195 162 / 0.12); color: var(--go-text); font-size: 12.5px; font-weight: 600; text-align: center; }
.feed li i.feed-logo { width: 48px; height: 28px; border-radius: 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.feed li i.feed-logo img { max-width: 40px; max-height: 20px; width: auto; height: auto; }
.feed li i.feed-icon { background: color-mix(in oklab, var(--c) 14%, #fff); box-shadow: none; }
.feed li i.feed-icon svg { width: 16px; height: 16px; fill: none; stroke: color-mix(in oklab, var(--c) 80%, #000); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the three scenes share one spot; site.js marks the one showing with is-on and the one leaving with was-on */
.feed { --scene-time: 6.5s; }
.feed-tabs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 12px; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.feed-tabs::before { content: ""; position: absolute; inset: 3px auto 3px 3px; width: calc((100% - 6px) / 4); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(23 21 43 / 0.08), 0 4px 10px -6px rgb(40 30 110 / 0.4); translate: calc(var(--tab, 0) * 100%) 0; transition: translate .45s cubic-bezier(.2, .8, .2, 1); }
.feed-tabs span { position: relative; padding: 6px 0 8px; text-align: center; font: 600 11px/1 var(--font); color: var(--ink-3); cursor: pointer; transition: color .3s ease; }
.feed-tabs span:hover { color: var(--ink-2); }
.feed-tabs span.on { color: var(--ink); }
/* progress line under the active tab: when it fills, site.js moves to the next scene */
.feed-tabs span::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--brand); scale: 0 1; transform-origin: left; }
.feed-tabs span.on::after { animation: feed-progress var(--scene-time) linear both; }
.feed:hover .feed-tabs span.on::after, .feed:hover .scene.is-on *, .feed:hover .scene.is-on li::after { animation-play-state: paused; }
.feed-scenes { display: grid; overflow: hidden; }
.scene { --step: .08s; grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; translate: 18px 0; filter: blur(4px); transition: opacity .35s ease, translate .5s cubic-bezier(.2, .8, .2, 1), filter .35s ease, visibility 0s linear .5s; }
.scene.was-on { translate: -18px 0; }
.scene.is-on { opacity: 1; visibility: visible; translate: 0 0; filter: blur(0); transition: opacity .45s ease .12s, translate .55s cubic-bezier(.2, .8, .2, 1) .12s, filter .45s ease .12s; }
.scene-bookings { --step: .35s; }
.feed .scene ul { margin-bottom: 10px; }
.scene .feed-foot { margin-top: auto; }
/* rows arrive one after another; .flash rows light up at --at (on arrival unless set) */
.feed li:nth-child(2) { --d: var(--step); } .feed li:nth-child(3) { --d: calc(var(--step) * 2); } .feed li:nth-child(4) { --d: calc(var(--step) * 3); }
.feed li.flash { --at: var(--d, 0s); }
/* channel manager: a seat bar along the bottom of each row */
.feed li.seat { position: relative; overflow: hidden; }
.feed li.seat::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--go), rgb(20 195 162 / 0.25)); transform-origin: left; scale: .6 1; }
.feed li .tag { display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: rgb(20 195 162 / 0.14); color: var(--go-text); font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
.feed li .new { color: var(--go-text); font-weight: 700; }
.feed li .sub { display: block; margin-top: 2px; color: var(--ink-3); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; }
.feed li .stage { display: inline-block; padding: 3px 8px; border-radius: 999px; background: rgb(23 21 43 / 0.06); color: var(--ink-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.feed li .stage-won { background: rgb(20 195 162 / 0.16); color: var(--go-text); }
/* timed steps: values stacked in one cell; .out leaves at --out, .in arrives at --in */
.feed .swap { display: grid; }
.feed .swap > * { grid-area: 1 / 1; }
.feed li em.swap { justify-items: end; }
.feed .in { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .live { animation: live 2s ease-out infinite; }
  .scene.is-on li { animation: slide-in .45s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both; }
  .scene.is-on li.flash { animation: slide-in .45s cubic-bezier(.2, .8, .2, 1) var(--d, 0s) both, flash 1.3s ease var(--at) both; }
  .scene.is-on li.seat::after { animation: seats .7s cubic-bezier(.2, .8, .2, 1) var(--in) both; }
  .scene.is-on .in { animation: step-in .35s ease var(--in) both; }
  .scene.is-on .out { animation: step-out .3s ease var(--out) forwards; }
  .scene.is-on .in.out { animation: step-in .35s ease var(--in) both, step-out .3s ease var(--out) forwards; }
  .scene.is-on .in.pop, .scene.is-on .tag.in { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) var(--in) both; }
}
@keyframes feed-progress { to { scale: 1 1; } }
@keyframes live { from { box-shadow: 0 0 0 0 rgb(20 195 162 / 0.55); } to { box-shadow: 0 0 0 8px rgb(20 195 162 / 0); } }
@keyframes slide-in { from { opacity: 0; translate: 0 -8px; } }
@keyframes flash { 0%, 100% { background: var(--bg-2); box-shadow: inset 0 0 0 1px transparent; } 25% { background: rgb(20 195 162 / 0.14); box-shadow: inset 0 0 0 1px rgb(20 195 162 / 0.5); } }
@keyframes seats { from { scale: .6 1; } to { scale: .4 1; } }
@keyframes step-in { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
@keyframes step-out { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -6px; } }
@keyframes pop { from { opacity: 0; scale: .5; } 60% { opacity: 1; scale: 1.12; } to { opacity: 1; scale: 1; } }
/* reduced motion: no rotation (tabs still switch on click), each scene shows its end state */
@media (prefers-reduced-motion: reduce) {
  .feed *, .feed *::before, .feed *::after { animation: none !important; transition: none !important; }
  .feed .swap > .out { visibility: hidden; }
  .feed .in:not(.out) { opacity: 1; }
  .feed li.seat::after { scale: .4 1; }
  .feed-tabs span.on::after { scale: 1 1; }
}
@media (max-width: 960px) { .feed { justify-self: center; margin: -40px 0 0; width: min(360px, 100%); align-self: start; grid-area: 2 / 1; } }
@media (min-width: 961px) { .feed { width: min(280px, 56%); justify-self: end; margin: 0 -2% -3% 0; } .orbit { max-width: 460px; margin: 0; justify-self: start; } }

/* ---------- CRM hero: the pipeline vortex (rings are stages; site.js moves the deals) ---------- */
.page-hero .wrap.crm-hero-grid { max-width: calc(var(--wrap) + 48px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.crm-viz { margin: 0; position: relative; display: grid; }
.pipe { grid-area: 1 / 1; width: 88%; max-width: 500px; display: block; overflow: visible; justify-self: start; }
.pipe-rings circle { stroke-width: 1.2; stroke-dasharray: 2 6; }
.pipe-rings circle:nth-child(1) { stroke: rgb(97 82 228 / 0.32); }
.pipe-rings circle:nth-child(2) { stroke: rgb(214 150 30 / 0.45); }
.pipe-rings circle:nth-child(3) { stroke: rgb(20 160 135 / 0.5); }
.pipe-sweep { transform-origin: 260px 260px; }
.pipe-labels rect, .pipe-won-tag { fill: #fff; stroke: rgb(23 21 43 / 0.1); }
.pipe-labels text, .pipe-won-text { font: 600 10px/1 var(--font); fill: var(--ink-2); letter-spacing: 0.02em; }
.pipe-won-tag { fill: rgb(20 195 162 / 0.16); stroke: rgb(20 195 162 / 0.4); }
.pipe-won-text { fill: var(--go-text); font-weight: 700; }
.pipe-core-ring { fill: #fff; stroke: rgb(97 82 228 / 0.25); stroke-width: 1.5; filter: drop-shadow(0 12px 24px rgb(97 82 228 / 0.45)); }
.pipe-deal text { font: 700 10px/1 var(--font); fill: #fff; }
.pipe-float { font: 700 15px/1 var(--font); }
.pipe-card { grid-area: 1 / 1; align-self: end; justify-self: end; width: min(268px, 50%); margin: 0 -1% -4% 0; background: rgb(255 255 255 / 0.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 2px 4px rgb(23 21 43 / 0.04), 0 40px 70px -30px rgb(40 30 110 / 0.5); position: relative; z-index: 2; }
.pipe-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 2px 4px 10px; }
.pipe-head small { margin-left: auto; font: 500 10px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.pipe-forecast { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 8px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; background: linear-gradient(120deg, rgb(97 82 228 / 0.1), rgb(20 195 162 / 0.1)); }
.pipe-forecast span { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.pipe-forecast b { font-size: 20px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.pipe-forecast b.bump { animation: pipe-bump .6s cubic-bezier(.3, 1.6, .5, 1); color: var(--go-text); }
.pipe-forecast i { grid-column: 1 / -1; height: 5px; border-radius: 5px; background: rgb(23 21 43 / 0.07); overflow: hidden; }
.pipe-forecast em { display: block; height: 100%; width: var(--fill, 40%); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--go)); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.pipe-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 146px; align-content: start; }
.pipe-card li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--bg-2); font-size: 13px; transition: background-color .4s ease, box-shadow .4s ease; }
.pipe-card li i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font: 700 11px/1 var(--font); font-style: normal; color: #fff; background: var(--c); }
.pipe-card li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.pipe-card li small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 11.5px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.pipe-card li em { font-style: normal; display: inline-block; padding: 3px 8px; border-radius: 999px; background: rgb(23 21 43 / 0.06); color: var(--ink-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.pipe-card li em.ai { background: rgb(97 82 228 / 0.12); color: var(--brand-hi); }
.pipe-card li em.won { background: rgb(20 195 162 / 0.16); color: var(--go-text); }
.pipe-card li.hot { background: rgb(20 195 162 / 0.12); box-shadow: inset 0 0 0 1px rgb(20 195 162 / 0.45); }
.pipe-card li.is-new { animation: slide-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.pipe-card li.is-gone { animation: pipe-gone .4s ease forwards; }
.pipe-card li em.is-swap { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.pipe-foot { margin-top: 10px; padding: 9px 10px; border-radius: 12px; background: rgb(20 195 162 / 0.12); color: var(--go-text); font-size: 12.5px; font-weight: 600; text-align: center; }
.pipe-foot.is-swap { animation: step-in .35s ease both; }
@media (prefers-reduced-motion: no-preference) {
  .pipe-sweep { animation: spin 14s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .pipe-card *, .pipe-sweep { animation: none !important; transition: none !important; } }
@keyframes pipe-bump { 50% { scale: 1.12; } }
@keyframes pipe-gone { to { opacity: 0; translate: 0 -8px; } }
@media (max-width: 960px) {
  .page-hero .wrap.crm-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pipe { width: 100%; max-width: 380px; justify-self: center; }
  .pipe-card { grid-area: 2 / 1; justify-self: center; align-self: start; width: min(360px, 100%); margin: -30px 0 0; }
}

/* ---------- CRM: the live app demo (site.js fills it and plays the story) ---------- */
.board-demo { margin: 0; }
.board-demo figcaption { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 14px; }
.board-demo figcaption small { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-left: 6px; }
.board-scale { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: radial-gradient(700px 420px at 88% -12%, rgb(139 127 245 / 0.2), transparent 70%), radial-gradient(560px 380px at 30% 115%, rgb(20 195 162 / 0.12), transparent 70%), linear-gradient(rgb(97 82 228 / 0.05) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, rgb(97 82 228 / 0.05) 1px, transparent 1px) 0 0 / 56px 56px, #fbfbfe; }
.board-inner { box-sizing: border-box; width: 1420px; display: grid; grid-template-columns: 196px minmax(0, 1fr); transform-origin: 0 0; position: relative; }
.board-inner svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* sidebar */
.board-side { display: flex; flex-direction: column; gap: 4px; padding: 22px 14px; background: rgb(255 255 255 / 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-right: 1px solid var(--line); color: var(--ink-2); }
.side-logo { width: 120px; height: auto; margin: 2px 8px 22px; }
.side-label { margin: 0 10px 6px; font: 600 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.side-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.side-item svg { width: 18px; height: 18px; }
.side-item.on { background: var(--brand-soft); color: var(--brand-hi); font-weight: 650; box-shadow: inset 3px 0 0 var(--brand); }
.side-item b { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: rgb(20 195 162 / 0.16); color: var(--go-text); font-size: 11.5px; font-weight: 700; }
.side-item b.bump { animation: pipe-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.side-user { position: relative; margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.side-user > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 12px; font-weight: 800; }
.side-user b { display: block; color: var(--ink); font-size: 13.5px; }
.side-user small { font-size: 12px; color: var(--ink-3); }
.side-user em { font-style: normal; font-weight: 700; color: var(--brand-hi); font-variant-numeric: tabular-nums; }

/* main */
.board-main { min-width: 0; padding: 20px 24px 24px; }
.board-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.board-title { font-size: 22px; font-weight: 750; letter-spacing: -0.02em; }
.board-mail { display: flex; align-items: center; gap: 6px; }
.board-mail > span { margin-right: 4px; font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.board-mail i { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); font: 600 12px/1 var(--font); font-style: normal; color: var(--ink-2); }
.board-mail i svg { width: 15px; height: 15px; stroke: var(--c); }
.board-mail i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #14c3a2; box-shadow: 0 0 0 3px rgb(20 195 162 / 0.18); }
.board-mail i.ping { animation: mail-ping 1.2s ease-out; }
@keyframes mail-ping { 0% { box-shadow: 0 0 0 0 rgb(20 195 162 / 0.6); border-color: #14c3a2; } 100% { box-shadow: 0 0 0 12px rgb(20 195 162 / 0); } }
.board-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 12px; margin-bottom: 16px; }
.board-stat { padding: 12px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.board-stat p { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.board-stat p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.board-stat b { display: block; margin: 5px 0 2px; font-size: 21px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.board-stat small { color: var(--ink-3); font-size: 12px; }
.board-stat-forecast { background: linear-gradient(120deg, rgb(97 82 228 / 0.1), rgb(20 195 162 / 0.12)), #fff; border-color: rgb(97 82 228 / 0.18); }
.board-stat-forecast p::before { background: linear-gradient(135deg, var(--brand), var(--go)); }
.board-stat-forecast b { color: var(--go-text); }
.board-inner .bump { animation: pipe-bump .6s cubic-bezier(.3, 1.6, .5, 1); }
.board-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.board-search { display: flex; align-items: center; gap: 10px; width: 310px; padding: 9px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: 14px; margin-right: 6px; transition: box-shadow .25s ease; }
.board-search svg { width: 17px; height: 17px; flex: none; }
#board-q { color: var(--ink); font-weight: 600; }
#board-q:not(:empty) + .board-q-hint { display: none; }
#board-q:not(:empty)::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--brand); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.board-search.is-press, .board-pill.is-press, .prio-chip.is-press, #board-quiet-show.is-press { box-shadow: 0 0 0 4px rgb(97 82 228 / 0.25); }
.board-pill { padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.board-pill.on { background: var(--brand); color: #fff; }
.board-views { margin-left: auto; display: flex; gap: 4px; }
.board-quiet { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; color: #c9820f; font-size: 13.5px; font-weight: 600; }
.board-quiet svg { width: 17px; height: 17px; }
.board-quiet u { text-underline-offset: 3px; border-radius: 6px; padding: 0 2px; }

/* the three views share one space */
.board-panes { display: grid; height: 372px; }
.board-panes > * { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; translate: 0 8px; transition: opacity .35s ease, translate .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s; }
.board-panes > .is-on { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .4s ease .1s, translate .5s cubic-bezier(.2, .8, .2, 1) .1s; }

/* board view */
.board-cols { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.board-col { min-width: 0; border-radius: 20px; background: rgb(246 245 252 / 0.75); border: 1px solid var(--line); padding: 12px 9px 0; }
.board-col-head { display: flex; align-items: center; gap: 7px; padding: 0 4px; font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.board-col-head::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.board-col-head span { margin-left: auto; min-width: 22px; height: 21px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; background: #fff; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.board-col-head i { font-style: normal; color: var(--ink-3); font-weight: 500; font-size: 17px; line-height: 1; }
.board-col-sum { padding: 4px 4px 10px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; transition: color .3s ease; }
.board-col-sum.bump { color: var(--go-text); animation: none; }
.board-list { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; align-content: start; height: 316px; overflow: hidden; padding: 0 0 10px; mask-image: linear-gradient(#000 80%, transparent); -webkit-mask-image: linear-gradient(#000 80%, transparent); }
.board-card { position: relative; padding: 11px 12px 11px 15px; border-radius: 16px; background: var(--wash, #fff); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: background-color .45s ease .3s, color .45s ease .3s, box-shadow .3s ease, opacity .35s ease, filter .35s ease; will-change: transform; }
.board-card::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3.5px; border-radius: 0 4px 4px 0; background: var(--accent); transition: background-color .45s ease .3s; }
.board-card .when::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: background-color .45s ease .3s; }
.board-card .when { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.board-card .when > span:first-child { color: var(--ink-3); }
.board-card .quiet { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 999px; background: rgb(242 179 61 / 0.18); color: #9a6200; font-weight: 700; font-size: 11px; }
.board-card .quiet svg { width: 11px; height: 11px; }
.board-card h4 { margin: 4px 0 1px; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.board-card .who { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-card .why[hidden] { display: none; }
.board-card .why { margin-top: 5px; font-size: 12px; font-weight: 600; }
.board-card .card-foot { display: flex; align-items: center; gap: 4px; margin-top: 9px; margin-right: -3px; }
.board-card .card-foot b { font-size: 13.5px; margin-right: auto; font-variant-numeric: tabular-nums; white-space: nowrap; }
.board-card .pax, .board-card .prop { flex: none; display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 11px; font-weight: 600; }
.board-card .pax { padding: 2px 5px; gap: 2px; }
.board-card .pax svg, .board-card .prop svg { width: 12px; height: 12px; }
.board-card .prop { display: none; padding: 3px 4px; background: var(--brand-soft); color: var(--brand-hi); }
.board-card.has-proposal .prop { display: inline-flex; }
.board-card .avatar { flex: none; width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--accent) 16%, #fff); color: color-mix(in oklab, var(--accent) 75%, #000); font-size: 10px; font-weight: 800; transition: background-color .45s ease .3s, color .45s ease .3s; }
.board-card .ai { position: absolute; top: -9px; right: 8px; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 700; box-shadow: 0 4px 10px -4px rgb(40 30 110 / 0.5); }
.board-card.is-lost h4, .board-card.is-lost .why { color: #c8264a; }
.board-card.is-lost .pax, .board-card.is-lost .quiet { background: rgb(211 47 79 / 0.1); }
.board-card.is-lost .avatar { background: rgb(20 195 162 / 0.15); color: var(--go-text); }
.board-card.is-lifted { z-index: 5; box-shadow: 0 30px 50px -18px rgb(23 21 43 / 0.55); }
.board-card.is-won { box-shadow: 0 0 0 3px rgb(20 195 162 / 0.35), 0 16px 30px -14px rgb(20 160 110 / 0.7); }
.board-inner.is-mine .board-card:not([data-owner="Y"]), .board-inner.is-search .board-card:not(.is-match), .board-inner.is-quiet .board-card:not([data-quiet]) { opacity: .22; filter: saturate(.3); }
.board-inner.is-quiet .board-card[data-quiet] { box-shadow: 0 0 0 3px #f2b33d, 0 14px 26px -12px rgb(201 130 15 / 0.7); }

/* priority view */
.prio-chips { display: flex; gap: 8px; margin-bottom: 12px; }
.prio-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: var(--bg-2); font-size: 13.5px; font-weight: 600; color: var(--ink-2); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.prio-chip b { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 12px; text-align: center; }
.prio-chip.on { background: var(--brand); color: #fff; }
.prio-chip.on b { background: rgb(255 255 255 / 0.2); color: #fff; }
.prio-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.prio-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 128px 120px; align-items: center; gap: 14px; padding: 9px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; animation: slide-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.prio-list li:nth-child(2) { animation-delay: .05s; } .prio-list li:nth-child(3) { animation-delay: .1s; } .prio-list li:nth-child(4) { animation-delay: .15s; } .prio-list li:nth-child(5) { animation-delay: .2s; }
.prio-list .rank { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-hi); font-weight: 800; font-size: 13px; }
.prio-list li:first-child .rank { background: var(--brand); color: #fff; }
.prio-list .deal { min-width: 0; }
.prio-list .deal b, .prio-list .deal small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prio-list .deal b { font-size: 14px; }
.prio-list .deal small { color: var(--ink-3); font-size: 12px; }
.prio-list .tag { padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; background: rgb(242 179 61 / 0.18); color: #9a6200; white-space: nowrap; }
.prio-list .tag:empty { visibility: hidden; }
.board-inner .stage-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.board-inner .stage-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.prio-list .exp { text-align: right; }
.prio-list .exp b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.prio-list .exp small { color: var(--ink-3); font-size: 11.5px; }
.prio-empty { padding: 30px; text-align: center; color: var(--ink-3); }

/* list view */
.board-table { display: grid; gap: 4px; align-content: start; }
.tbl-row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) 130px 100px 80px 140px 60px; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; animation: slide-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.tbl-row:nth-child(odd):not(.tbl-head) { background: var(--bg-2); }
.tbl-row > * { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tbl-row b { font-weight: 650; }
.tbl-row .num { font-variant-numeric: tabular-nums; }
.tbl-head { font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-block: 6px; }
.tbl-row .owner { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-hi); font-size: 11px; font-weight: 800; }

/* the email that arrives, the pointer, and the numbers that float up */
.board-toast { position: absolute; z-index: 8; top: 64px; right: 24px; width: 330px; padding: 14px 16px; border-radius: 20px; background: rgb(255 255 255 / 0.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgb(40 30 110 / 0.55); opacity: 0; translate: 30px 0; scale: .96; pointer-events: none; transition: opacity .35s ease, translate .5s cubic-bezier(.2, .8, .2, 1), scale .5s cubic-bezier(.2, .8, .2, 1); }
.board-toast.is-on { opacity: 1; translate: 0 0; scale: 1; }
.toast-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.toast-head svg { width: 18px; height: 18px; stroke: var(--c); }
.toast-head span { margin-left: auto; color: var(--ink-3); font-size: 12px; }
.toast-from { margin-top: 8px; color: var(--ink-3); font-size: 12.5px; }
.toast-subj { margin-top: 2px; font-weight: 650; font-size: 14px; line-height: 1.35; }
.toast-status { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-hi); font-size: 12.5px; font-weight: 600; }
.toast-status.done { background: rgb(20 195 162 / 0.14); color: var(--go-text); }
.toast-status svg { width: 15px; height: 15px; flex: none; }
.toast-status .spin { flex: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
.board-float { position: absolute; z-index: 9; pointer-events: none; font-size: 16px; font-weight: 800; color: var(--go-text); white-space: nowrap; }
.board-float.pts { color: var(--brand-hi); font-size: 14px; }
.board-cursor { position: absolute; z-index: 10; top: 0; left: 0; width: 26px; height: 26px; pointer-events: none; opacity: 0; filter: drop-shadow(0 3px 4px rgb(23 21 43 / 0.35)); }
.board-cursor path { fill: #17152b; stroke: #fff; stroke-width: 1.5; }
@media (max-width: 960px) { .board-scale { border-radius: 16px; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- our story ---------- */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.story-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 8px; }
.story-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); max-width: 60ch; }
.timeline { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 2px; background: var(--grad); opacity: .7; }
.timeline li { position: relative; padding-top: 44px; padding-right: 16px; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline li:last-child::before { border-color: var(--go); box-shadow: 0 0 0 5px rgb(20 195 162 / 0.18); }
.timeline-mark { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.timeline li:last-child .timeline-mark { color: var(--go-text); }
.timeline p { margin-top: 4px; color: var(--ink-3); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 640px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 30px; }
  .timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--brand), var(--go)); }
  .timeline li { padding: 0; }
  .timeline li::before { left: -30px; top: 4px; }
}
.stack { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 22px; box-shadow: var(--shadow-lg); }
.stack-title { font: 500 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); }
.stack-row { display: grid; gap: 10px; }
.stack-label { font-weight: 700; }
.stack-bar { display: flex; height: 48px; border-radius: 12px; overflow: hidden; font-size: 13px; font-weight: 700; }
.seg { display: flex; align-items: center; justify-content: center; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.seg-keep { flex: 62; background: var(--bg-3); color: var(--ink-2); justify-content: flex-start; }
.seg-keep-more { flex: 78; background: linear-gradient(90deg, rgb(20 195 162 / 0.18), rgb(20 195 162 / 0.38)); color: var(--go-text); }
.seg-platform { flex: 22; background: #cfc9f3; color: #2c2850; }
.seg-system { flex: 16; background: repeating-linear-gradient(135deg, #e0577f 0 8px, #c94770 8px 16px); color: #fff; }
.stack-note { font-size: 13.5px; color: var(--ink-3); }
.stack-row:not(.stack-row-us) .stack-note { color: #c2335d; }
.stack-row-us .stack-note { color: var(--go-text); font-weight: 600; }
.stack-foot { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; border-top: 1px solid var(--line); padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) {
  .seg { animation: seg-in .9s var(--ease) both; transform-origin: left; animation-play-state: paused; }
  .seg-platform { animation-delay: .15s; } .seg-system { animation-delay: .3s; }
  .is-in .seg, .seg.is-in, html:not(.motion) .seg { animation-play-state: running; }
  @keyframes seg-in { from { transform: scaleX(0); } }
}
@media (max-width: 960px) { .story { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ---------- topic pages: product pages, comparisons, legal ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 88px 56px; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(97 82 228 / 0.06) 1px, transparent 1px), linear-gradient(90deg, rgb(97 82 228 / 0.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 20% 0%, #000 10%, transparent 70%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 600px; right: -160px; top: -260px; background: radial-gradient(closest-side at 40% 50%, rgb(139 127 245 / 0.26), transparent), radial-gradient(closest-side at 70% 60%, rgb(20 195 162 / 0.15), transparent); filter: blur(20px); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .page-hero::after { animation: drift 18s ease-in-out infinite alternate; } }
.page-hero .wrap { max-width: calc(760px + 48px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 750; letter-spacing: -0.04em; max-width: 18em; }
.page-hero .lede { max-width: 44em; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand-hi); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 10px; }
.prose p { color: var(--ink-2); margin-top: 14px; }
.prose p a, .prose li a { color: var(--brand-hi); text-underline-offset: 3px; }
.prose ul:not(.ticks) { color: var(--ink-2); padding-left: 1.2em; margin: 14px 0 0; display: grid; gap: 8px; }
.compare-wrap { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15.5px; }
.compare-facts { min-width: 0; }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--bg-2); font-size: 14px; color: var(--ink-2); }
.compare thead th.us { color: var(--brand-hi); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 30%; }
.compare td { color: var(--ink-2); }
.compare tbody tr { transition: background-color .2s ease; }
.compare tbody tr:hover { background: var(--tint); }
.compare tr:last-child > * { border-bottom: 0; }
.fineprint { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; line-height: 1.5; }
.fineprint a { color: var(--ink-2); }
.cta-band { position: relative; overflow: hidden; isolation: isolate; margin-top: 64px; padding: 40px; border-radius: 24px; border: 1px solid var(--line); background: var(--tint); box-shadow: var(--shadow); }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: -40% -20% auto auto; width: 70%; height: 180%; background: radial-gradient(closest-side, rgb(139 127 245 / 0.3), transparent), radial-gradient(closest-side at 80% 70%, rgb(20 195 162 / 0.18), transparent); filter: blur(10px); }
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: var(--ink-2); margin-top: 10px; }
@media (max-width: 720px) { .page-hero { padding-block: 56px 32px; } .cta-band { padding: 24px; } }

/* phones: logo strip centred */
@media (max-width: 720px) {
  .band-row { flex-direction: column; flex-wrap: nowrap; text-align: center; }
  .band-logos { justify-content: center; }
  .band-marquee { align-self: stretch; flex-basis: auto; }
}

/* ---------- app screenshot theme switch (site.js swaps name.webp ↔ name-dark.webp) ---------- */
.shot-theme { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -32px auto 36px; font-size: 14px; color: var(--ink-3); }
.shot-theme-end { justify-content: flex-end; margin: 0 0 16px; }
.shot-theme [role="group"] { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.shot-theme button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 13px/1 var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.shot-theme button:hover { color: var(--ink); }
.shot-theme button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(23 21 43 / 0.08), 0 4px 10px -6px rgb(40 30 110 / 0.4); }
.shot-theme svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shot-theme-start { justify-content: flex-start; margin: 24px 0 0; }

/* ---------- scroll reveal (site.js adds html.motion, .reveal and, once in view, .is-in) ---------- */
html.motion .reveal { transition: opacity .8s var(--ease) var(--rd, 0s), translate .8s var(--ease) var(--rd, 0s), filter .8s var(--ease) var(--rd, 0s), transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease, background-color .3s ease; }
html.motion .reveal:not(.is-in) { opacity: 0; translate: 0 32px; filter: blur(6px); }

/* the floating navbar overlaps the first section, so its grid and colour run up behind the glass */
.top { margin-bottom: -80px; }
.hero { padding-top: 160px; }
.page-hero { padding-top: 168px; }
.docs-hero { padding-top: 152px; }
@media (max-width: 960px) { .top { margin-bottom: -72px; } .hero { padding-top: 120px; } }
@media (max-width: 720px) { .page-hero { padding-top: 128px; } .docs-hero { padding-top: 120px; } }

/* ---------- the banner: beam, giant word, frames, proof, spinning trial badge ---------- */
.hero { background: linear-gradient(180deg, #f2f1f8 0%, #f6f6fa 70%, #fff 100%); }
.hero h1 { background: none; color: var(--ink); animation-name: rise; font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.08; max-width: 13em; }
.h1-accent { color: var(--brand); }
@keyframes sheen-x { from { background-position: 0 0; } to { background-position: 100% 0; } }
/* a diagonal beam of colour, from top right down behind the orbit */
.hero-beam { position: absolute; z-index: -1; top: -20%; right: 4%; width: 46%; height: 150%; background: linear-gradient(180deg, rgb(91 200 255 / 0.55), rgb(20 195 162 / 0.45) 55%, rgb(139 127 245 / 0.35)); clip-path: polygon(38% 0, 72% 0, 62% 100%, 0 100%); filter: blur(2px); opacity: .7; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) { .hero-beam { animation: beam 12s ease-in-out infinite alternate; } }
@keyframes beam { from { translate: 0 0; opacity: .55; } to { translate: -40px 0; opacity: .8; } }
/* one giant faint word across the bottom */
.hero-word { position: absolute; z-index: -1; left: 50%; bottom: -0.2em; translate: -50% 0; margin: 0; font-size: clamp(7rem, 21vw, 19rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; color: #fff; text-shadow: 0 1px 0 rgb(255 255 255 / 0.9), 0 -1px 0 rgb(23 21 43 / 0.04), 0 20px 60px rgb(40 30 110 / 0.06); pointer-events: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) { .hero-word { animation: word-in 1.6s var(--ease) .2s both; } }
@keyframes word-in { from { opacity: 0; translate: -50% 40px; letter-spacing: 0; } }
/* thin corner frames at the bottom of the banner */
.hero-frame { position: absolute; bottom: 28px; width: 180px; height: 36px; border: 1.5px solid rgb(23 21 43 / 0.12); border-top: 0; pointer-events: none; }
.hero-frame-l { left: max(24px, calc(50% - 640px)); border-right: 0; }
.hero-frame-r { right: max(24px, calc(50% - 640px)); border-left: 0; }
.hero-frame::after { content: ""; position: absolute; bottom: -1.5px; width: 1.5px; height: 14px; background: rgb(23 21 43 / 0.12); }
.hero-frame-l::after { right: 0; } .hero-frame-r::after { left: 0; }
.hero { padding-bottom: 120px; }
/* proof under the buttons: channel logos as avatars */
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 34em; }
.hero-proof p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.hero-proof strong { color: var(--ink); }
.hero-avatars { display: flex; flex: none; }
.hero-avatars i { display: grid; place-items: center; width: 42px; height: 42px; margin-left: -10px; border-radius: 50%; background: #fff; border: 2px solid #f4f3f9; box-shadow: 0 6px 14px -8px rgb(40 30 110 / 0.5); font: 700 13px/1 var(--font); font-style: normal; transition: translate .3s var(--ease); }
.hero-avatars i:first-child { margin-left: 0; }
.hero-avatars img { max-width: 28px; max-height: 18px; width: auto; height: auto; }
.hero-avatar-more { background: var(--ink) !important; color: #fff; }
.hero-proof:hover .hero-avatars i:nth-child(2) { translate: 4px 0; } .hero-proof:hover .hero-avatars i:nth-child(3) { translate: 8px 0; } .hero-proof:hover .hero-avatars i:nth-child(4) { translate: 12px 0; }
@media (max-width: 960px) {
  .hero-beam { display: none; }
  .hero-frame { display: none; }
  .hero { padding-bottom: 72px; }
}
@media (max-width: 480px) { .hero-proof { align-items: flex-start; flex-direction: column; gap: 12px; } }

/* ---------- "Three tools. One system.": a live preview at the top of each card ---------- */
.parts .card { padding-top: 14px; }
.viz { margin: 0 -18px 26px; padding: 16px; border-radius: 16px; background: linear-gradient(180deg, var(--bg-2), #fff); border: 1px solid var(--line); height: 190px; font-size: 12.5px; position: relative; overflow: hidden; }
.viz::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, rgb(97 82 228 / 0.1), transparent); pointer-events: none; }
.viz-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.viz-head b { font-size: 13px; }
.viz-head span { color: var(--ink-3); font-size: 11.5px; }
.viz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.viz li { display: grid; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 10px -8px rgb(40 30 110 / 0.35); }
/* 1. departures filling up */
.viz-cal li { grid-template-columns: auto minmax(0, 1fr) 56px auto; }
.viz-cal time { font: 500 11px/1 var(--mono); color: var(--ink-3); }
.viz-cal span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz-cal i { height: 6px; border-radius: 6px; background: var(--bg-3); overflow: hidden; }
.viz-cal em { display: block; height: 100%; width: calc(var(--fill) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--brand), #14b896); transform-origin: left; }
.viz-cal small { font: 600 11px/1 var(--font); color: var(--ink-2); font-variant-numeric: tabular-nums; }
/* 2. a sale on one channel updates the seats on all of them */
.viz-sync li { grid-template-columns: 48px minmax(0, 1fr) 34px; }
.viz-logo { display: grid; place-items: center; height: 24px; border-radius: 7px; background: var(--bg-2); }
.viz-logo img { max-width: 36px; max-height: 16px; width: auto; height: auto; }
.viz-wire { position: relative; height: 2px; background: repeating-linear-gradient(90deg, rgb(97 82 228 / 0.3) 0 4px, transparent 4px 8px); }
.viz-wire em { position: absolute; top: 50%; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px rgb(20 195 162 / 0.2); opacity: 0; }
.viz-seats { display: grid; justify-items: end; font-size: 15px; font-variant-numeric: tabular-nums; }
.viz-seats span { grid-area: 1 / 1; }
.viz-seats span + span { color: var(--go-text); opacity: 0; }
.viz-sold { color: var(--go-text) !important; font-weight: 600; }
/* 3. a deal moving through the pipeline to Won */
.viz-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.viz-cols span { font: 600 10.5px/1 var(--font); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); padding: 6px 8px; border-radius: 8px; background: rgb(23 21 43 / 0.04); }
.viz-cols span:last-child { color: var(--go-text); background: rgb(20 195 162 / 0.1); }
.viz-lanes { position: relative; height: 92px; background: linear-gradient(90deg, transparent calc(33.33% - 3px), var(--line) calc(33.33% - 3px) calc(33.33% - 2px), transparent calc(33.33% - 2px) calc(66.66% - 2px), var(--line) calc(66.66% - 2px) calc(66.66% - 1px), transparent calc(66.66% - 1px)); }
.viz-pill { position: absolute; left: 0; width: calc(33.33% - 6px); padding: 7px 8px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgb(40 30 110 / 0.45); font-style: normal; font-size: 10.5px; line-height: 1.35; color: var(--ink-3); }
.viz-pill b { display: block; font-size: 11.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viz-pill-move { top: 0; z-index: 1; }
.viz-pill-still { top: 50px; }
@media (prefers-reduced-motion: no-preference) {
  /* everything waits until the card scrolls into view (.is-in), or runs at once without the reveal script */
  .viz-cal em { animation: fill-up 1.4s var(--ease) calc(.3s + var(--d)) both; }
  .viz-wire em { animation: travel 4.8s ease-in-out var(--d) infinite; }
  .viz-seats span:first-child { animation: seats-out 4.8s ease var(--d) infinite; }
  .viz-seats span + span { animation: seats-in 4.8s ease var(--d) infinite; }
  .viz-sold { animation: sold 4.8s ease infinite; }
  .viz-pill-move { animation: deal 7s var(--ease) infinite; }
  html.motion .card:not(.is-in) .viz * { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .viz-seats span:first-child { opacity: 0; } .viz-seats span + span { opacity: 1; } .viz-pill-move { left: calc(66.66% + 2px); background: rgb(240 252 249); box-shadow: 0 0 0 1px rgb(20 195 162 / 0.45); } }
@keyframes fill-up { from { transform: scaleX(0); } }
@keyframes travel { 0%, 8% { left: 0; opacity: 0; } 12% { opacity: 1; } 40% { left: 100%; opacity: 1; } 46%, 100% { left: 100%; opacity: 0; } }
@keyframes seats-out { 0%, 40% { opacity: 1; translate: 0 0; } 46%, 92% { opacity: 0; translate: 0 -6px; } 100% { opacity: 1; translate: 0 0; } }
@keyframes seats-in { 0%, 40% { opacity: 0; translate: 0 6px; } 46%, 92% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes sold { 0%, 4% { opacity: 0; translate: 0 4px; } 10%, 88% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; } }
@keyframes deal {
  0%, 12% { left: 0; scale: 1; opacity: 1; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgb(40 30 110 / 0.45); }
  20% { scale: 1.05; }
  28%, 46% { left: calc(33.33% + 1px); scale: 1; }
  54% { scale: 1.05; }
  62%, 90% { left: calc(66.66% + 2px); scale: 1; opacity: 1; background: rgb(240 252 249); box-shadow: 0 0 0 1px rgb(20 195 162 / 0.5), 0 10px 20px -10px rgb(20 160 135 / 0.6); }
  100% { left: calc(66.66% + 2px); opacity: 0; }
}
/* the shared rail: each kind of data lights up in turn */
.shared-title { display: inline-flex; align-items: center; gap: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .shared-chips li { animation: chip-glow 7.5s ease-in-out infinite; }
  .shared-chips li:nth-child(2) { animation-delay: 1.5s; } .shared-chips li:nth-child(3) { animation-delay: 3s; }
  .shared-chips li:nth-child(4) { animation-delay: 4.5s; } .shared-chips li:nth-child(5) { animation-delay: 6s; }
}
@keyframes chip-glow { 0%, 22%, 100% { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.12); color: #fff; } 8%, 14% { background: rgb(20 195 162 / 0.22); border-color: rgb(47 214 182 / 0.7); color: #d9fff6; } }
@media (max-width: 960px) { .viz { margin-inline: -14px; } }

/* phone mockups: a camera notch on each frame */
.phone { position: relative; }
.phone::before { content: ""; position: absolute; z-index: 1; top: 14px; left: 50%; width: 30%; height: 12px; margin-left: -15%; border-radius: 999px; background: var(--ink); }
@media (max-width: 960px) { .phone::before { top: 9px; height: 8px; } }

/* ---------- looking into the screenshots: 3D tilt, shine, swing-in on tab change ---------- */
/* site.js sets --rx/--ry (tilt) and --gx/--gy (where the light sits) from the pointer. */
.panel-shot, .article-figure { perspective: 1600px; }
.shot { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--sc, 1)); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s ease; }
.shot.is-tilting { transition: transform .15s linear, box-shadow .4s ease; --sc: 1.02; box-shadow: 0 2px 4px rgb(23 21 43 / 0.04), 0 60px 100px -40px rgb(40 30 110 / 0.55); }
.shot::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgb(255 255 255 / 0.35), transparent 45%); opacity: 0; transition: opacity .4s ease; mix-blend-mode: soft-light; }
.shot.is-tilting::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) .panel-shot { animation: shot-swing .8s var(--ease) .05s both; }
  .panel:not([hidden]) .panel-text { animation: rise .55s var(--ease) both; }
  .panel:not([hidden]) .panel-text .ticks li { animation: rise .5s var(--ease) both; }
  .panel:not([hidden]) .panel-text .ticks li:nth-child(2) { animation-delay: .06s; } .panel:not([hidden]) .panel-text .ticks li:nth-child(3) { animation-delay: .12s; } .panel:not([hidden]) .panel-text .ticks li:nth-child(4) { animation-delay: .18s; }
}
@keyframes shot-swing { from { opacity: 0; transform: perspective(1600px) translateX(40px) rotateY(-14deg) scale(.94); filter: blur(6px); } }

/* the selected tab: a white pill that slides between tabs (site.js adds .tabs-ind) */
.tabs { position: relative; }
.tabs-ind { position: absolute; top: 0; left: 0; z-index: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgb(23 21 43 / 0.08), 0 6px 16px -8px rgb(40 30 110 / 0.35); transition: translate .45s var(--ease), width .45s var(--ease), height .45s var(--ease); pointer-events: none; }
.tabs.has-ind [role="tab"] { position: relative; z-index: 1; }
.tabs.has-ind [role="tab"][aria-selected="true"] { background: transparent; box-shadow: none; }

/* phones: fan out from a stack as they come into view, then tilt toward the pointer */
.phones { perspective: 1400px; }
.phone-raised { transform: none; margin-top: -28px; }
.phone { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); transition: transform .7s var(--ease), box-shadow .4s ease; }
.phones.is-tilting .phone { transition: transform .2s linear, box-shadow .4s ease; }
.phone:hover { --lift: -14px; box-shadow: 0 50px 80px -30px rgb(40 30 110 / 0.65); }
html.motion .phones.reveal .phone { transition: transform 1s var(--ease) .2s, box-shadow .4s ease; }
html.motion .phones.reveal.is-tilting .phone { transition: transform .2s linear, box-shadow .4s ease; }
html.motion .phones:not(.is-in) .phone:nth-child(1) { transform: translateX(104%) rotate(-8deg) scale(.88); }
html.motion .phones:not(.is-in) .phone:nth-child(2) { transform: scale(.94); }
html.motion .phones:not(.is-in) .phone:nth-child(3) { transform: translateX(-104%) rotate(8deg) scale(.88); }
@media (max-width: 960px) { .phone-raised { transform: none; margin-top: -14px; } }
@media (prefers-reduced-motion: reduce) { .shot, .phone { transform: none !important; } .phone:hover { --lift: 0px; } }
/* the screen starts below the notch */
.phone { padding: 28px 8px 8px; }
.phone::before { top: 10px; height: 10px; }
@media (max-width: 960px) { .phone { padding: 18px 5px 5px; } .phone::before { top: 6px; height: 7px; } }
.phone::before { background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); }

/* ────────────────────────────────────────────────────────────────────────────────────────────────
   Phones: a tighter, shorter page. Left-aligned text, a compact hero, swipeable rows for the three
   parts and the plans, a 2×2 stat grid and one scrolling row of tabs.
   ──────────────────────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .section { padding-block: 60px; }
  .section-tight { padding-block: 52px; }
  .head { margin-bottom: 32px; }
  .head-center { text-align: left; }
  .head h2, .head-left, .mobile-text h2, .contact-copy h2, .story-copy h2 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .head > p:last-child { font-size: 1rem; margin-top: 12px; }
  .head p .more { display: flex; width: max-content; margin-top: 12px; }

  /* hero: copy, full-width trial button, then a smaller orbit with the bookings card tucked under it */
  .hero { padding-top: 104px; padding-bottom: 40px; }
  .hero-word, .hero-frame, .hero-beam { display: none; }
  .hero-pill { margin-bottom: 18px; font-size: 13px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .lede { margin-top: 16px; font-size: 1.02rem; }
  .hero-actions { margin-top: 24px; gap: 6px; }
  .hero-actions .btn-go { width: 100%; min-height: 52px; }
  .hero-actions .btn-play { margin-inline: auto; }
  .hero-proof { margin-top: 20px; padding-top: 18px; flex-direction: row; align-items: center; gap: 12px; }
  .hero-proof p { font-size: 13.5px; }
  .hero-avatars i { width: 34px; height: 34px; margin-left: -8px; }
  .hero-avatars img { max-width: 22px; max-height: 14px; }
  .hero-grid { gap: 28px; }
  .orbit { max-width: 290px; }
  .feed { margin-top: -96px; width: 100%; }

  /* logo strip: smaller pills */
  .band-row { padding-block: 16px; gap: 10px; }
  .band-logos li { height: 38px; padding: 0 12px; font-size: 13.5px; }
  .band-logos img { height: 18px; }
  .band-logos img.sq { height: 22px; }

  /* swipeable rows: the three parts and the plans */
  .cards.parts, .plans { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin-inline: -16px; padding: 18px 16px 28px; max-width: none; scrollbar-width: none; overscroll-behavior-x: contain; }
  .cards.parts::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .cards.parts > .card, .plans > .plan { flex: 0 0 86%; scroll-snap-align: start; }
  .cards.parts > .card { padding: 12px 22px 26px; }
  .cards.parts .card h3 { font-size: 1.4rem; }
  .cards.parts .card-top { margin-bottom: 14px; }
  .viz { margin-inline: -12px; height: 176px; }
  .card:hover, .plan:hover { transform: none; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: -10px; }
  .swipe-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--line-2); transition: width .3s var(--ease), background-color .3s ease; }
  .swipe-dots i.on { width: 20px; background: var(--brand); }
  .shared-stems { display: none; }
  .shared { margin-top: 18px; }
  .shared-rail { padding: 18px; border-radius: 18px; }
  .shared-chips li { font-size: 13px; padding: 5px 10px; }
  .plan { padding: 28px 22px; }
  .plan-price strong { font-size: 2.6rem; }

  /* stats: 2 × 2 */
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat-big { font-size: 1.9rem; }
  .stat p:last-child { font-size: 14px; }

  /* one row of tabs that scrolls sideways, edges faded */
  .tabs { flex-wrap: nowrap; justify-content: flex-start; width: auto; max-width: none; margin: 0 -16px 20px; padding: 5px; border-radius: 0; border-inline: 0; overflow-x: auto; mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); padding-inline: 16px; }
  .tabs [role="tab"] { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
  .shot-theme { justify-content: flex-start; margin: 0 0 24px; }
  .panel { gap: 24px; }
  .panel-text h3 { font-size: 1.5rem; }

  /* story, contact, FAQ: tighter */
  .story { gap: 32px; }
  .stack { padding: 20px; }
  .timeline { margin-top: 24px; }
  .faq-list summary { font-size: 1rem; padding-block: 16px; }
  .faq-list details { padding-inline: 18px; }
  .contact { gap: 28px; }
  .foot { padding-top: 40px; }
}

/* nothing inside a section may widen the page (e.g. phones before they fan out) */
.section, .band, .foot { overflow-x: clip; }

/* phones: the hero is just the particles, then the trial button, the demo and the channel icons.
   The headline and intro stay in the page for search engines and screen readers. */
@media (max-width: 720px) {
  .hero { padding-top: 92px; padding-bottom: 36px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-viz { order: 1; }
  .hero-actions { order: 2; margin-top: 8px; }
  .hero-proof { order: 3; }
  .hero-pill, .feed, .hero-proof p { display: none; }
  .hero h1, .hero .lede { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; animation: none; }
  .orbit { max-width: 340px; }
  .hero-proof { justify-content: center; border-top: 0; margin-top: 14px; padding-top: 0; }
  .hero-avatars i { width: 40px; height: 40px; margin-left: -9px; }
  .hero-avatars img { max-width: 26px; max-height: 16px; }
}

/* plan cards: each feature group is its own small box */
.plan .ticks li.plan-group { padding: 12px 14px 13px; margin-top: 2px; border-radius: 14px; background: var(--tint); border: 1px solid var(--line); font: inherit; text-transform: none; letter-spacing: 0; color: inherit; }
.plan-main .ticks li.plan-group { background: rgb(97 82 228 / 0.04); border-color: rgb(97 82 228 / 0.12); }
.plan-group-title { margin: 0 0 6px; font: 600 11.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-hi); }
.plan-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.plan-group ul li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.plan-group ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--go); }
.plan .ticks { gap: 10px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.plan .ticks li.plan-group { padding: 10px 14px 11px; }
.plan-group-title { margin-bottom: 2px; }
.plan-group-text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.plan .ticks li.plan-group::before { display: none; }

/* ---------- Nomi, the AI setup assistant (homepage #nomi) ----------
   The orb is the app's NomiFace drawn in the site's purple: light swirling inside, a slow bob and a
   blink. The chat bubbles arrive one by one when the figure scrolls in (site.js adds .reveal/.is-in). */
.nomi-demo { position: relative; z-index: 1; margin: 0; border-radius: 18px; border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.nomi-demo-bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--tint); }
.nomi-demo-bar p { display: grid; line-height: 1.25; }
.nomi-demo-bar b { font-size: 15px; }
.nomi-demo-bar span { font-size: 12.5px; color: var(--ink-3); }
.nomi-orb { flex: none; overflow: visible; }
.nomi-meter { margin-left: auto; width: 96px; height: 6px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.nomi-meter em { display: block; width: 75%; height: 100%; border-radius: inherit; background: var(--grad); }
.nomi-demo-body { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); }
.nomi-steps { list-style: none; margin: 0; padding: 16px 14px; display: grid; gap: 4px; align-content: start; border-right: 1px solid var(--line); counter-reset: step; }
.nomi-steps li { position: relative; padding: 7px 8px 7px 32px; border-radius: 10px; font-size: 13px; line-height: 1.35; color: var(--ink-2); counter-increment: step; }
.nomi-steps li::before { content: counter(step); position: absolute; left: 6px; top: 6px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 600 10.5px/1 var(--font); color: var(--ink-3); background: #fff; }
.nomi-steps .is-done { color: var(--ink-3); }
.nomi-steps .is-done::before { content: ""; border-color: transparent; background: rgb(20 195 162 / 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2308866f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.nomi-steps .is-attn { color: var(--ink); font-weight: 600; background: rgb(242 179 61 / 0.14); }
.nomi-steps .is-attn::before { border-color: transparent; background: var(--soon); color: #4a3000; content: "!"; }
.nomi-chat { display: flex; flex-direction: column; gap: 12px; padding: 18px; min-height: 100%; background: linear-gradient(180deg, #fff, var(--tint)); }
.nomi-msg { max-width: 92%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 14px; line-height: 1.5; color: var(--ink-2); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.nomi-msg b { color: var(--ink); }
.nomi-msg-me { align-self: flex-end; border-radius: 16px 16px 4px 16px; color: #fff; background: var(--brand); border-color: transparent; }
.nomi-action { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgb(97 82 228 / 0.3); box-shadow: 0 0 0 4px rgb(97 82 228 / 0.06); }
.nomi-action p { display: grid; line-height: 1.3; font-size: 14px; }
.nomi-action small { font: 600 10.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-hi); }
.nomi-confirm { margin-left: auto; padding: 7px 14px; border-radius: 999px; font: 600 13px/1 var(--font); color: var(--go-ink); background: var(--go); }

@keyframes nomi-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.5px); } }
@keyframes nomi-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes nomi-spin { to { transform: rotate(360deg); } }
@keyframes nomi-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.nomi-orb .nomi-swirl, .nomi-orb .nomi-halo { transform-box: view-box; transform-origin: 32px 32px; }
.nomi-orb .nomi-eyes { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .nomi-orb .nomi-body { animation: nomi-bob 3.2s ease-in-out infinite; }
  .nomi-orb .nomi-eyes { animation: nomi-blink 4.6s ease-in-out infinite; }
  .nomi-orb .nomi-swirl { animation: nomi-spin 9s linear infinite; }
  .nomi-demo.reveal .nomi-msg, .nomi-demo.reveal .nomi-action { opacity: 0; }
  .nomi-demo.reveal.is-in .nomi-msg, .nomi-demo.reveal.is-in .nomi-action { opacity: 1; animation: nomi-pop .5s var(--ease) calc(var(--d, 0s) + .3s) both; }
}
@media (max-width: 640px) {
  .nomi-demo-body { grid-template-columns: minmax(0, 1fr); }
  .nomi-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-right: 0; border-bottom: 1px solid var(--line); }
  .nomi-meter { display: none; }
}

/* hero pill announcing Nomi: the tag in brand purple with a tiny version of Nomi's orb */
.hero-pill-nomi .hero-pill-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand-hi); }
.hero-pill-orb { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 30% 70%, #38d6f5 0 25%, transparent 60%), radial-gradient(circle at 72% 30%, #b18cff 0 25%, transparent 60%), radial-gradient(circle at 50% 45%, #6152e4, #2b2273); box-shadow: 0 0 0 2px rgb(97 82 228 / 0.18), 0 0 8px rgb(97 82 228 / 0.6); }
@media (prefers-reduced-motion: no-preference) { .hero-pill-orb { animation: nomi-spin 9s linear infinite; } }

/* Nomi in the hero graphic: its orb on the inner ring with a name tag, and the card's fourth scene */
.orbit-tag rect { fill: #fff; stroke: rgb(97 82 228 / 0.3); filter: drop-shadow(0 3px 6px rgb(40 30 110 / 0.18)); }
.orbit-tag text { font: 700 11px var(--font); fill: var(--brand-hi); }
.feed li i.feed-orb { width: 26px; height: 26px; margin-inline: 11px; border-radius: 50%; background: radial-gradient(circle at 30% 70%, #38d6f5 0 22%, transparent 58%), radial-gradient(circle at 72% 30%, #b18cff 0 22%, transparent 58%), radial-gradient(circle at 50% 45%, #6152e4, #2b2273); box-shadow: 0 0 10px rgb(97 82 228 / 0.55); }
.feed li i.feed-orb::before, .feed li i.feed-orb::after { content: ""; position: absolute; width: 3px; height: 8px; border-radius: 2px; background: #fff; translate: -4px 0; }
.feed li i.feed-orb::after { translate: 4px 0; }
.feed li i.feed-orb { position: relative; }

/* Pricing cards: trial line, users chip, "Everything in …, plus:" and rows lined up across the cards */
.plan-fee-none { color: var(--ink-3); font-weight: 500; }
.plan-trial { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.plan-body { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan .plan-body .ticks { margin-top: 16px; padding-top: 0; border-top: 0; }
.plan-users { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 13px 6px 10px; border-radius: 999px; background: rgb(97 82 228 / 0.08); color: var(--brand-hi); font-weight: 600; font-size: 14px; }
.plan-users::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan .ticks li.plan-includes { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan .ticks li.plan-includes::before { display: none; }
@media (min-width: 961px) {
  @supports (grid-template-rows: subgrid) {
    .plans { grid-template-rows: repeat(7, auto); row-gap: 0; }
    .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; align-content: start; }
    .plan > .plan-desc { align-self: start; }
    .plan > .plan-body { align-self: start; }
  }
}

/* Pricing cards: feature groups as rows with an icon, each opening to the lines behind it */
.plan .ticks { gap: 0; }
.plan .ticks li.plan-includes { margin-bottom: 6px; }
.plan .ticks li.plan-group { padding: 0; margin: 0; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.plan .ticks li.plan-group:last-child { border-bottom: 0; }
.plan-main .ticks li.plan-group { background: none; border-color: var(--line); }
.plan-group summary, .plan-group-static { display: flex; align-items: flex-start; gap: 12px; padding: 12px 2px; }
.plan-group summary { cursor: pointer; list-style: none; border-radius: 10px; }
.plan-group summary::-webkit-details-marker { display: none; }
.plan-group summary::after { content: ""; flex: none; width: 16px; height: 16px; margin-top: 8px; margin-left: auto; opacity: .45; transition: transform .25s var(--ease), opacity .2s; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317152b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; }
.plan-group summary:hover::after { opacity: .8; }
.plan-group details[open] summary::after { transform: rotate(180deg); }
.plan-group summary:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
.plan-group-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(97 82 228 / 0.08); color: var(--brand-hi); }
.plan-main .plan-group-icon { background: var(--grad); color: #fff; box-shadow: 0 6px 14px -8px rgb(97 82 228 / 0.8); }
.plan-group-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.plan-group-head { display: grid; gap: 2px; min-width: 0; }
.plan-group-head strong { font-size: 15px; font-weight: 650; color: var(--ink); line-height: 1.35; }
.plan-group-head .plan-group-text { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.plan .ticks .plan-group-lines { list-style: none; margin: -2px 0 14px 46px; padding: 0; display: grid; gap: 6px; }
.plan .ticks .plan-group-lines li { padding-left: 16px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.plan .ticks .plan-group-lines li::before { width: 6px; height: 6px; top: .6em; left: 2px; background: var(--go); border-radius: 50%; }
.plan-group details[open] .plan-group-lines { animation: rise .3s var(--ease) both; }
.plan-main { background: radial-gradient(120% 60% at 50% 0%, rgb(97 82 228 / 0.07), transparent 60%) padding-box, linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.plan-badge { left: 50%; transform: translateX(-50%); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .plan-group summary::after { transition: none; } .plan-group details[open] .plan-group-lines { animation: none; } }

/* Pricing cards: an optional add-on at the foot of a card */
.plan-addon { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 14px; border: 1.5px dashed rgb(97 82 228 / 0.35); border-radius: 14px; background: rgb(97 82 228 / 0.03); }
.plan-addon-label { font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-hi); }
.plan-addon-price { font-weight: 700; color: var(--brand-hi); white-space: nowrap; }

/* CRM page: how it works and the feature grid */
.crm-steps { counter-reset: crm-step; list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.crm-steps li { counter-increment: crm-step; position: relative; padding: 16px 18px 16px 62px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink-2); }
.crm-steps li::before { content: counter(crm-step); position: absolute; left: 18px; top: 15px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 700; font-size: 14px; }
.crm-steps strong { color: var(--ink); }
.crm-kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.crm-kit > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.prose .crm-kit h3 { margin: 0 0 6px; font-size: 1.02rem; }
.prose .crm-kit p { margin: 0; font-size: 14.5px; }
@media (max-width: 760px) { .crm-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .crm-kit { grid-template-columns: minmax(0, 1fr); } }
