/* modelBridge sales page
   Layout and measurements: SPEC.md (Magnific body, Notion hero).
   Palette and type: modelBridge reference frames (off-white, black, navy panels, Spline Sans). */

:root {
  --font: "Spline Sans", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --bg: #f3f2f0;          /* page canvas */
  --hero-bg: #f3f2f0;     /* set to #ffffff for the Notion-white hero */
  --ink: #0c0c0d;         /* headings and body on light */
  --muted: #5f5f5f;       /* secondary text on light */
  --soft: #a3a3a3;        /* grey second line of a heading */
  --white: #ffffff;
  --black: #000000;
  --dark: #101010;        /* footer, dark card, dark buttons */
  --dark-2: #1a1a1a;      /* dark section, active pill */
  --dark-3: #1f1f1f;      /* card on dark */
  --dark-hover: #292928;
  --on-dark: #f5f5f5;
  --on-dark-muted: #8a8a8a;
  --line-dark: #424242;
  --pill-light: #e9e7e3;
  --pill-light-hover: #dfdcd9;
  --focus: #78736f;
  --accent: #3b82f6;
  --navy-1: #17449f;
  --navy-2: #102c69;
  --navy-3: #06132e;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --gutter: 32px;
  --nav-gutter: 16px;
  --pad-feature: 48px;
  --pad-strip: 48px;
}
@media (min-width: 768px) { :root { --nav-gutter: 32px; --pad-feature: 64px; } }
@media (min-width: 1024px) { :root { --pad-feature: 72px; --pad-strip: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/25.6px var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { flex: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 8px 16px; border-radius: 9999px; }
.skip:focus { top: 12px; }

.container { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

/* Navy panel: the brand surface used wherever the reference has dark media */
.navy { position: relative; overflow: hidden; isolation: isolate; color: var(--white);
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
.navy::after { content: ""; position: absolute; z-index: -1; left: -30%; right: -30%; bottom: -78%; height: 120%;
  border-radius: 50%; background: var(--navy-3); opacity: .85; transform: rotate(-9deg); }

/* Neutral media placeholder */
.ph { display: grid; place-items: center; background: #e4e2dd; color: #77736d; font-size: 12px; line-height: 18px; text-align: center; }
.ph--dark { background: #232323; color: #8a8a8a; }
.ph span { padding: 8px; }

.slot { border: 1px dashed #b9b5ae; border-radius: 12px; padding: 48px 24px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---------- News banner (mirrors the plugin's banner) ---------- */
.news { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 var(--nav-gutter) 0 0;
  background: linear-gradient(90deg, #0b0d14 0%, #0f2252 50%, #0b0d14 100%); color: var(--white); font-size: 14px; line-height: 22.4px; }
.news__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-align: center; }
.news__text.is-scrolling { text-align: left; }
.news__inner { display: inline-block; will-change: transform; }
.news__ts { color: rgb(255 255 255 / .6); }
.news__cta { flex: none; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid rgb(255 255 255 / .3);
  border-radius: 9999px; font-size: 13px; font-weight: 500; transition: background-color .15s var(--ease); }
.news__cta:hover { background: rgb(255 255 255 / .1); }
.news__close { flex: none; width: 28px; height: 28px; border-radius: 9999px; font-size: 18px; line-height: 1; color: rgb(255 255 255 / .6); }
.news__close:hover { color: var(--white); }
.news__text { text-overflow: ellipsis; }
.news__text.is-scrolling { text-overflow: clip; contain: paint;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
.news__text.is-scrolling .news__inner { animation: news-scroll var(--news-duration, 45s) linear infinite; }
@keyframes news-scroll { from { transform: translate3d(var(--news-from, 100vw), 0, 0); } to { transform: translate3d(-100%, 0, 0); } }

/* ---------- Type ---------- */
h2 { font-weight: 500; font-size: 32px; line-height: 38.4px; letter-spacing: -0.02em; }
.lead { font-size: 16px; line-height: 25.6px; color: var(--muted); margin-top: 16px; }
@media (min-width: 1024px) {
  h2 { font-size: 42px; line-height: 50.4px; }
  .lead { font-size: 18px; line-height: 27px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9999px; font-weight: 500; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
/* Download buttons: on hover the arrow hops up 2px and settles back, once. The line under it stays put. */
@keyframes dl-hop { 0% { transform: translateY(0); } 40% { transform: translateY(-2px); } 100% { transform: translateY(0); } }
a:hover > .dl-icon { transform: none; }
.dl-icon { overflow: visible; }
a:hover > .dl-icon .dl-arrow { animation: dl-hop .39s var(--ease); }
@media (prefers-reduced-motion: reduce) { a:hover > .dl-icon .dl-arrow { animation: none; } }
.btn--dark-lg { height: 49.6px; padding: 12px 24px; font-size: 16px; line-height: 25.6px; background: var(--dark); color: var(--white); }
.btn--dark-lg:hover { background: var(--dark-hover); }
.btn--light { height: 48px; padding: 0 24px; font-size: 16px; line-height: 25.6px; background: var(--on-dark); color: var(--dark-2); }
.btn--light:hover { background: #dbdbdb; }
.btn--outline-dark { height: 48px; padding: 0 24px; font-size: 16px; line-height: 25.6px; border-color: rgb(255 255 255 / .2); color: var(--on-dark); }
.btn--outline-dark:hover { background: rgb(255 255 255 / .05); }
.btn--outline-light { height: 44.4px; padding: 10px 20px; font-size: 14px; line-height: 22.4px; border-color: var(--ink); color: var(--ink); transition-duration: .2s; }
.btn--outline-light:hover { background: rgb(12 12 13 / .05); }
/* A button whose hover shows an arrow instead of a fill: the arrow is folded away (no width, no gap) and slides in. */
/* Quiet outline button (FAQ "Open the docs"): no arrow, no fill; text and border start a step dimmer and go full strength on hover. */
.btn--quiet { color: color-mix(in srgb, var(--ink) 72%, transparent); border-color: color-mix(in srgb, var(--ink) 40%, transparent); transition: color .2s var(--ease), border-color .2s var(--ease); }
.btn--quiet:hover, .btn--quiet:focus-visible { background: none; color: var(--ink); border-color: var(--ink); }
.btn--reveal-arrow:hover, .btn--reveal-arrow:focus-visible { background: none; }
.btn--reveal-arrow svg { width: 0; margin-left: -8px; opacity: 0; transform: translateX(-4px); transition: width .25s var(--ease), margin-left .25s var(--ease), opacity .2s var(--ease), transform .25s var(--ease); }
.btn--reveal-arrow:hover svg, .btn--reveal-arrow:focus-visible svg { width: 13px; margin-left: 0; opacity: 1; transform: none; }

/* Main call to action: the plugin's Generate colour (--sea-blue-primary #3B82F6, the page's --accent),
   white text, a little darker on hover like Generate. Kept for the one checkout button (Start free trial) only. */
.btn--cta { height: 44.4px; padding: 0 20px; font-size: 14px; line-height: 22.4px; background: var(--accent); color: var(--white); }
.btn--cta:hover, .btn--cta:focus-visible { background: #2f6fd8; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 22.4px; font-weight: 500; }
.text-link svg { transition: transform .3s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(4px); }

/* Notion-style pills (hero) */
.pill { display: inline-flex; align-items: center; height: 44px; padding: 6px 23px; border: 1px solid transparent; border-radius: 9999px;
  font-size: 16px; line-height: 24px; font-weight: 500; transition: background-color .2s ease-in, color .2s ease-in; }
.pill:hover { transition: background-color .15s ease-out, color .15s ease-out; }
.pill:focus-visible { outline: 2px solid var(--focus); }
.pill--dark { background: var(--black); color: var(--white); }
.pill--dark:hover, .pill--dark:focus-visible { background: rgb(0 0 0 / .75); }
.pill--dark:active { background: rgb(0 0 0 / .9); }
.pill--light { background: var(--pill-light); color: var(--black); }
.pill--light:hover, .pill--light:focus-visible, .pill--light:active { background: var(--pill-light-hover); }

/* ---------- Nav (spec §2) ---------- */
.hero-wrap { background: var(--hero-bg); }
.nav { position: sticky; top: 0; z-index: 100; height: 64px; background: var(--hero-bg); box-shadow: 0 1px 0 transparent; transition: box-shadow .2s ease-in; }
.nav.is-scrolled { box-shadow: 0 1px 0 rgb(0 0 0 / .1); }
.nav__row { position: relative; display: flex; align-items: center; gap: 8px; height: 64px;
  width: min(1252px, 100% - 2 * var(--nav-gutter)); margin-inline: auto; }
.nav__logo { display: flex; align-items: center; gap: 8px; height: 44px; margin-right: auto; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.nav__links { display: none; align-items: center; gap: 16px; }
.nav__links a { display: flex; align-items: center; gap: 6px; height: 28px; padding: 2px 8px; border-radius: 9999px; font-size: 14px; line-height: 20px; font-weight: 420;
  color: rgb(0 0 0 / .95); transition: background-color .15s ease-out; position: relative; }
.nav__links a::before { content: ""; position: absolute; inset: -8px 0; } /* 44px hit area */
.nav__links a:hover { background: var(--pill-light); }
.nav__pill { display: inline-flex; align-items: center; height: 32px; padding: 4px 12px; border-radius: 9999px; background: rgb(0 0 0 / .05);
  font-size: 14px; line-height: 20px; font-weight: 500; transition: background-color .15s ease-out; }
.nav__pill:hover { background: rgb(0 0 0 / .1); }
.nav__menu-btn { display: grid; place-items: center; width: 38px; height: 44px; }
.nav__menu { position: absolute; left: 0; right: 0; top: 64px; background: var(--hero-bg); padding: 8px var(--nav-gutter) 16px; display: grid;
  box-shadow: 0 1px 0 rgb(0 0 0 / .1); }
.nav__menu a { padding: 12px 8px; font-size: 16px; line-height: 24px; border-radius: 8px; }
.nav__menu a:hover { background: var(--pill-light); }
@media (min-width: 1080px) {
  .nav__row { gap: 16px; }
  .nav__logo { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; }
  .nav__links { display: flex; }
  .nav__links--right { margin-left: auto; }
  .nav__menu-btn, .nav__menu { display: none !important; }
}

/* ---------- Hero (spec §2) ---------- */
.hero__inner { width: min(1252px, 100% - 2 * var(--nav-gutter)); margin-inline: auto; padding: 88px 0 24px; text-align: center; }
.hero__title { max-width: 1204px; margin-inline: auto; font-weight: 600; font-size: 40px; line-height: 40px; letter-spacing: -0.03em;
  color: rgb(0 0 0 / .95); text-wrap: balance; }
.hero__sub { margin: 32px auto 0; font-size: 16px; line-height: 24px; color: rgb(0 0 0 / .9); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 32px; }
.hero__cta .pill { gap: 8px; }
.closing__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__frame { margin-top: 56px; aspect-ratio: 7 / 8; clip-path: inset(0 round 16px); }
/* Grows with the scroll (main.js "Hero picture"): the panel is as wide as the window all along, at the height it had, and a
   cut-out hides its sides. --hf-p runs 0 to 1 as the page scrolls; the cut-out opens and the corners square off with it. */
.hero__frame.is-bleed { width: var(--hf-vw); margin-left: calc(50% - var(--hf-vw) / 2); aspect-ratio: auto; height: var(--hf-h);
  clip-path: inset(0 calc(var(--hf-gutter) * (1 - var(--hf-p, 0))) round calc(16px * (1 - var(--hf-p, 0)))); }
/* The panel starts a little subdued and comes up to its full blue early in the scroll: a dark veil over the ground (under the app
   window and the trail) that main.js lifts through --hf-lit, 0 to 1 over the first two fifths of the way. */
.hero__frame.is-bleed::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #060a18; opacity: calc(.45 * (1 - var(--hf-lit, 0))); }
/* The edge trail (main.js "Hero picture"): cells along the panel's bottom edge, full width, and a little way up its two short sides. */
.hero__ink { position: absolute; left: 0; bottom: 0; width: 100%; height: 312px; pointer-events: none; }
.hero__window { position: absolute; left: 69px; top: 30px; width: 1152px; height: 720px; transform: scale(.75); transform-origin: top left;
  background: var(--white); border: 1px solid #f0efed; border-radius: 16px; overflow: hidden; display: grid;
  grid-template: 36px 1fr / 270px 1fr; color: #77736d; text-align: left; }
.hero__window-bar { grid-column: 1 / -1; background: #f9f8f7; display: flex; align-items: center; gap: 8px; padding-left: 16px; }
.hero__window-bar i { width: 12px; height: 12px; border-radius: 50%; background: #dfdcd9; }
.hero__window-side { background: #f9f8f7; }
.hero__window-main { display: grid; place-items: center; font-size: 16px; }
@media (max-width: 479.98px) { .hero__cta .pill { padding-inline: 15px; } }
@media (min-width: 768px) {
  .hero__title { font-weight: 500; font-size: 64px; line-height: 64px; }
  .hero__sub { max-width: 520px; }
  .hero__frame { aspect-ratio: 8 / 5; }
}
@media (min-width: 1080px) {
  .hero__inner { padding: 176px 0 48px; }
  .hero__title { font-size: 80px; line-height: 80px; max-width: 1000px; }
  .hero__sub { max-width: 590px; font-size: 18px; line-height: 28px; }
  .hero__frame { margin-top: 112px; }
  .hero__window { left: 50%; top: 32px; transform: translateX(-50%) scale(.9); transform-origin: top center; }
}

/* ---------- Sections ---------- */
.sec--feature { padding-block: var(--pad-feature); }
.sec--strip { padding-block: var(--pad-strip); }
.sec-head--center { text-align: center; }
.sec-head--center h2, .sec-head--center .lead { max-width: 672px; margin-inline: auto; }
.sec-head--split { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
.sec-head--split h2, .sec-head--split .lead { max-width: 672px; }
@media (min-width: 1024px) {
  .sec-head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; }
}

/* ---------- Pill tracks (tabs) ---------- */
.pills { position: relative; display: flex; width: max-content; max-width: 100%; padding: 6px; background: var(--white); border-radius: 9999px;
  overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills__indicator { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 9999px; background: var(--dark-2);
  transition: left .15s var(--ease), width .15s var(--ease); }
.pills__item { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42.4px; padding: 10px 24px; border-radius: 9999px;
  font-size: 14px; line-height: 22.4px; white-space: nowrap; color: var(--dark-2); transition: color .3s var(--ease); }
.pills__item.is-active { color: var(--white); }
.pills__item:focus-visible { outline: 1px solid var(--dark-2); outline-offset: 4px; }
.badge { height: 18px; padding: 0 6px; border-radius: 4px; font-size: 10px; line-height: 18px; font-weight: 500; letter-spacing: .2px;
  color: var(--accent); background: rgb(59 130 246 / .15); }

/* ---------- 3.1 Showcase ---------- */
.showcase { max-width: 1536px; margin-inline: auto; }
.showcase__tabs-wrap { display: flex; justify-content: center; margin-top: 40px; padding-inline: var(--gutter); }
.showcase__panel-wrap { max-width: 1360px; margin: 24px auto 0; padding-inline: var(--gutter); }
.showcase__panel { border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 24px; transition: opacity .15s var(--ease); }
.showcase__panel.is-fading { opacity: 0; }
.showcase__text h3 { font-size: 20px; line-height: 27.5px; font-weight: 600; letter-spacing: -0.01em; }
.showcase__text p { margin-top: 8px; font-size: 14px; line-height: 22.4px; color: rgb(255 255 255 / .7); }
.showcase__text .text-link { margin-top: 16px; }
.showcase__viz { min-height: 300px; display: grid; }
.viz { display: grid; align-content: center; gap: 16px; }
.glass, .bubble { background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .18); border-radius: 20px; backdrop-filter: blur(12px); }
.bubble { padding: 16px 20px; font-size: 16px; line-height: 22px; max-width: 420px; }
.bubble small, .glass small { display: block; font-size: 12px; line-height: 18px; color: rgb(255 255 255 / .7); margin-bottom: 4px; }
.bubble b { font-weight: 400; color: #8fb4ff; }
.bubble--agent { margin-left: auto; }
.viz--dual { grid-template-columns: 1fr 1fr; align-content: stretch; }
.glass { min-height: 220px; padding: 16px 20px; border-radius: 12px; }
.viz--phone .glass { width: 190px; min-height: 300px; border-radius: 28px; justify-self: center; }
.pay { background: var(--white); color: var(--ink); border-radius: 16px; padding: 24px; }
.pay strong { font-size: 20px; line-height: 30px; font-weight: 500; }
.pay p { color: var(--muted); font-size: 14px; line-height: 22.4px; }
.pay dl { display: grid; gap: 12px; margin-top: 24px; }
.pay dl div { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 16px; border-radius: 8px; background: #efeeec; font-size: 14px; line-height: 22.4px; }
@media (min-width: 768px) {
  .showcase__panel { padding: 32px; }
  .showcase__viz { min-height: 433px; }
  .bubble { font-size: 18px; line-height: 24px; }
}
@media (min-width: 1024px) {
  .showcase__tabs-wrap { margin-top: 56px; }
  .showcase__panel { height: 650px; padding: 0; flex-direction: row; gap: 0; }
  .showcase__text { flex: none; width: 400px; padding: 40px; }
  .showcase__text h3 { font-size: 22px; line-height: 33px; }
  .showcase__viz { flex: 1; min-height: 0; padding: 40px 56px 40px 16px; }
  .viz--chat { justify-self: center; width: min(560px, 100%); }
  .viz--pay { justify-self: center; width: min(440px, 100%); }
  .pay { padding: 32px; }
}

/* ---------- 3.2 Model row ---------- */
.models-row { overflow: hidden; padding-block: var(--pad-strip); }
.models__viewport { overflow-x: auto; scrollbar-width: none; outline: none; }
.models__viewport::-webkit-scrollbar { display: none; }
.models__viewport.is-live { overflow: hidden; touch-action: pan-y; cursor: grab; }
.models__viewport.is-dragging { cursor: grabbing; }
.models__viewport.is-dragging .model-card { pointer-events: none; }
.models__track { display: flex; gap: 8px; width: max-content; will-change: transform; }
.models__viewport:not(.is-live) .model-card[aria-hidden="true"] { display: none; }
.model-card { position: relative; flex: none; width: 220px; height: 280px; border-radius: 12px; overflow: hidden; background: var(--white); display: grid; place-items: center;
  overflow: hidden; user-select: none; -webkit-user-drag: none; }
/* White card with the name in the middle. A mouse over the row changes nothing: the cards keep drifting as they are.
   Keyboard focus on a card (and a phone, below) shows its video and turns the name white. */
.model-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); will-change: opacity; }
.model-card__label { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 22.4px; font-weight: 500;
  color: var(--ink); transition: color .5s var(--ease); }
.model-card::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .18); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
/* Fine, subtle film grain over the video. */
.model-card::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; mix-blend-mode: overlay; pointer-events: none; transition: opacity .5s var(--ease);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 160px 160px; }
.model-card:focus-visible .model-card__img, .model-card:focus-visible::after { opacity: 1; }
.model-card:focus-visible::before { opacity: .32; }
.model-card:focus-visible .model-card__label { color: var(--white); }
.model-card:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
/* The maker's logo, drawn in the label's colour so it turns white with the name on hover. */
.model-card__logo { flex: none; width: 18px; height: 18px; } /* inline SVG with fill=currentColor */
/* On a phone the cards are the same as on a desktop: logo and name on a plain card, drifting past. No picture, no video. */

/* ---------- 3.3 Bento ---------- */
.bento { display: grid; gap: 16px; }
.bento__card { position: relative; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bento__text { padding: 32px; }
.bento__text h3 { font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.bento__text p { margin-top: 16px; font-size: 14px; line-height: 21px; }
.bento__img { flex: 1; min-height: 140px; }
.bento__card--a { background: var(--white); min-height: 571px; }
.bento__card--a .bento__text p, .bento__card--d .bento__text p { color: var(--muted); }
.bento__card--a .bento__img { margin-left: 20px; border-top-left-radius: 8px; }
/* Calm palette: every card in this grid is the same neutral surface; only "Ready when the client asks" is blue. */
.bento__card--b { background: var(--white); min-height: 391px; }
.bento__card--b .bento__text p { color: var(--muted); }
.bento__card--b .bento__img { aspect-ratio: 16 / 9; flex: none; margin: 0 0 0 32px; border-top-left-radius: 8px; }
/* "Two models" picture: the panel's Dual Mode preview on the blue ground the "Wake up to new models" picture uses.
   The window keeps a margin at the top and on the left and runs out of the picture to the right and at the bottom.
   Sizes are in cqw, so the drawing scales with the box. main.js adds .is-seen the first time it scrolls into view. */
.dualfx { position: relative; overflow: hidden; container-type: inline-size; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
.dualfx__win { position: absolute; top: 8cqw; left: 9cqw; width: 96cqw; padding: 3.6cqw 3.6cqw 6cqw; font-size: 2.9cqw; line-height: 1.3; color: #f2f2f2;
  border: 1px solid rgb(255 255 255 / .16); border-right: 0; border-radius: 2.6cqw 0 0 0; background: #1c1c1c;
  transition: opacity 1.6s var(--ease) .35s, transform 2.6s cubic-bezier(.16, 1, .3, 1) .35s; } /* the phone picture's settle: same curve, same length, a moment after it */
.js .dualfx:not(.is-seen) .dualfx__win { opacity: 0; transform: translateY(28px); }
.dualfx__head { display: flex; align-items: baseline; gap: .6em; font-size: .86em; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.dualfx__head span { color: rgb(255 255 255 / .5); }
.dualfx__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; margin-top: 1.5em; }
.dualfx__tile { display: block; width: 100%; min-width: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); padding: .75em; border: 1px solid rgb(255 255 255 / .1); border-radius: 1em; background: #151515; }
.dualfx__tile.is-picked { border-color: #6f97f0; box-shadow: 0 0 0 1px #6f97f0; }
.dualfx__pic { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .55em; background: #262b26; }
.dualfx__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dualfx__tile:focus { outline: none; }
.dualfx__tile:focus-visible { outline: 1px solid rgb(255 255 255 / .55); outline-offset: 2px; }
.dualfx__tile:not(.is-picked):hover { border-color: rgb(255 255 255 / .24); }
.dualfx__pick { position: absolute; top: .7em; right: .7em; width: 1.9em; height: 1.9em; border: .16em solid #fff; border-radius: 50%; }
.dualfx__tile.is-picked .dualfx__pick { border: 0; background: #5b8def url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.6 3.6 7.4-7.6'/%3E%3C/svg%3E") center / 72% no-repeat; }
.dualfx__name { display: block; margin: .95em .35em .3em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .86em; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.dualfx__dest { display: flex; align-items: center; gap: .7em; margin-top: 1.3em; padding: .95em 1.3em; border: 1px solid rgb(255 255 255 / .1); border-radius: .8em; font-size: .86em; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.dualfx__ico { flex: none; width: 1.25em; height: 1.25em; background: url("assets/features/timeline-icon.png") center / contain no-repeat; } /* the plugin's own timeline icon (images/timeline-icon.png) */
.dualfx__dest i { padding: .2em .7em; border: 1px solid rgb(255 255 255 / .16); border-radius: 99em; font-style: normal; font-weight: 500; letter-spacing: .04em; color: rgb(255 255 255 / .8); }
.dualfx__dest b { margin-right: .3em; font-weight: 600; }
.dualfx__cta { display: flex; align-items: center; justify-content: center; gap: .7em; margin-top: 1.2em; padding: 1.15em; border-radius: .45em; background: #4f7fe8; color: #fff; font-size: 1.05em; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .dualfx__win { transition: none; } .js .dualfx:not(.is-seen) .dualfx__win { opacity: 1; transform: none; } }
.bento__card--c { min-height: 311px; justify-content: flex-end; }
.bento__card--c .bento__text p { color: rgb(255 255 255 / .75); }
/* "Ready when the client asks": one picture as background, brand blue darkening upwards with two dark arcs rising from the
   lower right. It fills the card, anchored to the bottom, so the arcs stay under the text. The navy panel's own arc is off. */
.bento__card--c.navy { background: #050b18; }
/* The same frosted treatment as the agent card: the picture on its own blurred layer, a light veil and fine grain on top. */
.bento__card--c.navy::before { content: ""; position: absolute; inset: -56px; z-index: -2; pointer-events: none; background: url("assets/client-card-3.webp") center bottom / cover no-repeat; filter: blur(19px) saturate(1.15) brightness(.95); }
.bento__card--c.navy::after { left: 0; right: 0; bottom: 0; height: auto; border-radius: 0; transform: none; content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(rgb(255 255 255 / .6), rgb(255 255 255 / .6)); }
/* Three rows from the report, all the same size: two usage rows, one licence row. The last one fades up when the card scrolls in. */
.clientfx { display: grid; gap: 8px; margin: 32px 32px auto; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.clientfx__row { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 14px 0 10px; border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; background: rgb(10 14 24 / .62); color: #f2f2f2; font-size: 13px; line-height: 1; }
.clientfx__row img { flex: none; width: 32px; height: 32px; border-radius: 8px; object-fit: cover; }
.clientfx__row b { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.clientfx__row span { flex: none; color: rgb(255 255 255 / .5); font-size: 12px; }
.clientfx__row strong { flex: none; min-width: 3.2em; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.clientfx__row i { flex: none; padding: 6px 10px; border-radius: 8px; background: rgb(95 211 166 / .14); color: #6fdcb0; font-size: 12px; font-style: normal; font-weight: 600; }
/* All four rows rise in one after the other when the card is scrolled into view. */
.clientfx__row { transition: opacity .9s var(--ease) var(--row-delay, 0s), transform 1.3s cubic-bezier(.16, 1, .3, 1) var(--row-delay, 0s), border-color .2s ease; }
.clientfx__row:hover { border-color: rgb(255 255 255 / .2); }
.clientfx__row:nth-child(2) { --row-delay: .14s; }
.clientfx__row:nth-child(3) { --row-delay: .28s; }
.clientfx__row:nth-child(4) { --row-delay: .42s; }
.js .clientfx:not(.is-seen) .clientfx__row { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .clientfx__row { transition: none; } .js .clientfx:not(.is-seen) .clientfx__row { opacity: 1; transform: none; } }
.bento__card--d { background: var(--white); min-height: 450px; }
.bento__card--d .bento__img { margin-left: 32px; border-top-left-radius: 8px; }
/* Live Mobile Preview: a product photo of the phone, dark in both themes. */
/* "Never guess what a setting does": three settings as the panel draws them; a pointer opens each one's explanation (main.js). */
.bento__card--d .helpfx { position: relative; overflow: hidden; min-height: 236px; container-type: inline-size; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
/* One setting on a card of its own, centred in the picture, closed or open; it grows from its middle when the explanation opens. */
.helpfx__win { position: absolute; top: 50%; translate: 0 -50%; left: 6.5cqw; right: 6.5cqw; padding: 5cqw; font-size: 3.5cqw; line-height: 1.4; color: #f2f2f2;
  border: 1px solid rgb(255 255 255 / .16); border-radius: 2.6cqw; background: #1c1c1c; box-shadow: 0 1.5cqw 5cqw rgb(0 0 0 / .35);
  transition: opacity 1.6s var(--ease) .7s, transform 2.6s cubic-bezier(.16, 1, .3, 1) .7s; } /* a beat after the client card's rows beside it */
.js .helpfx:not(.is-seen) .helpfx__win { opacity: 0; transform: translateY(28px); }
.helpfx__label { display: flex; align-items: center; gap: .7em; }
.helpfx__label b { font-size: .86em; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.helpfx__i { flex: none; display: grid; place-items: center; width: 1.5em; height: 1.5em; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; font: inherit; color: rgb(255 255 255 / .55); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color .2s var(--ease); }
.helpfx__i:hover, .helpfx__field.is-open .helpfx__i { color: #fff; }
.helpfx__i:focus { outline: none; }
.helpfx__i:focus-visible { outline: 1px solid rgb(255 255 255 / .55); outline-offset: 2px; }
.helpfx__i svg { grid-area: 1 / 1; width: 1.35em; height: 1.35em; transition: opacity .2s var(--ease); }
.helpfx__ic-up, .helpfx__field.is-open .helpfx__ic-i { opacity: 0; }
.helpfx__field.is-open .helpfx__ic-up { opacity: 1; }
.helpfx__box { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s var(--ease), opacity .3s var(--ease); }
.helpfx__box > div { overflow: hidden; min-height: 0; }
.helpfx__field.is-open .helpfx__box { grid-template-rows: 1fr; opacity: 1; }
.helpfx__box p { margin: .7em 0 .2em; padding: .7em .9em .7em .9em; border: 1px solid rgb(255 255 255 / .12); border-radius: .5em; background: rgb(255 255 255 / .04); color: rgb(255 255 255 / .78); }
/* A setting with listed values: lead sentence, then one row per value, Default as a small tag on its row (as in the panel). */
.helpfx__list { margin: .7em 0 .2em; padding: .7em .9em .7em .9em; border: 1px solid rgb(255 255 255 / .12); border-radius: .5em; background: rgb(255 255 255 / .04); color: rgb(255 255 255 / .78); }
.helpfx__box .helpfx__list p { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.helpfx__list dl { margin: .6em 0 0; }
.helpfx__list dl > div { display: grid; grid-template-columns: 4.6em minmax(0, 1fr) auto; column-gap: .7em; align-items: baseline; padding: .5em 0; border-top: 1px solid rgb(255 255 255 / .12); }
.helpfx__list dl > div:last-child { padding-bottom: 0; }
.helpfx__list dt { font-weight: 600; color: #f2f2f2; }
.helpfx__list dd { margin: 0; min-width: 0; }
.helpfx__list i { padding: .1em .55em; border: 1px solid rgb(255 255 255 / .16); border-radius: .4em; font-size: .82em; font-style: normal; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: rgb(255 255 255 / .52); }
.helpfx__more { white-space: nowrap; color: rgb(255 255 255 / .55); }
.helpfx__more u { text-underline-offset: .2em; }
.helpfx__more svg { display: inline-block; width: 1em; height: 1em; margin-left: .35em; vertical-align: -.12em; }
.helpfx__desc { margin: .45em 0 0; color: rgb(255 255 255 / .62); }
.helpfx__input { height: 2.9em; margin-top: .7em; padding: 0 1em; display: flex; align-items: center; border: 1px solid rgb(255 255 255 / .16); border-radius: .7em; background: #161616; color: rgb(255 255 255 / .85); }
.helpfx__ptr { position: absolute; top: 0; left: 0; z-index: 2; width: 5.2cqw; height: 5.2cqw; pointer-events: none; opacity: 0; transform: translate(70cqw, 80cqw); filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45));
  transition: opacity .35s var(--ease); } /* main.js moves it frame by frame */
.helpfx__ptr.is-on { opacity: 1; }
.helpfx__ptr path { transform-origin: 3px 3px; transition: transform .12s var(--ease); }
.helpfx__ptr.is-down path { transform: scale(.86); }
@media (prefers-reduced-motion: reduce) { .helpfx__win, .helpfx__box, .helpfx__ptr { transition: none; } .js .helpfx:not(.is-seen) .helpfx__win { opacity: 1; transform: none; } .helpfx__ptr { display: none; } }

.bento__card--a .livephone { position: relative; margin: 0 20px 20px; border-radius: 34px; clip-path: inset(0 round 34px); /* clips every layer to the same corners, also while pictures cross-fade */ overflow: hidden; background: #1a1a1a; }
.livephone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* Slides: the first one sets the size, the rest lie on top of it; the one that is on fades in over the others. */
.livephone__slide { position: relative; opacity: 0; } /* positioned, so z-index works on the first slide too */
.livephone__slide + .livephone__slide { position: absolute; inset: 0; }
.livephone__slide.is-on { opacity: 1; z-index: 1; transition: opacity 1.6s var(--ease), transform 2.6s cubic-bezier(.16, 1, .3, 1); } /* the new picture fades in on top... */
.livephone__slide.is-prev { opacity: 1; transition: opacity 1.6s var(--ease), transform 2.6s cubic-bezier(.16, 1, .3, 1); } /* keeps fading up if it is overtaken mid-fade (a quick swipe) */
.livephone__slide.is-under { opacity: 1; z-index: -1; } /* the one before that stays as the floor until the next change */ /* ...of the one before it, which stays put underneath, so the fade never dips to the background */
.livephone__slide--todo { display: grid; place-items: center; background: #1a1a1a; color: rgb(255 255 255 / .45); font-size: 12px; }
.livephone__dots { position: absolute; z-index: 2; left: 50%; bottom: 10px; translate: -50% 0; display: flex; padding: 0 4px; border-radius: 9999px;
  background: rgb(0 0 0 / .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); } /* a dark pill, so the dots read on any picture */
.livephone__dots button { display: grid; place-items: center; width: 20px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.livephone__dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .35); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.livephone__dots button:hover::before { background: rgb(255 255 255 / .65); }
.livephone__dots button.is-on::before { background: #fff; transform: scale(1.25); }
.livephone__dots button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 50%; }
/* Arrival: until the card has scrolled into view the picture sits lower in its frame; then it slides straight up and slows
   into its place. No scaling. The strip the picture leaves open at the top shows the frame's own colour, which matches the
   photo's dark backdrop, so only the phone is seen to move. */
.livephone__slide { transition: transform 2.6s cubic-bezier(.16, 1, .3, 1); }
.js .livephone:not(.is-seen) .livephone__slide { transform: translateY(6%); }
@media (prefers-reduced-motion: reduce) { .livephone__slide { transition: none; } .js .livephone:not(.is-seen) .livephone__slide { transform: none; } }
/* Phone chrome over the result pictures: white status bar and a frosted-glass label with the model name. Hidden while the product photo (slide 1) shows. */
/* The chrome never fades as one layer: a frosted surface inside a half-transparent parent cannot blur what is behind it, so it
   would snap in at the end of the fade. Each part comes in by itself instead: the glass thickens (blur and tint grow from nothing),
   the clock and icons fade, and the top shade fades. All in step with the picture's own cross-fade. */
.livephone__ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: #fff; }
.livephone__ui::before, .livephone__bar > * { opacity: 0; transition: opacity 1.2s var(--ease); }
.livephone[data-at]:not([data-at="0"]) .livephone__ui::before, .livephone[data-at]:not([data-at="0"]) .livephone__bar > * { opacity: 1; }
.livephone[data-at]:not([data-at="0"]) .livephone__bar { background: rgb(255 255 255 / .1); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
.livephone__ui::before { content: ""; position: absolute; inset: 0 0 auto; height: 72px; background: linear-gradient(rgb(0 0 0 / .32), transparent); } /* keeps the white bar readable on a bright sky */
/* The status bar is set in the system UI font: San Francisco on Apple devices, the platform's own UI font elsewhere (SF cannot be shipped as a web font). */
.livephone__bar { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 30px 12px 32px; background: rgb(255 255 255 / 0); -webkit-backdrop-filter: blur(0px) saturate(1); backdrop-filter: blur(0px) saturate(1); transition: background-color 1.2s var(--ease), -webkit-backdrop-filter 1.2s var(--ease), backdrop-filter 1.2s var(--ease); } /* a frosted strip, no line under it; clear while the product photo shows */
.livephone__time { font-size: 14px; line-height: 18px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
/* Battery: about 72 % full, no number. */
.livephone__batt { position: relative; display: grid; place-items: center; width: 25px; height: 12.5px; margin: 0 3px 0 1px; border-radius: 4px; background: linear-gradient(90deg, #fff 72%, rgb(255 255 255 / .42) 72%);
  color: rgb(0 0 0 / .82); font-size: 9.75px; line-height: 1; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.livephone__batt::after { content: ""; position: absolute; left: calc(100% + 1px); top: 50%; width: 1.5px; height: 4.5px; translate: 0 -50%; border-radius: 0 1px 1px 0; background: rgb(255 255 255 / .5); }
.livephone__sys { display: flex; align-items: center; gap: 5px; }
.livephone__sys svg { display: block; }
.livephone__label { position: absolute; left: 50%; bottom: 58px; translate: -50% 0; display: flex; align-items: center; justify-content: center; width: 52%; padding: 9px 18px; border: 1px solid rgb(255 255 255 / .28); border-radius: 9999px;
  background: rgb(255 255 255 / .16); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 6px 20px rgb(0 0 0 / .18); background-clip: padding-box;
  transition: opacity .8s var(--ease), transform .9s cubic-bezier(.22, 1, .36, 1); }
.livephone__label.is-out { opacity: 0; transform: translateY(6px); transition: opacity .8s var(--ease), transform 0s .8s; } /* fades out in place; it only drops once it is invisible, ready to rise in again */
.livephone__label b { font-size: 14px; line-height: 20px; font-weight: 600; }
/* Live Mobile Preview: a phone on the brand navy; a result arrives on its screen with a "New result" toast. */
.bento__card--a .phonefx { margin: 0 20px 20px; border-radius: 8px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
.phonefx__phone { width: 190px; aspect-ratio: 9 / 19; padding: 7px; border-radius: 30px; background: #0b0b0d; box-shadow: 0 20px 50px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .12); }
.phonefx__screen { position: relative; height: 100%; border-radius: 24px; overflow: hidden; background: #151517; }
.phonefx__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.phonefx__live { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 9999px;
  background: rgb(0 0 0 / .45); backdrop-filter: blur(6px); font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.phonefx__live i { width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: phonefx-blink 1.4s ease-in-out infinite; }
.phonefx__toast { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 14px; padding: 9px 12px; border-radius: 14px; background: rgb(255 255 255 / .92);
  font-size: 12px; font-weight: 500; color: #0c0c0d; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.phonefx.is-in .phonefx__video { opacity: 1; transform: none; }
.phonefx.is-in .phonefx__toast { opacity: 1; transform: none; }
@keyframes phonefx-blink { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .phonefx__live i { animation: none; } }
.bento__card--e { background: #e9e7e3; }
.bento__card--f { background: var(--white); }
.bento__card--e .bento__text p, .bento__card--f .bento__text p { color: var(--muted); }
/* Last card, full width: what the panel learns over time. The same neutral surface as the other cards. */
.bento__card--g { background: var(--white); }
.bento__card--g .bento__text p { color: var(--muted); }
.learn { list-style: none; margin: 0; padding: 0 32px 32px; display: grid; gap: 20px; }
.learn li { display: grid; align-content: start; gap: 6px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.learn b { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.learn span { font-size: 14px; line-height: 21px; color: var(--muted); }
@media (min-width: 768px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__text { padding: 40px; }
  .clientfx { margin: 40px 40px auto; }
  .bento__text h3 { font-size: 22px; line-height: 33px; }
  .bento__card--a, .bento__card--b { min-height: 616px; }
  .bento__card--c, .bento__card--d { min-height: 450px; }
  .bento__card--b .bento__img, .bento__card--d .bento__img { margin-left: 40px; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 403fr 391fr 391fr; grid-template-rows: 318px 512px; }
  .bento__text h3 { font-size: 26px; line-height: 32px; text-wrap: balance; }
  .bento__text p { font-size: 16px; line-height: 25.6px; }
  .bento__card { min-height: 0 !important; }
  .bento__card--a { grid-row: 1 / 3; }
  .bento__card--b { grid-column: 2 / 4; flex-direction: row; }
  .bento__card--b .bento__text { flex: none; width: 400px; }
  .bento__card--b .bento__img { flex: 1; aspect-ratio: auto; margin: 25px 0 0; }
  .bento__card--d .bento__img { margin-left: 48px; }
  /* Six cards: a third row with two short text cards. */
  .bento--six { grid-template-rows: 318px 512px auto; }
  .bento__card--e { grid-column: 1 / 3; }
  .bento__card--g { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .bento__card--g .bento__text { flex: none; width: 380px; }
  .learn { flex: 1; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 40px 40px 40px 0; }
  .learn span { font-size: 15px; line-height: 23px; }
}
@media (min-width: 1180px) { .learn { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 3.5 Workflow (use-case layout) ---------- */
.cases { display: grid; gap: 16px; }
.case { border-radius: 12px; padding: 24px; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: flex-end; }
.case__num { position: absolute; top: 24px; left: 24px; font-size: 64px; line-height: 1; font-weight: 300; color: rgb(255 255 255 / .35); }
.case__text h3 { font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.case__text p { margin-top: 8px; font-size: 14px; line-height: 21px; color: rgb(255 255 255 / .7); max-width: 512px; }
.case--wide { margin-top: 16px; aspect-ratio: auto; min-height: 180px; }
@media (min-width: 768px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
  .case__text h3 { font-size: 22px; line-height: 33px; }
  .case--wide { aspect-ratio: 3 / 1; }
}
@media (min-width: 1024px) {
  .case__num { font-size: 96px; }
  .case__text h3 { font-size: 26px; line-height: 39px; }
  .case__text p { font-size: 16px; line-height: 25.6px; }
}

/* ---------- 3.7 Dark section ---------- */
.teams { background: var(--dark-2); color: var(--on-dark); padding-block: 64px; }
.teams__col { display: flex; flex-direction: column; gap: 64px; }
.teams__title { font-size: 36px; line-height: 36px; font-weight: 500; letter-spacing: -0.02em; }
.teams__title span { color: var(--on-dark-muted); }
.plans { display: grid; gap: 48px; }
.plan h3 { font-size: 22px; line-height: 30.2px; font-weight: 600; }
.plan p { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--on-dark-muted); }
.plan .btn { margin-top: 32px; }
.twide { background: var(--dark-3); border-radius: 12px; padding: 32px; display: grid; gap: 32px; }
.twide h3 { font-size: 22px; line-height: 26.4px; font-weight: 600; letter-spacing: -0.01em; }
.twide__grid { display: grid; gap: 32px; }
.twide__grid li { display: flex; gap: 16px; }
.twide__grid strong { display: block; font-size: 16px; line-height: 24px; font-weight: 400; }
.twide__grid p { margin-top: 4px; font-size: 16px; line-height: 24px; color: var(--on-dark-muted); }
.icon-box { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-dark); border-radius: 8px; flex: none; }
@media (min-width: 768px) {
  .teams { padding-block: 80px; }
  .plan h3 { font-size: 32px; line-height: 44px; }
  .plan p { font-size: 18px; line-height: 27px; }
  .twide { padding: 48px; gap: 48px; }
  .twide h3 { font-size: 32px; line-height: 38.4px; }
  .twide__grid strong, .twide__grid p { font-size: 18px; line-height: 27px; }
}
@media (min-width: 1024px) {
  .teams { padding-block: 120px; }
  .teams__title { font-size: 56px; line-height: 67.2px; }
  .plans { grid-template-columns: 1fr 1fr; gap: 32px; }
  .twide__grid { grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
}

/* ---------- 3.8 FAQ ---------- */
.faq__row { display: flex; flex-direction: column; gap: 40px; }
.faq__head h2 { margin-bottom: 24px; }
.faq__list { display: grid; gap: 8px; }
.faq__item { background: rgb(255 255 255 / .55); }
.faq__item > button { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 24px;
  text-align: left; font-size: 16px; line-height: 25.6px; font-weight: 500; color: var(--ink); }
.faq__item > button:focus-visible { outline-offset: -2px; }
.faq__item svg { color: var(--accent); }
/* The plus turns a quarter and fades into the minus, which sits on the same spot (16px icon + 16px gap). */
.faq__item > button > span { flex: 1; }
.faq__plus, .faq__minus { flex: none; width: 16px; height: 16px; transition: transform .35s var(--ease), opacity .25s var(--ease); }
.faq__minus { margin-left: -32px; opacity: 0; transform: rotate(-90deg); }
/* The plus rests a little dimmed and comes up to full strength when its question is hovered or focused. */
.faq__plus { opacity: .5; }
.faq__item > button:hover .faq__plus, .faq__item > button:focus-visible .faq__plus { opacity: 1; }
.faq__item > button[aria-expanded="true"] .faq__plus { opacity: 0; transform: rotate(90deg); }
.faq__item > button[aria-expanded="true"] .faq__minus { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .faq__plus, .faq__minus { transition: none; } }
.faq__answer { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s var(--ease); }
.faq__answer > div { overflow: hidden; }
.faq__answer p { padding: 0 24px 20px; font-size: 14px; line-height: 22.4px; color: #525252; max-width: 680px; }
/* A numbered answer (How do I get started?): same text as the paragraphs, numbers inside the answer's padding. */
.faq__answer ol { margin: 0; padding: 0 24px 12px 44px; font-size: 14px; line-height: 22.4px; color: #525252; max-width: 680px; }
.faq__answer ol li + li { margin-top: 4px; }
.faq__answer a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: text-decoration-color .15s var(--ease); }
.faq__answer a:hover, .faq__answer a:focus-visible { text-decoration-color: currentColor; }
/* Platform marks before macOS and Windows in the first step: solid, in the link's own colour. */
.faq__item .faq__os { color: inherit; }
.faq__os { display: inline-block; width: .9em; height: .9em; margin-right: .32em; vertical-align: -.08em; }
/* "Read more" line at the end of an answer: links to the docs page that covers the question. */
.faq__answer .faq__more { margin-top: -8px; }
.faq__answer ol + .faq__more { margin-top: 0; }
.faq__more a::after { content: " \2192"; }
.js .faq__item:not(.is-open) .faq__answer { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s var(--ease), visibility 0s .3s; }
@media (min-width: 1024px) {
  .faq__row { flex-direction: row; gap: 80px; }
  .faq__head { flex: none; width: 300px; }
  .faq__head h2 { font-size: 36px; line-height: 48px; }
  .faq__list { flex: 1; }
}

/* ---------- Get started: three steps + the trial row ----------
   Cards share one layout: number and label on top, title, one line, the action at the bottom. The optional
   step has a dashed edge instead of a fill. Buttons, labels and colours are the page's own. */
/* Stay ahead — one wide navy card with the live "Latest arrivals" list, then two image cards. */
.ahead .sec-head h2 { max-width: 860px; }
.ahead .sec-head h2 span, #features .sec-head h2 span { color: var(--soft); }
.ahead .lead strong { color: var(--ink); font-weight: 600; }
.ahead__grid { display: grid; gap: 16px; margin-top: 40px; }
.ahead__card { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; }
.ahead__card:not(.navy) { background: var(--white); }
.ahead__text { padding: 28px; }
.ahead__text h3 { font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.01em; }
.ahead__h--icon { display: flex; align-items: center; gap: 10px; }
.ahead__h--icon svg { flex: none; width: 24px; height: 24px; }
.ahead__text p { margin-top: 8px; max-width: 520px; font-size: 16px; line-height: 24px; color: var(--muted); }
.ahead__img { aspect-ratio: 16 / 10; margin: 28px 28px 0; border-radius: 8px; overflow: hidden; }
.ahead__card--first { gap: 4px; }
.ahead__card--first .ahead__text h3 { font-size: 26px; line-height: 34px; }
.ahead__card--first .ahead__text p { color: rgb(255 255 255 / .75); }
/* Panel top, rebuilt. 1em = 11px at the panel's own 352px width, so everything scales with the box. */
.pn { container-type: inline-size; background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); color: rgb(255 255 255 / .72); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.pn__ui { font-size: 3.125cqw; line-height: 1.4; height: 100%; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.pn__tabs { display: flex; justify-content: space-between; padding: 1.35em .75em 0; height: 4.1em; border-bottom: 1px solid rgb(255 255 255 / .06); font-size: 1.18em; font-weight: 600; color: #8a8a8a; }
.pn__tabs span { position: relative; height: 100%; }
.pn__tabs .is-on { color: #fff; }
.pn__tabs .is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #fff; }
.pn__tabs i { display: inline-block; width: .5em; height: .5em; margin-right: .45em; border-radius: 50%; background: #22c55e; vertical-align: .08em; }
.pn__news { display: flex; align-items: center; gap: .73em; height: 3.2em; padding: 0 1.1em; border-bottom: 1px solid rgb(255 255 255 / .06); }
.pn__ticker { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1.1em, #000 calc(100% - 1.1em), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 1.1em, #000 calc(100% - 1.1em), transparent 100%); }
.pn__run { display: inline-block; font-size: .92em; font-weight: 500; animation: pn-scroll 30s linear infinite; }
.pn__ts { color: rgb(255 255 255 / .38); }
.pn__title { color: rgb(255 255 255 / .98); }
.pn__gap { margin-inline: 1.1em; opacity: .3; }
.pn__cta, .pn__x { flex: none; font: inherit; background: transparent; cursor: pointer; transition: border-color .15s, color .15s; }
.pn__cta { padding: .14em .66em; border: 1px solid rgb(255 255 255 / .2); border-radius: .36em; font-size: .82em; font-weight: 600; color: rgb(255 255 255 / .72); white-space: nowrap; }
.pn__cta:hover { border-color: rgb(34 197 94 / .5); color: #22c55e; }
.pn button:focus, .pn input:focus { outline: none; }
.pn button:focus-visible { outline: 1px solid rgb(255 255 255 / .55); outline-offset: 1px; }
.pn__x { display: grid; place-items: center; width: 1.6em; height: 1.6em; padding: 0; border: 1px solid rgb(255 255 255 / .12); border-radius: .36em; font-size: .82em; color: rgb(255 255 255 / .3); }
.pn__x:hover, .pn__x:focus-visible { border-color: rgb(255 255 255 / .3); color: rgb(255 255 255 / .6); }
.pn__view--new, .pn.is-new .pn__view--home { display: none; }
.pn.is-new .pn__ui { display: flex; flex-direction: column; -webkit-mask-image: none; mask-image: none; }
.pn.is-new .pn__view--new { flex: 1; min-height: 0; display: flex; flex-direction: column; font-size: .86em; }
button.pn__search { width: calc(100% - 1.9em); font-family: inherit; text-align: left; cursor: text; }
button.pn__search:hover, button.pn__search:focus-visible { border-color: rgb(255 255 255 / .28); }
.pn__view--new .pn__label { margin: 1.2em 1.1em .6em; letter-spacing: .03em; }
.pn__view--new .pn__label > span { margin-left: .6em; color: #8a8a8a; }
.pn__view--new .pn__label .pn__week { color: #4cc38a; }
.pn__view--new .pn__search { flex: none; height: 3em; margin: 0 1.1em; cursor: text; }
.pn__view--new .pn__search:focus-within { border-color: rgb(255 255 255 / .28); }
.pn__search input { flex: 1; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; color: #fff; }
.pn__search input::placeholder { color: #6f6f6f; }
.pn__search input::-webkit-search-cancel-button { display: none; }
.pn__filters { flex: none; display: flex; gap: .55em; margin: .8em 0 0; padding: 0 1.1em .2em; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-size: 1.09em; }
.pn__filters::-webkit-scrollbar { display: none; }
.pn__filters button { flex: none; padding: .3em 1.15em; border: 1px solid rgb(255 255 255 / .2); border-radius: 99em; background: transparent; font: inherit; font-weight: 600; color: rgb(255 255 255 / .52); cursor: pointer; transition: border-color .15s, color .15s; }
.pn__filters button:hover, .pn__filters button:focus-visible { border-color: rgb(255 255 255 / .4); color: rgb(255 255 255 / .8); }
.pn__filters button.is-on { background: #3b82f6; border-color: #3b82f6; color: #fff; }
.pn__list { flex: 1; min-height: 0; margin-top: .2em; padding-bottom: .8em; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / .18) transparent; }
.pn__empty { margin: 1.6em 1.1em; color: #8a8a8a; }
.pn__model img.pn__thumb { object-fit: cover; background: #262626; }
.pn__tag--trend { border: 1px solid rgb(59 130 246 / .4); background: rgb(59 130 246 / .14); color: #7fb0ff; }
.pn__model { display: flex; align-items: center; gap: .9em; margin: .75em 1.1em 0; padding: .9em; border-radius: .73em; background: #1c1c1c; }
.pn__model .pn__thumb { width: 4.4em; height: 4.4em; }
.pn__model .pn__thumb--a { background: linear-gradient(150deg, #c9a5e8 0 45%, #2f8f7a 45% 78%, #e8c27a 78%); }
.pn__model .pn__thumb--c { background: linear-gradient(135deg, #f2f0ea 0 50%, #1f1f1f 50%); }
.pn__model .pn__thumb--b { background: radial-gradient(circle at 60% 55%, #f29ac0 0 22%, #9ad0f2 45%, #f6e3a1 80%); }
.pn__info { flex: 1; min-width: 0; display: grid; gap: .15em; }
.pn__info b { font-size: 1.18em; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn__info em { font-style: normal; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pn__tags { display: flex; gap: .45em; margin-top: .3em; }
.pn__tag { padding: .1em .7em; border-radius: 99em; font-size: .82em; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pn__tag--new { border: 1px solid rgb(245 158 11 / .4); background: rgb(245 158 11 / .12); color: #f5a524; }
.pn__tag--lora { border: 1px solid rgb(236 72 153 / .4); background: rgb(236 72 153 / .14); color: #f08abf; }
.pn__more { flex: none; display: grid; place-items: center; width: 2.2em; height: 2.2em; margin-right: -.2em; border-radius: .4em; background: rgb(255 255 255 / .07); color: rgb(255 255 255 / .55); }
.pn__more svg { width: 1.1em; height: 1.1em; }
.pn__add { flex: none; display: grid; place-items: center; min-width: 5.2em; height: 2.4em; border: 1px solid rgb(255 255 255 / .15); border-radius: .4em; background: #3b82f6; font-size: .91em; font-weight: 600; color: #fff; }
.pn__add { position: relative; padding: 0 .6em; font-family: inherit; line-height: 1; cursor: pointer; transition: filter .15s, border-color .15s; }
.pn__add:hover:not([disabled]) { filter: brightness(.85); }
.pn__add.is-adding { background: #2a2a2a; border-color: rgb(255 255 255 / .35); color: transparent; cursor: wait; }
.pn__add.is-adding::after { content: "Adding"; position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(90deg, #aabbcc 25%, rgb(170 187 204 / .35) 50%, #aabbcc 75%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: pn-shimmer 1.6s linear infinite; }
.pn__add.is-added { background: #22c55e; }
.pn__add.is-installed { background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .72); cursor: default; transition: all .6s ease-in-out; }
.pn__model.is-installed .pn__thumb, .pn__model.is-installed .pn__info { opacity: .6; transition: opacity .6s ease-in-out; }
.pn__model.is-leaving { height: 0 !important; margin-top: 0; padding-block: 0; opacity: 0; overflow: hidden; transition: height .35s ease, margin .35s ease, padding .35s ease, opacity .25s ease; }
/* Opening the view: label, search, filters and the first cards rise in one after the other, about a second in all. */
.pn.is-entering .pn__view--new > :not(.pn__list), .pn.is-entering .pn__list > * { animation: pn-rise .5s cubic-bezier(.22, .61, .36, 1) both; }
.pn.is-entering .pn__view--new > .pn__search { animation-delay: .09s; }
.pn.is-entering .pn__view--new > .pn__filters { animation-delay: .18s; }
.pn.is-entering .pn__list > * { animation-delay: .5s; }
.pn.is-entering .pn__list > :nth-child(1) { animation-delay: .28s; }
.pn.is-entering .pn__list > :nth-child(2) { animation-delay: .39s; }
@keyframes pn-rise { from { opacity: 0; transform: translateY(.9em); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes pn-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.pn__search { display: flex; align-items: center; gap: .7em; height: 3.6em; margin: .75em .95em 0; padding: 0 1.1em; border: 1px solid rgb(255 255 255 / .08); border-radius: .55em; background: #1b1b1b; font-size: 1.09em; color: #6f6f6f; }
.pn__search svg { width: 1.3em; height: 1.3em; flex: none; }
.pn__label { margin: 1.9em .95em .9em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #e6e6e6; }
.pn__card { display: flex; gap: 1.1em; margin: 0 .95em; padding: 1.2em; border: 1px solid rgb(255 255 255 / .08); border-radius: .73em; background: #1b1b1b; }
.pn__thumb { flex: none; width: 5.1em; height: 5.1em; border-radius: .55em; }
/* Stand-in thumbnail: the blue gradient with a small, slightly darker portrait figure (head and shoulders). */
.pn__card .pn__thumb { overflow: hidden; }
.pn__card .pn__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pn__card .pn__thumb { background:
  radial-gradient(circle .82em at 50% 43%, rgb(6 19 46 / .6) 0 96%, transparent 100%),
  radial-gradient(ellipse 1.75em 1.45em at 50% 104%, rgb(6 19 46 / .6) 0 97%, transparent 100%),
  radial-gradient(120% 90% at 85% 0%, #2a5fd0 0%, var(--navy-1) 45%, var(--navy-2) 100%); }
.pn__lines { flex: 1; display: grid; gap: .8em; align-content: start; padding-top: .5em; }
.pn__lines b, .pn__lines em { display: block; height: .9em; border-radius: .45em; background: rgb(255 255 255 / .22); width: 78%; }
.pn__lines em { width: 52%; background: rgb(255 255 255 / .1); }
.pn--blog .pn__ui { -webkit-mask-image: linear-gradient(#000 94%, transparent); mask-image: linear-gradient(#000 94%, transparent); }
.pn__chips { display: flex; gap: .73em; padding: .9em 1.3em; border-bottom: 1px solid rgb(255 255 255 / .06); white-space: nowrap; overflow: hidden; font-weight: 600; color: #8a8a8a; }
.pn__chips span { flex: none; padding: .32em 1em; border: 1px solid rgb(255 255 255 / .12); border-radius: 99em; }
.pn__chips .is-on { background: #2e2e2e; color: #fff; }
.pn__updated { display: flex; align-items: center; justify-content: space-between; padding: 1.1em 1.4em .9em; color: #6b6b6b; }
.pn__updated svg { width: 1.3em; height: 1.3em; color: #d0d0d0; }
.pn__post { display: block; margin: 1.4em 1.4em 0; border: 1px solid rgb(255 255 255 / .16); border-radius: .73em; background: #1c1c1c; overflow: hidden; }
.pn__hero { display: block; height: 11.6em; background: #e9eef6 url("assets/features/blog-thumb-3.webp") center / cover no-repeat; }
.pn__meta { display: inline-block; margin: 1.1em 1.2em 0; padding: .18em .73em; border: 1px solid rgb(255 255 255 / .14); border-radius: 99em; font-size: .78em; color: #8f8f8f; }
.pn__post strong { display: block; margin: .6em 1.2em 1.2em; font-size: 1.16em; line-height: 1.3; font-weight: 700; color: #fff; }
/* Both demos sit inside the dark box with the same inset left, right and above, and run off its bottom edge. */
.pn:not(.pn--blog) .pn__ui { font-size: 2.5cqw; height: calc(100% - 7cqw); margin: 7cqw 7cqw 0; overflow: hidden;
  border: 1px solid rgb(255 255 255 / .16); border-bottom: 0; border-radius: 2.3cqw 2.3cqw 0 0; background: #1c1c1c;
  -webkit-mask-image: none; mask-image: none; }
.pn:not(.pn--blog) .pn__search, .pn:not(.pn--blog) .pn__card, .pn:not(.pn--blog) .pn__model { background: #242424; }
.pn--blog .pn__ui { font-size: 2.74cqw; display: flex; flex-direction: column; -webkit-mask-image: none; mask-image: none; } /* the same step smaller as the other demo; the inset stays where it was */
.pn--blog .pn__post .pn__lines { padding: 0 1.2em; gap: .6em; }
.pn--blog .pn__post strong { margin-bottom: .5em; }
.pn--blog .pn__post { flex: 1; margin: 7cqw 7cqw 0; border-bottom: 0; border-radius: 2.3cqw 2.3cqw 0 0; }
/* Arrival: each dark window fades in and rises a little the first time its picture scrolls into view (main.js adds .is-seen);
   the blog window follows the news window a moment later. */
.pn:not(.pn--blog) .pn__ui, .pn--blog .pn__post { transition: opacity .7s var(--ease) .2s, transform 1.7s cubic-bezier(.16, 1, .3, 1) .2s; } /* a short wait, so the card around it is already there */
.pn--blog .pn__post { transition-delay: .3s; }
.js .ahead__img.pn:not(.is-seen):not(.pn--blog) .pn__ui, .js .ahead__img.pn--blog:not(.is-seen) .pn__post { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) { .pn:not(.pn--blog) .pn__ui, .pn--blog .pn__post { transition: none; } .js .ahead__img.pn:not(.is-seen):not(.pn--blog) .pn__ui, .js .ahead__img.pn--blog:not(.is-seen) .pn__post { opacity: 1; transform: none; } }
@keyframes pn-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pn__run, .pn__add.is-adding::after { animation: none; } .pn__model.is-leaving { transition: none; } .pn.is-entering .pn__view--new * { animation: none !important; } }
.ahead__card--agent { background: var(--dark); color: var(--on-dark); }
/* The agent card's background is one picture: brand blue with two dark arcs rising from the lower right. It fills the card
   and is anchored to the lower right corner, so the arcs stay under the text whatever shape the card takes. */
.ahead__card:not(.navy).ahead__card--agent { position: relative; isolation: isolate; overflow: hidden; background: #0a1a40; }
/* The picture sits on its own layer so it can be blurred a little without touching the content. The layer reaches past the
   card on every side, so the blur never shows a faded edge; the card clips it to its rounded corners. */
.ahead__card--agent::before { content: ""; position: absolute; inset: -56px; z-index: -2; pointer-events: none; background: url("assets/agent-banner.webp") right bottom / cover no-repeat; filter: blur(19px) saturate(1.15) brightness(.95); }
/* Frosted look: a faint light veil and a fine grain over the blurred picture. */
.ahead__card--agent::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(rgb(255 255 255 / .6), rgb(255 255 255 / .6)); }
/* The editor writes in outlined bubbles on the right, the agent answers in white ones on the left. */
.ahead__chat .bubble { width: fit-content; padding: 12px 22px; border-radius: 28px; margin-left: auto; background: transparent; border: 1px solid rgb(255 255 255 / .55); backdrop-filter: none; color: #fff; }
.ahead__chat .bubble small { display: none; }
.ahead__chat .bubble--agent { margin-left: 0; padding: 14px 22px; background: #fff; border-color: #fff; color: #101010; }
.ahead__chat .bubble--agent b { font-weight: 500; color: #2a5fd0; }

.ahead__eyebrow { display: block; margin-bottom: 10px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .72); }
.ahead__card--agent .ahead__text h3 { font-size: 26px; line-height: 34px; }
.ahead__card--agent .ahead__text p { color: rgb(255 255 255 / .8); }
.ahead__card--agent .ahead__text .ahead__note { margin-top: 16px; font-size: 14px; line-height: 20px; color: rgb(255 255 255 / .6); }
.ahead__chat { order: 2; display: flex; flex-direction: column; gap: 18px; margin: 0 28px 28px; }
.ahead__chat .bubble { max-width: 88%; font-size: 15px; line-height: 21px; }
/* Chat plays once when it scrolls into view: three dots bounce where a message is being written, then the message fades in. */
.ahead__chat.is-live .bubble { position: relative; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .25s, border-color .25s; }
.ahead__chat.is-live .bubble.is-wait { opacity: 0; transform: translateY(8px); transition: none; }
.ahead__chat.is-live .bubble.is-out { opacity: 0; }
/* The agent's answer: the plugin's own model cards, top pick first, each with a working Add button. */
.ahead__reply { position: relative; }
/* The answer is longer than the card: the list runs out through the lower edge. */
.ahead__card--agent .ahead__chat { align-self: stretch; max-height: 400px; margin-bottom: 0; overflow: hidden; }
.ahead__picks { display: grid; gap: 8px; }
.ahead__picks-label { margin: 4px 2px 2px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .72); }
.ahead__pick { border: 1px solid transparent; border-radius: 12px; background: #1c1c1c; overflow: hidden; }
.ahead__pick--top { border-color: rgb(125 145 255 / .55); }
.ahead__pick-head { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: #1a2142; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #a9b8ff; }
.ahead__pick-head svg { flex: none; width: 15px; height: 15px; }
.ahead__model { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-family: Inter, system-ui, sans-serif; }
.ahead__model img { flex: none; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: #262626; }
.ahead__model-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ahead__model-info b { font-size: 16px; line-height: 22px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahead__model-info em { font-size: 14px; line-height: 20px; font-style: normal; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* A job the agent did: one row per result. */
.ahead__row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; font-family: Inter, system-ui, sans-serif; }
.ahead__state { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.ahead__state svg { width: 15px; height: 15px; }
.ahead__state--ok { background: rgb(34 197 94 / .16); color: #4ade80; }
.ahead__state--warn { background: rgb(245 158 11 / .16); color: #f5a524; }
.ahead__state--fail { background: rgb(239 68 68 / .18); color: #f87171; }
/* The chevron box left of the button, as on the plugin's model cards (decorative here). */
.ahead__more { flex: none; display: grid; place-items: center; width: 34px; height: 34px; margin-right: -4px; border-radius: 6px; background: rgb(255 255 255 / .07); color: rgb(255 255 255 / .55); }
.ahead__more svg { width: 16px; height: 16px; }
.ahead__add { position: relative; flex: none; display: grid; place-items: center; min-width: 76px; height: 34px; padding: 0 10px; border: 1px solid rgb(255 255 255 / .15); border-radius: 6px; background: #3b82f6; font: 600 14px/1 Inter, system-ui, sans-serif; color: #fff; cursor: pointer; transition: filter .15s, border-color .15s; }
.ahead__add:hover:not([disabled]) { filter: brightness(.85); }
.ahead__add:focus { outline: none; } .ahead__add:focus-visible { outline: 1px solid rgb(255 255 255 / .7); outline-offset: 2px; }
.ahead__add.is-adding { background: #2a2a2a; border-color: rgb(255 255 255 / .35); color: transparent; cursor: wait; }
.ahead__add.is-adding::after { content: "Adding"; position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(90deg, #8a8a8a 0 40%, #fff 50%, #8a8a8a 60% 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: pn-shimmer 1.6s linear infinite; }
.ahead__add.is-added { background: #22c55e; }
.ahead__add.is-installed { background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .72); cursor: default; transition: all .6s ease-in-out; }
.ahead__chat.is-live .ahead__reply { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.ahead__chat.is-live .ahead__reply.is-wait { opacity: 0; transform: translateY(8px); transition: none; }
.ahead__chat.is-live .ahead__reply.is-typing > :not(.ahead__work) { visibility: hidden; }
.ahead__chat.is-live .ahead__reply.is-out { opacity: 0; }
.ahead__reply.is-in .ahead__picks > * { animation: pn-rise .5s cubic-bezier(.22, .61, .36, 1) both; }
.ahead__reply.is-in .ahead__picks > :nth-child(2) { animation-delay: .1s; }
.ahead__reply.is-in .ahead__picks > :nth-child(3) { animation-delay: .22s; }
.ahead__reply.is-in .ahead__picks > :nth-child(4) { animation-delay: .34s; }
.ahead__reply.is-in .ahead__picks > :nth-child(5) { animation-delay: .46s; }
.ahead__chat.is-live .bubble.is-typing { background: transparent; border-color: transparent; backdrop-filter: none; transition: none; }
.ahead__chat.is-live .bubble.is-typing, .ahead__chat.is-live .bubble.is-typing :not(.ahead__dots, .ahead__dots *, .ahead__work, .ahead__work *) { color: transparent; }
.ahead__dots { position: absolute; top: 0; right: 0; display: none; align-items: center; gap: 5px; height: 40px; padding: 0 16px; border: 1px solid rgb(255 255 255 / .55); border-radius: 20px; }
.bubble--agent .ahead__dots { right: auto; left: 0; border-color: #fff; background: #fff; }
.bubble--agent .ahead__dots i { background: #6b6b6b; }
.bubble.is-typing .ahead__dots { display: flex; animation: ahead-pop .25s var(--ease) both; }
.ahead__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / .75); animation: ahead-dot 1s ease-in-out infinite; }
.ahead__dots i:nth-child(2) { animation-delay: .15s; }
.ahead__dots i:nth-child(3) { animation-delay: .3s; }
/* While the agent works: the plugin's indicator. "Working", a 3 x 3 pixel grid that pulses, and a line with a light sweeping across it. */
.ahead__work { position: absolute; top: 2px; left: 4px; display: none; flex-direction: column; gap: 8px; white-space: nowrap; }
.is-typing > .ahead__work { display: flex; animation: ahead-pop .25s var(--ease) both; }
.ahead__work-verb { font-size: 13px; line-height: 16px; color: rgb(255 255 255 / .65); }
.ahead__work-row { display: flex; align-items: center; gap: 9px; }
.ahead__glyph { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; width: 16px; height: 16px; padding: 2px; border: 1px solid rgb(120 170 255 / .45); border-radius: 3px; background: rgb(8 14 36 / .5); }
.ahead__glyph i { border-radius: .5px; background: #6aa5ff; animation: ahead-px 2.4s ease-in-out infinite; }
.ahead__glyph i:nth-child(2) { animation-delay: .3s; } .ahead__glyph i:nth-child(3) { animation-delay: .6s; } .ahead__glyph i:nth-child(4) { animation-delay: .8s; }
.ahead__glyph i:nth-child(5) { animation-delay: .15s; } .ahead__glyph i:nth-child(6) { animation-delay: .5s; } .ahead__glyph i:nth-child(7) { animation-delay: .4s; }
.ahead__glyph i:nth-child(8) { animation-delay: .7s; } .ahead__glyph i:nth-child(9) { animation-delay: .2s; }
.ahead__work-label { font-size: 16px; line-height: 21px; font-weight: 600;
  background: linear-gradient(90deg, rgb(255 255 255 / .55) 0 40%, #fff 50%, rgb(255 255 255 / .55) 60% 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: ahead-sweep 3.6s linear infinite; }
.ahead__work-dots { display: inline-block; width: 1em; text-align: left; }
@keyframes ahead-px { 0%, 100% { opacity: .15; transform: scale(.5); } 50% { opacity: 1; transform: scale(1); } }
@keyframes ahead-sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes ahead-dot { 0%, 60%, 100% { transform: none; opacity: .55; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes ahead-pop { from { opacity: 0; transform: translateY(6px); } }
.ahead__feed { margin: 0 28px 28px; padding: 20px; border-radius: 8px; background: rgb(255 255 255 / .08); }
.ahead__feed-title { display: block; font-size: 14px; line-height: 20px; font-weight: 600; color: rgb(255 255 255 / .7); }
.ahead__feed-list { list-style: none; margin: 8px 0 0; padding: 0; }
.ahead__feed-list li { display: flex; align-items: baseline; gap: 12px; padding-block: 10px; font-size: 15px; line-height: 22px; }
.ahead__feed-list li + li { border-top: 1px solid rgb(255 255 255 / .1); }
.ahead__feed-name { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahead__feed-cat { display: none; color: rgb(255 255 255 / .6); white-space: nowrap; }
.ahead__feed-date { color: rgb(255 255 255 / .6); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 600px) { .ahead__feed-cat { display: block; } }
@media (min-width: 900px) {
  .ahead__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
  .ahead__text { padding: 32px; }
  .ahead__img { margin: 32px 32px 0; }
  .ahead__card--first { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 0; min-height: 360px; }
  .ahead__card--first .ahead__text { flex: 1; padding: 48px; }
  .ahead__card--first .ahead__text h3 { font-size: 32px; line-height: 40px; }
  .ahead__card--first .ahead__text p { margin-top: 12px; max-width: 440px; }
  .ahead__feed { flex: 1; margin: 32px 32px 32px 0; padding: 24px 28px; }
  .ahead__card--agent { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 440px; }
  .ahead__card--agent .ahead__text { flex: 1; padding: 48px; }
  .ahead__card--agent .ahead__text h3 { font-size: 32px; line-height: 40px; }
  .ahead__card--agent .ahead__text p { margin-top: 12px; max-width: 440px; }
  .ahead__chat { order: 0; flex: 1; margin: 40px 0 40px 48px; }
  .ahead__chat .bubble { font-size: 16px; line-height: 22px; }
}
.start { --start-card: var(--white); --start-line: #e4e1dc; }
.start__steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.start__step { display: flex; flex-direction: column; padding: 28px; border-radius: 12px; background: var(--start-card); }
.start__step--optional { background: transparent; border: 1px dashed #cbc7c1; }
/* Picture for each step (placeholder until the screenshots exist), inside the card's padding. */
.start__img { aspect-ratio: 5 / 4; margin-bottom: 28px; border-radius: 8px; overflow: hidden; }
.start__img > span { max-width: 100%; padding-inline: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* one line */
/* Step number: plain text above the title, no pill, so it does not read as a button. */
.start__num { display: block; font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); }
/* Number row: the step number left, the video link right. 44px tall in every card (card 01 has no link) so the headings line up. */
.start__numrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.start__watch { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; line-height: 20px; font-weight: 500;
  color: color-mix(in srgb, var(--ink) 78%, transparent); transition: color .15s var(--ease); }
.start__watch:hover, .start__watch:focus-visible { color: var(--ink); }
.start__watch:hover .start__watch-text, .start__watch:focus-visible .start__watch-text { text-decoration: underline; text-underline-offset: 3px; }
.start__watch-play { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; }
.start__watch-play svg { width: 9px; height: 9px; margin-left: 1px; }
/* Step 1: on the same navy as step 2 but a different shape: a ring fills around a download arrow
   at an uneven pace (Downloading, then Installing), then the ring closes, pulses once, a panel-beside-the-timeline glyph appears and the line reads Installed (no check here: the green check belongs to step 2). On a loop. */
.dlfx { align-content: center; gap: 10px; }
.dlfx__stage { position: relative; display: grid; place-items: center; width: 56px; height: 56px; }
.dlfx__stage > span svg { width: 20px; height: 20px; }
.dlfx__stage > :not(svg) { position: relative; z-index: 1; grid-area: 1 / 1; transition: opacity .3s var(--ease), transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.dlfx__num { display: grid; place-items: center; color: #fff; }
.dlfx.is-loading .dlfx__num svg { animation: dlfx-nudge 1s ease-in-out infinite; }
@keyframes dlfx-nudge { 0%, 100% { transform: translateY(-1.5px); } 50% { transform: translateY(1.5px); } }
.dlfx__track { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dlfx__track circle { fill: transparent; stroke: rgb(255 255 255 / .14); stroke-width: 4.5; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.dlfx__track .dlfx__arc { stroke: #fff; stroke-linecap: round; stroke-dasharray: 351.9; stroke-dashoffset: 351.9; }
.dlfx__panel { display: grid; place-items: center; color: #fff; opacity: 0; transform: scale(.5); }
.dlfx.is-done .dlfx__panel { opacity: 1; transform: none; }
.dlfx.is-done .dlfx__stage { animation: dlfx-pulse .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes dlfx-pulse { 40% { transform: scale(1.08); } }
.dlfx__text { display: grid; justify-items: center; font-size: 13px; line-height: 20px; color: rgb(255 255 255 / .7); white-space: nowrap; }
.dlfx__text > span { grid-area: 1 / 1; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.dlfx.is-done .dlfx__num { opacity: 0; transform: scale(.8); }
.dlfx.is-done .dlfx__a { opacity: 0; transform: translateY(-6px); }
.dlfx.is-clearing .dlfx__stage, .dlfx.is-clearing .dlfx__text { opacity: 0; transition: opacity .35s var(--ease); }
@media (max-width: 480px) { .dlfx__stage { width: 50px; height: 50px; } }
/* Get started pictures: a piece of the plugin's own panel on the brand navy, one arrangement per step
   (a window cut off at the bottom, a card in the middle, two layers, a window running off the right edge).
   Everything inside is sized in em off the picture's width, so it scales with the card. The same in both themes. */
.sfx { position: relative; isolation: isolate; container-type: inline-size; background: var(--navy-2); color: rgb(255 255 255 / .72); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
/* Soft, uneven patches in the brand blues (the navy tokens, the accent and a lighter tint of it), blurred together; a different scatter in each picture. */
.sfx::before { content: ""; position: absolute; inset: -22%; z-index: -1; filter: blur(26px); }
.sfx--a::before { background: radial-gradient(34% 44% at 12% 16%, rgb(124 166 248 / .7) 0%, transparent 72%), radial-gradient(46% 40% at 40% 6%, rgb(59 130 246 / .85) 0%, transparent 72%), radial-gradient(40% 50% at 88% 30%, #06132e 0%, transparent 72%), radial-gradient(50% 40% at 70% 92%, rgb(59 130 246 / .85) 0%, transparent 72%), radial-gradient(40% 46% at 16% 82%, #17449f 0%, transparent 72%), radial-gradient(30% 30% at 96% 78%, rgb(124 166 248 / .7) 0%, transparent 72%), var(--navy-2); }
.sfx--b::before { background: radial-gradient(44% 38% at 50% 2%, #06132e 0%, transparent 72%), radial-gradient(40% 50% at 8% 40%, rgb(59 130 246 / .85) 0%, transparent 72%), radial-gradient(34% 40% at 90% 16%, #17449f 0%, transparent 72%), radial-gradient(46% 40% at 84% 84%, rgb(124 166 248 / .7) 0%, transparent 72%), radial-gradient(50% 36% at 34% 98%, rgb(59 130 246 / .85) 0%, transparent 72%), radial-gradient(30% 34% at 4% 92%, #06132e 0%, transparent 72%), var(--navy-2); }
.sfx--c::before { background: radial-gradient(40% 44% at 90% 10%, rgb(124 166 248 / .7) 0%, transparent 72%), radial-gradient(44% 40% at 56% 0%, #17449f 0%, transparent 72%), radial-gradient(42% 50% at 6% 22%, rgb(59 130 246 / .85) 0%, transparent 72%), radial-gradient(40% 44% at 10% 90%, #06132e 0%, transparent 72%), radial-gradient(50% 40% at 62% 96%, #17449f 0%, transparent 72%), radial-gradient(32% 40% at 98% 62%, rgb(59 130 246 / .85) 0%, transparent 72%), var(--navy-2); }
.sfx--d::before { background: radial-gradient(40% 46% at 4% 8%, #06132e 0%, transparent 72%), radial-gradient(44% 36% at 46% 4%, rgb(59 130 246 / .85) 0%, transparent 72%), radial-gradient(34% 44% at 96% 20%, rgb(124 166 248 / .7) 0%, transparent 72%), radial-gradient(40% 50% at 6% 62%, #17449f 0%, transparent 72%), radial-gradient(50% 38% at 40% 98%, rgb(124 166 248 / .7) 0%, transparent 72%), radial-gradient(40% 40% at 96% 90%, #06132e 0%, transparent 72%), var(--navy-2); }
.sfx__ui { position: absolute; inset: 0; font-size: 4cqw; line-height: 1.4; }
.sfx svg { display: block; flex: none; }
/* The panel window */
.sfx__win { position: absolute; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgb(255 255 255 / .1); border-radius: 1.3em; background: rgb(20 20 20 / .95); box-shadow: 0 1.2em 3.6em rgb(6 19 46 / .4); }
.sfx__win--a { left: 15%; right: -16%; top: 9%; bottom: -14%; -webkit-mask-image: linear-gradient(#000 58%, transparent 92%); mask-image: linear-gradient(#000 58%, transparent 92%); }
.sfx__win--d { left: 11%; right: -24%; top: 10%; bottom: -14%; }
.sfx__tabs { flex: none; display: flex; justify-content: space-between; height: 3.5em; padding: 1.15em 1.4em 0; border-bottom: 1px solid rgb(255 255 255 / .07); font-size: .82em; font-weight: 600; color: #8a8a8a; white-space: nowrap; }
.sfx__tabs { justify-content: flex-start; gap: 1.9em; }
.sfx__tabs span { position: relative; height: 100%; }
.sfx__tabs .is-on { color: #fff; }
.sfx__tabs .is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #fff; }
.sfx__tabs i { display: inline-block; width: .5em; height: .5em; margin-right: .45em; border-radius: 50%; background: #22c55e; vertical-align: .08em; }
.sfx__body { position: relative; flex: 1; min-height: 0; width: 21.2em; } /* the part of the window inside the picture */
.sfx__search { display: flex; align-items: center; gap: .7em; height: 2.9em; margin: .95em 1em 0; padding: 0 .9em; border: 1px solid rgb(255 255 255 / .08); border-radius: .55em; background: #1a1a1a; color: #666; white-space: nowrap; }
.sfx__search svg { width: 1.1em; height: 1.1em; }
.sfx__label { margin: 1.25em 1em .1em; font-size: .82em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #e6e6e6; }
.sfx__row { display: flex; align-items: center; gap: .9em; margin: .6em 1em 0; padding: .7em; border: 1px solid rgb(255 255 255 / .08); border-radius: .7em; background: #1f1f1f; }
.sfx__thumb { flex: none; width: 3em; height: 3em; border-radius: .5em; }
/* The same picture as the model card in "Wake up to new models"; the blue gradient shows if it cannot load. */
.sfx__thumb--a { background: url("https://v3b.fal.media/files/b/0aac8c97/OwXsIilO-VK2xMBqsdbcG.jpg") center / cover, linear-gradient(180deg, #2a55a8, #4a78c8 70%, #1f3fb0 70%); }
.sfx__thumb--b { background: radial-gradient(circle at 60% 55%, #f29ac0 0 22%, #9ad0f2 45%, #f6e3a1 80%); }
.sfx__home .sfx__thumb { filter: brightness(1.3) saturate(1.1); }
.sfx__thumb--c { background: linear-gradient(135deg, #3b82f6 0 50%, #0b1f4d 50%); }
.sfx__lines { flex: 1; min-width: 0; display: grid; gap: .5em; }
.sfx__lines b, .sfx__lines em { display: block; width: 74%; height: .7em; border-radius: .35em; background: rgb(255 255 255 / .24); }
.sfx__lines em { width: 48%; background: rgb(255 255 255 / .11); }
.sfx__add { flex: none; display: grid; place-items: center; min-width: 3.8em; height: 2.1em; border-radius: .4em; background: #3b82f6; font-size: .86em; font-weight: 600; color: #fff; }
/* Step 1: first the ring alone on the blue field. When it has closed, it fades and the panel window rises in;
   then the window's rows come in the way the "new models" demo does (pn-rise), one after the other. */
.sfx .dlfx__stage { position: absolute; inset: 0; margin: auto; width: 4.6em; height: 4.6em; }
.sfx .dlfx__stage > span svg { width: 1.7em; height: 1.7em; }
.dlfx.is-open .dlfx__stage { opacity: 0; transform: scale(.8); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.dlfx .sfx__win--a { opacity: 0; transform: translateY(1.1em); transition: opacity .55s var(--ease) .15s, transform .7s cubic-bezier(.22, 1, .36, 1) .15s; }
.dlfx.is-open .sfx__win--a { opacity: 1; transform: none; }
.sfx__home { visibility: hidden; }
.dlfx.is-open .sfx__home { visibility: visible; }
.dlfx.is-open .sfx__home > * { animation: pn-rise .5s cubic-bezier(.22, .61, .36, 1) .35s both; }
.dlfx.is-open .sfx__home > :nth-child(2) { animation-delay: .44s; }
.dlfx.is-open .sfx__home > :nth-child(3) { animation-delay: .54s; }
.dlfx.is-open .sfx__home > :nth-child(4) { animation-delay: .65s; }
.dlfx.is-open .sfx__home > :nth-child(5) { animation-delay: .76s; }
@media (prefers-reduced-motion: reduce) { .dlfx .sfx__win--a { transition: none; } .dlfx.is-open .sfx__home > * { animation: none; } }
/* The card (steps 2 and 3): title, the plugin's key row, one button. */
.sfx__card { position: absolute; left: 50%; top: 50%; width: 82%; padding: 1.25em 1.15em 1.15em; border: 1px solid rgb(255 255 255 / .1); border-radius: 1.2em; background: #1a1a1a; box-shadow: 0 1.2em 3.6em rgb(6 19 46 / .45); /* solid: nothing behind the sheet shows through it */
  text-align: center; opacity: 0; transform: translate(-50%, calc(-50% + .9em)) scale(.97); transition: opacity .16s var(--ease), transform .55s cubic-bezier(.34, 1.4, .64, 1); }
.sfx__card--low { top: 61%; width: 86%; }
.is-shown > .sfx__ui > .sfx__card { opacity: 1; transform: translate(-50%, -50%); }
/* Step 2's card is there from the start (empty field); only the typing waits for its turn. */
.licfx > .sfx__ui > .sfx__card { opacity: 1; transform: translate(-50%, -50%); }
.sfx__title { margin-bottom: .85em; font-size: 1.02em; font-weight: 600; color: #f0f0f0; white-space: nowrap; }
.sfx__title--caps { font-size: .9em; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.sfx__keyrow { position: relative; display: flex; align-items: center; gap: .45em; height: 2.9em; padding: 0 .4em 0 .85em; border: 1px solid rgb(255 255 255 / .1); border-radius: .55em; background: #141414; text-align: left; }
.sfx__ph { position: absolute; left: .85em; font-size: .92em; color: #666; white-space: nowrap; transition: opacity .2s; }
.is-filled .sfx__ph { opacity: 0; }
.sfx__typed { font: 600 .84em/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; color: #f0f0f0; white-space: nowrap; }
.sfx__dots { display: flex; align-items: center; gap: .32em; }
.sfx__dots i { flex: none; width: .42em; height: .42em; border-radius: 50%; background: #f0f0f0; } /* each dot appears at once, like a typed character */
.sfx__caret { flex: none; width: 2px; height: 1em; border-radius: 1px; background: #f0f0f0; visibility: hidden; animation: sfx-blink 1s steps(1) infinite; }
.is-typing .sfx__caret { visibility: visible; }
.sfx__eye { width: 1.15em; height: 1.15em; margin-left: auto; color: #8a8a8a; }
.sfx__go { flex: none; display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: .4em; background: rgb(255 255 255 / .07); color: #8a8a8a; transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.sfx__go svg { grid-area: 1 / 1; width: 1.05em; height: 1.05em; transition: opacity .2s var(--ease), transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.sfx__check { opacity: 0; transform: scale(.4); }
.is-filled .sfx__go { background: #3b82f6; color: #fff; }
.is-sent .sfx__go { transform: scale(.86); }
.is-done .sfx__go { background: #10b981; color: #fff; }
.is-done .sfx__arrow { opacity: 0; transform: translateX(.5em); }
.is-done .sfx__check { opacity: 1; transform: none; transition-delay: .08s; }
.sfx__swap { display: grid; margin-top: .65em; }
.sfx__swap > * { grid-area: 1 / 1; }
.sfx__btn { display: flex; align-items: center; justify-content: center; gap: .5em; height: 2.75em; border-radius: .45em; background: #3b82f6; font-size: .92em; font-weight: 600; color: #fff; white-space: nowrap; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.sfx__btn svg { width: 1em; height: 1em; }
.sfx__btn--ghost { border: 1px solid rgb(255 255 255 / .12); background: transparent; font-weight: 500; color: rgb(255 255 255 / .8); }
/* Step 2: the key field and the license line share one place; the field leaves once its check has turned green (.is-active). */
.licfx .sfx__swap { margin-top: 0; align-items: center; }
.licfx .sfx__keyrow { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.licfx.is-active .sfx__keyrow { opacity: 0; transform: scale(.97); }
/* The finished state is the license line from the plugin's Settings: green dot, the name in capitals, an "Active" pill. */
.sfx__status { display: flex; align-items: center; gap: .6em; padding: 0 .2em; text-align: left; opacity: 0; transform: translateY(.4em); filter: blur(4px); transition: opacity .45s var(--ease) .15s, transform .55s cubic-bezier(.22, 1, .36, 1) .15s, filter .45s var(--ease) .15s; }
.sfx__status b { flex: none; width: .5em; height: .5em; border-radius: 50%; background: #10b981; }
.sfx__status strong { font-size: .95em; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #f0f0f0; }
.sfx__status em { margin-left: auto; padding: .2em .8em; border-radius: 99em; background: #0e2f24; font-size: .82em; font-style: normal; font-weight: 500; color: #34c38f; }
.licfx.is-active .sfx__status { opacity: 1; transform: none; filter: none; }
.licfx.is-active .sfx__status b { animation: licfx-pop .35s cubic-bezier(.34, 1.56, .64, 1) .15s both, licfx-blink .95s ease-in-out .65s 2; }
@keyframes licfx-pop { from { transform: scale(0); } }
@keyframes licfx-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } 50% { opacity: .2; box-shadow: 0 0 0 4px rgb(61 220 132 / .22); } }
@keyframes sfx-blink { 50% { opacity: 0; } }
/* Step 3: the models behind the card are dim until the key is accepted. */
.sfx__back { position: absolute; left: 13%; right: 13%; top: 7%; padding: .35em 0 3em; border: 1px solid rgb(255 255 255 / .1); border-radius: 1.2em; background: rgb(20 20 20 / .95); box-shadow: 0 1em 3em rgb(6 19 46 / .35); }
.sfx__back .sfx__row { margin-inline: .7em; opacity: .38; transition: opacity .5s var(--ease); }
.is-done .sfx__back .sfx__row { opacity: 1; }
.is-done .sfx__back .sfx__row + .sfx__row { transition-delay: .15s; }
/* Steps 2 and 4 wait the same way: what is inside the card or window is dim until the step's turn comes (.is-shown). */
.licfx .sfx__swap, .agfx .sfx__tabs, .agfx .sfx__composer { opacity: .38; transition: opacity .5s var(--ease); }
.licfx.is-shown .sfx__swap, .agfx.is-shown .sfx__tabs, .agfx.is-shown .sfx__composer { opacity: 1; }
/* Step 4: the Agent tab. The editor's lines are the plugin's own example requests; the 3x3 mark is the one the agent shows while it works. */
.sfx__chat { flex: none; display: flex; flex-direction: column; gap: .7em; width: 21.4em; padding: 1.1em 1.1em 0; }
.agfx__msg { opacity: 0; transform: translateY(.5em) scale(.96); transition: opacity .35s var(--ease), transform .45s cubic-bezier(.34, 1.4, .64, 1); }
.agfx__msg--you { align-self: flex-end; padding: .55em .9em; border-radius: .9em; background: rgb(255 255 255 / .1); font-size: .95em; color: #f0f0f0; white-space: nowrap; transform-origin: 100% 100%; }
.agfx__msg--agent { align-self: stretch; display: flex; align-items: center; gap: .8em; padding: .2em .1em; transform-origin: 0 100%; }
.agfx__msg--agent .sfx__lines { max-width: 11em; }
.agfx__msg.is-in { opacity: 1; transform: none; }
.agfx.is-clearing .agfx__msg { opacity: 0; transition: opacity .35s var(--ease); }
.sfx__mark { flex: none; display: grid; grid-template-columns: repeat(3, .34em); gap: .16em; }
.sfx__mark i { width: .34em; height: .34em; background: #3b82f6; animation: sfx-mark 1.4s ease-in-out infinite; }
.sfx__mark i:nth-child(3n+2) { animation-delay: .15s; } .sfx__mark i:nth-child(3n) { animation-delay: .3s; }
.sfx__mark i:nth-child(n+4) { animation-duration: 1.7s; } .sfx__mark i:nth-child(n+7) { animation-duration: 1.2s; }
/* Step 4: the mark shimmers only while the agent works; when its answer arrives (.is-answered) the mark rests and the lines come in. */
.agfx__msg--agent .sfx__lines { opacity: 0; transform: translateY(.3em); transition: opacity .4s var(--ease), transform .45s cubic-bezier(.22, 1, .36, 1); }
.agfx__msg--agent.is-answered .sfx__lines { opacity: 1; transform: none; }
.agfx__msg--agent.is-answered .sfx__mark i { animation: none; }
@keyframes sfx-mark { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
/* While it works, a few squares at a time turn into a digit or a code sign for a moment (main.js sets data-g). */
.sfx__mark i { position: relative; }
.sfx__mark i[data-g] { background: transparent; }
.sfx__mark i[data-g]::after { content: attr(data-g); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 .62em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-style: normal; color: #60a5fa; }
.sfx__composer { flex: none; display: flex; align-items: center; justify-content: space-between; width: 19.2em; height: 2.9em; margin: 1em 1.1em 0; padding: 0 .5em 0 .9em; border: 1px solid rgb(255 255 255 / .1); border-radius: .75em; background: #1a1a1a; color: #666; white-space: nowrap; }
.sfx__send { display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: #3b82f6; color: #fff; }
.sfx__send svg { width: 1em; height: 1em; }
@media (prefers-reduced-motion: reduce) { .sfx__caret, .sfx__mark i, .licfx.is-active .sfx__status b { animation: none; } }

/* First visit only: the model count stays out of sight until the catalog has answered (index.html, end of body). */
.count-wait [data-catalog-count] { visibility: hidden; }
.start__step h3 { margin-top: 4px; font-size: 22px; line-height: 30px; font-weight: 600; }
.start__step p { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--muted); }
.start__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 28px; }
.start__ctas .btn { height: 44.4px; padding: 0 20px; font-size: 14px; line-height: 22.4px; }
.start__ctas .btn:hover svg { transform: none; }
/* "No key yet?" before the create link: tells people who already have a key that the link is not for them. */
.start__ctas:has(.start__nokey) { align-items: center; gap: 4px 8px; }
.start__nokey { font-size: 14px; line-height: 22.4px; color: var(--muted); }
.start__dot { margin-inline: 4px; color: var(--muted); font-weight: 400; }
@media (min-width: 1024px) {
  .start__steps { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
  .start__step { padding: 32px; }
}
/* Four steps on one row when there is room; two by two below that. Text a touch smaller so each card still reads in a few lines. */
@media (min-width: 1024px) and (max-width: 1179px) { .start__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) {
  .start__steps { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .start__step { padding: 24px; }
  .start__img { margin-bottom: 20px; }
  .start__step h3 { font-size: 20px; line-height: 28px; }
  .start__step p { font-size: 15px; line-height: 23px; }
  .start__ctas .btn { padding: 0 16px; }
}
:root[data-theme="dark"] .ahead__card:not(.navy):not(.ahead__card--agent) { background: var(--surface); }
:root[data-theme="dark"] .start { --start-card: var(--surface); }
:root[data-theme="dark"] .start__step--optional { border-color: rgb(255 255 255 / .22); }

/* ---------- 3.9 Closing CTA ---------- */
.closing { padding-block: 96px; text-align: center; }
.closing h2 { font-size: 36px; line-height: 43.2px; font-weight: 500; letter-spacing: -0.028em; margin-bottom: 32px; }
@media (min-width: 768px) { .closing { padding-block: 128px; } .closing h2 { font-size: 44px; line-height: 52.8px; } }
@media (min-width: 1024px) { .closing { padding-block: 180px; } .closing h2 { font-size: 56px; line-height: 67.2px; } }

/* ---------- 3.10 Footer ---------- */
/* The closing section and the footer read as one ending: the closing's lower edge settles on
   --navy-3, and the footer starts on that same colour and fades down to --dark. */
.closing::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 60%;
  background: linear-gradient(180deg, rgb(6 19 46 / 0), var(--navy-3) 45%, var(--dark)); }
.closing::after { z-index: -2; }
.footer { position: relative; background: var(--dark); color: var(--white); }
/* Pointer trail of the plugin's blue pixels; sits under the footer content and never takes a click. */
.footer__px { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* In the closing section the pixels sit above its background layers (z-index -1 and -2) and under the heading and buttons. */
.closing__px { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer__wrap { position: relative; max-width: 1536px; margin-inline: auto; padding-inline: 20px; }
.footer__inner { padding: 48px 0; }
.footer__row { display: flex; flex-direction: column; gap: 40px; }
.footer__brand { text-align: center; }
.footer__logo { display: inline-flex; align-items: center; gap: 8px; height: 28px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.footer__brand p { margin-top: 32px; font-size: 14px; line-height: 22.4px; color: rgb(255 255 255 / .9); }
.fcol > button { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 57px;
  font-size: 16px; line-height: 25.6px; font-weight: 600; color: var(--accent); }
.fcol > button svg { transition: transform .2s var(--ease); }
.fcol.is-open > button svg { transform: rotate(180deg); }
.fcol ul { display: grid; gap: 2px; padding-bottom: 16px; }
.js .fcol:not(.is-open) ul { display: none; }
.footer__brand p.footer__support { margin-top: 12px; color: rgb(255 255 255 / .7); }
.footer__support a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / .35); transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
.footer__support a:hover { color: var(--accent); text-decoration-color: currentColor; }
.footer__social { display: inline-flex; margin-top: 20px; color: rgb(255 255 255 / .7); transition: color .15s var(--ease); }
.footer__social:hover, .footer__social:focus-visible { color: var(--white); }
.fcol a { font-size: 14px; line-height: 22.4px; transition: color .15s var(--ease); }
.fcol a:hover { color: var(--accent); }
.footer__legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: grid; gap: 3px; text-align: center; }
.footer__copy { font-size: 12px; line-height: 19.2px; color: rgb(255 255 255 / .7); }
.footer__fine { font-size: 12px; line-height: 19.2px; color: rgb(255 255 255 / .45); }
@media (min-width: 1024px) {
  .footer__inner { padding: 80px 96px; }
  .footer__row { flex-direction: row; gap: 128px; }
  .footer__brand { flex: none; width: 280px; text-align: left; }
  .footer__cols { display: flex; gap: 32px; }
  .fcol { width: 134.4px; }
  .fcol > button { height: auto; cursor: default; pointer-events: none; }
  .fcol > button svg { display: none; }
  .fcol ul, .js .fcol:not(.is-open) ul { display: grid; margin-top: 12px; padding: 0; }
  .footer__legal { margin-top: 64px; text-align: left; }
  .footer__fine { max-width: 720px; }
}

/* ---------- Model catalog (markup and script shared with the docs site; styling is this site's own) ---------- */
.models { padding-bottom: 0; }
.catalog-sec { padding: 48px 0 var(--pad-strip); }
.catalog-wrap { background: var(--white); border-radius: 12px; }
.models-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; }
.models-title-row h2 { margin: 0; max-width: none; }
/* Heading count-up (odometer). One window per character, one line tall; a strip of 0-9 slides behind each digit. */
.count { display: inline-block; vertical-align: top; line-height: 1.2; font-variant-numeric: tabular-nums; }
/* The roll has landed on the final count: a small pop to 101% and back. */
.count.is-landed { animation: count-pop .4s var(--ease); }
@keyframes count-pop { 50% { transform: scale(1.01); } }
/* Hidden for now: remove this rule to show the "+N THIS WEEK" badge again. */
.models-title-row .catalog-new { display: none !important; }
.count-col { display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2; vertical-align: top; }
.count-strip { display: block; will-change: transform; }
.count-digit { display: block; height: 1.2em; text-align: center; }
.catalog-label { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.catalog-new { padding: 4px 14px; border-radius: 9999px; background: rgb(59 130 246 / .12); color: #1d4ed8; font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: .04em; }
.catalog-checked { margin-top: 12px; font-size: 11px; line-height: 18px; color: var(--soft); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .3s var(--ease); }
.catalog-checked.is-on { opacity: 1; }
.catalog-checked__icon { display: inline-block; vertical-align: -1.5px; margin-right: 5px; }
/* One smooth full turn when the heading's count has landed (main.js adds .is-spinning). */
.catalog-checked__icon.is-spinning { animation: sync-spin 1s cubic-bezier(.65, 0, .35, 1); }
@keyframes sync-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .catalog-checked__icon.is-spinning { animation: none; } }
@media (prefers-reduced-motion: reduce) { .catalog-checked { transition: none; } }
.catalog-updated { margin-top: 16px; font-size: 12px; line-height: 18px; color: var(--muted); }
.catalog-sticky { border-radius: 12px 12px 0 0; position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #eceae6; }
/* Sticky only while the list is expanded ("Show all"); the short, collapsed list scrolls past with the page. */
.catalog-wrap:has(.catalog-table-wrap.collapsed) .catalog-sticky { position: relative; }
.catalog-controls { padding: 24px 24px 12px; }
.catalog-search { width: 100%; height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 9999px; background: var(--bg); color: var(--ink);
  font: 400 16px/24px var(--font); outline: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.catalog-search::placeholder { color: #8b8881; }
.catalog-search:focus { border-color: var(--ink); background: var(--white); }
.catalog-chips-scroll { overflow-x: auto; scrollbar-width: none; padding: 0 24px 16px; }
.catalog-chips-scroll::-webkit-scrollbar { display: none; }
.catalog-chips { display: flex; gap: 8px; width: max-content; }
.catalog-chip { height: 36px; padding: 0 16px; border: 1px solid #dcd9d3; border-radius: 9999px; font-size: 14px; line-height: 20px; white-space: nowrap; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.catalog-chip[hidden] { display: none; } /* a chip with no models under it yet */
.catalog-chip:hover { border-color: var(--ink); }
.catalog-chip.active, .catalog-chip.catalog-chip-creator { background: var(--dark-2); border-color: var(--dark-2); color: var(--white); }
.catalog-chip-creator .chip-x { font-size: 16px; line-height: 1; opacity: .6; transition: opacity .15s; }
.catalog-chip-creator .chip-x:hover { opacity: 1; }

.creator-profile-box, .trending-info-box { margin: 16px 24px 0; padding: 20px 24px; border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 22.4px; color: var(--muted); }
.creator-name-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.creator-name, .trending-info-title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink); }
.trending-info-icon { display: inline; vertical-align: -1px; margin-right: 6px; opacity: .6; }
.creator-meta { margin-top: 2px; font-size: 13px; }
.creator-flag { margin-right: 6px; }
.creator-bio, .trending-info-text { margin-top: 8px; max-width: 760px; }
.trending-info-text a, .creator-bio a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.trending-info-meta { margin-top: 12px; font-size: 12px; line-height: 18px; }
.creator-next-btn { flex: none; height: 32px; padding: 0 14px; border: 1px solid #dcd9d3; border-radius: 9999px; font-size: 13px; color: var(--ink); white-space: nowrap; }
.creator-next-btn:hover { border-color: var(--ink); }

.catalog-table-wrap { padding: 8px 0 0; }
.catalog-table-wrap.collapsed { max-height: 467px; overflow: hidden; position: relative; }
.catalog-table-wrap.collapsed::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: linear-gradient(transparent, var(--white)); pointer-events: none; }
.catalog-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.catalog-table th { padding: 16px 12px 10px; text-align: left; font-size: 12px; line-height: 18px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.catalog-table td { padding: 14px 12px; font-size: 15px; line-height: 22px; border-top: 1px solid #f0eeea; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-table .col-status { width: 96px; padding-left: 24px; }
.catalog-table .col-creator { width: 24%; }
.catalog-table .col-category { width: 20%; padding-right: 24px; }
/* "Published" appears only in the Latest view (main.js sets .show-published). */
.catalog-table .col-published { display: none; width: 20%; color: var(--muted); }
.catalog-table-wrap.show-published .col-published { display: table-cell; }
.catalog-table-wrap.show-published .col-creator { width: 18%; }
.catalog-table-wrap.show-published .col-category { width: 16%; }
.col-model-count { color: #8b8881; font-weight: 400; margin-left: 4px; }
.catalog-table tbody tr { transition: background-color .15s var(--ease); }
.catalog-table tbody tr:hover, .catalog-table tbody tr.touch-active { background: #faf9f7; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22a06b; vertical-align: middle; position: relative; transition: background .15s ease; }
/* Hover pulse: values copied from the docs catalog (status-dot-radar). */
.catalog-table td.col-status { overflow: visible; }
.catalog-table tbody tr[data-status="online"]:hover .status-dot { background: #4FC488; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(79, 196, 136, 0.8); opacity: 0; }
.catalog-table tbody tr[data-status="online"]:hover .status-dot::after { animation: status-dot-radar 2s ease-out infinite; }
@keyframes status-dot-radar { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.8); opacity: 0; } }
.status-dot-pending { background: #c9c5bc; }
/* A small label above the status dot when the pointer is on it. */
.catalog-table tbody .status-dot::before { content: "Available"; position: absolute; left: -7px; bottom: calc(100% + 8px); padding: 2px 7px; border-radius: 5px; background: var(--ink); color: var(--white); font-size: 10px; line-height: 14px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s ease; z-index: 4; }
.catalog-table tbody .status-dot-pending::before { content: "Coming soon"; }
/* Only the dot itself opens it, not the cell around it. */
.catalog-table tbody .status-dot:hover::before { opacity: 1; }
.catalog-loading-row .status-dot::before { display: none; }
.model-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.model-name { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; }
.model-pills { display: inline-flex; gap: 6px; flex: none; }
.extend-pill, .coming-soon-label { padding: 1px 8px; border-radius: 4px; font-size: 10px; line-height: 16px; font-weight: 600; letter-spacing: .04em; background: var(--bg); color: var(--muted); }
.extend-pill--rising { background: rgb(34 160 107 / .12); color: #14744c; }
.extend-pill--declining { background: rgb(220 38 38 / .1); color: #b42318; }
.extend-pill--new { background: rgb(59 130 246 / .12); color: #1d4ed8; }
.catalog-table-wrap:not(.show-trend) :is(.extend-pill--rising, .extend-pill--stable, .extend-pill--declining, .extend-pill--new) { display: none; }
.catalog-table td.col-creator { color: var(--muted); cursor: pointer; }
.catalog-table td.col-creator:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.category-pill { color: var(--muted); }
.row-coming-soon .model-name { color: var(--muted); }
.catalog-loading-row .status-dot { background: #c9c5bc; }
.catalog-loading-row .model-name { color: var(--muted); font-weight: 400; }

.catalog-show-all { display: flex; justify-content: center; padding: 16px 0 32px; }
.catalog-show-all.hidden { display: none; }
.catalog-show-all button { height: 44.4px; padding: 10px 28px; border: 1px solid var(--ink); border-radius: 9999px; font-size: 14px; line-height: 22.4px; font-weight: 500; transition: background-color .2s var(--ease); }
.catalog-show-all button:hover { background: rgb(12 12 13 / .05); }
/* Hide all: fixed at the bottom of the window while an expanded list is on screen (catalog.js places and toggles it). */
.catalog-hide-all { position: fixed; left: 50%; bottom: 24px; z-index: 6; transform: translateX(-50%); height: 40px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 9999px; background: rgb(255 255 255 / .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 14px; font-weight: 500; color: var(--ink); opacity: .5; transition: opacity .2s var(--ease); }
.catalog-hide-all:hover, .catalog-hide-all:focus-visible { opacity: 1; }
.catalog-hide-all[hidden] { display: none; }
.catalog-no-results, .catalog-empty { padding: 48px 24px; text-align: center; color: var(--muted); font-size: 15px; }
.catalog-empty { display: none; }
.catalog-wrap.is-unavailable .catalog-empty { display: block; }
.catalog-wrap.is-unavailable :is(.catalog-table-wrap, .catalog-show-all, .catalog-sticky, .catalog-footer) { display: none; }
.catalog-footer { padding: 16px 24px; border-top: 1px solid #f0eeea; font-size: 13px; line-height: 20px; color: var(--muted); }
@media (max-width: 767.98px) {
  .catalog-controls { padding: 16px 16px 12px; }
  .catalog-chips-scroll { padding-inline: 16px; }
  .creator-profile-box, .trending-info-box { margin-inline: 16px; padding: 16px; }
  .catalog-table .col-creator { display: none; }
  /* The green dot stays, in a narrow column of its own; its heading is dropped to make room. */
  .catalog-table .col-status { width: 33px; padding-left: 16px; padding-right: 0; }
  .catalog-table th.col-status { font-size: 0; }
  .catalog-table .col-model { padding-left: 10px; }
  .catalog-table .col-category { width: 33%; padding-right: 16px; }
  .catalog-table .col-published { width: 33%; padding-right: 16px; }
  .catalog-table-wrap.show-published .col-category { display: none; }
  .catalog-table td { font-size: 14px; padding-block: 12px; }
  .catalog-footer { padding-inline: 16px; }
}

/* ---------- Statement: one large sentence between the hero and the showcase ---------- */
.statement { padding-block: clamp(96px, 14vw, 200px); text-align: center; }
.statement__text { max-width: 1040px; margin-inline: auto; font-size: clamp(28px, 4.4vw, 56px); line-height: 1.14; font-weight: 500; letter-spacing: -0.03em; text-wrap: balance; }
.statement__text.is-split .w { color: #e2e0dc; }
/* Test (?balloon): the statement becomes a tall scroll scene with a sticky stage; the 3D canvas sits behind the sentence. */
.statement--balloon { height: 300vh; padding-block: 0; }
.statement--balloon .statement__stage { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.statement--balloon .statement__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.statement--balloon .container { position: relative; z-index: 1; }
.flow + .cases { margin-top: 16px; }
.flow + .cases .case { aspect-ratio: auto; min-height: 260px; }
.statement__text .w { white-space: nowrap; }
/* The closing full stop: hidden until the sentence is filled, then a small pop (main.js toggles .is-on). */
.statement__dot { display: inline-block; opacity: 0; transform: scale(0); transform-origin: 50% 80%; transition: opacity .15s ease-out, transform .15s ease-out; }
.statement__dot.is-on { opacity: 1; transform: scale(1); animation: dot-pop .4s cubic-bezier(.22, .61, .36, 1); }
/* Grows to 108%, then settles at 100%. */
@keyframes dot-pop { 0% { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
#pricing { scroll-margin-top: 96px; }

/* ---------- Flow: sources -> panel -> timeline ----------
   Each link is a dashed line with one blue dot gliding along it. Below 900px the links turn
   vertical and the dot travels downwards. */
.flow { display: grid; gap: 0; margin-top: 48px; grid-template-columns: 1fr; }
.flow__sources { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.flow__row { display: flex; flex-direction: column; }
.flow__card { flex: 1; background: var(--white); border-radius: 12px; padding: 24px; box-shadow: inset 0 0 0 1px rgb(12 12 13 / .08); }
.flow__card--hub { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.flow__role { display: block; font-size: 13px; line-height: 20px; color: var(--muted); }
.flow__card--hub .flow__role { color: var(--on-dark-muted); }
.flow__head { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.flow__head h3 { font-size: 20px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; }
.flow__logo { flex: none; }
.flow__card p { margin-top: 12px; font-size: 15px; line-height: 23px; color: var(--muted); }
.flow__card--hub p { color: #c5c5c5; }
.flow__link { position: relative; display: block; height: 44px; }
.flow__link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px dashed #b9b5ae; }
.flow__link i { position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent);
  animation: flow-y 2.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.flow__row:nth-child(2) .flow__link i { animation-delay: -1.3s; }
.flow > .flow__link i { animation-delay: -.65s; }
/* Every link carries one dot that goes out and comes back: requests and answers travel both ways. */
.flow__link i { animation: flow-y-bounce 2.2s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes flow-y-bounce { from { top: 0; } to { top: 100%; } }
@keyframes flow-x-bounce { from { left: 0; } to { left: 100%; } }
@media (max-width: 899px) { .flow__sources .flow__card { padding: 16px; } .flow__sources .flow__card p { font-size: 14px; line-height: 21px; text-wrap: wrap; } .flow__sources .flow__head h3 { font-size: 18px; } }
@keyframes flow-y { 0% { top: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes flow-x { 0% { left: 0; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@media (min-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
  .flow__sources { grid-template-columns: 1fr; gap: 16px; }
  .flow__row { flex-direction: row; align-items: stretch; }
  .flow__card--hub, .flow > .flow__card { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
  .flow__link { flex: none; width: 72px; height: auto; }
  .flow__link::before { left: 0; right: 0; top: 50%; bottom: auto; border-left: 0; border-top: 1px dashed #b9b5ae; }
  .flow__link i { left: 0; top: 50%; animation-name: flow-x-bounce; }
}
@media (prefers-reduced-motion: reduce) { .flow__link i { display: none; } }

/* ---------- Scroll reveal ----------
   main.js sets data-reveal on each box and takes it off again when the box has arrived,
   so nothing here outlives the animation: a leftover transform would turn the box into the
   containing block of anything fixed inside it (the catalog's Hide button). */
[data-reveal] { opacity: 0; }
[data-reveal].is-in { animation: reveal-up .7s cubic-bezier(.22, .61, .36, 1) var(--reveal-delay, 0ms) both; }
/* Showcase panel: a light border, always there, with a light that shimmers
   along it from the left each time the panel comes into view (main.js sets .is-swept as soon as
   the panel's top is visible and takes it off when the panel has left the screen).
   The ring is the padding of ::before. */
.showcase__panel::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: rgb(191 219 254 / .22); transition: background-color .6s var(--ease) 1s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
/* The border fades away as the light finishes; nothing is left on the panel's edge afterwards. */
.showcase__panel.is-swept::before { background: rgb(191 219 254 / 0); }
/* The travelling light: a band in a 2px ring on the border, lightly blurred. It sits on the wrapper so it
   can fade on its own. It turns clockwise around the panel's centre: from the middle of the left side up the
   left side and along the top, fading out before the right side, so the bottom edge never lights. */
@property --sweep-a { syntax: '<angle>'; inherits: false; initial-value: 270deg; }
.showcase__panel-wrap { position: relative; }
.showcase__panel-wrap::after { content: ""; position: absolute; inset: 0 var(--gutter); border-radius: 12px; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--sweep-a), #dbeafe 0deg, #60a5fa 14deg, rgb(96 165 250 / 0) 26deg, rgb(96 165 250 / 0) 334deg, #60a5fa 346deg, #dbeafe 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: blur(1.5px); opacity: 0; }
/* The light starts with the panel's own fade-up (same moment, same 90ms stagger) and, the first time,
   rises with it, so border and panel arrive as one. */
.showcase__panel-wrap:has(.is-swept)::after { animation: border-sweep 2.1s linear 90ms both; }
.showcase__panel-wrap:has([data-reveal].is-swept)::after { animation: border-sweep 2.1s linear 90ms both, sweep-rise .7s cubic-bezier(.22, .61, .36, 1) 90ms both; }
/* The same light on the model catalog. The catalog is far taller than the screen, so the ring covers only its
   first 520px: the light runs up the left side there and along the top, and has faded before the right side. */
.catalog-wrap { position: relative; }
.catalog-wrap::after { content: ""; position: absolute; inset: 0 0 auto; height: min(100%, 520px); z-index: 6; border-radius: 12px 12px 0 0; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--sweep-a), #fff 0deg, #e2e8f0 16deg, #bfdbfe 32deg, rgb(191 219 254 / 0) 54deg, rgb(191 219 254 / 0) calc(360deg - var(--sweep-tail)), #bfdbfe calc(360deg - var(--sweep-tail) * .6), #e2e8f0 calc(360deg - var(--sweep-tail) * .3), #fff 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  filter: blur(1.5px); opacity: 0; }
/* A broader, paler band than the panel's (white, grey, light blue), gone by two thirds of the way. */
.catalog-wrap.is-swept::after { animation: catalog-sweep 1.6s linear 90ms both; }
/* Hidden for now (owner's call, 2026-12-01): the light above is kept, just not shown. Remove this line to bring it back. */
.catalog-wrap::after { display: none; }
@property --sweep-tail { syntax: '<angle>'; inherits: false; initial-value: 54deg; }
/* The angle is keyed so the light keeps one even pace along the edge: turning at a constant rate would make it race
   round the corner and then crawl as it nears the top's middle (the top edge is much closer to the centre than the corner is). */
@keyframes catalog-sweep { 0% { --sweep-a: 270deg; --sweep-tail: 54deg; opacity: 0; } 10% { opacity: .8; } 11.8% { --sweep-a: 284.6deg; } 23.7% { --sweep-a: 297.6deg; } 32.8% { --sweep-a: 303.2deg; }
  /* The whip: the light never fades while it travels. Near the end the tail snaps up to the head, faster and faster, like an accordion closing ... */
  40% { --sweep-tail: 54deg; animation-timing-function: cubic-bezier(.7, 0, 1, .5); } 41.9% { --sweep-a: 311.1deg; } 51.1% { --sweep-a: 322.7deg; }
  60% { --sweep-a: 339deg; animation-timing-function: cubic-bezier(0, 0, .3, 1); } 66% { --sweep-tail: 3deg; opacity: .8; }
  /* ... and only when it has closed does what is left go out. */
  80% { --sweep-a: 346deg; --sweep-tail: 3deg; opacity: 0; } 100% { --sweep-a: 346deg; --sweep-tail: 3deg; opacity: 0; } }
/* Constant speed, clockwise from the middle of the left side (270deg) to past the top centre (395deg = 35deg):
   the band (about 26deg each way) stays off the bottom edge, and is still moving while it fades out. */
@keyframes border-sweep { 0% { --sweep-a: 270deg; opacity: 0; } 18% { opacity: .9; } 65% { opacity: .9; } 100% { --sweep-a: 395deg; opacity: 0; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(var(--reveal-shift, 18px)); } to { opacity: 1; transform: none; } }
/* The tab row rises a shorter way than the boxes. */
.showcase__tabs-wrap .pills { --reveal-shift: 9px; }
#panel .sec-head h2, #panel .sec-head .lead { --reveal-shift: 8px; } /* the section heading rises less than the boxes */
@keyframes sweep-rise { from { transform: translateY(18px); } to { transform: none; } }

/* ---------- Theme toggle (navbar, far left) ---------- */
.nav__theme { position: relative; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9999px; color: var(--ink); transition: background-color .15s ease-out; }
.nav__theme::before { content: ""; position: absolute; inset: -4px; } /* 44px hit area */
.nav__theme:hover { background: var(--pill-light); }
.nav__theme-sun, .nav__logo img.logo--dark { display: none; }

/* Closing heading: main.js wraps each letter and gives it its own distance (--x) and delay (--d).
   The first letters move least and first; the last ones come from furthest out and latest. */
.slide-word { display: inline-block; white-space: nowrap; }
.slide-letter { display: inline-block; opacity: 0; transform: translate(var(--x), var(--y, 0px)); }
.is-tail-in .slide-letter { animation: letter-in .6s cubic-bezier(.22, .61, .36, 1) var(--d) both; }
@keyframes letter-in { from { opacity: 0; transform: translate(var(--x), var(--y, 0px)); } to { opacity: 1; transform: none; } }

/* Switching theme cross-fades the page over one second (main.js starts the view transition). */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 1s; animation-timing-function: ease-in-out; }

/* ---------- Dark theme ----------
   Set by the navbar toggle as data-theme="dark" on <html>. Light surfaces become dark and their text
   light, at the same or higher contrast. Sections that are dark in both themes (blue panels, pricing,
   closing, footer, news banner) are left alone. The two dark boxes that stand out on the light page
   (the hub card in the diagram, the second feature card) turn light here so they still stand out. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0c0d; --hero-bg: #0c0c0d; --ink: #f3f2f0; --muted: #b3b0ab; --soft: #96938e;
  --pill-light: #232325; --pill-light-hover: #2e2e31; --focus: #a8a39d;
  --surface: #18181a; --surface-2: #232325; --hairline: rgb(255 255 255 / .1); --on-ink: #0c0c0d;
}
:root[data-theme="dark"] .nav__theme-moon, :root[data-theme="dark"] .nav__logo img.logo--light { display: none; }
:root[data-theme="dark"] .nav__theme-sun, :root[data-theme="dark"] .nav__logo img.logo--dark { display: block; }
:root[data-theme="dark"] .nav.is-scrolled, :root[data-theme="dark"] .nav__menu { box-shadow: 0 1px 0 rgb(255 255 255 / .12); }
:root[data-theme="dark"] .nav__links a, :root[data-theme="dark"] .hero__title, :root[data-theme="dark"] .hero__sub { color: var(--ink); }
:root[data-theme="dark"] .nav__pill { background: rgb(255 255 255 / .1); }
:root[data-theme="dark"] .nav__pill:hover { background: rgb(255 255 255 / .16); }
/* The two download buttons keep their light-theme colours. The black one gets a thin ring so its edge shows on the dark page. */
:root[data-theme="dark"] .pill--dark { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .22); }
:root[data-theme="dark"] .pill--dark:hover, :root[data-theme="dark"] .pill--dark:focus-visible { background: #1c1c1e; }
:root[data-theme="dark"] .pill--light { background: #e9e7e3; }
:root[data-theme="dark"] .pill--light:hover, :root[data-theme="dark"] .pill--light:focus-visible, :root[data-theme="dark"] .pill--light:active { background: #dfdcd9; }
:root[data-theme="dark"] .btn--dark-lg { background: var(--ink); color: var(--on-ink); }
:root[data-theme="dark"] .btn--dark-lg:hover { background: #d9d7d3; }
:root[data-theme="dark"] .btn--outline-light:not(.btn--reveal-arrow):not(.btn--quiet):hover, :root[data-theme="dark"] .catalog-show-all button:hover { background: rgb(255 255 255 / .08); }
:root[data-theme="dark"] .hero__window { background: var(--surface); border-color: #26262a; color: #a09c96; }
:root[data-theme="dark"] .hero__window-bar, :root[data-theme="dark"] .hero__window-side { background: #1f1f22; }
:root[data-theme="dark"] .hero__window-bar i { background: #3a3a3d; }
:root[data-theme="dark"] .ph:not(.ph--dark) { background: var(--surface-2); color: #a09c96; }
:root[data-theme="dark"] .slot, :root[data-theme="dark"] .flow__link::before { border-color: #4a4a4d; }
:root[data-theme="dark"] .pills, :root[data-theme="dark"] .pay, :root[data-theme="dark"] .model-card, :root[data-theme="dark"] .bento__card--a, :root[data-theme="dark"] .catalog-wrap, :root[data-theme="dark"] .catalog-search:focus { background: var(--surface); }
:root[data-theme="dark"] .pills__indicator { background: var(--ink); }
:root[data-theme="dark"] .pills__item { color: var(--ink); }
:root[data-theme="dark"] .pills__item.is-active { color: var(--on-ink); }
:root[data-theme="dark"] .pills__item:focus-visible { outline-color: var(--ink); }
:root[data-theme="dark"] .pay dl div, :root[data-theme="dark"] .bento__card--e { background: var(--surface-2); }
:root[data-theme="dark"] .bento__card--f { background: var(--surface); }
:root[data-theme="dark"] .bento__card--b, :root[data-theme="dark"] .bento__card--d, :root[data-theme="dark"] .bento__card--g { background: var(--surface); }
:root[data-theme="dark"] .faq__item { background: rgb(255 255 255 / .06); }
:root[data-theme="dark"] .faq__answer p, :root[data-theme="dark"] .faq__answer ol { color: var(--muted); }
:root[data-theme="dark"] .faq__plus, :root[data-theme="dark"] .faq__minus { color: var(--ink); }
:root[data-theme="dark"] .catalog-new, :root[data-theme="dark"] .extend-pill--new { background: rgb(59 130 246 / .2); color: #a5c8ff; }
:root[data-theme="dark"] .extend-pill--rising { background: rgb(34 160 107 / .2); color: #7fe0b0; }
:root[data-theme="dark"] .extend-pill--declining { background: rgb(220 38 38 / .2); color: #fca5a5; }
:root[data-theme="dark"] .catalog-sticky { background: rgb(24 24 26 / .94); border-bottom-color: var(--hairline); }
:root[data-theme="dark"] .catalog-chip, :root[data-theme="dark"] .creator-next-btn { border-color: #3a3a3d; }
:root[data-theme="dark"] .catalog-chip:hover, :root[data-theme="dark"] .creator-next-btn:hover { border-color: var(--ink); }
:root[data-theme="dark"] .catalog-chip.active, :root[data-theme="dark"] .catalog-chip.catalog-chip-creator { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
:root[data-theme="dark"] .catalog-table-wrap.collapsed::after { background: linear-gradient(transparent, var(--surface)); }
:root[data-theme="dark"] .catalog-table td, :root[data-theme="dark"] .catalog-footer { border-top-color: rgb(255 255 255 / .08); }
:root[data-theme="dark"] .catalog-table tbody tr:hover, :root[data-theme="dark"] .catalog-table tbody tr.touch-active { background: #1f1f22; }
:root[data-theme="dark"] .status-dot-pending, :root[data-theme="dark"] .catalog-loading-row .status-dot { background: #55524d; }
:root[data-theme="dark"] .catalog-table tbody .status-dot::before { color: var(--on-ink); }
:root[data-theme="dark"] .catalog-hide-all { background: rgb(24 24 26 / .85); }
:root[data-theme="dark"] .statement__text.is-split .w { color: #2c2c2e; }
:root[data-theme="dark"] .flow__card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--hairline); }
:root[data-theme="dark"] .flow__card--hub { background: var(--ink); color: var(--on-ink); box-shadow: none; }
:root[data-theme="dark"] .flow__card--hub .flow__role { color: #5f5f5f; }
:root[data-theme="dark"] .flow__card--hub p { color: #4a4a4a; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Logo images ---------- */
.nav__logo img { height: 23px; width: auto; display: block; translate: 0 3px; transition: scale .12s ease-in-out; }
.nav__logo:hover img, .nav__logo:focus-visible img { scale: .99; }
.footer__logo img { height: 28px; width: auto; display: block; }


/* ---------- Phones ----------
   A phone cannot install the plugin, so the two download buttons give way to one line that says so and a button to the
   steps (the downloads are still there in step 01). Text in the feature cards is set at reading size, the page keeps one
   20 px margin, and the footer is three open lists with quiet headings instead of fold-outs. Desktop is untouched. */
.cta-phone { display: none; }
@media (hover: none) and (max-width: 767.98px) {
  .hero__cta > .pill, .closing__cta > .btn { display: none; }
  .cta-phone { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; font-size: 15px; line-height: 22px; }
  .cta-phone span { opacity: .72; }
}
@media (max-width: 479.98px) {
  :root { --gutter: 20px; }
  .bento__text { padding: 26px 24px; }
  .bento__text h3 { font-size: 22px; line-height: 27px; }
  .bento__text p { margin-top: 12px; font-size: 16px; line-height: 24px; }
}
@media (max-width: 1023.98px) {
  .footer__wrap { padding-inline: 24px; }
  .footer__inner { padding: 56px 0 40px; }
  .footer__row { gap: 48px; }
  .footer__brand { text-align: left; }
  .footer__brand p { margin-top: 24px; font-size: 15px; line-height: 23px; max-width: 34em; }
  .footer__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 40px 24px; }
  .fcol > button { height: auto; padding: 0; font-size: 14px; line-height: 20px; font-weight: 400; color: rgb(255 255 255 / .5); cursor: default; pointer-events: none; }
  .fcol > button svg { display: none; }
  .fcol ul, .js .fcol:not(.is-open) ul { display: grid; gap: 0; margin-top: 8px; padding: 0; }
  .fcol a { display: block; padding: 8px 0; font-size: 16px; line-height: 24px; }
  .footer__legal { margin-top: 48px; padding-top: 28px; gap: 6px; }
  .footer__copy, .footer__fine { font-size: 13px; line-height: 20px; }
}

/* Second phone pass: section headings all centred, card headings one size, and every control big enough for a thumb. */
@media (max-width: 767.98px) {
  .sec-head--split { align-items: center; text-align: center; }
  .sec-head--split h2, .sec-head--split .lead { margin-inline: auto; }
  .faq__head { text-align: center; }
  .ahead__text h3, .start__step h3, .bento__text h3 { font-size: 22px; line-height: 28px; }
  .pill, .btn--outline-light, .btn--cta { height: 48px; }
  .nav__pill { height: 40px; padding-inline: 14px; }
  .nav__theme { width: 44px; height: 44px; }
  .catalog-chip { height: 40px; }
  .text-link { min-height: 44px; }
  .livephone__dots button { position: relative; }
  .livephone__dots button::after { content: ""; position: absolute; inset: -10px -2px; }
}
@media (max-width: 1023.98px) { .fcol a { padding: 10px 0; } }

/* Third phone pass. */
.only-phone { display: none; }
@media (max-width: 767.98px) {
  .statement__text { font-size: 31px; line-height: 1.22; }
  .lead-tail { display: block; }
  #features-title span { display: block; }
  .only-phone { display: inline; }
  .not-phone { display: none; }
  .faq__answer ol { line-height: 25px; }
  .faq__answer ol li + li { margin-top: 12px; }
  .nav__pill { display: none; } /* "Get started" leads to a download a phone cannot use */
}
/* Step 01 on a phone: the installers give way to the same line as the hero. */
.start__phone { display: none; }
@media (hover: none) and (max-width: 767.98px) {
  .start__ctas--dl .btn { display: none; }
  .start__phone { display: block; font-size: 15px; line-height: 22px; color: var(--muted); }
}

/* Hero heading on a phone: held back until main.js has split it into letters, then it rises as the letters come in. */
@media (max-width: 767.98px) and (prefers-reduced-motion: no-preference) {
  .js .hero__title:not(.is-ready) { opacity: 0; }
  .hero__title.is-tail-in .slide-word { animation: line-rise .9s cubic-bezier(.16, 1, .3, 1) calc(var(--line, 0) * 60ms) both; } /* line 1, then 2, then 3 */
}
@keyframes line-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* "Keeping up with AI is tough. / modelBridge does it for you." on a phone: one sentence a line, sized to the screen so
   neither sentence drops a lone word onto a line of its own. */
@media (max-width: 767.98px) {
  .ahead .sec-head h2 { font-size: min(32px, 7.1vw); line-height: 1.2; }
  .ahead .sec-head h2 span { display: block; white-space: nowrap; }
}

/* Phone: "Get started", its line and the first step stand a little closer together. Card headings with an icon carry
   the icon on a line of its own above the heading, so a heading that wraps starts flush left. */
@media (max-width: 767.98px) {
  .start .sec-head .lead { margin-top: 10px; }
  .start .start__steps { margin-top: 28px; }
  .ahead__h--icon { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* The phone slides answer a sideways swipe; vertical movement still scrolls the page. */
[data-slides] { touch-action: pan-y; }

/* The menu behind the hamburger: large, quiet links in a column, the outside link (Docs) under a rule with an arrow. */
.nav__menu { padding: 14px 20px 28px; gap: 0; }
.nav__menu a { padding: 9px 0; font-size: 25px; line-height: 32px; font-weight: 500; letter-spacing: -0.02em; border-radius: 0; }
.nav__menu a:hover { background: none; }
.nav__menu a:active { opacity: .6; }
.nav__menu a[href^="http"] { margin-top: 16px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.nav__menu a[href^="http"]::after { content: "\2197"; margin-left: .3em; font-size: .7em; font-weight: 400; vertical-align: .12em; }
/* Opening it: the links come up one after another. */
@media (prefers-reduced-motion: no-preference) {
  .nav__menu:not([hidden]) a { animation: menu-in .5s cubic-bezier(.16, 1, .3, 1) both; }
  .nav__menu a:nth-child(2) { animation-delay: .04s; } .nav__menu a:nth-child(3) { animation-delay: .08s; } .nav__menu a:nth-child(4) { animation-delay: .12s; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* More features: three cards behind a button under the feature grid. Same card as the others; the pictures are placeholders. */
.bento-more { display: grid; gap: 16px; margin-top: 16px; }
.bento-more[hidden] { display: none; }
.bento__card--x { background: var(--white); }
.bento__card--x .bento__text p { color: var(--muted); }
.bento__card--x .bento__img { margin-left: 32px; border-top-left-radius: 8px; min-height: 220px; }
.morefx { display: grid; place-items: center; background: linear-gradient(155deg, #0b1b47 0%, #1c3d9c 52%, #0a1436 100%); color: rgb(255 255 255 / .45); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.more-feat { display: flex; justify-content: center; margin-top: 32px; }
.more-feat__sign { font-size: 1.5em; line-height: 1; font-weight: 400; margin-top: -.08em; }
/* Desktop: the same uneven grid as above, mirrored. A wide card with its picture beside the text, a tall card down the
   right side, and a wide grey card with its picture on top. */
@media (min-width: 1024px) {
  .bento-more { grid-template-columns: 403fr 391fr 391fr; /* the same columns as the grid above, so the gutters line up */ grid-template-rows: 318px 512px; margin-top: 0; } /* the grid above ends in an empty row here (its hidden card), whose gap already gives the 16px */
  .bento-more .bento__card:nth-child(1) { grid-column: 1 / 3; grid-row: 1; flex-direction: row; }
  .bento-more .bento__card:nth-child(1) .bento__text { flex: none; width: 400px; }
  .bento-more .bento__card:nth-child(1) .bento__img { margin: 40px 0 0; min-height: 0; }
  .bento-more .bento__card:nth-child(2) { grid-column: 1 / 3; grid-row: 2; flex-direction: column-reverse; background: #e9e7e3; }
  .bento-more .bento__card:nth-child(2) .bento__text { padding-top: 32px; }
  .bento-more .bento__card:nth-child(2) .bento__text p { max-width: 560px; }
  .bento-more .bento__card:nth-child(2) .bento__img { margin: 20px 20px 0; border-radius: 8px; min-height: 0; }
  .bento-more .bento__card:nth-child(3) { grid-column: 3; grid-row: 1 / 3; }
  .bento-more .bento__card:nth-child(3) .bento__img { margin: 0 20px 20px; border-radius: 8px; }
}
:root[data-theme="dark"] .bento__card--x { background: var(--surface); }
@media (min-width: 1024px) { :root[data-theme="dark"] .bento-more .bento__card:nth-child(2) { background: var(--surface-2); } }
@media (max-width: 767.98px) { .bento__card--x .bento__img { margin-left: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .bento-more:not([hidden]) .bento__card { animation: menu-in .7s cubic-bezier(.16, 1, .3, 1) both; }
  .bento-more .bento__card:nth-child(2) { animation-delay: .07s; } .bento-more .bento__card:nth-child(3) { animation-delay: .14s; }
}

/* "Your timing. A new voice." demo: a voice is picked from the panel's list, then a clip in that voice is laid under the
   recorded voiceover on the timeline, bar for bar with the same pauses. main.js runs the steps and moves the pointer. */
.voicefx { position: relative; overflow: hidden; container-type: inline-size; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
.voicefx__win { position: absolute; top: 50%; translate: 0 -50%; left: 7cqw; right: 7cqw; padding: 4cqw; font-size: 3.05cqw; line-height: 1.4; color: #f2f2f2;
  border: 1px solid rgb(255 255 255 / .16); border-radius: 2.6cqw; background: #1c1c1c; box-shadow: 0 1.5cqw 5cqw rgb(0 0 0 / .35);
  transition: opacity 1.6s var(--ease) .2s, transform 2.6s cubic-bezier(.16, 1, .3, 1) .2s; }
.js .voicefx:not(.is-seen) .voicefx__win { opacity: 0; transform: translateY(28px); }
.voicefx__label b { font-size: .86em; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.voicefx__pick { position: relative; margin-top: .55em; }
.voicefx__select { display: flex; align-items: center; justify-content: space-between; height: 2.8em; padding: 0 1em; border: 1px solid rgb(255 255 255 / .14); border-radius: .75em; background: #222; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.voicefx__select svg { width: 1.35em; height: 1.35em; color: rgb(255 255 255 / .6); transition: transform .3s var(--ease); }
.voicefx__pick.is-open .voicefx__select { border-color: rgb(255 255 255 / .28); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.voicefx__pick.is-open .voicefx__select svg { transform: rotate(180deg); }
.voicefx__select span { transition: opacity .25s var(--ease); }
.voicefx__list { position: absolute; z-index: 1; left: 0; right: 0; top: 100%; margin: 0; padding: .3em 0; list-style: none; border: 1px solid rgb(255 255 255 / .28); border-top: 0; border-radius: 0 0 .75em .75em; background: #191919; box-shadow: 0 1.2em 2.4em rgb(0 0 0 / .5);
  opacity: 0; transform: translateY(-.5em); clip-path: inset(0 0 100% 0); transition: opacity .25s var(--ease), transform .35s var(--ease), clip-path .35s var(--ease); }
.voicefx__pick.is-open .voicefx__list { opacity: 1; transform: none; clip-path: inset(0 0 -3em 0); }
.voicefx__list li { margin: 0 .5em; padding: .5em .6em; border-radius: .4em; color: rgb(255 255 255 / .72); transition: background-color .15s var(--ease), color .15s var(--ease); }
.voicefx__list li + li { box-shadow: 0 -1px 0 rgb(255 255 255 / .07); }
.voicefx__list li.is-cur { color: #7f9cf5; }
.voicefx__list li.is-hot { background: rgb(255 255 255 / .08); color: #fff; }
.voicefx__tracks { display: grid; gap: .4em; margin-top: 1em; }
.voicefx__track { display: flex; gap: .45em; align-items: stretch; height: 3em; }
.voicefx__track > i { flex: none; display: grid; place-items: center; width: 2.3em; border-radius: .35em; background: #2a55c9; font-size: .8em; font-style: normal; font-weight: 600; color: #fff; }
.voicefx__track--b > i { background: #2a2a2a; color: rgb(255 255 255 / .6); transition: background-color .5s var(--ease), color .5s var(--ease); }
.voicefx.is-gen .voicefx__track--b > i { background: #2a55c9; color: #fff; }
.voicefx__lane { flex: 1; min-width: 0; border-radius: .35em; background: rgb(255 255 255 / .04); }
.voicefx__clip { position: relative; flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; padding: 0 .6em; border-radius: .35em; }
.voicefx__clip--a { background: #33521a; clip-path: inset(0 100% 0 0 round .35em); }
.voicefx.has-a .voicefx__clip--a { clip-path: inset(0 0 0 0 round .35em); transition: clip-path 3s linear; } /* recorded in real time: a steady pace */
.voicefx__clip--b { background: #1d3a8f; clip-path: inset(0 100% 0 0 round .35em); }
.voicefx.is-gen .voicefx__clip--b { clip-path: inset(0 0 0 0 round .35em); transition: clip-path 2.3s cubic-bezier(.45, .05, .3, 1); }
.voicefx.is-fade .voicefx__clip { opacity: 0; transition: opacity .6s var(--ease); }
.voicefx__clip em { position: absolute; top: .3em; left: .6em; font-size: .68em; font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .8); }
.voicefx__bars { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.voicefx__bars b { width: .14em; min-height: 1px; border-radius: 1px; background: #a8d07c; }
.voicefx__clip--b .voicefx__bars { padding-top: .7em; }
.voicefx__clip--b .voicefx__bars b { background: #a9bcff; }
.voicefx__ptr { position: absolute; top: 0; left: 0; z-index: 2; width: 5.2cqw; height: 5.2cqw; pointer-events: none; opacity: 0; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45)); transition: opacity .35s var(--ease), transform var(--go, 1s) cubic-bezier(.5, .05, .2, 1); }
.voicefx__ptr.is-on { opacity: 1; }
.voicefx__ptr path { transform-origin: 3px 3px; transition: transform .12s var(--ease); }
.voicefx__ptr.is-down path { transform: scale(.86); }
.bento__card--x .voicefx { min-height: 0; }
@media (max-width: 1023.98px) { .bento__card--x .voicefx { aspect-ratio: 10 / 7; flex: none; } }
@media (prefers-reduced-motion: reduce) { .voicefx__win, .voicefx__clip--b, .voicefx__list { transition: none !important; } .js .voicefx:not(.is-seen) .voicefx__win { opacity: 1; transform: none; } .voicefx__ptr { display: none; } }
/* The longer story: record on A1 (mic and red dot), pick the model, then the voice field appears. */
.voicefx__list li.is-hot, .voicefx__list li.is-cur.is-hot { color: #fff; }
.voicefx__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s var(--ease), opacity .4s var(--ease); }
.voicefx__more > div { min-height: 0; overflow: hidden; }
.voicefx__more .voicefx__label { padding-top: .8em; }
.voicefx.is-model .voicefx__more { grid-template-rows: 1fr; opacity: 1; }
.voicefx.is-model-done .voicefx__more > div { overflow: visible; }
.voicefx__mic { flex: none; align-self: center; width: 1.25em; height: 1.25em; color: rgb(255 255 255 / .42); transition: color .2s var(--ease); overflow: visible; }
.voicefx__track--a { position: relative; }
.voicefx__track--a::after { content: ""; position: absolute; left: 3.2em; top: .3em; width: .55em; height: .55em; box-shadow: 0 0 0 .14em #1c1c1c; border-radius: 50%; background: #ff453a; opacity: 0; }
.voicefx.is-rec .voicefx__track--a .voicefx__mic { color: #ff5a4f; }
.voicefx.is-rec .voicefx__track--a::after { animation: voicefx-rec 1s steps(1) infinite; }
.voicefx.is-rec .voicefx__track--a > i { background: #c83a31; }
.voicefx__track > i { transition: background-color .25s var(--ease), color .5s var(--ease); }
@keyframes voicefx-rec { 0% { opacity: 1; } 55% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .voicefx__more, .voicefx__clip { transition: none !important; } }

/* Midjourney card picture (static): Midjourney, modelBridge, Premiere Pro in a row, joined by a thin line. */
.linkfx { position: relative; overflow: hidden; container-type: inline-size; display: grid; place-items: center; min-height: 0;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
.linkfx__row { display: flex; align-items: center; width: 53cqw; }
.linkfx__tile { flex: none; width: 10cqw; aspect-ratio: 1; display: grid; place-items: center; }
.linkfx__tile img { display: block; width: 100%; height: 100%; object-fit: fill; } /* all three exactly the same square */
.linkfx__tile--mj img { border-radius: 22%; box-shadow: 0 1.2cqw 3.5cqw rgb(0 0 0 / .35); }
.linkfx__tile--pr img { border-radius: 19%; box-shadow: 0 1.2cqw 3.5cqw rgb(0 0 0 / .35); }
.linkfx__row > i { flex: 1; }

@media (max-width: 1023.98px) { .bento__card--x .linkfx { aspect-ratio: 16 / 9; flex: none; } .linkfx__row { width: 67cqw; } .linkfx__tile { width: 13.2cqw; } }
/* The same background as the agent card ("Work smarter. Say what you need."): the blue picture, blurred, under a fine grain. */
.linkfx { isolation: isolate; background: #1c2a1d; }
.linkfx::before { content: ""; position: absolute; inset: -56px; z-index: -2; pointer-events: none; background: url("assets/features/link-bg-moss.webp") center / cover no-repeat; filter: blur(19px) saturate(1.15) brightness(.82); } /* the owner's own Midjourney picture, blurred */
.linkfx::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(rgb(255 255 255 / .6), rgb(255 255 255 / .6)); }

/* B-roll card picture (a still for now): the frame, cropped around the figure in the middle. */
.framefx { background: #0d1113 url("assets/features/broll-frame.webp") center 30% / cover no-repeat; }
@media (max-width: 1023.98px) { .bento__card--x .framefx { aspect-ratio: 4 / 5; flex: none; } }

/* The voice demo's window sits like the Dual mode one: blue shows only above it and to its left; it runs off the picture
   to the right and at the bottom. Its content stops just short of the right edge, so nothing in it is cut. */
.voicefx__win { top: 6.5cqw; translate: none; left: 7cqw; right: -4cqw; min-height: 100%; padding: 4cqw 7.2cqw 4cqw 4cqw; font-size: 2.95cqw; border-radius: 2.6cqw 0 0 0; }

/* Voice demo: the model is shown as the panel shows it (thumbnail, name, kind), and the timeline has four audio tracks. */
.voicefx__pick--model .voicefx__select { height: auto; padding: .5em .9em .5em .5em; }
.voicefx__model { display: flex; align-items: center; gap: .75em; min-width: 0; }
.voicefx__model img { flex: none; width: 2.7em; height: 2.7em; border-radius: .5em; object-fit: cover; }
.voicefx__model b, .voicefx__pick--model li b { display: block; font-weight: 600; white-space: nowrap; }
.voicefx__model small, .voicefx__pick--model li small { display: block; font-size: .84em; color: rgb(255 255 255 / .5); white-space: nowrap; }
.voicefx__pick--model li { display: flex; align-items: center; gap: .7em; padding: .4em .5em; }
.voicefx__pick--model li img { flex: none; width: 2.1em; height: 2.1em; border-radius: .4em; object-fit: cover; }
.voicefx__pick--model li.is-cur b { color: #7f9cf5; }
.voicefx__pick--model li.is-hot b { color: #fff; }
.voicefx__track { height: 2.5em; }
.voicefx__track--c > i { background: #2a2a2a; color: rgb(255 255 255 / .6); }

/* Voice demo, enlarged: everything a size up, and the fields and tracks carry on past the right edge of the picture, as
   the window does. Five tracks; the fifth only just shows at the bottom. */
.voicefx__win { top: 3.5cqw; right: -24cqw; padding: 3cqw 4cqw 4cqw 4cqw; font-size: 3.25cqw; }
.voicefx__more .voicefx__label { padding-top: .6em; }
.voicefx__label b { display: block; line-height: 1.2; }
.voicefx__pick--model .voicefx__select { padding: .5em .9em .5em .5em; }
.voicefx__model img { width: 3em; height: 3em; }
.voicefx__select { height: 3em; }
.voicefx__list li { padding: .34em .6em; }
.voicefx__tracks { gap: .35em; margin-top: .7em; }
.voicefx__track { height: 2.35em; }

/* Voice demo in two views, as it is in real life: the Premiere timeline (record, and later the new clip), and the
   modelBridge panel, which fades in over it while the model and the voice are picked. */
.voicefx__view { transition: opacity .55s var(--ease), transform .7s var(--ease); }
.voicefx__view--panel { position: absolute; inset: 0; padding: inherit; opacity: 0; transform: translateY(1.2em); pointer-events: none; }
.voicefx.is-panel .voicefx__view--panel { opacity: 1; transform: none; }
.voicefx.is-panel .voicefx__view--tl { opacity: 0; transform: scale(.985); }
.voicefx__label { display: flex; align-items: baseline; gap: .8em; }
.voicefx__label small { font-size: .8em; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgb(255 255 255 / .42); white-space: nowrap; }
.voicefx__gen { display: grid; place-items: center; width: 62cqw; height: 2.9em; margin-top: 1em; border-radius: .75em; background: #4f7be8; font-weight: 600; color: #fff; transition: filter .15s var(--ease), transform .15s var(--ease); }
.voicefx__gen.is-down { filter: brightness(.88); transform: scale(.985); }
.voicefx__ruler { display: flex; align-items: center; gap: 1em; height: 1.7em; margin-bottom: .55em; }
.voicefx__ruler b { font-size: .9em; font-weight: 600; font-variant-numeric: tabular-nums; color: #6f95f2; }
.voicefx__ruler span { flex: 1; height: .7em; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .28) 0 1px, transparent 1px 1.6em); }
.voicefx__view--tl .voicefx__tracks { margin-top: 0; }
.voicefx__track { height: 2.6em; }
.voicefx__track--v > i { background: #2a2a2a; color: rgb(255 255 255 / .6); }
.voicefx__clip--v { background: #4b4384; clip-path: none; }
.voicefx__clip--v em { position: static; font-size: .74em; letter-spacing: .02em; text-transform: none; font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .voicefx__view { transition: none; } }
/* Track heads as in Premiere: every track's tag is blue, then M, S and the mic. */
.voicefx__track > i, .voicefx__track--b > i, .voicefx__track--c > i, .voicefx__track--v > i { background: #2a55c9; color: #fff; }
.voicefx__ms { flex: none; align-self: center; width: .9em; text-align: center; font-size: .82em; font-weight: 500; color: rgb(255 255 255 / .5); }
.voicefx__track { gap: .5em; }
.voicefx__track--a::after { left: 5.7em; }

/* Voice demo, closer to Premiere: timecode with three tool buttons under it, V2 and V1, a thicker rule between the
   video and the audio tracks. In the panel, Generate spans the full width. The blue shows as much above as beside. */
.voicefx__win { top: 7cqw; }
.voicefx__top { display: flex; align-items: flex-start; height: 3.5em; }
.voicefx__tc { flex: none; width: 6.75em; }
.voicefx__tc b { display: block; font-size: .9em; line-height: 1.3; font-weight: 600; font-variant-numeric: tabular-nums; color: #6f95f2; }
.voicefx__tools { display: flex; gap: .3em; margin-top: .35em; }
.voicefx__tools i { display: grid; place-items: center; width: 1.55em; height: 1.4em; border-radius: .3em; background: rgb(255 255 255 / .12); color: rgb(255 255 255 / .75); }
.voicefx__tools svg { width: .95em; height: .95em; }
.voicefx__ticks { flex: 1; height: .7em; margin-top: .25em; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .28) 0 1px, transparent 1px 1.6em); }
.voicefx__split { height: 3px; margin: .1em 0; border-radius: 2px; background: rgb(255 255 255 / .16); }
.voicefx__gen { width: auto; height: 3.4em; gap: .6em; display: flex; align-items: center; justify-content: center; border-radius: .4em; font-weight: 500; font-size: 1.05em; background: #4f84ee; }
.voicefx__gen svg { width: 1.35em; height: 1.35em; }
.voicefx__gen { justify-content: flex-start; padding-left: calc(42.5cqw - 4.4em); } /* the button runs off the picture like the fields; its label sits in the middle of the part that shows */
.voicefx__more .voicefx__label { padding-top: .45em; }
.voicefx__list li { padding: .3em .6em; }

/* Kling 4.0, selected first, shows its own settings (Duration, Resolution); they fold away when the voice changer is picked. */
.voicefx__kling { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease), opacity .3s var(--ease); }
.voicefx__kling > div { min-height: 0; overflow: hidden; }
.voicefx.is-model .voicefx__kling { grid-template-rows: 0fr; opacity: 0; }
.voicefx__kling .voicefx__label { padding-top: .6em; margin-bottom: .5em; }
.voicefx__input { display: flex; align-items: center; height: 2.7em; padding: 0 1em; border: 1px solid rgb(255 255 255 / .1); border-radius: .75em; background: #171717; }
.voicefx__slider { position: relative; height: 2px; margin: .75em 0 .35em; background: rgb(255 255 255 / .2); }
.voicefx__slider i { position: absolute; left: 6cqw; top: 50%; width: .8em; height: .8em; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.voicefx__select--plain { height: 2.7em; background: #171717; border-color: rgb(255 255 255 / .1); }
.voicefx__gen { height: 4.2em; padding-left: calc(42.5cqw - 3.2em); }
@media (prefers-reduced-motion: reduce) { .voicefx__kling { transition: none; } }

/* Open padlocks before the track tags, and slightly larger tool buttons under the timecode. */
.voicefx__lock { flex: none; align-self: center; width: 1em; height: 1em; color: rgb(255 255 255 / .5); }
.voicefx__tc { width: 8.25em; }
.voicefx__track--a::after { left: 7.2em; }
.voicefx__top { height: 3.9em; }
.voicefx__tools i { width: 1.95em; height: 1.75em; }
.voicefx__tools svg { width: 1.2em; height: 1.2em; }
.voicefx__gen { font-size: 1.2em; height: 3.7em; gap: .55em; padding-left: calc(42.5cqw - 2.6em); }
.voicefx__gen svg { width: 1.15em; height: 1.15em; }

/* Video track heads: sync lock and eye, in the places the audio tracks keep M, S and the mic. Larger padlocks. */
.voicefx__vic { flex: none; align-self: center; display: flex; align-items: center; width: 1.25em; color: rgb(255 255 255 / .55); }
.voicefx__vic--sync { width: 1.98em; }
.voicefx__vic svg { width: 1.25em; height: 1.25em; }
.voicefx__lock { width: 1.2em; height: 1.2em; }
.voicefx__tc { width: 8.45em; }
.voicefx__track--a::after { left: 7.4em; }

/* Voice demo: the panel carries on up out of the picture as well, so blue shows only to its left. The room that frees
   goes to taller tracks, a taller model card and taller rows in both lists. */
.voicefx__win { top: -2px; padding-top: 3.5cqw; border-radius: 0; border-top: 0; }
.voicefx__track { height: 3.3em; }
.voicefx__model img { width: 3.4em; height: 3.4em; }
.voicefx__pick--model .voicefx__select { padding: .55em .9em .55em .55em; }
.voicefx__pick--model li { padding: .5em .5em; }
.voicefx__pick--model li img { width: 2.6em; height: 2.6em; }
.voicefx__select { height: 3.3em; }
.voicefx__pick:not(.voicefx__pick--model) .voicefx__list li { padding: .55em .6em; }
.voicefx__view--panel > .voicefx__label b, .voicefx__view--panel > .voicefx__label small { letter-spacing: .05em; }

/* Voice demo: the two views only fade (no slide, no scale); the video clip never fades out; the Voice field fades in
   where Kling's settings were instead of growing; a little more room above "Voice". */
.voicefx__view { transition: opacity .55s var(--ease); }
.voicefx__view--panel, .voicefx.is-panel .voicefx__view--tl { transform: none; }
.voicefx.is-fade .voicefx__clip--v { opacity: 1; }
.voicefx__more { grid-template-rows: 1fr; display: none; transition: none; }
.voicefx.is-model .voicefx__more { display: grid; animation: voicefx-in .5s var(--ease) both; }
.voicefx__more > div { overflow: visible; }
.voicefx__kling { transition: none; }
.voicefx.is-model .voicefx__kling { display: none; }
.voicefx.is-model .voicefx__gen { animation: voicefx-in .5s var(--ease) both; }
@keyframes voicefx-in { from { opacity: 0; } to { opacity: 1; } }
.voicefx__more .voicefx__label { padding-top: .95em; }
.voicefx__pick:not(.voicefx__pick--model) .voicefx__list li { padding: .46em .6em; }
@media (prefers-reduced-motion: reduce) { .voicefx.is-model .voicefx__more, .voicefx.is-model .voicefx__gen { animation: none; } }
.voicefx__more { position: relative; z-index: 2; } /* its open list lies over the Generate button */

/* The more-features button never draws a second ring. Keyboard focus shows as a light fill instead. */
.more-feat .btn:focus, .more-feat .btn:focus-visible { outline: none; box-shadow: none; }
.more-feat .btn:focus-visible { background: color-mix(in srgb, var(--ink) 10%, transparent); }

/* Voice demo: slower cross-fade between timeline and panel; the picture fades in on scroll without rising; the video
   clip's name is the size of the audio clip's. */
.voicefx__view { transition: opacity .95s var(--ease); }
.voicefx__win { transition: opacity 1.6s var(--ease) .2s; }
.js .voicefx:not(.is-seen) .voicefx__win { transform: none; }
.voicefx__clip--v em { font-size: .68em; }
.voicefx__ptr { transition: opacity .35s var(--ease), transform var(--go, 1s) var(--curve, cubic-bezier(.5, .05, .2, 1)); }
.voicefx__clip--v em { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.voicefx__win { transition: opacity .8s var(--ease); } /* shows at once when the card appears */

/* A quiet line over the three extra cards; it shows only while they are open. */
.more-feat__title { margin: 44px 0 20px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--muted); }
.more-feat__title:has(+ .bento-more[hidden]) { display: none; }
@media (min-width: 1024px) { .more-feat__title { margin: 40px 0 24px; font-size: 22px; line-height: 30px; } }

/* ---------- Hero window: Premiere Pro drawn in markup, with the modelBridge panel docked on the right ----------
   Premiere and the panel are dark in real life, so this is dark in both themes. Everything is laid out on a 1152 x 720 board and
   scaled as one piece (".hero__window"). The panel is a little larger than life and overlaps the window's right edge. */
.hero__window.ppw, :root[data-theme="dark"] .hero__window.ppw { display: block; overflow: visible; background: none; border: 0; border-radius: 0; color: #9a9a9a;
  font-size: 10.5px; line-height: 1.2; letter-spacing: 0; text-align: left; -webkit-user-select: none; user-select: none; }
.ppw svg { width: 1em; height: 1em; flex: none; display: block; }
.ppw i, .ppw em, .ppw b, .ppw u, .ppw s, .ppw q { font-style: normal; text-decoration: none; font-weight: inherit; quotes: none; }
.ppw q::before, .ppw q::after { content: none; }
.pp { position: absolute; inset: 0 0 -150px 0; display: grid; grid-template: 30px 392px 1fr / 262px 1fr 304px; gap: 2px; background: #0b0b0b; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .09), 0 30px 80px -20px rgb(0 0 0 / .6); }
.pp-p { background: #1b1b1b; min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.pp-dock { grid-column: 3; grid-row: 2 / 4; background: #161616; }
.pp-bar { grid-column: 1 / -1; background: #1b1b1b; display: flex; align-items: center; gap: 14px; padding: 0 12px; position: relative; color: #a8a8a8; font-size: 11.5px; }
.pp-lights { display: flex; gap: 6px; } .pp-lights i { width: 9px; height: 9px; border-radius: 50%; background: #5d2f2c; }
.pp-lights i:nth-child(2) { background: #5e4a22; } .pp-lights i:nth-child(3) { background: #2c5229; }
.pp-home { font-size: 15px; margin-left: 18px; color: #8d8d8d; }
.pp-bar nav { display: flex; gap: 20px; } .pp-bar nav span { display: flex; align-items: center; gap: 4px; }
.pp-bar nav .is-on { color: #e2e2e2; box-shadow: 0 5px 0 -3.5px #e2e2e2; }
.pp-bar > b { position: absolute; left: 50%; transform: translateX(-50%); color: #cfcfcf; white-space: nowrap; } .pp-bar > b em { color: #8a8a8a; }
.pp-tabs { display: flex; gap: 22px; padding: 9px 10px 7px; white-space: nowrap; color: #8f8f8f; flex: none; }
.pp-tabs .is-on { color: #d8d8d8; box-shadow: 0 5px 0 -3.5px #d8d8d8; display: flex; align-items: center; gap: 6px; } .pp-tabs .is-plain { box-shadow: none; }
.pp-menu { font-size: 11px; color: #8a8a8a; } .pp-x { color: #777; } .pp-seqchip { width: 8px; height: 8px; background: #5b6a26; }
.pp-tc { color: #4f9bef; font-weight: 600; font-size: 12px; font-variant-numeric: tabular-nums; }
.pp-tw { width: 10px; font-size: 10px; color: #8d8d8d; flex: none; } .pp-tw.is-open svg { transform: rotate(90deg); }
.pp-ec__chips { display: flex; gap: 4px; padding: 6px 12px 8px; } .pp-ec__chips span { background: #252525; border-radius: 3px; padding: 4px 8px; white-space: nowrap; }
.pp-ec__chips .is-on { background: #343434; color: #d6d6d6; }
.pp-ec__body { flex: 1; min-height: 0; display: flex; margin: 0 10px; border: 1px solid #101010; }
.pp-ec__list { flex: 1; min-width: 0; } .pp-ec__title { padding: 5px 6px; color: #c9c9c9; border-bottom: 1px solid #111; }
.pp-ec__row { display: flex; align-items: center; gap: 4px; height: 18.6px; padding-left: calc(5px + var(--in) * 16px); padding-right: 4px; white-space: nowrap; color: #bdbdbd; box-shadow: 0 1px 0 #151515; }
.pp-ec__row > span { width: calc(84px - var(--in) * 16px); overflow: hidden; flex: none; } .pp-ec__row q { color: #8d8d8d; font-style: italic; margin-right: 3px; } .pp-ec__row q.is-dim { opacity: .5; }
.pp-ec__row em { flex: 1; min-width: 0; display: flex; gap: 8px; color: #4f9bef; } .pp-ec__row u { font-size: 11px; color: #8a8a8a; } .pp-sw { font-size: 11px; color: #8a8a8a; }
.pp-ec__row.is-dim > span, .pp-ec__row.is-dim em { color: #5b5b5b; } .pp-ec__row s { margin-left: auto; color: #6d6d6d; border: 1px solid #2c2c2c; border-radius: 3px; padding: 1px 6px; }
.pp-ec__row label { display: flex; align-items: center; gap: 7px; color: #bdbdbd; } .pp-cb { width: 9px; height: 9px; border-radius: 2px; background: #cfcfcf; }
.pp-ec__mini { width: 30px; flex: none; border-left: 1px solid #101010; position: relative; background: #181818; } .pp-ec__mini b { display: block; margin-top: 22px; background: #7b3a98; color: #f1e6f6; padding: 2px 3px; overflow: hidden; white-space: nowrap; font-size: 9.5px; }
.pp-ec__mini i { position: absolute; left: 3px; top: 12px; bottom: 0; width: 1px; background: #4f9bef; }
.pp-ec__foot { padding: 8px 12px; flex: none; } .pp-ec__foot b { color: #4f9bef; }
.pp-pm__stage { flex: 1; min-height: 0; display: grid; place-items: center; padding: 4px 62px 0 30px; } .pp-pm__stage img { width: 100%; max-width: 440px; height: auto; display: block; }
.pp-pm__meta { display: flex; align-items: center; gap: 12px; padding: 10px 50px 6px 14px; flex: none; } .pp-sp { flex: 1; } .pp-dur { color: #cfcfcf; font-weight: 600; font-size: 12px; }
.pp-sel { display: flex; align-items: center; gap: 12px; border: 1px solid #333; border-radius: 3px; padding: 3px 7px; color: #cfcfcf; }
.pp-pm__ruler { display: flex; justify-content: space-between; align-items: flex-end; height: 9px; margin: 2px 50px 0 14px; position: relative; flex: none; }
.pp-pm__ruler i { width: 1px; height: 4px; background: #555; } .pp-pm__ruler i.is-major { height: 8px; background: #777; }
.pp-pm__ruler u { position: absolute; left: 6.5%; top: -2px; width: 7px; height: 8px; background: #4f9bef; border-radius: 1px 1px 3px 3px; }
.pp-pm__bar { height: 5px; margin: 8px 50px 0 14px; background: #3a3a3a; border-radius: 3px; display: flex; justify-content: space-between; align-items: center; flex: none; }
.pp-pm__bar i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid #cfcfcf; background: #1b1b1b; margin: 0 -1px; }
.pp-pm__transport { display: flex; justify-content: center; gap: 16px; padding: 9px 36px 10px 0; font-size: 12px; color: #a9a9a9; flex: none; } .pp-pm__transport .is-play { color: #d6d6d6; }
.pp-pj__file { display: flex; align-items: center; gap: 8px; padding: 4px 12px; color: #b9b9b9; } .pp-pj__file svg { font-size: 12px; color: #777; }
.pp-pj__search { display: flex; align-items: center; gap: 10px; padding: 6px 12px; white-space: nowrap; } .pp-pj__search span { flex: 1; height: 19px; background: #111; border: 1px solid #2c2c2c; border-radius: 3px; display: flex; align-items: center; padding-left: 5px; font-size: 11px; }
.pp-pj__cols { display: flex; padding: 7px 12px 5px 34px; color: #a9a9a9; } .pp-pj__cols span { flex: 1; }
.pp-pj__list { margin: 0 10px; border: 1px solid #101010; flex: 1; }
.pp-pj__row { display: flex; align-items: center; gap: 6px; height: 19.5px; padding: 0 6px; white-space: nowrap; color: #c2c2c2; box-shadow: 0 1px 0 #151515; }
.pp-chip { width: 9px; height: 9px; border-radius: 2px; flex: none; margin-right: 6px; } .pp-pj__ic { font-size: 12px; color: #8a8a8a; } .pp-pj__row span { flex: 1; overflow: hidden; } .pp-pj__row em { color: #a9a9a9; }
.pp-tl { flex-direction: row; background: #0b0b0b; gap: 2px; }
.pp-tl__tools { width: 34px; background: #1b1b1b; display: flex; flex-direction: column; align-items: center; gap: 9px; padding-top: 12px; font-size: 13px; color: #a9a9a9; flex: none; }
.pp-tl__tools i { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 2px; } .pp-tl__tools .is-on { background: #2a66c8; color: #fff; }
.pp-tl__main { flex: 1; min-width: 0; background: #1b1b1b; display: flex; flex-direction: column; }
.pp-tl__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 138px 1fr; grid-template-rows: 20px 26px 28px 36px 46px 38px 38px 1fr; position: relative; }
.pp-tl__tc { grid-row: 1; padding: 2px 0 0 12px; }
.pp-tl__ruler { grid-row: 1; position: relative; box-shadow: 0 1px 0 #2b2b2b; } .pp-tl__ruler span { position: absolute; top: 0; font-size: 9.5px; color: #a9a9a9; white-space: nowrap; }
.pp-tl__ruler div { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; display: flex; justify-content: space-between; align-items: flex-end; }
.pp-tl__ruler div i { width: 1px; height: 3px; background: #555; } .pp-tl__ruler div i.is-major { height: 6px; background: #8a8a8a; }
.pp-th { display: flex; align-items: center; gap: 7px; padding-left: 12px; box-shadow: 0 1px 0 #262626; color: #a9a9a9; font-size: 9.5px; white-space: nowrap; }
.pp-tg { width: 17px; align-self: stretch; margin: 1px 0; border-radius: 2px; display: grid; place-items: center; color: #fff; } .pp-tg.is-on { background: #2a5fc0; }
.pp-ti { font-size: 11px; color: #9a9a9a; } .pp-th b { width: 17px; align-self: stretch; margin: 1px 0; display: grid; place-items: center; border-radius: 2px; } .pp-th b.is-on { background: #2a5fc0; color: #fff; }
.pp-lane { position: relative; box-shadow: 0 1px 0 #262626, -1px 0 0 #262626; } .pp-lane--a { background: #191919; }
.pp-clip { position: absolute; top: 1px; bottom: 2px; border-radius: 2px; overflow: hidden; }
.pp-clip--v { background: #6f358b; box-shadow: inset 0 0 0 1px #9a5bb8; display: flex; flex-direction: column; }
.pp-clip--v b { display: block; padding: 1px 4px; font-size: 9px; color: #f3e9f8; white-space: nowrap; background: #8a46a8; } .pp-clip--v q { font-style: italic; opacity: .8; margin-right: 3px; }
.pp-clip--v span { flex: 1; background-size: auto 100%; background-repeat: repeat-x; opacity: .9; }
.pp-clip--v.is-sel { box-shadow: inset 0 0 0 1.5px #f2f2f2; }
.pp-clip--a { background: #33561c; box-shadow: inset 0 0 0 1px #4d7a2c; } .ppw .pp-wave { position: absolute; left: 0; right: 0; bottom: 2px; width: 100%; height: 62%; fill: #a8d277; }
.pp-playhead { position: absolute; left: calc(138px + (100% - 138px) * .4); top: 10px; bottom: 0; width: 1px; background: #4f9bef; pointer-events: none; }
.pp-playhead::before { content: ""; position: absolute; left: -4px; top: 0; width: 9px; height: 9px; background: #4f9bef; border-radius: 1px 1px 4px 4px; }

/* The modelBridge panel */
.mbp { position: absolute; left: 812px; top: 22px; width: 364px; height: 900px; background: #141414; border-radius: 10px; overflow: hidden; color: #9b9b9b; font-size: 12px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 28px 70px -12px rgb(0 0 0 / .75), 0 0 0 9px rgb(0 0 0 / .18); display: flex; flex-direction: column; }
.mbp-tabs { display: flex; justify-content: space-between; padding: 17px 12px 0 9px; font-weight: 600; font-size: 11.5px; letter-spacing: .01em; color: #8c8c8c; border-bottom: 1px solid #222; }
.mbp-tabs span { padding-bottom: 12px; display: flex; align-items: center; gap: 5px; } .mbp-tabs .is-on { color: #f2f2f2; box-shadow: inset 0 -2px 0 #f2f2f2; }
.mbp-dot { width: 6px; height: 6px; border-radius: 50%; background: #6c6c6c; } .mbp-num { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #8c8c8c; display: grid; place-items: center; font-size: 8px; }
.mbp-news { display: flex; align-items: center; gap: 9px; padding: 8px 11px; border-bottom: 1px solid #222; font-size: 11px; }
.mbp-news__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 26px, #000 calc(100% - 14px), transparent); }
.mbp-news__inner { display: inline-block; color: #a9a9a9; animation: mbp-news 46s linear infinite; will-change: transform; }
.mbp-news__inner b { color: #ececec; font-weight: 500; } .mbp-ts { color: #7d7d7d; font-weight: 500; } .mbp-sp { color: #666; }
@keyframes mbp-news { to { transform: translateX(-50%); } }
.mbp-news__cta { flex: none; border: 1px solid #8f8f8f; border-radius: 4px; padding: 3px 8px; color: #e6e6e6; font-weight: 600; font-size: 10.5px; }
.mbp-news__x { flex: none; width: 17px; height: 17px; border: 1px solid #333; border-radius: 3px; display: grid; place-items: center; color: #777; font-size: 11px; }
.mbp-body { padding: 22px 11px 0; display: flex; flex-direction: column; flex: 1; min-height: 0; }
.mbp h4 { margin: 0 0 9px; font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #dcdcdc; } .mbp h4 em { color: #7b7b7b; margin-left: 4px; }
.mbp-search, .mbp-url { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 13px; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 7px; color: #6f6f6f; margin-bottom: 22px; font-size: 12px; flex: none; }
.mbp-search svg { font-size: 15px; color: #8a8a8a; } .mbp-url { height: 32px; margin-bottom: 20px; }
.mbp-model { display: flex; align-items: center; gap: 13px; padding: 15px 13px; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 7px; margin-bottom: 17px; flex: none; }
.mbp-model img { width: 58px; height: 58px; object-fit: cover; border-radius: 7px; flex: none; }
.mbp-model > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; } .mbp-model b { font-size: 14px; font-weight: 600; color: #f0f0f0; white-space: nowrap; overflow: hidden; }
.mbp-model > div > span { font-size: 12px; color: #8a8a8a; } .mbp-model p { margin: 0; display: flex; gap: 5px; }
.mbp-model p i { display: flex; align-items: center; gap: 3px; border: 1px solid #5a5a5a; border-radius: 99px; padding: 2.5px 8px; font-size: 8.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfcfcf; white-space: nowrap; }
.mbp-model p i svg { font-size: 9px; } .mbp-model p .is-green { color: #49c98b; border-color: #2c7a55; background: rgb(46 160 105 / .12); } .mbp-model p .is-indigo { color: #a9a4ff; border-color: #4a45b8; background: rgb(88 80 236 / .22); }
.mbp-model > u { font-size: 17px; color: #9a9a9a; margin-right: 6px; }
.mbp-drop { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 24px 0 22px; border: 1px dashed #3a3a3a; border-radius: 9px; background: #1a1a1a; margin-bottom: 13px; flex: none; }
.mbp-drop svg { font-size: 23px; color: #9aa0a8; margin-bottom: 3px; } .mbp-drop b { font-size: 12.5px; font-weight: 600; color: #f0f0f0; } .mbp-drop span { font-size: 11.5px; color: #7b7b7b; }
.mbp-drop i { margin-top: 8px; border: 1px solid #353535; border-radius: 99px; padding: 3px 9px; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #777; }
.mbp-cam { height: 42px; display: grid; place-items: center; background: #171717; border: 1px solid #262626; border-radius: 4px; font-size: 14px; color: #666; flex: none; }
.mbp-or { display: flex; align-items: center; gap: 9px; margin: 12px 0; color: #777; font-size: 11px; } .mbp-or::before, .mbp-or::after { content: ""; flex: 1; height: 1px; background: #242424; }
.mbp-prompt { height: 104px; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 7px; padding: 14px 13px 8px 13px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; color: #5f5f5f; margin-bottom: 22px; flex: none; }
.mbp-prompt i { border: 1px solid #333; border-radius: 4px; padding: 5px 12px; font-size: 11.5px; font-weight: 600; color: #6d6d6d; margin-left: -6px; }
.mbp-out { background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 9px; padding: 15px 13px; flex: none; } .mbp-out h4:first-child { padding-bottom: 14px; border-bottom: 1px solid #2a2a2a; margin-bottom: 16px; }
.mbp-select { display: flex; justify-content: space-between; align-items: center; height: 38px; padding: 0 13px; background: #141414; border: 1px solid #2a2a2a; border-radius: 6px; color: #e6e6e6; } .mbp-select svg { font-size: 15px; color: #9a9a9a; }

/* Where the window sits. Below 1080 it is anchored by its right side, so the panel is what stays in view when the frame is narrow. */
@media (max-width: 1079.98px) { .hero__window.ppw { left: auto; right: calc(var(--hf-gutter, 0px) + 34px); transform-origin: top right; } }
@media (min-width: 1080px) { .hero__window.ppw { transform: translateX(calc(-50% - 12px)) scale(.9); } }
@media (prefers-reduced-motion: reduce) { .mbp-news__inner { animation: none; } }

/* Hero window, wider: the Program monitor and timeline get about half again as much room, and the panel only overlaps the window's
   right edge. Premiere is dimmed, most from the left, so the panel is what the eye lands on. Board is 1461 x 720. */
.hero__window.ppw { width: 1461px; }
.ppw .pp { inset: 0 324px -150px 0; grid-template-columns: 262px 1fr; }
.ppw .pp-dock { display: none; }
.ppw .pp::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(90deg, rgb(4 5 9 / .74) 0%, rgb(4 5 9 / .55) 30%, rgb(4 5 9 / .22) 68%, rgb(4 5 9 / .08) 100%); }
.ppw .pp-pm__stage img { max-width: 470px; }
.ppw .mbp { left: 1097px; background: #161616;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .2), 0 0 0 10px rgb(0 0 0 / .22), 0 40px 90px -10px rgb(0 0 0 / .85), 0 0 120px 0 rgb(120 160 255 / .1); }
@media (min-width: 1080px) { .hero__window.ppw { transform: translateX(-50%) scale(.66); } }
@media (min-width: 1200px) { .hero__window.ppw { transform: translateX(-50%) scale(.72); } }
@media (min-width: 1360px) { .hero__window.ppw { transform: translateX(-50%) scale(.8); } }
@media (min-width: 1600px) { .hero__window.ppw { transform: translateX(-50%) scale(.9); } }

/* Hero window, fitted: the whole Premiere window and the whole panel stay inside the frame. Premiere is drawn at 84 % so the panel
   reads as magnified, and the panel stands a little taller than the window. main.js ("Hero window fit") sets --hw-s and --hw-top
   from the frame's real size; the values here are the fallback. Board is 1279 wide; its height is the panel's. */
.hero__window.ppw { width: 1279px; height: 740px; top: var(--hw-top, 32px); }
.ppw .pp { inset: 40px auto auto 0; width: 1137px; height: 800px; grid-template-rows: 30px 430px 1fr; transform: scale(.84); transform-origin: top left; }
.ppw .pp-pm__stage img { max-width: 540px; }
.ppw .mbp { left: 915px; top: 0; height: auto; background: #171717; box-shadow: 0 0 0 1px #3d3d3d, 0 30px 70px -8px rgb(0 0 0 / .8); }
.ppw .mbp-out { display: none; }
.ppw .mbp-prompt { margin-bottom: 14px; }
@media (min-width: 768px) and (max-width: 1079.98px) { .hero__window.ppw { transform: scale(var(--hw-s, .6)); } }
@media (min-width: 1080px) { .hero__window.ppw { transform: translateX(-50%) scale(var(--hw-s, .7)); } }

/* Hero frame: a lighter, stronger blue behind the dark Premiere window and panel, and a quieter edge trail. */
.hero__frame.navy { background: radial-gradient(120% 90% at 78% 0%, #2f63e0 0%, #1d47b8 38%, #12307f 72%, #0d2362 100%); }
.hero__frame.is-bleed::before { opacity: calc(.12 * (1 - var(--hf-lit, 0))); }
.hero__ink { opacity: .38; }
.hero__frame.navy::after { background: #0e2768; opacity: .75; }

/* Hero stage: the window is no longer inside the blue frame but beside it in ".hero__stage", so it can stand above the frame's top
   edge. The frame is lower than before and starts --hw-x below the top of the stage; the window starts at the top. */
.hero__stage { position: relative; margin-top: 56px; --hw-x: 30px; }
.hero__stage .hero__frame { margin-top: var(--hw-x); }
.hero__stage .hero__window.ppw { top: var(--hw-top, 0px); z-index: 1; }
@media (max-width: 1079.98px) { .hero__stage .hero__window.ppw { right: 34px; } }
@media (max-width: 767.98px) { .hero__stage .hero__window.ppw { right: 12px; } }
@media (min-width: 768px) { .hero__stage { --hw-x: 84px; } .hero__stage .hero__frame { aspect-ratio: 16 / 9; } }
@media (min-width: 1080px) { .hero__stage { margin-top: 112px; } }
@media (max-width: 767.98px) { .hero__stage { clip-path: inset(0 round 16px); } }
.hero__stage { display: flow-root; }

/* Hero panel, interactive: the body scrolls inside the panel, the search field and the model card open their lists, the two
   switches flip. main.js "Hero panel". On touch screens the body does not scroll, so a swipe always moves the page. */
.ppw .mbp { height: 772px; }
.ppw .mbp-out { display: block; margin-bottom: 12px; }
.ppw .mbp-prompt { margin-bottom: 22px; }
.mbp-body { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3a3a3a transparent; padding-bottom: 14px; outline: none; }
.mbp-body > * { flex-shrink: 0; }
@media (hover: none) { .mbp-body { overflow: hidden; } }
.mbp-meta { display: none; margin-left: 8px; color: #7d7d7d; } .mbp-meta.is-green { color: #45b983; }
.mbp-sec.is-open .mbp-meta { display: inline; }
.mbp-search, .mbp-model, .mbp-sw { cursor: pointer; }
.mbp-search, .mbp-model { transition: border-color .15s, background-color .15s; }
.mbp-search:hover, .mbp-model:hover, .mbp-search:focus-visible, .mbp-model:focus-visible { border-color: #4a4a4a; background: #202020; outline: none; }
.mbp-sec.is-open .mbp-search { border-color: #555; margin-bottom: 12px; } .mbp-sec.is-open .mbp-search span::before { content: ""; display: inline-block; width: 1px; height: 14px; margin-right: 1px; vertical-align: -2px; background: #ddd; animation: mbp-caret 1.5s steps(1) infinite; }
@keyframes mbp-caret { 50% { opacity: 0; } }
.mbp-sec.is-open .mbp-model { border-color: #5a5a5a; box-shadow: 0 0 0 2px #2c2c2c; margin-bottom: 12px; } .mbp-model > u svg { transition: transform .2s; } .mbp-sec.is-open .mbp-model > u svg { transform: rotate(180deg); }
.mbp-fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; } .mbp-fold > div { overflow: hidden; min-height: 0; }
.mbp-sec.is-open .mbp-fold { grid-template-rows: 1fr; } .mbp-sec.is-open .mbp-fold > div { padding-bottom: 20px; }
.mbp-chips { display: flex; gap: 6px; overflow: hidden; white-space: nowrap; }
.mbp-chips i { flex: none; border: 1px solid #454545; border-radius: 99px; padding: 6px 13px; font-size: 11.5px; font-weight: 600; color: #8f8f8f; } .mbp-chips .is-on { background: #4d7ee6; border-color: #4d7ee6; color: #fff; }
.mbp-chips u { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #2c2c2c; display: grid; place-items: center; font-size: 14px; color: #9a9a9a; }
.mbp-rail { height: 3px; border-radius: 2px; background: #1f1f1f; margin: 11px 0 9px; } .mbp-rail i { display: block; width: 14%; height: 100%; border-radius: 2px; background: #333; }
.mbp-list { display: flex; flex-direction: column; gap: 4px; }
.mbp-card { display: flex; align-items: center; gap: 10px; padding: 11px 13px; background: #1e1e1e; border: 1px solid transparent; border-radius: 6px; margin-bottom: 4px; }
.mbp-card.is-on { border-color: #454545; } .mbp-card img { width: 46px; height: 46px; object-fit: cover; border-radius: 5px; flex: none; }
.mbp-card > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .mbp-card b, .mbp-card > div > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mbp-card b { font-size: 12.5px; font-weight: 600; color: #f0f0f0; } .mbp-card > div > span { font-size: 11.5px; color: #858585; } .mbp-card p { margin: 1px 0 0; display: flex; gap: 4px; }
.mbp-card p i { display: flex; align-items: center; gap: 3px; border: 1px solid #555; border-radius: 99px; padding: 2.5px 7px; font-size: 8.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfcfcf; white-space: nowrap; }
.mbp-card p i svg { font-size: 9px; } .mbp-card p .is-indigo { color: #a9a4ff; border-color: #4a45b8; background: rgb(88 80 236 / .22); } .mbp-card p .is-new { color: #f0a53a; border-color: #6b4a17; background: rgb(240 165 58 / .1); }
.mbp-card > u { flex: none; width: 21px; height: 21px; border-radius: 4px; background: #2c2c2c; display: grid; place-items: center; font-size: 12px; color: #9a9a9a; }
.mbp-card > em { flex: none; background: #4d7ee6; color: #fff; font-weight: 600; font-size: 11px; border-radius: 4px; padding: 8px 17px; }
.mbp-find { height: 34px; display: flex; align-items: center; padding: 0 13px; background: #1c1c1c; border: 1px solid #2c2c2c; border-radius: 7px; color: #6f6f6f; margin-bottom: 11px; }
.mbp h5 { margin: 10px 4px 9px; display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #5c5c5c; } .mbp h5 u { font-size: 13px; color: #8a8a8a; margin-right: 14px; }
.mbp-row { display: flex; justify-content: space-between; align-items: center; height: 52px; padding: 0 16px 0 13px; background: #1c1c1c; border: 1px solid #2a2a2a; border-radius: 9px; margin-bottom: 12px; }
.mbp-row b { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #e6e6e6; } .mbp-row > svg { font-size: 16px; color: #9a9a9a; }
.mbp-sw { width: 36px; height: 20px; border-radius: 99px; background: #3a3a3a; position: relative; transition: background-color .18s; margin-right: -4px; outline: none; }
.mbp-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .18s; }
.mbp-sw[aria-checked="true"] { background: #4d7ee6; } .mbp-sw[aria-checked="true"]::after { transform: translateX(16px); } .mbp-sw:focus-visible { box-shadow: 0 0 0 2px #7aa2f7; }
.mbp-go { height: 58px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; background: #426fcf; border-radius: 5px; color: #dfe8fb; font-size: 14px; font-weight: 500; } .mbp-go svg { font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .mbp-fold, .mbp-sw, .mbp-sw::after { transition: none; } .mbp-sec.is-open .mbp-search span::before { animation: none; } }

/* Hero window typefaces. Premiere Pro's interface is set in Source Sans 3 (loaded with the page's other web font). The panel uses
   the plugin's own stack (css/models.css body), so it shows in the visitor's system face exactly as it would in their Premiere. */
.ppw .pp { font-family: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif; font-size: 11.5px; }
.ppw .pp-bar { font-size: 12.5px; } .ppw .pp-tc, .ppw .pp-dur { font-size: 13px; } .ppw .pp-th, .ppw .pp-tl__ruler span, .ppw .pp-clip--v b, .ppw .pp-ec__mini b { font-size: 10px; }
.ppw .mbp { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }

/* Hero panel: section labels a little tighter; Generate carries the plugin's own icon. */
.mbp h4, .mbp h5, .mbp-row b { letter-spacing: .05em; }
.mbp-go svg { font-size: 15px; }

/* Hero panel: a frosted glass edge around the panel. It is a separate layer behind the panel (the panel itself stays solid). */
.ppw::after { content: ""; position: absolute; left: 911px; top: -4px; width: 372px; height: 780px; border-radius: 13px; z-index: 1; pointer-events: none;
  background: rgb(255 255 255 / .11); border: 1px solid rgb(255 255 255 / .19);
  -webkit-backdrop-filter: blur(11px) saturate(1.3); backdrop-filter: blur(11px) saturate(1.3);
  box-shadow: 0 30px 70px -8px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .18); }
.ppw .mbp { z-index: 2; box-shadow: 0 0 0 1px rgb(0 0 0 / .45); }

/* Hero panel: its own scroll thumb, always visible (the system one only shows while scrolling on macOS). main.js "Hero panel thumb". */
.mbp-body { scrollbar-width: none; } .mbp-body::-webkit-scrollbar { display: none; }
.mbp-thumb { position: absolute; right: 3px; top: 0; width: 3px; border-radius: 2px; background: #2a2a2a; pointer-events: none; z-index: 3; }
@media (hover: none) { .mbp-thumb { display: none; } }

/* Trial: the blue frame behind the hero window is hidden (it still holds its space, so the window keeps its size and place). Remove this rule to bring it back. */
.hero__stage .hero__frame { visibility: hidden; }

/* Hero: the Premiere window gets the same frosted edge as the panel (4px, behind the window). */
.ppw::before { content: ""; position: absolute; left: -4px; top: 36px; width: 963px; height: 680px; border-radius: 14px; pointer-events: none;
  background: rgb(255 255 255 / .11); border: 1px solid rgb(255 255 255 / .19);
  -webkit-backdrop-filter: blur(11px) saturate(1.3); backdrop-filter: blur(11px) saturate(1.3);
  box-shadow: 0 30px 70px -8px rgb(0 0 0 / .7), inset 0 1px 0 rgb(255 255 255 / .18); }

/* Hero: a lighter drop shadow under the Premiere window (the panel keeps its deeper one). */
.ppw .pp { box-shadow: 0 0 0 1px rgb(255 255 255 / .09); }
.ppw::before { box-shadow: 0 18px 40px -16px rgb(0 0 0 / .38), inset 0 1px 0 rgb(255 255 255 / .18); }

/* Hero timeline: audio clips drawn as Premiere draws them. A solid, jagged waveform along the bottom of the clip and the thin
   volume line above it. */
.ppw .pp-clip--a { background: #34501a; box-shadow: inset 0 0 0 1px #46691f; }
.ppw .pp-wave { height: 36%; bottom: 1px; fill: #a9cf85; }
.ppw .pp-clip--a::after { content: ""; position: absolute; left: 0; right: 0; top: 61%; height: 1px; background: #eef4e6; }

/* Hero panel: the Agent tab dot is green (connected). */
.ppw .mbp-dot { background: #3fbf7f; }

/* Hero panel: no dismiss button on the news strip, so more of the text shows. */
.ppw .mbp-news__x { display: none; }

/* Hero panel: a slightly taller prompt box. The panel and its frosted edge grow by the same 24px so the box still ends inside the panel. */
.ppw .mbp-prompt { height: 128px; }
.ppw .mbp { height: 796px; }
.ppw::after { height: 804px; }

/* Hero panel: a slightly larger capture-frame icon. */
.ppw .mbp-cam { font-size: 18px; color: #7a7a7a; }

/* Hero panel: switches turn green when on. */
.ppw .mbp-sw[aria-checked="true"] { background: #3fbf7f; }

/* Hero panel: the filter chips under Add new models switch between small lists of models; the row scrolls sideways. */
.mbp-chips[data-mbp-filters] { overflow-x: auto; scrollbar-width: none; } .mbp-chips[data-mbp-filters]::-webkit-scrollbar { display: none; }
.mbp-chips[data-mbp-filters] i { cursor: pointer; transition: border-color .15s, color .15s; outline: none; }
.mbp-chips[data-mbp-filters] i:not(.is-on):hover, .mbp-chips[data-mbp-filters] i:focus-visible { border-color: #6a6a6a; color: #c4c4c4; }
.mbp-list[hidden] { display: none; }

/* Hero: a wider Premiere window (about 100px more on screen, to the left). The board grows with it and stays centred, so the
   window's left edge and the panel's right edge keep the same distance to the sides. Board is now 1380 wide (main.js BOARD_W). */
.hero__window.ppw { width: 1380px; }
.ppw .pp { width: 1257px; }
.ppw::before { width: 1064px; }
.ppw .mbp { left: 1016px; }
.ppw::after { left: 1012px; }

/* Hero parallax (trial): main.js "Hero window focus" sets --px-back and --px-front from the scroll position. */
.ppw .pp { transform: translateY(var(--px-back, 0px)) scale(.84); }
.ppw::before { transform: translateY(var(--px-back, 0px)); }
.ppw .mbp, .ppw::after { transform: translateY(var(--px-front, 0px)); }

/* Hero panel: each list is cut partway through a card, so it reads as a longer list (as in the plugin, where the list scrolls). */
.mbp-list { overflow: hidden; max-height: var(--mbp-cut, none); }
.mbp-list--mine { display: block; }

/* Hero: Premiere window a little smaller (scale .84 -> .80). The panel and the board follow, so the side margins stay equal.
   Board is now 1330 wide (main.js BOARD_W). */
.hero__window.ppw { width: 1330px; }
.ppw .pp { transform: translateY(var(--px-back, 0px)) scale(.8); }
.ppw::before { width: 1014px; height: 648px; }
.ppw .mbp { left: 966px; }
.ppw::after { left: 962px; }

/* Hero, dark mode: the frosted edge around the Premiere window reads heavier on a dark page, so it is thinner (4px -> 2px) and fainter. */
:root[data-theme="dark"] .ppw::before { left: -2px; top: 38px; width: 1010px; height: 644px; border-radius: 12px;
  background: rgb(255 255 255 / .07); border-color: rgb(255 255 255 / .12); }

/* Hero, dark mode: the panel's frosted edge a little thinner too (4px -> 3px) and slightly fainter. */
:root[data-theme="dark"] .ppw::after { left: 963px; top: -3px; width: 370px; height: 802px; border-radius: 12px;
  background: rgb(255 255 255 / .09); border-color: rgb(255 255 255 / .15); }

/* Desktop: every H2 one step larger (42 -> 48, FAQ 36 -> 42, costs and closing 56 -> 64). Phone and tablet sizes are unchanged. */
@media (min-width: 1024px) {
  h2 { font-size: 48px; line-height: 56px; }
  .sec-head--center h2, .sec-head--split h2 { max-width: 768px; }
  .ahead .sec-head h2 { max-width: 980px; }
  .models-title-row h2 { max-width: none; }
  .faq__head h2 { font-size: 42px; line-height: 50px; }
  .teams__title, .closing h2 { font-size: 64px; line-height: 72px; }
}
/* The larger FAQ heading needs a wider column to stay on two lines. */
@media (min-width: 1024px) { .faq__head { width: 360px; } }

/* "Show more features": swells 5% under the pointer and settles back when it leaves. */
.more-feat .btn { transition: transform .35s cubic-bezier(.22, 1, .36, 1), background-color .2s, border-color .2s, color .2s; }
@media (hover: hover) { .more-feat .btn:hover { transform: scale(1.035); } }
@media (prefers-reduced-motion: reduce) { .more-feat .btn { transition: none; } .more-feat .btn:hover { transform: none; } }
/* Only the pill swells: the label and the sign are scaled back by the same amount, so the text keeps its size throughout. */
.more-feat .btn > span { display: inline-block; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { .more-feat .btn:hover > span { transform: scale(.96618); } }
@media (prefers-reduced-motion: reduce) { .more-feat .btn > span { transition: none; } .more-feat .btn:hover > span { transform: none; } }
/* No fill under the pointer: the swell is the hover effect. (Keyboard focus keeps its fill, so focus stays visible.) */
:root .more-feat .btn.btn--outline-light:not(.btn--reveal-arrow):not(.btn--quiet):hover:not(:focus-visible) { background: transparent; }
.mbp-sec.is-open .mbp-meta[hidden] { display: none; }

/* Hero panel: the browse lists scroll inside the panel, as in the plugin, and end on a line with how many more there are. */
.mbp-list[data-pane] { overflow-y: auto; overscroll-behavior: auto; scrollbar-width: none; }
.mbp-list[data-pane]::-webkit-scrollbar { display: none; }
.mbp-more { margin: 2px 0 0; padding: 14px 10px 16px; text-align: center; font-size: 11px; line-height: 1.4; color: #8a8a8a; }
.mbp-more[hidden] { display: none; }
.mbp-more b { font-weight: 600; color: #c9c9c9; }
/* Hero panel: Generate button 10% taller, its label and icon 10% larger. */
.ppw .mbp-go { height: 64px; font-size: 15.4px; }
.ppw .mbp-go svg { font-size: 16.5px; }

/* Hero panel: the closing line is a little larger and fades up as it is scrolled into view. */
.mbp-more { font-size: 13px; padding: 16px 10px 18px; opacity: 0; transform: translateY(16px); transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.mbp-more.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mbp-more { opacity: 1; transform: none; transition: none; } }

/* Blog card picture: a WebGL canvas over the CSS picture (which stays as the fallback) for the depth parallax and floating squares. */
.pn__hero { position: relative; overflow: hidden; }
.pn__hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Voice demo: the model card a little taller, with a larger thumbnail. */
.voicefx__pick--model .voicefx__select { padding: .72em .9em .72em .72em; }
.voicefx__model img { width: 3.1em; height: 3.1em; }

/* Hero panel: no ring or glow on the search field, the model card or the panel body when they are clicked. Keyboard focus is
   still shown by the lighter border from the rule above. */
.ppw .mbp-search:focus, .ppw .mbp-model:focus, .ppw .mbp-body:focus, .ppw .mbp-chips i:focus,
.ppw .mbp-search:focus-visible, .ppw .mbp-model:focus-visible, .ppw .mbp-body:focus-visible { outline: none; box-shadow: none; }

/* Hero panel: the installed list scrolls like the browse lists (three more made-up installs below the cut). */
.mbp-list--mine { overflow-y: auto; scrollbar-width: none; padding-bottom: 2px; }
.mbp-list--mine::-webkit-scrollbar { display: none; }

/* Hero panel: the Generate button under the pointer, as in the plugin: 15% darker, white label, and a slight press on click. */
.ppw .mbp-go { cursor: pointer; transition: filter .2s ease, color .2s ease, transform .2s ease; }
@media (hover: hover) { .ppw .mbp-go:hover { filter: brightness(.85); color: #fff; } }
.ppw .mbp-go:active { transform: scale(.98); }

/* B-roll demo: a video above a slice of the panel. A Next Scene model is selected; Capture frame is pressed and the video
   stops; the frame lands as the reference image; a prompt is typed; Generate is pressed; the stopped frame breaks into
   pixels, and the pixels clear to show the new picture. Driven by main.js ("B-roll demo"). */
.framefx { position: relative; overflow: hidden; container-type: inline-size; display: flex; flex-direction: column; background: #171717; isolation: isolate;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: clamp(9px, 3.4cqw, 15px); line-height: 1.35; color: #ededed; }
@media (max-width: 1023.98px) { .bento__card--x .framefx { aspect-ratio: 5 / 8; flex: none; } }
.framefx__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #20262a; }
.framefx__vid, .framefx__px, .framefx__out { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.framefx__vid { object-position: 50% 30%; }
.framefx__out { object-position: 52% 55%; opacity: 0; }
.framefx__px { opacity: 0; image-rendering: pixelated; }
.framefx.is-px .framefx__px, .framefx.is-done .framefx__out { opacity: 1; }
.framefx__panel { flex: none; display: grid; gap: .6em; padding: .9em 1em 1em; background: #171717; border-top: 1px solid rgb(255 255 255 / .1); }
.framefx__label { font-size: .86em; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #f1f1f1; }
.framefx__model { display: flex; align-items: center; gap: .75em; padding: .5em .8em .5em .5em; border: 1px solid rgb(255 255 255 / .14); border-radius: .6em; background: #1e1e1e; }
.framefx__model img { flex: none; width: 3em; height: 3em; border-radius: .45em; object-fit: cover; }
.framefx__model span { flex: 1; min-width: 0; }
.framefx__model b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.framefx__model small { display: block; font-size: .84em; color: rgb(255 255 255 / .5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.framefx__model svg { flex: none; width: 1.3em; height: 1.3em; color: rgb(255 255 255 / .6); }
.framefx__ref { position: relative; height: 7.4em; border: 1px dashed rgb(255 255 255 / .28); border-radius: .7em; background: #1e1e1e; transition: border-color .35s ease, background-color .35s ease; }
.framefx__ref > span { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; transition: opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
.framefx__ref-empty svg { width: 1.7em; height: 1.7em; margin-bottom: .35em; color: rgb(255 255 255 / .55); }
.framefx__ref-empty b { font-weight: 600; }
.framefx__ref-empty small { font-size: .82em; color: rgb(255 255 255 / .45); }
.framefx__ref-full { opacity: 0; transform: scale(.92); padding: .55em; }
.framefx__ref-full img { display: block; height: 6.2em; width: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: .5em; }
.framefx__ref-full i { position: absolute; left: 50%; bottom: .95em; translate: -50% 0; padding: .2em .7em; border-radius: 9999px; background: rgb(38 38 40 / .92); font-style: normal; font-size: .8em; white-space: nowrap; }
.framefx__ref-full u { position: absolute; top: .45em; right: .55em; width: 1.5em; height: 1.5em; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .55); border-radius: 50%; text-decoration: none; font-size: .85em; line-height: 1; color: rgb(255 255 255 / .85); }
.framefx.is-ref .framefx__ref { border: 1px solid #3f8f63; background: #18211c; }
.framefx.is-ref .framefx__ref-empty { opacity: 0; }
.framefx.is-ref .framefx__ref-full { opacity: 1; transform: none; }
.framefx__cam { display: grid; place-items: center; height: 2.5em; border: 1px solid rgb(255 255 255 / .14); border-radius: .5em; background: #1b1b1b; color: #fff; transition: transform .15s ease, background-color .15s ease; }
.framefx__cam svg { width: 1.3em; height: 1.3em; }
.framefx.is-press .framefx__cam { transform: scale(.975); background: #2a2a2a; }
.framefx__field { margin: 0; min-height: 4.1em; padding: .6em .8em; border: 1px solid rgb(255 255 255 / .14); border-radius: .55em; background: #1b1b1b; color: rgb(255 255 255 / .86); }
.framefx__field em { font-style: normal; color: rgb(255 255 255 / .35); }
.framefx.is-typing .framefx__field em { display: none; }
.framefx__field i { display: none; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: #ededed; animation: mbp-caret 1.1s steps(1) infinite; }
.framefx.is-typing .framefx__field i { display: inline-block; }
.framefx__go { display: flex; align-items: center; justify-content: center; gap: .5em; height: 2.9em; border-radius: .4em; background: #4f84ee; color: #fff; font-weight: 500; font-size: 1.05em; transition: transform .15s ease, filter .15s ease; }
.framefx__go svg { width: 1.3em; height: 1.3em; }
.framefx.is-gen .framefx__go { transform: scale(.985); filter: brightness(.85); }
.framefx__ptr { position: absolute; top: 0; left: 0; z-index: 3; width: 7.4cqw; height: 7.4cqw; pointer-events: none; opacity: 0; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45));
  transition: transform .85s cubic-bezier(.45, 0, .2, 1), opacity .3s ease; }
.framefx__ptr.is-on { opacity: 1; }
.framefx__ptr path { transform-origin: 3px 3px; transition: transform .12s ease; }
.framefx__ptr.is-down path { transform: scale(.86); }
/* B-roll demo: a tighter panel, so the video keeps about two fifths of the card. */
.framefx { font-size: clamp(9px, 3.05cqw, 14px); }
.framefx__panel { gap: .5em; padding: .75em .9em .9em; }
.framefx__ref { height: 5.7em; }
.framefx__ref-full img { height: 4.7em; }
.framefx__ref-full i { bottom: .8em; }
.framefx__ref-empty svg { width: 1.4em; height: 1.4em; margin-bottom: .2em; }
.framefx__model img { width: 2.7em; height: 2.7em; }
.framefx__cam { height: 2.3em; }
.framefx__field { min-height: 3.75em; padding: .5em .75em; }
.framefx__go { height: 2.7em; }
/* B-roll demo: the video fills the whole card and the panel is a small floating card in the lower left, so most of the
   picture shows. The panel steps aside while the new picture appears. */
.framefx { display: block; font-size: clamp(6.5px, 2.25cqw, 11px); background: #20262a; }
.framefx__stage { position: absolute; inset: 0; }
.framefx__vid { object-position: 50% 50%; }
.framefx__out { object-position: 52% 50%; }
.framefx__panel { position: absolute; left: 4.5cqw; bottom: 4.5cqw; width: 60cqw; z-index: 2; gap: .55em; padding: .9em; border: 1px solid rgb(255 255 255 / .14); border-radius: 1.1em;
  background: #171717; box-shadow: 0 14px 36px rgb(0 0 0 / .45); transition: opacity .6s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.framefx.is-done .framefx__panel { opacity: 0; transform: translateY(10px); }
.framefx__ref { height: 5.2em; }
.framefx__ref-full img { height: 4.2em; }
.framefx__ptr { width: 6cqw; height: 6cqw; }
/* B-roll demo: the panel's rows stay inside the panel (a long model line no longer widens them past its right edge). */
.framefx__panel { box-sizing: border-box; grid-template-columns: minmax(0, 1fr); }
.framefx__panel > * { min-width: 0; box-sizing: border-box; }
/* B-roll demo: the panel is docked against the card's right and lower edges, like the panels in the other demos. */
.framefx__panel { left: auto; right: 0; bottom: 0; width: 64cqw; padding: 1em 1em 1.1em 1em; border-width: 1px 0 0 1px; border-radius: 1.3em 0 0 0; box-shadow: -10px -10px 36px rgb(0 0 0 / .35); }
.framefx.is-done .framefx__panel { transform: translate(10px, 10px); }
/* B-roll demo: only the reference slot, the capture button, the prompt and Generate, a little larger. */
.framefx__label, .framefx__model { display: none; }
.framefx { font-size: clamp(8px, 2.9cqw, 13.5px); }
.framefx__panel { width: 66cqw; }
/* B-roll demo: while the video plays only the capture button shows, so as much of the video as possible is seen. The
   reference slot, the prompt and Generate unfold when the frame has been captured. */
.framefx__panel { display: flex; flex-direction: column; gap: 0; width: 58cqw; padding: .8em; }
.framefx__ref, .framefx__field, .framefx__go { max-height: 0; opacity: 0; overflow: hidden; margin: 0; border-width: 0; padding-block: 0; min-height: 0;
  transition: max-height .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, margin .55s cubic-bezier(.22, 1, .36, 1), padding .55s cubic-bezier(.22, 1, .36, 1), border-color .35s ease, background-color .35s ease, transform .15s ease, filter .15s ease; }
.framefx.is-ref .framefx__ref { max-height: 5.2em; height: 5.2em; opacity: 1; margin-bottom: .55em; border-width: 1px; }
.framefx.is-ref .framefx__field { max-height: 5.4em; min-height: 5.05em; opacity: 1; margin-top: .55em; border-width: 1px; padding-block: .5em; }
.framefx.is-ref .framefx__go { max-height: 2.7em; opacity: 1; margin-top: .55em; }
.framefx.is-done .framefx__ref, .framefx.is-done .framefx__field, .framefx.is-done .framefx__go { transition: none; }
/* B-roll demo: the panel sits in the middle, a little above the lower edge, as a card with all four corners rounded. */
.framefx__panel { left: 50%; right: auto; bottom: 5cqw; translate: -50% 0; border-width: 1px; border-radius: 1.2em; box-shadow: 0 14px 36px rgb(0 0 0 / .45); }
.framefx.is-done .framefx__panel { transform: translateY(10px); }
/* B-roll demo: the reference slot (empty, dashed) and the capture button show from the start; the prompt and Generate unfold after the capture. */
.framefx .framefx__ref { max-height: 5.2em; height: 5.2em; opacity: 1; margin-bottom: .55em; border-width: 1px; }
/* B-roll demo: the empty reference slot shows only its icon and title. */
.framefx__ref-empty small { display: none; }

/* B-roll demo: a slightly wider panel. */
.framefx__panel { width: 66cqw; }

/* B-roll demo: the pointer travels a little slower. */
.framefx__ptr { transition: transform 1.2s cubic-bezier(.45, 0, .2, 1), opacity .3s ease; }

/* B-roll demo: a plain white timeline along the top with a blue playhead. The pointer drags the playhead to the frame
   that is then captured. It leaves with the panel when the new picture appears. */
.framefx__tl { position: absolute; left: 6cqw; right: 6cqw; top: 6cqw; height: 3.2cqw; z-index: 2; filter: drop-shadow(0 1px 2px rgb(0 0 0 / .4));
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 10%) 0 0 / 100% 45% no-repeat, linear-gradient(rgb(255 255 255 / .9), rgb(255 255 255 / .9)) 0 100% / 100% 1.5px no-repeat;
  transition: opacity .6s ease; }
.framefx.is-done .framefx__tl { opacity: 0; }
.framefx__head { position: absolute; left: 0; top: -1.6cqw; width: 3.6cqw; height: 3.4cqw; margin-left: -1.8cqw; background: #5b9cf5; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); transition: scale .15s ease; }
.framefx__tl::after { content: ""; position: absolute; left: var(--fx-head, 0%); top: 0; width: 1.5px; height: 9cqw; margin-left: -.75px; background: #5b9cf5; }
.framefx.is-scrub .framefx__head { scale: 1.15; }
.framefx__ptr.is-drag { transition: opacity .3s ease; }

/* B-roll demo: slow, smooth pointer moves (the time comes from MOVE_MS in main.js). */
.framefx__ptr { transition: transform var(--fx-move, 1.7s) cubic-bezier(.4, 0, .2, 1), opacity .3s ease; }
.framefx__ptr.is-drag { transition: opacity .3s ease; }
/* B-roll demo: the timeline is ticks only, as in Premiere: short ticks, and a long one at every tenth (and at both ends). */
.framefx__tl { background:
  linear-gradient(rgb(255 255 255 / .9), rgb(255 255 255 / .9)) 100% 0 / 1.5px 100% no-repeat,
  repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 50%) 0 0 / 100% 100% no-repeat,
  repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 5%) 0 100% / 100% 45% no-repeat; }
/* B-roll demo: a slightly smaller timeline with more ticks (30 steps, a long tick at every tenth) and a smaller playhead. */
.framefx__tl { height: 2.6cqw; background:
  linear-gradient(rgb(255 255 255 / .9), rgb(255 255 255 / .9)) 100% 0 / 1.5px 100% no-repeat,
  repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 33.3333%) 0 0 / 100% 100% no-repeat,
  repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 3.33333%) 0 100% / 100% 45% no-repeat; }
.framefx__head { top: -1.3cqw; width: 2.8cqw; height: 2.7cqw; margin-left: -1.4cqw; }
.framefx__tl::after { height: 7.4cqw; }
/* The × in the reference card is drawn, so it sits in the exact centre of its circle. */
.framefx__ref-full u { color: transparent; background:
  linear-gradient(45deg, transparent calc(50% - .6px), rgb(255 255 255 / .9) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) center / 46% 46% no-repeat,
  linear-gradient(-45deg, transparent calc(50% - .6px), rgb(255 255 255 / .9) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) center / 46% 46% no-repeat; }

/* B-roll demo, interactive: the visitor drags the playhead, presses Capture frame and presses Generate; the prompt is typed
   for them. A soft hint shows which control is next (data-hint on the card: head, cam or go). */
.framefx__tl { cursor: grab; touch-action: none; outline: none; -webkit-user-select: none; user-select: none; }
.framefx__tl:active { cursor: grabbing; }
.framefx__tl::before { content: ""; position: absolute; inset: -5cqw -4cqw -8cqw; }
.framefx__tl:focus-visible .framefx__head { outline: 2px solid #fff; outline-offset: 2px; }
.framefx__cam, .framefx__go { font-family: inherit; line-height: inherit; width: 100%; padding-inline: 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
.framefx__cam { font-size: 1em; padding-block: 0; }
.framefx__go { border: 0; }
.framefx__cam:hover { background: #262626; }
.framefx__cam:active { transform: scale(.975); background: #2a2a2a; }
.framefx__cam:focus-visible, .framefx__go:focus-visible, .framefx__ref-full u:focus-visible { outline: 2px solid #5b9cf5; outline-offset: 2px; }
.framefx.is-ref .framefx__cam { cursor: default; }
.framefx.is-ready .framefx__go:hover { filter: brightness(.88); }
.framefx.is-ready .framefx__go:active { transform: scale(.985); }
.framefx.is-ref:not(.is-ready) .framefx__go { opacity: .5; cursor: default; }
.framefx__ref-full u { cursor: pointer; }
.framefx__ref-full canvas { display: block; height: 4.2em; width: auto; aspect-ratio: 16 / 10; border-radius: .5em; }
.framefx.is-px .framefx__panel, .framefx.is-px .framefx__tl, .framefx.is-done .framefx__panel, .framefx.is-done .framefx__tl { pointer-events: none; }
.framefx.is-done .framefx__stage { cursor: pointer; }
@keyframes fx-nudge { 0%, 55%, 100% { translate: 0 0; } 25% { translate: 2.2cqw 0; } }
@keyframes fx-ring { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .45); } 70%, 100% { box-shadow: 0 0 0 .55em rgb(255 255 255 / 0); } }
.framefx[data-hint="head"] .framefx__head { animation: fx-nudge 2.2s ease-in-out infinite; }
.framefx[data-hint="cam"] .framefx__cam, .framefx[data-hint="go"] .framefx__go { animation: fx-ring 1.7s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .framefx[data-hint] .framefx__head, .framefx[data-hint] .framefx__cam, .framefx[data-hint] .framefx__go { animation: none; } }
/* B-roll demo: taller long ticks (the short ones keep their height). */
.framefx__tl { height: 4cqw; background:
  linear-gradient(rgb(255 255 255 / .9), rgb(255 255 255 / .9)) 100% 0 / 1.5px 100% no-repeat,
  repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 33.3333%) 0 0 / 100% 100% no-repeat,
  repeating-linear-gradient(90deg, rgb(255 255 255 / .9) 0 1.5px, transparent 1.5px 3.33333%) 0 100% / 100% 29% no-repeat; }
.framefx__tl::after { height: 8.6cqw; }

/* "Try it below": a small grey pill with a border under the B-roll card's text. It takes the text colour of the card, so
   it follows light and dark mode. */
.bento__try { display: inline-block; margin-top: 1em; padding: .32em .9em; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 9999px;
  font-size: .84em; line-height: 1.4; color: color-mix(in srgb, currentColor 62%, transparent); }

/* "Try it yourself": larger and clearer, so it is seen. Grey fill, border, and an arrow that points down at the demo and bobs gently. */
.bento__try { display: inline-flex; align-items: center; gap: .5em; margin-top: 1.1em; padding: .5em 1.1em; font-size: .95em; font-weight: 500;
  border-color: color-mix(in srgb, currentColor 42%, transparent); background: color-mix(in srgb, currentColor 7%, transparent); color: color-mix(in srgb, currentColor 88%, transparent); }
.bento__try i { font-style: normal; animation: try-bob 1.6s ease-in-out infinite; }
@keyframes try-bob { 0%, 100% { translate: 0 -.08em; } 50% { translate: 0 .16em; } }
@media (prefers-reduced-motion: reduce) { .bento__try i { animation: none; } }

/* "Try it yourself": a small pill in the running text, right after the last sentence. */
.bento__try { display: inline-block; margin: 0 0 0 .3em; padding: .08em .7em; font-size: .86em; line-height: 1.5; vertical-align: .06em; white-space: nowrap; }
/* "Try it yourself": a little smaller, with gently rounded corners instead of a full pill. */
.bento__try { font-size: .78em; padding: .06em .6em; border-radius: .45em; vertical-align: .1em; }
/* B-roll demo: no pulsing ring on the capture button or on Generate. */
.framefx[data-hint="cam"] .framefx__cam, .framefx[data-hint="go"] .framefx__go { animation: none; }

/* B-roll demo: a slightly smaller Generate icon. */
.framefx__go svg { width: 1.1em; height: 1.1em; }
/* B-roll demo, restart: the new picture fades out over the first frame (it still appears at once under the blocks), then
   the panel fades up and the timeline fades in. is-back holds them back; main.js lifts it. The same on first sight. */
.framefx__out { transition: opacity 1s ease; }
.framefx.is-done .framefx__out { transition: none; }
.framefx__panel { transition: opacity .8s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.framefx__tl { transition: opacity .8s ease; }
.framefx.is-back .framefx__panel { opacity: 0; transform: translateY(16px); pointer-events: none; transition: none; }
.framefx.is-back .framefx__tl { opacity: 0; pointer-events: none; transition: none; }

/* B-roll demo: a press that is seen. The button dips and changes shade (is-tap, set by main.js for a moment). */
.framefx__cam, .framefx__go { transition: transform .16s ease, background-color .16s ease, filter .16s ease, border-color .16s ease, max-height .55s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, margin .55s cubic-bezier(.22, 1, .36, 1); }
.framefx__cam.is-tap, .framefx__cam:active { transform: scale(.94); background: #3a3a3a; border-color: rgb(255 255 255 / .4); }
.framefx.is-ready .framefx__go.is-tap, .framefx.is-ready .framefx__go:active, .framefx__go.is-tap { transform: scale(.95); filter: brightness(.72); }
/* On a restart the timeline fades in first; the panel follows half a second later. */
.framefx:not(.is-done) .framefx__panel { transition-delay: .55s; }
/* B-roll demo: a calmer press, between the first version and the too strong one. */
.framefx__cam.is-tap, .framefx__cam:active { transform: scale(.97); background: #2e2e2e; border-color: rgb(255 255 255 / .24); }
.framefx.is-ready .framefx__go.is-tap, .framefx.is-ready .framefx__go:active, .framefx__go.is-tap { transform: scale(.975); filter: brightness(.84); }
/* B-roll demo: the playhead's line nudges together with its handle. */
.framefx[data-hint="head"] .framefx__tl::after { animation: fx-nudge 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .framefx[data-hint] .framefx__tl::after { animation: none; } }
/* B-roll demo: once a frame is captured, the camera icon dims and the button no longer answers to hover. */
.framefx__cam { transition: transform .16s ease, background-color .16s ease, border-color .16s ease, color .4s ease; }
.framefx.is-ref .framefx__cam { color: rgb(255 255 255 / .32); }
.framefx.is-ref .framefx__cam:hover { background: #1b1b1b; }

/* B-roll demo: on Generate the panel only fades out; it does not move down. */
.framefx.is-done .framefx__panel { transform: none; }
/* B-roll demo: on Generate the panel (and the timeline) fade out at once, as the blocks appear, and a little quicker. */
.framefx.is-px .framefx__panel, .framefx.is-px .framefx__tl { opacity: 0; transition: opacity .45s ease; transition-delay: 0s; }
/* B-roll demo: the playhead nudges less often. The move itself takes as long as before; the rest between moves is longer. */
@keyframes fx-nudge-rare { 0%, 30%, 100% { translate: 0 0; } 14% { translate: 2.2cqw 0; } }
.framefx[data-hint="head"] .framefx__head, .framefx[data-hint="head"] .framefx__tl::after { animation: fx-nudge-rare 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .framefx[data-hint] .framefx__head, .framefx[data-hint] .framefx__tl::after { animation: none; } }

/* Link demo ("Paste a link. Start generating."): a slice of the panel on the blurred picture. A link is pasted into the URL
   field (the paste keys flash), and the picture behind the link, the same one that is blurred behind the panel, lands in
   the image input as a green card marked "Pasted URL". Driven by main.js ("Link demo"). */
.linkfx { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: clamp(8px, 1.85cqw, 13.5px); line-height: 1.35; color: #ededed; }
.linkfx__panel { width: 25em; max-width: 86cqw; padding: 1em; border: 1px solid rgb(255 255 255 / .14); border-radius: 1.1em; background: #171717; box-shadow: 0 14px 36px rgb(0 0 0 / .45); }
.linkfx__zone { position: relative; height: 7.4em; border: 1px dashed rgb(255 255 255 / .28); border-radius: .7em; background: #1e1e1e; transition: border-color .4s ease, background-color .4s ease; }
.linkfx__zone > span { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; transition: opacity .4s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
.linkfx__empty svg { width: 1.7em; height: 1.7em; margin-bottom: .3em; color: rgb(255 255 255 / .55); }
.linkfx__empty b { font-weight: 600; }
.linkfx__full { opacity: 0; transform: scale(.92); }
.linkfx__full img { display: block; height: 6.2em; width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5em; }
.linkfx__full i { position: absolute; left: 50%; bottom: .9em; translate: -50% 0; padding: .2em .7em; border-radius: 9999px; background: rgb(38 38 40 / .92); font-style: normal; font-size: .8em; white-space: nowrap; }
.linkfx__full u { position: absolute; top: .5em; right: .6em; width: 1.3em; height: 1.3em; border: 1px solid rgb(255 255 255 / .55); border-radius: 50%; background:
  linear-gradient(45deg, transparent calc(50% - .6px), rgb(255 255 255 / .9) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) center / 46% 46% no-repeat,
  linear-gradient(-45deg, transparent calc(50% - .6px), rgb(255 255 255 / .9) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) center / 46% 46% no-repeat; }
.linkfx.is-full .linkfx__zone { border: 1px solid #3f8f63; background: #18211c; }
.linkfx.is-full .linkfx__empty { opacity: 0; }
.linkfx.is-full .linkfx__full { opacity: 1; transform: none; }
.linkfx__or { display: flex; align-items: center; gap: .8em; margin: .6em 0; font-size: .86em; color: rgb(255 255 255 / .42); }
.linkfx__or::before, .linkfx__or::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / .12); }
.linkfx__field { position: relative; display: flex; align-items: center; height: 2.8em; margin: 0; padding: 0 .85em; border: 1px solid rgb(255 255 255 / .14); border-radius: .55em; background: #1b1b1b; overflow: hidden; transition: border-color .3s ease; }
.linkfx__field em { font-style: normal; color: rgb(255 255 255 / .35); white-space: nowrap; }
.linkfx__url { display: none; padding: .05em .25em; margin-left: -.25em; border-radius: .25em; color: rgb(255 255 255 / .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkfx.is-url .linkfx__field { border-color: rgb(255 255 255 / .3); }
.linkfx.is-url .linkfx__field em { display: none; }
.linkfx.is-url .linkfx__url { display: block; animation: linkfx-flash 1s ease-out both; }
@keyframes linkfx-flash { 0% { background: rgb(79 132 238 / .5); } 100% { background: rgb(79 132 238 / 0); } }
.linkfx__field kbd { position: absolute; right: .6em; top: 50%; translate: 0 -50%; padding: .12em .5em; border: 1px solid rgb(255 255 255 / .28); border-radius: .4em; background: #2a2a2a; font: inherit; font-size: .82em; color: rgb(255 255 255 / .85);
  opacity: 0; transition: opacity .25s ease, scale .15s ease; }
.linkfx.is-keys .linkfx__field kbd { opacity: 1; }
.linkfx.is-press .linkfx__field kbd { scale: .9; }
@media (max-width: 1023.98px) { .linkfx { font-size: clamp(8px, 2.9cqw, 13.5px); } }

/* Log card: the client and project on top, with the period and its total. Styled after the plugin's client picker (a letter
   tile, the client's name, the project under it). The client is invented. */
.clientfx { gap: 7px; }
.clientfx__row { height: 48px; }
.clientfx__row--client { border-color: rgb(255 255 255 / .2); background: rgb(255 255 255 / .09); }
.clientfx__row--client em { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgb(255 255 255 / .22); border-radius: 8px; background: rgb(10 14 24 / .5); font-style: normal; font-weight: 600; font-size: 13px; }
.clientfx__row--client b { line-height: 1.25; font-weight: 600; }
.clientfx__row--client small { display: block; font-size: 11px; font-weight: 400; color: rgb(255 255 255 / .55); }
.clientfx__row:nth-child(5) { --row-delay: .56s; }
/* Log card: the list starts at the top and runs under the text, fading out, so the client row is always whole. */
.clientfx { flex: 1 1 0; min-height: 0; overflow: hidden; align-content: start; margin-top: 24px; margin-bottom: 0;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 44px), transparent); mask-image: linear-gradient(#000 calc(100% - 44px), transparent); }
@media (min-width: 1024px) { .clientfx { margin-top: 26px; } }
/* Log card: slightly lower rows, so three whole rows show and the fourth fades out under them (the list goes on). */
.clientfx { gap: 6px; margin-top: 20px; -webkit-mask-image: linear-gradient(#000 calc(100% - 38px), transparent); mask-image: linear-gradient(#000 calc(100% - 38px), transparent); }
@media (min-width: 1024px) { .clientfx { margin-top: 20px; } }
.clientfx__row { height: 44px; }
.clientfx__row img, .clientfx__row--client em { width: 30px; height: 30px; }

/* Upscale demo ("Generate it. Then finish it."): the input picture and the Topaz result lie on top of each other; a
   divider moves between them and follows the pointer (main.js, "Upscale demo"). Both pictures are from a real run. */
.upfx { position: relative; overflow: hidden; container-type: inline-size; min-height: 0; background: #6d7672; --cut: 50%; cursor: ew-resize; touch-action: pan-y; }
@media (max-width: 1023.98px) { .bento__card--x .upfx { aspect-ratio: 16 / 9; flex: none; } }
.upfx__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.upfx__img--after { clip-path: inset(0 0 0 var(--cut)); }
.upfx__line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .18); }
.upfx__line::after { content: ""; position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; translate: -50% -50%; border-radius: 50%; background: #fff
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.upfx__tag { position: absolute; bottom: 12px; padding: 4px 9px; border-radius: 6px; background: rgb(18 18 20 / .72); color: #fff; font: 500 11.5px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: nowrap; transition: opacity .3s ease; }
.upfx__tag--a { left: 12px; }
.upfx__tag--b { right: 12px; }
.upfx.is-left .upfx__tag--a, .upfx.is-right .upfx__tag--b { opacity: 0; }
@container (max-width: 420px) { .upfx__tag { font-size: 10px; bottom: 8px; } .upfx__tag--a { left: 8px; } .upfx__tag--b { right: 8px; } }

/* The voice card now sits among the six cards (in the help card's place) and the help card behind "View more", first.
   Each keeps its own demo styles; these rules fit them to their new slots. */
.bento-more .bento__card--d { min-height: 0; }
.bento--six .bento__card--x .bento__img { flex: 1; }
@media (min-width: 1024px) { .bento--six .bento__card--x .voicefx { aspect-ratio: auto; } }
/* Voice demo: the clip names (the video clip and the voice clip) a little larger. */
.voicefx__clip em, .voicefx__clip--v em { font-size: .82em; }
.voicefx__clip--b .voicefx__bars { padding-top: .95em; }
/* Help demo behind "View more": the panel a little smaller, with more of the blue around it. */
.bento-more .helpfx__win { left: 11cqw; right: 11cqw; padding: 4.4cqw; font-size: 3.1cqw; }

/* Upscale demo: the new picture (a face in the rain), framed on the face; its dark surround as the fallback colour. */
.upfx { background: #1d2a2c; }
.upfx__img { object-position: 50% 46%; }

/* Upscale demo: the divider is dragged, not followed; no text or picture selection while dragging. */
.upfx { cursor: grab; user-select: none; -webkit-user-select: none; }
.upfx.is-held { cursor: grabbing; }
.upfx__img { pointer-events: none; -webkit-user-drag: none; }
.upfx:focus-visible { outline: 2px solid #5b9cf5; outline-offset: 2px; }
/* B-roll demo: "Add reference images" a little smaller. */
.framefx__ref-empty b { font-size: .88em; }
/* Voice demo, panel view: more air between the top edge and "Your AI models". */
.voicefx__view--panel { padding-top: 6.2cqw; }
/* More-features button: toned down at rest (border and text), full strength on hover or keyboard focus. No size change on hover. */
.more-feat .btn.btn--outline-light { border-color: color-mix(in srgb, var(--ink) 38%, transparent); color: color-mix(in srgb, var(--ink) 66%, transparent); transition: border-color .2s, color .2s, background-color .2s; }
.more-feat .btn.btn--outline-light:hover, .more-feat .btn.btn--outline-light:focus-visible { border-color: var(--ink); color: var(--ink); }
.more-feat .btn.btn--outline-light:hover, .more-feat .btn.btn--outline-light:hover > span { transform: none; }
/* B-roll demo: a hand shows the first move. It comes in from above, takes the playhead, drags it a little to the right
   and back, lets go and leaves upwards, out of the card (no fade: it is gone once it has left). main.js moves it frame by
   frame, the way the pointers in the other demos move, and moves the playhead with it (--fx-nudge) while it holds on. */
.framefx__hand { position: absolute; left: 0; top: 0; z-index: 3; width: 5.8cqw; height: 5.8cqw; overflow: visible; pointer-events: none; visibility: hidden; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45)); }
/* The hand leans a little to the right, turned about its fingertip (so the fingertip stays where main.js puts it). */
.framefx__hand path { transform-origin: 194px 10px; transform: rotate(14deg); transition: transform .14s ease; }
.framefx__hand.is-on { visibility: visible; }
.framefx__hand.is-down path { transform: rotate(14deg) scale(.88); }
.framefx[data-hint="head"] .framefx__head, .framefx[data-hint="head"] .framefx__tl::after { animation: none; translate: var(--fx-nudge, 0px) 0; }
@media (prefers-reduced-motion: reduce) { .framefx__hand { display: none; } }
/* B-roll demo: the timeline is the clip itself, as it lies on a track in Premiere: a violet clip with its file name and
   the fx badge along the top and the first frame as a thumbnail at its left end. The playhead's handle sits above the clip
   and its line runs down through it. */
.framefx__tl { left: 3.5cqw; right: 3.5cqw; top: 6cqw; height: 15.5cqw; background: none; filter: drop-shadow(0 2px 5px rgb(0 0 0 / .35)); }
.framefx__tl::before { inset: -5cqw -4cqw -3cqw; }
.framefx__clip { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5cqw; background: #3a0ea8; pointer-events: none; }
.framefx__clip b { display: flex; justify-content: space-between; gap: 1.5cqw; padding: .7cqw 1.6cqw .45cqw; font-size: 2.5cqw; font-weight: 400; line-height: 1.25; color: #f0ebff; white-space: nowrap; }
.framefx__clip b span { overflow: hidden; text-overflow: ellipsis; }
.framefx__clip b em { font-style: italic; color: rgb(255 255 255 / .28); }
.framefx__thumb { flex: 1; width: 14%; background: #000 url("assets/features/broll-clip-poster.webp") center / contain no-repeat; }
.framefx__head { top: -2.9cqw; }
.framefx__tl::after { top: -.4cqw; height: calc(100% + 1.6cqw); }
/* B-roll demo on a narrow card (a phone): the clip's name, the playhead's handle and the hand keep a least size, so they
   stay readable and easy to see. On wider cards the sizes above apply unchanged. */
.framefx__clip b { font-size: max(2.5cqw, 10.5px); }
.framefx__head { width: max(2.8cqw, 13px); height: max(2.7cqw, 12.5px); margin-left: calc(max(2.8cqw, 13px) / -2); top: calc(-.2cqw - max(2.7cqw, 12.5px)); }
.framefx__hand { width: max(5.8cqw, 27px); height: max(5.8cqw, 27px); }

/* Hero panel: each browse list ends on one more card that shows only its top and fades out, so the list reads as going on.
   That card is not counted as shown: the line under it says how many more there are, this one included. */
.mbp-card--peek { flex: none; box-sizing: border-box; height: 50px; align-items: flex-start; overflow: hidden; margin-bottom: 0; border-color: rgb(255 255 255 / .1); border-bottom: 0; border-radius: 6px 6px 0 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0%, rgb(0 0 0 / .7) 30%, transparent 96%); mask-image: linear-gradient(#000 0%, rgb(0 0 0 / .7) 30%, transparent 96%); }
/* Hero panel: once the closing line is in view, a light passes over it once (main.js takes the class off when the pass has ended). */
.mbp-more.is-shimmer { background: linear-gradient(100deg, #9a9a9a 0%, #9a9a9a 40%, #fff 50%, #9a9a9a 60%, #9a9a9a 100%) 80% 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: mbp-more-shimmer 1.7s cubic-bezier(.3, .1, .4, 1) 1 both; }
/* The number keeps its own brighter shade while the light passes, so it never looks lighter or heavier than before or after. */
.mbp-more.is-shimmer b { color: #c9c9c9; -webkit-text-fill-color: #c9c9c9; }
/* The light starts at the left edge of the line the moment it is in view (no wait before the first pass). */
@keyframes mbp-more-shimmer { from { background-position: 80% 0; } to { background-position: 20% 0; } }
@media (prefers-reduced-motion: reduce) { .mbp-more.is-shimmer { background: none; -webkit-text-fill-color: currentColor; animation: none; } .mbp-more.is-shimmer b { color: #c9c9c9; } }

/* B-roll demo: the playhead has been moved and three seconds have passed without a capture. The camera button's border
   lights up slowly three times (1.5 s each), rests for five seconds, and starts over, until the button is pressed. */
.framefx.is-cam-wait[data-hint="cam"] .framefx__cam { animation: fx-cam-beam 9.5s ease-in-out infinite; }
@keyframes fx-cam-beam {
  0%, 15.8%, 31.6%, 47.4%, 100% { border-color: rgb(255 255 255 / .14); box-shadow: 0 0 0 0 rgb(255 255 255 / 0), 0 0 0 0 rgb(255 255 255 / 0); }
  7.9%, 23.7%, 39.5% { border-color: rgb(255 255 255 / .62); box-shadow: 0 0 0 1px rgb(255 255 255 / .16), 0 0 1em 0 rgb(255 255 255 / .16); }
}
@media (prefers-reduced-motion: reduce) { .framefx.is-cam-wait[data-hint="cam"] .framefx__cam { animation: none; } }

/* Hero panel: the closing line comes up faster, so its light is seen as soon as the list reaches its end. */
.mbp-more { transition-duration: .4s, .5s; }

/* Get started: "No key yet?" and its link stay on one line in every card, the narrower Agent Mode card included. */
.start__ctas:has(.start__nokey) { flex-wrap: nowrap; white-space: nowrap; }
/* B-roll demo: the hand presses the playhead lightly (it shrank to 88% before, which read as a hard click). */
.framefx__hand.is-down path { transform: rotate(14deg) scale(.96); }

/* B-roll demo: when the new frame has rendered, a small card names the last step (the still becomes a clip): a heading
   and a model dropdown showing one image-to-video model. It rises in low in the picture, stays three seconds, and fades
   out with the picture when the demo starts over. */
.framefx__next { position: absolute; left: 50%; bottom: 6cqw; z-index: 2; translate: -50% 0; box-sizing: border-box; width: 86cqw; display: flex; flex-direction: column; gap: .75em;
  padding: .95em; border: 1px solid rgb(255 255 255 / .16); border-radius: 1.2em; background: rgb(23 23 23 / .94); box-shadow: 0 14px 36px rgb(0 0 0 / .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f1f1f1; text-align: left; pointer-events: none;
  opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.framefx.is-next .framefx__next { opacity: 1; transform: none; transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.framefx__next-text { display: flex; flex-direction: column; gap: .15em; padding-inline: .15em; }
.framefx__next-text b { font-size: 1.08em; font-weight: 600; }
.framefx__next-text small { font-size: .92em; color: rgb(255 255 255 / .6); }
.framefx__next-pick { display: flex; align-items: center; gap: .7em; padding: .5em .8em .5em .5em; border: 1px solid rgb(255 255 255 / .14); border-radius: .7em; background: #1e1e1e; }
.framefx__next-pick img { flex: none; width: 2.9em; height: 2.9em; border-radius: .45em; object-fit: cover; background: #2a2a2a; }
.framefx__next-model { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1em; }
.framefx__next-model b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.framefx__next-model small { font-size: .86em; color: rgb(255 255 255 / .5); }
.framefx__next-pick svg { flex: none; width: 1.15em; height: 1.15em; color: rgb(255 255 255 / .6); }
@media (prefers-reduced-motion: reduce) { .framefx__next { transition: none; transform: none; } }

/* Agent chat: a conversation in words gets more air between its bubbles than the stacked model cards do. */
.ahead__picks:has(> .bubble) { gap: 18px; }

/* SKETCH: the Health Monitor card, full width under the three "more features" cards. Text on the left, a placeholder
   where the picture will go on the right. */
.bento__card--health .bento__text p { max-width: 520px; }
.healthfx__eyebrow { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.healthfx__points { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.healthfx__points li { position: relative; padding-left: 22px; }
.healthfx__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 6px; border: solid #4ade80; border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -3px; }
.healthfx { position: relative; height: 440px; margin: 0 20px 20px; border-radius: 8px; overflow: hidden; container-type: inline-size;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: radial-gradient(120% 90% at 85% 0%, var(--navy-1) 0%, var(--navy-2) 45%, var(--navy-3) 100%); }
/* One Premiere window: the timeline on the left, the Agent tab on the right. */
.healthfx__app { position: absolute; inset: 7% 4.5%; display: grid; grid-template-columns: 1.2fr 1fr; border: 1px solid rgb(255 255 255 / .14); border-radius: 12px; overflow: hidden;
  background: #1d1d1d; box-shadow: 0 18px 50px rgb(0 0 0 / .4); font-size: clamp(10px, 1.75cqw, 13.5px); line-height: 1.4; color: #e6e6e6; }
.healthfx__tl { min-width: 0; padding: 1.3em 0 1em 1.1em; display: flex; flex-direction: column; gap: .45em; justify-content: center; }
.healthfx__ruler { display: flex; align-items: center; gap: 1.2em; margin-bottom: .5em; color: #6f8fe6; font-weight: 600; font-variant-numeric: tabular-nums; }
.healthfx__ruler i { flex: 1; height: .7em; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .28) 0 1px, transparent 1px 1.9em); }
.healthfx__track { display: flex; align-items: stretch; gap: .6em; height: 3.2em; }
.healthfx__tk { flex: none; width: 2.5em; display: grid; place-items: center; border-radius: .35em; font-size: .86em; font-weight: 700; color: #fff; background: #3657c8; }
.healthfx__tk--a { background: #b8443a; }
.healthfx__lane { flex: 1; min-width: 0; display: flex; gap: 2px; border-radius: .35em 0 0 .35em; background: #272727; overflow: hidden; }
.healthfx__clip { flex: none; min-width: 0; display: flex; align-items: flex-start; padding: .35em .55em; border-radius: .3em; background: #4b3f86; transition: translate .9s cubic-bezier(.22, 1, .36, 1); }
.healthfx__clip u { text-decoration: none; font-size: .82em; letter-spacing: .04em; color: #e9e6f7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.healthfx__clip--a { width: 25%; } .healthfx__clip--b { width: 31%; } .healthfx__clip--c { width: 24%; }
/* A flash frame: two frames of something else between two clips. Lit when found, gone when fixed (the clips close the gap). */
.healthfx__flash { flex: none; width: 1.1cqw; margin: 0; border-radius: 2px; background: #9aa0a6; opacity: .9; transition: width .9s cubic-bezier(.22, 1, .36, 1), margin .9s cubic-bezier(.22, 1, .36, 1), opacity .5s ease, background-color .6s ease, box-shadow .6s ease; }
.healthfx.is-found .healthfx__flash { background: #f5b942; box-shadow: 0 0 0 1px rgb(245 185 66 / .5), 0 0 1em rgb(245 185 66 / .55); }
.healthfx.is-fixed .healthfx__flash { width: 0; margin-left: -2px; opacity: 0; box-shadow: none; }
.healthfx__audio { flex: none; width: 82%; border-radius: .3em; background: #3d5a2a repeating-linear-gradient(90deg, #b6d98b 0 2px, transparent 2px 7px) center / 100% 46% no-repeat; }
.healthfx__panel { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.1em; border-left: 1px solid #000; background: #171717; }
.healthfx__bar, .healthfx__fold--a, .healthfx__ask { border: 1px solid rgb(255 255 255 / .12); background: #1b1b1b; }
.healthfx__bar { position: relative; overflow: hidden; display: flex; align-items: center; gap: .7em; padding: .8em .9em 1em; border-radius: .8em .8em 0 0; }
.healthfx__bar b { flex: 1; min-width: 0; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a8a8a8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s ease; }
.healthfx.is-swap .healthfx__bar b { opacity: 0; }
/* The pulse: grey with nothing to act on, amber when there are findings to review. */
.healthfx__pulse { flex: none; width: 1.25em; height: 1.25em; color: #7d7d7d; transition: color .7s ease; }
.healthfx.is-found .healthfx__pulse { color: #f5b942; }
.healthfx__chev { flex: none; width: 1.3em; height: 1.3em; color: #cfcfcf; transition: rotate .45s cubic-bezier(.22, 1, .36, 1); }
.healthfx.is-a .healthfx__bar .healthfx__chev { rotate: 180deg; }
/* The marks under the bar: where on the timeline each finding sits. */
.healthfx__marks { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #2b2b2b; }
.healthfx__marks i { position: absolute; top: 0; width: 1.4%; min-width: 4px; height: 100%; border-radius: 1px; background: #8a8a8a; opacity: 0; transition: opacity .6s ease; }
.healthfx__marks i.is-flash { background: #f5b942; }
.healthfx.is-marks .healthfx__marks i { opacity: 1; }
.healthfx.is-fixed .healthfx__marks i.is-flash { opacity: 0; }
.healthfx__bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgb(255 255 255 / .09) 50%, transparent 65%); translate: -100% 0; pointer-events: none; }
.healthfx.is-shimmer .healthfx__bar::after { animation: healthfx-shimmer 1.6s ease-in-out 1; }
@keyframes healthfx-shimmer { from { translate: -100% 0; } to { translate: 100% 0; } }
.healthfx__fold { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s cubic-bezier(.22, 1, .36, 1), opacity .5s ease; }
.healthfx__fold > div { min-height: 0; overflow: hidden; }
.healthfx.is-a .healthfx__fold--a, .healthfx__fold--fix { grid-template-rows: 1fr; opacity: 1; }
.healthfx.is-fixed .healthfx__fold--fix { grid-template-rows: 0fr; opacity: 0; }
.healthfx__fold--a { border-top: 0; }
.healthfx:not(.is-a) .healthfx__fold--a { border-bottom-width: 0; }
.healthfx__fold--a > div { padding: 0 .9em; }
.healthfx__row { display: flex; align-items: center; gap: .6em; padding: .65em 0; border-top: 1px solid rgb(255 255 255 / .07); font-weight: 600; color: #d6d6d6; }
.healthfx__row--first { border-top: 0; }
.healthfx__row span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.healthfx__row .healthfx__chev { width: 1.1em; height: 1.1em; color: #a8a8a8; }
.healthfx__row em { font-style: normal; font-weight: 400; color: #8a8a8a; }
.healthfx__fix { display: block; margin: .5em 0 .9em; padding: .65em 1em; border-radius: .55em; background: #4a7fe8; color: #fff; font-weight: 600; text-align: center; transition: transform .2s ease, background-color .2s ease; }
.healthfx.is-tap .healthfx__fix { transform: scale(.97); background: #3a67c4; }
.healthfx__ask { margin-top: .5em; padding: .85em .9em 1.6em; border-radius: 0 0 .8em .8em; color: #6f6f6f; }
/* Narrow: the timeline on top, the Agent tab under it. */
@container (max-width: 560px) {
  .healthfx__app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; font-size: clamp(10px, 3cqw, 13px); }
  .healthfx__tl { padding: 1em 0 .8em .9em; }
  .healthfx__track:nth-of-type(2), .healthfx__track:nth-of-type(5) { display: none; }
  .healthfx__flash { width: 1.8cqw; }
  .healthfx__panel { border-left: 0; border-top: 1px solid #000; }
}
@media (max-width: 1023.98px) { .healthfx { height: 500px; } }
@media (prefers-reduced-motion: reduce) { .healthfx__fold, .healthfx__chev, .healthfx__pulse, .healthfx__flash, .healthfx__marks i { transition: none; } .healthfx.is-shimmer .healthfx__bar::after { animation: none; } }
@media (min-width: 1024px) {
  .bento-more { grid-template-rows: 318px 512px auto; }
  .bento-more .bento__card--health { grid-column: 1 / -1; grid-row: 3; flex-direction: row; align-items: stretch; min-height: 0; }
  .bento-more .bento__card--health .bento__text { flex: none; width: 36%; box-sizing: border-box; padding: 48px; align-self: center; }
  .bento-more .bento__card--health .healthfx { flex: 1; height: 440px; margin: 20px 20px 20px 0; }
}
@media (prefers-reduced-motion: no-preference) { .bento-more .bento__card--health { animation-delay: .21s; } }

/* Sequence Health card, framing (owner 2026-12-03): one panel in the middle of the blue stage, the bar above the
   message box as in the Agent tab. The timeline beside it is kept in the markup but not shown. */
.healthfx__tl { display: none; }
.healthfx__app { inset: 0; display: grid; grid-template-columns: 1fr; place-items: center; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: clamp(11px, 2.2cqw, 14.5px); }
.healthfx__panel { width: min(84cqw, 430px); box-sizing: border-box; padding: 0; border: 0; background: none; justify-content: center; }
.healthfx__win { filter: drop-shadow(0 18px 40px rgb(0 0 0 / .4)); }
.healthfx__ask { display: flex; flex-direction: column; justify-content: space-between; height: 10.5em; box-sizing: border-box; padding: 1em; }
.healthfx__ask > span { font-size: 1.1em; }
.healthfx__tools { display: flex; align-items: center; gap: .55em; }
.healthfx__tools i { font-style: normal; display: grid; place-items: center; height: 2.4em; padding: 0 .85em; border: 1px solid rgb(255 255 255 / .14); border-radius: .45em; font-weight: 600; color: #a8a8a8; }
.healthfx__tools svg { width: 1.2em; height: 1.2em; }
.healthfx__tools .healthfx__spin { width: 2.4em; padding: 0; box-sizing: border-box; }
.healthfx__spin::before { content: ""; width: 1.05em; height: 1.05em; border: 2px solid #3a3a3a; border-top-color: #4a7fe8; border-radius: 50%; }
.healthfx__tools .healthfx__clipbtn { margin-left: auto; padding: 0 .6em; }
.healthfx__tools .healthfx__send { padding: 0 .65em; border-color: transparent; background: #4a7fe8; color: #fff; }
@container (max-width: 560px) { .healthfx__app { grid-template-rows: 1fr; } .healthfx__panel { border-top: 0; } }
/* The message box stays where it is; only the bar above it grows. */
.healthfx__app { place-items: end center; padding-bottom: clamp(22px, 7cqw, 44px); box-sizing: border-box; }
.healthfx__ask { height: 9.4em; }

/* Sequence Health card: the bar and the message box sit INSIDE the plugin panel, a dark column standing on the bottom
   edge of the blue stage, with the Agent tab's greeting above. The greeting steps aside while the bar is open. */
.healthfx__app { padding-bottom: 0; }
.healthfx__panel { position: relative; width: min(86cqw, 450px); height: 93%; padding: 0 1.15em 1.25em; justify-content: flex-end; background: #151515;
  border: 1px solid rgb(255 255 255 / .13); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 18px 50px rgb(0 0 0 / .45); }
.healthfx__panel::before { content: "After hours."; position: absolute; left: 0; right: 0; top: 2.3em; text-align: center; font-size: 1.15em; color: #f0f0f0; transition: opacity .5s ease; }
.healthfx.is-a .healthfx__panel::before { opacity: 0; }
.healthfx__win { filter: none; }
/* The panel runs the full height of the picture: blue only to its left and right. */
.healthfx__panel { height: 100%; border-top: 0; border-radius: 0; padding-bottom: 1.5em; }
.healthfx__ask { height: 7.4em; }
/* No greeting. The panel ends above the bottom edge with rounded corners, so the blue shows under it. */
.healthfx__panel::before { content: none; }
.healthfx__app { place-items: start center; }
.healthfx__panel { height: calc(100% - clamp(16px, 5cqw, 28px)); border-bottom: 1px solid rgb(255 255 255 / .13); border-radius: 0 0 14px 14px; padding-bottom: 1.15em; }
.healthfx__ask { height: 11.5em; }
.healthfx__ask { height: 10em; }
/* Attach and send are squares, as in the panel; send is the larger one. */
.healthfx__tools { align-items: flex-end; }
.healthfx__tools .healthfx__clipbtn { width: 2.4em; height: 2.4em; padding: 0; }
.healthfx__tools .healthfx__send { width: 3em; height: 3em; padding: 0; border-radius: .5em; }
.healthfx__tools .healthfx__send svg { width: 1.4em; height: 1.4em; }
/* The panel's own hover boxes, with the panel's own texts. */
.healthfx__tools i[data-tip] { position: relative; }
.healthfx__tools i[data-tip]::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + .55em); z-index: 3; padding: .55em .85em; border: 1px solid rgb(255 255 255 / .14); border-radius: .8em;
  background: #161616; color: #f0f0f0; font-weight: 400; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s ease; box-shadow: 0 6px 18px rgb(0 0 0 / .4); }
.healthfx__tools .healthfx__clipbtn::after, .healthfx__tools .healthfx__send::after { left: auto; right: 0; }
.healthfx__tools i[data-tip]:hover::after { opacity: 1; }
/* The pulse icon keeps one colour. */
.healthfx.is-found .healthfx__pulse { color: #7d7d7d; }
/* All type and icons in the illustration one step smaller; hover boxes smaller still. */
.healthfx__app { font-size: clamp(10px, 2cqw, 13px); }
.healthfx__ask { height: 11.2em; }
.healthfx__tools i[data-tip]::after { font-size: .86em; padding: .4em .7em; border-radius: .65em; bottom: calc(100% + .45em); }
/* Right-hand buttons: the hover box hangs from the button's right edge and takes its own width. */
.healthfx__tools i.healthfx__clipbtn[data-tip]::after, .healthfx__tools i.healthfx__send[data-tip]::after { left: auto; right: 0; width: max-content; }
.healthfx__tools i[data-tip]::after { width: max-content; }
/* The header's light sweep: slower, with a wider bright band. It runs three times a loop (main.js). */
.healthfx__bar::after { background: linear-gradient(100deg, transparent 15%, rgb(255 255 255 / .1) 50%, transparent 85%); }
.healthfx.is-shimmer .healthfx__bar::after { animation-duration: 2.6s; }
/* Hovering a mark shows where the finding sits, as in the panel: track and timecode on a chip in the mark's own
   colour, dark text, appearing at once. The chip lies over the bar's title. */
.healthfx__marks { z-index: 2; }
.healthfx__marks i { cursor: pointer; --mark: #9a9a9a; }
.healthfx__marks i.is-flash { --mark: #fbbf24; }
.healthfx__marks i::before { content: ""; position: absolute; left: -5px; right: -5px; top: -6px; bottom: 0; }
.healthfx__marks i::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 5px); left: 50%; translate: -50% 0; padding: 2px 6px; border-radius: 4px; background: var(--mark); border: 1px solid #111;
  color: #111; font-size: .8em; font-style: normal; font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; pointer-events: none; opacity: 0; }
.healthfx.is-marks .healthfx__marks i:hover::after { opacity: 1; }
.healthfx.is-fixed .healthfx__marks i.is-flash { pointer-events: none; }
/* One more step down for all type in the illustration; the boxes keep their size. */
.healthfx__app { font-size: clamp(9.5px, 1.85cqw, 12px); }
.healthfx__ask { height: 12.1em; }
.healthfx__bar { padding: .95em 1em 1.15em; }
.healthfx__row { padding: .75em 0; }
.healthfx__marks i::after { font-size: .84em; }
/* The pointer of the settings demo, in this picture: it opens the bar, presses Fix, closes the bar and leaves (main.js). */
.healthfx__ptr { position: absolute; top: 0; left: 0; z-index: 5; width: clamp(18px, 3.6cqw, 24px); height: clamp(18px, 3.6cqw, 24px); pointer-events: none; opacity: 0; transform: translate(110cqw, 40cqw);
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / .45)); transition: opacity .35s var(--ease); }
.healthfx__ptr.is-on { opacity: 1; }
.healthfx__ptr path { transform-origin: 3px 3px; transition: transform .12s var(--ease); }
.healthfx__ptr.is-down path { transform: scale(.86); }
/* Fix barely gives under the press. */
.healthfx.is-tap .healthfx__fix { transform: scale(.99); }
/* The bar's title (sequence name and "Loading sequence") a little smaller than the rows under it. */
.healthfx__bar b { font-size: .9em; }
/* Health card: a wider text column, so the two-sentence headline stays on two lines. */
@media (min-width: 1024px) {
  .bento-more .bento__card--health .bento__text { width: 43%; padding-right: 28px; }
}
/* Blue squares in the lower part of the background, behind the panel (drawn by main.js). Subtle. */
.healthfx__px { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .62; }
/* The closing invitation in a card's paragraph: lighter than the text before it, same weight. */
.bento__text p .bento__nudge { font-weight: inherit; color: rgb(255 255 255 / .92); }
/* The hand in the B-roll demo is the pointing-hand cursor (white with a dark outline). It is drawn upright, its fingertip
   at the spot main.js aims with, and gives slightly from the fingertip when it presses. */
.framefx__hand path, .framefx__hand.is-down path { transform: none; }
.framefx__hand g { transform-origin: 12.6px 7.6px; transition: transform .14s ease; }
.framefx__hand.is-down g { transform: scale(.94); }
/* The pointing hand, a little smaller. */
.framefx__hand { width: max(4.8cqw, 23px); height: max(4.8cqw, 23px); }
/* While the hand holds the playhead it is the closed-hand cursor; before and after, the pointing hand. The closed hand
   is lifted so its knuckles sit where the fingertip was. */
.framefx__hand g, .framefx__hand.is-down g { transform: none; transition: none; }
.framefx__hand .framefx__hand-grab { display: none; transform: translate(-.6px, -4.4px); }
.framefx__hand.is-down .framefx__hand-point { display: none; }
.framefx__hand.is-down .framefx__hand-grab { display: inline; transform: translate(-.6px, -4.4px); }
/* A click in the health demo that is seen: the pointer dips clearly, and the bar it presses lightens for that moment. */
.healthfx__ptr path { transition: transform .1s var(--ease); }
.healthfx__ptr.is-down path { transform: scale(.74); }
.healthfx__bar { transition: background-color .12s ease; }
.healthfx.is-barpress .healthfx__bar { background-color: rgb(255 255 255 / .07); }
/* Earlier conversation above the health bar, as in the panel: the user's messages as boxes on the right, the agent's as
   plain text on the left. It fills the space above the bar, newest at the bottom, and fades out towards the top. */
.healthfx__chat { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .85em; padding: 0 .15em .95em;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 3.2em); mask-image: linear-gradient(to bottom, transparent 0, #000 3.2em); }
.healthfx__msg { margin: 0; flex: none; max-width: 85%; line-height: 1.5; }
.healthfx__msg--user { align-self: flex-end; padding: .6em .8em; border: 1px solid rgb(255 255 255 / .1); border-radius: .5em; background: #262626; color: #ececec; }
.healthfx__msg--agent { align-self: flex-start; max-width: 100%; color: #a9a9a9; }
/* The panel keeps its fixed height whatever it holds, so the conversation is what gives way when the bar opens. */
.healthfx__app { grid-template-rows: minmax(0, 1fr); }
.healthfx__panel { min-height: 0; max-height: calc(100% - clamp(16px, 5cqw, 28px)); overflow: hidden; }
/* The messages drawn as the panel draws them: a roomy box for the user with their initial in a tile to its right, and
   the agent's answer as lighter text under the time the turn took. */
.healthfx__chat { gap: 1.5em; padding: 0 .15em 1.5em; }
.healthfx__msg { font-size: 1.08em; line-height: 1.5; }
.healthfx__msg--user { position: relative; margin-right: 3.1em; max-width: calc(85% - 3.1em); padding: .95em 1.2em; border-radius: .75em; background: #1c1c1c; border-color: rgb(255 255 255 / .12); color: #ededed; }
.healthfx__me { position: absolute; top: -1px; right: -3.1em; width: 2.35em; height: 2.35em; box-sizing: border-box; display: grid; place-items: center; border-radius: .55em;
  background: #1e2640; border: 1px solid #3a4772; color: #c9d4f5; font-size: 1em; font-weight: 700; line-height: 1; }
.healthfx__msg--agent { color: #d6d6d6; }
.healthfx__msg--agent small { display: block; margin-bottom: .55em; font-size: .86em; color: #7d7d7d; }
/* The conversation is background: held back overall and fading darker the higher up it goes, so the eye stays on the bar. */
.healthfx__chat { -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / .22) 35%, rgb(0 0 0 / .62) 100%); mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / .22) 35%, rgb(0 0 0 / .62) 100%); }
/* The conversation evenly dimmed instead of graded: the same low strength throughout, with only a short fade where it
   meets the top edge. */
.healthfx__chat { opacity: .34; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.6em); mask-image: linear-gradient(to bottom, transparent 0, #000 1.6em); }
/* Dimmed throughout AND darker the higher up: the newest line is held back, the one above it fainter, and the top one
   cannot be read at all. */
.healthfx__chat { opacity: .42; -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 14%, rgb(0 0 0 / .1) 34%, rgb(0 0 0 / .45) 68%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, transparent 14%, rgb(0 0 0 / .1) 34%, rgb(0 0 0 / .45) 68%, #000 100%); }
/* The pointer in the health demo, a little smaller. */
.healthfx__ptr { width: clamp(15px, 3cqw, 20px); height: clamp(15px, 3cqw, 20px); }
/* The pointer's dip on a click, gentler: it gives a little, it does not shrink away. */
.healthfx__ptr.is-down path { transform: scale(.88); }
/* In the open bar, the findings the Fix button does not cover are held back, so the eye lands on the ones it will fix. */
.healthfx__fold--a > div > .healthfx__row { opacity: .45; }
/* Once Fix has been pressed and the fixed findings are gone, the remaining ones return to their normal strength. */
.healthfx__fold--a > div > .healthfx__row { transition: opacity .4s ease; }
.healthfx.is-fixed .healthfx__fold--a > div > .healthfx__row { opacity: 1; }
/* A slice of the Premiere timeline to the left of the panel, so it reads as the panel sitting in the editor: ruler with
   the yellow work bar, two video tracks, one audio track, the playhead and the vertical scroll bar. It runs off the
   left edge. Only where the picture is wide enough; the panel moves a little to the right to give it room. */
.healthfx__ppro { display: none; }
@container (min-width: 520px) {
  .healthfx__panel { margin-left: 52px; }
  .healthfx__ppro { --w: calc((100cqw - min(86cqw, 450px)) / 2 + 26px); display: block; position: absolute; left: 0; top: 0; width: var(--w); height: 58%; box-sizing: border-box;
    padding: 2.6em 1.75em 0 0; background: #151515; border-bottom: 1px solid rgb(255 255 255 / .12); border-radius: 0 0 0 0; overflow: hidden; }
  .healthfx__pruler { height: 1.1em; margin-bottom: .9em; border-bottom: 2px solid #e3d83c;
    background: repeating-linear-gradient(to right, transparent 0, transparent calc(2.2em - 1px), rgb(255 255 255 / .4) calc(2.2em - 1px), rgb(255 255 255 / .4) 2.2em) bottom / 100% .5em no-repeat; }
  .healthfx__pclip { position: relative; height: 22%; margin-bottom: 2px; border-top: 2px solid rgb(255 255 255 / .85); }
  .healthfx__pclip i { position: absolute; top: .35em; right: .5em; font: italic 600 1.05em/1 Georgia, serif; color: rgb(255 255 255 / .55); }
  .healthfx__pclip--v2 { background: #3413bd; }
  .healthfx__pclip--v1 { background: #6c1c7c; margin-bottom: .9em; }
  .healthfx__pclip--a1 { height: 24%; background: #2c4619; border-top-color: rgb(255 255 255 / .7); }
  .healthfx__pclip--a1 svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; fill: #a8cf7a; }
  .healthfx__pscroll { position: absolute; right: .35em; top: 3.2em; bottom: 0; width: 1.05em; background: #3a3a3a; }
  .healthfx__pscroll b { position: absolute; left: 50%; width: 1.05em; height: 1.05em; box-sizing: border-box; margin-left: -.525em; border: .2em solid #d4d4d4; border-radius: 50%; background: #111; }
  .healthfx__pscroll b:nth-child(1) { top: .9em; } .healthfx__pscroll b:nth-child(2) { top: 56%; } .healthfx__pscroll b:nth-child(3) { top: 70%; }
  .healthfx__phead { position: absolute; right: 1.7em; top: 2.2em; bottom: 0; width: 1.5px; background: #5b9bff; }
  .healthfx__phead::before { content: ""; position: absolute; left: -.42em; top: -.2em; width: .95em; height: 1.1em; background: #5b9bff; clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
}
/* The timeline slice sits a little lower. */
@container (min-width: 520px) {
  .healthfx__ppro { height: 68%; padding-top: 5.4em; }
  .healthfx__pscroll { top: 6em; }
  .healthfx__phead { top: 5em; }
}
/* The fx badge as Premiere draws it: a thin, lightly slanted sans-serif, dim on the upper clip and white on the lower. */
@container (min-width: 520px) {
  .healthfx__pclip i { font: italic 300 1.15em/1 -apple-system, "Helvetica Neue", "Segoe UI", sans-serif; letter-spacing: -.02em; }
  .healthfx__pclip--v2 i { color: rgb(190 170 255 / .55); }
  .healthfx__pclip--v1 i { color: rgb(255 255 255 / .9); }
}
/* The waveform fills more of the audio clip, so its small jagged detail shows. */
@container (min-width: 520px) { .healthfx__pclip--a1 svg { height: 82%; fill: #c3e39c; } }
/* The timeline slice is held back under a dark veil, so the eye stays on the health bar. */
@container (min-width: 520px) { .healthfx__ppro::after { content: ""; position: absolute; inset: 0; background: rgb(14 14 14 / .58); pointer-events: none; } }
/* The panel a little narrower beside the timeline slice, which gets the width it gives up. */
@container (min-width: 520px) {
  .healthfx__panel { width: min(74cqw, 390px); }
  .healthfx__ppro { --w: calc((100cqw - min(74cqw, 390px)) / 2 + 26px); }
}
/* The message box is held back a little too, so the health bar is the brightest thing in the panel. */
.healthfx__ask { opacity: .6; }
/* Each sequence has its own timeline: other clip colours, cuts in other places, another waveform. On a change of
   sequence the clips blink out and come back as the new one. */
@container (min-width: 520px) {
  .healthfx__pclip { transition: opacity .22s ease; }
  .healthfx__ppro.is-cut .healthfx__pclip { opacity: 0; }
  .healthfx__pclip::before { content: ""; position: absolute; top: -2px; bottom: 0; width: 2px; background: #151515; display: none; }
  .healthfx__pclip--a1 svg { transform-origin: 50% 100%; }
  .healthfx__ppro[data-seq="0"] .healthfx__pclip--v1::before { display: block; left: 38%; }
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--v2 { background: #1b5aa6; margin-left: 34%; }
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--v1 { background: #3413bd; }
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--v1::before { display: block; left: 22%; box-shadow: 2.6em 0 0 #151515; }
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--a1 svg { transform: scaleX(-1); }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--v2 { background: #8a1c5c; margin-right: 30%; }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--v2 i { display: none; }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--v1 { background: #1f6d6a; }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--v1::before { display: block; left: 61%; }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--a1 svg { transform: scaleY(.62); }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--a1::before { display: block; left: 47%; }
}
/* No cut gaps inside the clips: the sequences differ by clip colour, length and position, and by the waveform. */
@container (min-width: 520px) { .healthfx__ppro .healthfx__pclip::before { display: none !important; box-shadow: none; } }
/* One variant keeps a single cut (the third sequence, lower video track); the others have none. */
@container (min-width: 520px) { .healthfx__ppro[data-seq="2"] .healthfx__pclip.healthfx__pclip--v1::before { display: block !important; left: 61%; box-shadow: none; } }
/* The change of timeline is unhurried: the clips fade out, and the new ones fade in more slowly still. */
@container (min-width: 520px) {
  .healthfx__pclip { transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
  .healthfx__ppro.is-cut .healthfx__pclip { transition-duration: .55s; }
}
/* Calmer colours: the two video tracks are always two neighbouring blues (no purple, pink or green-blue), the audio stays green. */
@container (min-width: 520px) {
  .healthfx__ppro .healthfx__pclip--v2 { background: #3413bd; }
  .healthfx__ppro .healthfx__pclip--v1 { background: #1f4fb5; }
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--v2 { background: #1b6fb0; }
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--v1 { background: #3413bd; }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--v2 { background: #2740b0; }
  .healthfx__ppro[data-seq="2"] .healthfx__pclip--v1 { background: #1b6fb0; }
}
/* Where a clip's start is in view, Premiere marks its top left corner with a small white triangle. */
@container (min-width: 520px) {
  .healthfx__ppro[data-seq="1"] .healthfx__pclip--v2::after { content: ""; position: absolute; left: 0; top: -2px; width: .6em; height: .6em; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
}
/* Without the scroll bar and its rings: less detail beside the panel. The clips and the playhead move out to the edge it left. */
@container (min-width: 520px) {
  .healthfx__pscroll { display: none; }
  .healthfx__ppro { padding-right: .7em; }
  .healthfx__phead { right: .65em; }
}
/* TRIAL: the conversation above the health bar hidden (it still takes its space, so nothing else moves). Remove this rule to bring it back. */
.healthfx__chat { visibility: hidden; }
