/* Page CSS for the Cenna landing.
   1. The page on top of the kit: sections sized by their content (not a screen each), Cenna's tactile
      buttons and glass, the scroll reveals.
   2. Cenna's interface, drawn live from the app's own tokens (src/design-system/tokens, dark theme):
      the frame #0c0c0e, the content card #16161a, cards #1e1e23, controls #2c2c32, hairlines white 9%,
      glass at 74% with a 20px blur; the sidebar's 32px rows, 10px corners and its easing.
   3. The hero's tour, the bento, Cubo AI, pricing and the questions.
   4. Motion: the loops each card plays while it is on screen (landing.js pauses them off screen and
      gives each a pause button), the charts drawing in once, and nothing at all under reduced motion. */

/* ------------------------------------------------------------------ 1. the page */
:root {
  --cubo-a: #818cf8; --cubo-b: #a78bfa; --cubo-c: #f472b6;               /* the mascot's indigo, violet, pink */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);                            /* the app's --motion-ease */
  --ease-side: cubic-bezier(0.2, 0.8, 0, 1);                             /* the app's --sidebar-ease */
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-icon: cubic-bezier(0.2, 0, 0, 1);
  --r-btn: 12px;
  --sec-pad: clamp(72px, 7vw + 24px, 128px);
  --aurora:
    radial-gradient(60% 70% at 18% 0%, rgb(129 140 248 / 0.5), transparent 70%),
    radial-gradient(55% 60% at 88% 100%, rgb(244 114 182 / 0.36), transparent 70%),
    radial-gradient(70% 70% at 62% 48%, rgb(167 139 250 / 0.36), transparent 72%),
    #1c1729;
  interpolate-size: allow-keywords;
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
[id] { scroll-margin-top: 88px; }

/* every section as tall as what it holds (the kit's one-screen-per-section would make this page six
   screens of mostly ground) */
html main > :is(section, .section), html footer.closing { height: auto !important; min-height: 0 !important; }
html main > :is(section, .section):not(.hero) { padding: var(--sec-pad) 0; }
html main > :is(section, .section) > .wrap { height: auto; }
html footer.closing { padding: var(--sec-pad) 0 max(28px, env(safe-area-inset-bottom)); }
html footer.closing > .wrap { grid-template-rows: auto auto; row-gap: clamp(56px, 6vw, 88px); }
.section-head { --head-gap: clamp(32px, 3vw + 12px, 56px); }
.section-head h2 { max-width: 30ch; }
.bento__head { align-items: end; }
.bento__head h2 { max-width: 14ch; }
.bento__head p { max-width: 46ch; color: var(--muted); }

/* the logo mark, inline in the nav, the footer and the h1 */
.cn-mark { display: inline-block; width: 1em; height: 1em; background: url(img/cenna-mark.svg) center / contain no-repeat; vertical-align: -0.12em; }
.nav__logo .cn-mark { width: 22px; height: 22px; margin-right: 10px; }
.hero--centred h1 .cn-mark { width: .82em; height: .82em; margin-right: .12em; vertical-align: -.08em; }

/* the nav is Cenna's glass bar: what scrolls under it shows through, blurred */
header.nav { background: rgb(12 12 14 / 0.72); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); }

/* Cenna's tactile buttons (DESIGN.md, Tactile and glass) */
.btn { transition-property: background-color, border-color, color, transform, box-shadow; transition-duration: 150ms; transition-timing-function: ease-out; }
.btn--primary { box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.7), 0 1px 2px 0 rgb(0 0 0 / 0.5), 0 3px 6px -3px rgb(0 0 0 / 0.55); }
html[data-buttons] .btn--secondary { background: #2c2c32; border-color: rgb(255 255 255 / 0.1); color: var(--ink);
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.5); }
@media (hover: hover) { html[data-buttons] .btn--secondary:hover { background: #36363d; border-color: rgb(255 255 255 / 0.14); } }
.ground-inverse .btn--primary { box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.2), 0 1px 2px 0 rgb(17 17 20 / 0.14), 0 3px 6px -3px rgb(17 17 20 / 0.1); }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion] .btn:not(:disabled):active { transform: scale(0.96); }
}
.pill { background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.09); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }
.pill > span:first-child { background: linear-gradient(90deg, var(--cubo-a), var(--cubo-b), var(--cubo-c)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; }

/* the reveals: headings rise word by word, blocks fade up out of a blur, once, as they come on screen
   (landing.js sets html.rv only when motion is allowed, so without it everything simply stands) */
html.rv [data-reveal] { opacity: 0; translate: 0 18px; filter: blur(6px);
  transition: opacity 700ms var(--ease-out), translate 800ms var(--ease-out), filter 700ms var(--ease-out);
  transition-delay: calc(var(--rv, 0) * 90ms); }
html.rv [data-reveal].is-in { opacity: 1; translate: none; filter: none; }
html.rv .section-head[data-reveal] { opacity: 1; translate: none; filter: none; }
html.rv [data-split] .w { display: inline-block; opacity: 0; translate: 0 0.35em; filter: blur(4px);
  transition: opacity 600ms var(--ease-out), translate 700ms var(--ease-out), filter 600ms var(--ease-out);
  transition-delay: calc(var(--w) * 40ms); }
html.rv .is-in [data-split] .w, html.rv [data-split].is-in .w { opacity: 1; translate: none; filter: none; }

/* ------------------------------------------------------------------ 2. Cenna's interface */
.cn { --cn-frame: #0c0c0e; --cn-card: #16161a; --cn-el: #1e1e23; --cn-ctl: #2c2c32; --cn-field: #111114; --cn-line: rgb(255 255 255 / 0.09);
      --cn-ink: #efeff2; --cn-muted: #a9a9b3; --cn-faint: #8c8c97;
      --item-hover: color-mix(in oklab, #efeff2 7%, transparent);
      --item-active: color-mix(in oklab, #efeff2 11%, transparent);
      --item-active-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.14), inset 0 0 0 1px rgb(255 255 255 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.5);
      --glass: color-mix(in oklab, #1e1e23 74%, transparent);
      font: 400 13px/1.5 "Inter", system-ui, sans-serif; letter-spacing: -0.003em; color: var(--cn-ink); text-align: left;
      background: var(--cn-card); border: 1px solid var(--cn-line); border-radius: 14px; overflow: hidden;
      box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.06), 0 24px 56px -16px rgb(0 0 0 / 0.55), 0 6px 12px -6px rgb(0 0 0 / 0.35);
      -webkit-user-select: none; user-select: none; }
.cn b, .cn strong { font-weight: 500; color: var(--cn-ink); }
/* the app's icons: HugeIcons stroke rounded at 1.75 */
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
svg.i--ai { stroke: url(#g-cubo); }
.cn-meta { font-size: 12px; color: var(--cn-muted); }
.cn-faint { color: var(--cn-faint); }
.cn-glass { background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--cn-line); box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.06), 0 8px 20px -6px rgb(0 0 0 / 0.55), 0 2px 4px -2px rgb(0 0 0 / 0.35); }

/* the page bar and its controls */
.cn-bar { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--cn-line); white-space: nowrap; overflow: hidden; font-size: 14px; }
.cn-bar > b { font-weight: 600; font-size: 14px; }
.cn-bar .sp, .cn-composer .sp, .cn-refs__add .sp, .cn-agent__ask .sp, .cn-tabs .sp, .cn-col > header .sp { flex: 1; }
.cn-bar--sm { height: 46px; font-size: 13px; border-bottom: 0; }
.cn-ctl, .cn-pri { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 10px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.cn-ctl { background: var(--cn-ctl); border: 1px solid rgb(255 255 255 / 0.1); color: var(--cn-ink); box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.5); }
.cn-ctl svg.i, .cn-pri svg.i { width: 15px; height: 15px; }
.cn-pri { padding: 0 12px; background: #efeff2; color: #16161a;
  box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.7), 0 1px 2px 0 rgb(0 0 0 / 0.5), 0 3px 6px -3px rgb(0 0 0 / 0.55); }
.cn-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--cn-field); border: 1px solid var(--cn-line); box-shadow: inset 0 1px 1px 0 rgb(0 0 0 / 0.35); }
.cn-seg > span { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 8px; font-size: 12px; color: var(--cn-muted); }
.cn-seg > span svg.i { width: 14px; height: 14px; }
.cn-seg > span.on { background: var(--cn-ctl); color: var(--cn-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 1px 2px rgb(0 0 0 / 0.5); }
.cn-chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 7px; background: #232328; color: var(--cn-muted); font-size: 12px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cn-chip svg.i { width: 13px; height: 13px; }
.cn-chip--ai { background: #29213d; color: #c4b5fd; }
.cn-chip--hot { background: #29213d; color: #ddd6fe; }
.cn-av { flex: none; width: 22px; height: 22px; border-radius: 50%; object-fit: contain; }
.cn-avatar { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #efeff2; color: #16161a; font: 600 11px/1 "Inter", sans-serif; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12); }
.cn-spin { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid #a78bfa; border-right-color: transparent; }

/* status: the dot in the Status's solid colour (dark theme solids) */
.cn-st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--cn-muted); white-space: nowrap; }
.cn-st::before, .cn-dot { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--st, #82828d); }
[data-st="idea"] { --st: #82828d; } [data-st="writing"] { --st: #60a5fa; } [data-st="recording"] { --st: #fb7185; }
[data-st="editing"] { --st: #fbbf24; } [data-st="scheduled"] { --st: #a78bfa; } [data-st="published"] { --st: #4ade80; }
[data-se="amber"] { --se: #fbbf24; } [data-se="indigo"] { --se: #818cf8; } [data-se="violet"] { --se: #a78bfa; }

/* thumbnails: the generated photographs, with the duration in their corner */
.cn-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #2b2740, #121118); }
.cn-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cn-thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); pointer-events: none; }
.cn-thumb[data-d]::after { content: attr(data-d); position: absolute; z-index: 2; right: 5px; bottom: 5px; padding: 1px 4px; border-radius: 4px; background: rgb(0 0 0 / .78); color: #fff; font: 500 10.5px/1.4 "Inter", sans-serif; font-variant-numeric: tabular-nums; }
.cn-thumb--tall { aspect-ratio: 4 / 5; }

/* ------------------------------------------------------------------ the shell and its sidebar */
.cn-shell { --side-w: 228px; display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); gap: 8px; padding: 8px; background: var(--cn-frame); border-radius: 24px; border: 1px solid rgb(255 255 255 / 0.1);
  transition: grid-template-columns 200ms var(--ease-side); }
.cn-shell[data-side="collapsed"] { --side-w: 56px; }
.cn-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; min-height: 0; padding: 4px 4px 2px; overflow: hidden; font-size: 14px; }
.cn-row { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 7px; border: 0; border-radius: 10px; background: none;
  font: 500 14px/1 "Inter", system-ui, sans-serif; letter-spacing: -0.006em; color: var(--cn-muted); white-space: nowrap; text-align: left;
  transition: background-color 100ms var(--ease-out), color 100ms var(--ease-out), box-shadow 100ms var(--ease-out); }
.cn-row svg.i { width: 18px; height: 18px; }
button.cn-row { cursor: pointer; }
button.cn-row:focus-visible { outline: 2px solid rgb(255 255 255 / 0.7); outline-offset: -2px; }
@media (hover: hover) { button.cn-row:hover { background: var(--item-hover); color: var(--cn-ink); } }
.cn-row[aria-current="page"], .cn-grp.is-current > .cn-row { background: var(--item-active); color: var(--cn-ink); box-shadow: var(--item-active-shadow); }
.cn-row--static { cursor: default; }
/* labels leave into a blur when it narrows, and come back just after it widens */
.cn-lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity 320ms var(--ease-side) 75ms, translate 320ms var(--ease-side) 75ms, filter 320ms var(--ease-side) 75ms; }
[data-side="collapsed"] .cn-lbl { opacity: 0; translate: -6px 0; filter: blur(3px); pointer-events: none; transition-delay: 0ms; transition-duration: 150ms; }

.cn-side__top { position: relative; display: flex; align-items: center; gap: 10px; height: 40px; flex: none; padding-left: 0; }
.cn-side__logo { position: relative; justify-content: center; width: 32px; padding: 0; flex: none; pointer-events: none; }
.cn-side__logo .cn-mark { width: 22px; height: 22px; transition: opacity 150ms var(--ease-out), scale 150ms var(--ease-out), filter 150ms var(--ease-out); }
.cn-side__logo svg.i { position: absolute; opacity: 0; scale: 0.75; filter: blur(2px); transition: opacity 150ms var(--ease-out), scale 150ms var(--ease-out), filter 150ms var(--ease-out); }
[data-side="collapsed"] .cn-side__logo { pointer-events: auto; }
[data-side="collapsed"] .cn-side__logo:is(:hover, :focus-visible) .cn-mark { opacity: 0; scale: 0.75; filter: blur(2px); }
[data-side="collapsed"] .cn-side__logo:is(:hover, :focus-visible) svg.i { opacity: 1; scale: 1; filter: none; }
.cn-side__name { font-weight: 600; font-size: 14px; letter-spacing: -0.01em; color: var(--cn-ink); }
.cn-side__collapse { width: 32px; padding: 0; justify-content: center; margin-left: auto; flex: none; transition: opacity 200ms var(--ease-out), scale 200ms var(--ease-out), background-color 100ms var(--ease-out); }
[data-side="collapsed"] .cn-side__collapse { opacity: 0; scale: 0.75; pointer-events: none; }
.cn-side__search { flex: none; margin-bottom: -4px; border: 1px solid var(--cn-line); background: var(--cn-field); color: #8c8c97; font-weight: 400; padding: 0 6px; box-shadow: inset 0 1px 1px 0 rgb(0 0 0 / 0.3);
  transition: border-color 150ms var(--ease-out), background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.cn-side__search kbd { margin-left: auto; padding: 3px 5px; border-radius: 5px; background: #232328; font: 500 11px/1 "Inter", sans-serif; letter-spacing: 0.04em; color: #8c8c97; }
[data-side="collapsed"] .cn-side__search { border-color: transparent; background: none; box-shadow: none; }
.cn-side__nav { display: flex; flex-direction: column; gap: 2px; flex: none; }
.cn-disc { width: 14px !important; height: 14px !important; margin-left: auto; color: #8c8c97; transition: rotate 400ms var(--ease-side), opacity 150ms var(--ease-out); }
[aria-expanded="true"] > .cn-disc { rotate: 90deg; }
[data-side="collapsed"] .cn-disc { opacity: 0; }
/* a group opens to its pages along a hairline, the rows sliding in one after another */
.cn-grp__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 400ms var(--ease-side); }
[aria-expanded="true"] + .cn-grp__panel { grid-template-rows: 1fr; }
[data-side="collapsed"] .cn-grp__panel { grid-template-rows: 0fr; }
.cn-grp__clip { min-height: 0; overflow: hidden; }
.cn-grp__panel ul { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 0 16px; padding: 0 0 0 6px; border-left: 1px solid var(--cn-line); list-style: none; }
.cn-grp__panel li { opacity: 0; translate: -4px 0; transition: opacity 250ms var(--ease-side), translate 0s linear 250ms; }
[aria-expanded="true"] + .cn-grp__panel li { opacity: 1; translate: none; transition: opacity 400ms var(--ease-side) calc(40ms + var(--row) * 25ms), translate 400ms var(--ease-side) calc(40ms + var(--row) * 25ms); }
.cn-side__rule { flex: none; margin: -4px 7px; border: 0; border-top: 1px solid var(--cn-line); }
.cn-side__videos { display: flex; flex-direction: column; gap: 2px; flex: 1 1 0; min-height: 0; overflow: hidden; margin-top: -6px;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent);
  transition: opacity 150ms var(--ease-out) 75ms, visibility 0s linear 0s; }
[data-side="collapsed"] .cn-side__videos { opacity: 0; visibility: hidden; transition: opacity 150ms var(--ease-out), visibility 0s linear 150ms; }
.cn-side__videos > * { flex: none; }
.cn-side__label { display: flex; align-items: center; gap: 2px; height: 28px; flex: none; padding-left: 7px; font-size: 12px; font-weight: 500; color: #8c8c97; }
.cn-side__label svg { width: 14px; height: 14px; }
.cn-row--video { font-size: 13px; }
.cn-row--video .cn-dot { width: 7px; height: 7px; margin: 0 4px; }
.cn-side__foot { display: grid; gap: 4px; flex: none; }
.cn-cubo-row { position: relative; display: flex; align-items: center; border-radius: 10px; background: color-mix(in oklab, #efeff2 5%, transparent); }
.cn-cubo-row .cn-row { color: var(--cn-ink); }
.cn-usage { flex: none; width: 32px; height: 16px; fill: none; stroke-width: 2; }
.cn-usage circle { stroke: rgb(255 255 255 / 0.14); }
.cn-usage .cn-usage__on { stroke: #a78bfa; stroke-dasharray: 38 100; stroke-linecap: round; rotate: -90deg; transform-origin: center; transform-box: fill-box; }
.cn-chan { display: flex; align-items: center; gap: 4px; }
.cn-chan > .cn-row { flex: 1; min-width: 0; height: 40px; gap: 10px; padding: 0 4px; }
.cn-chan > svg.i { width: 18px; height: 18px; color: var(--cn-muted); margin-right: 7px; }
.cn-chan__name { display: grid; gap: 3px; }
.cn-chan__name b { font-size: 13px; line-height: 1.1; }
.cn-chan__name small { font-size: 11px; font-weight: 400; line-height: 1.1; color: var(--cn-faint); }
[data-side="collapsed"] .cn-chan > svg.i { opacity: 0; }

/* Cubo AI's gradient edge (globals.css ai-gradient-border): a 1px conic ring that turns */
@property --ai-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cn-ai-ring::before { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ai-angle), var(--cubo-a), var(--cubo-b), var(--cubo-c), var(--cubo-a));
  -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

.cn-content { position: relative; min-width: 0; background: var(--cn-card); border: 1px solid var(--cn-line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.35), 0 1px 3px -1px rgb(0 0 0 / 0.35); }
.cn-screen, .cn-screen > div { height: 100%; }
.cn-screen > div { position: relative; }

/* ------------------------------------------------------------------ the Videos board */
.cn-board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; height: calc(100% - 98px); padding: 4px 16px 16px; }
.cn-col { display: grid; align-content: start; gap: 8px; min-height: 0; padding: 0 8px 8px; border-radius: 14px; background: #111114; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.03); }
.cn-col > header { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 2px 0 4px; font-weight: 600; font-size: 13px; }
.cn-col > header .n { color: var(--cn-faint); font-weight: 400; }
.cn-col > header svg.i { width: 14px; height: 14px; color: var(--cn-faint); }
.cn-vcard { display: grid; gap: 7px; padding: 10px 12px; border-radius: 10px; background: var(--cn-el); border: 1px solid var(--cn-line);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.35), 0 1px 3px -1px rgb(0 0 0 / 0.35); }
.cn-vcard > b { font-weight: 500; line-height: 1.4; }
.cn-vmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--cn-muted); }
.cn-vmeta > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cn-vmeta svg.i { width: 13px; height: 13px; }
.cn-vmeta [data-se] i { width: 7px; height: 7px; border-radius: 50%; background: var(--se, #82828d); }
.cn-new { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px; color: var(--cn-faint); }
.cn-new svg.i { width: 14px; height: 14px; }

/* the floating Conversation: glass over the page */
.cn-convo { position: absolute; z-index: 3; top: 112px; right: 24px; width: 372px; border-radius: 18px; display: grid; gap: 10px; padding: 12px 16px 16px; }
.cn-convo > header { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cn-convo > header svg.i { width: 18px; height: 18px; }
.cn-me { justify-self: end; max-width: 86%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: rgb(255 255 255 / 0.08); }
.cn-tool { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cn-muted); }
.cn-bot { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.cn-acts { display: flex; gap: 8px; padding-left: 32px; }

/* the composer: a glass pill */
.cn-composer { position: absolute; z-index: 4; left: 50%; bottom: 18px; translate: -50% 0; width: min(560px, calc(100% - 48px)); height: 46px; border-radius: 24px;
  display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; color: var(--cn-faint); }
.cn-composer svg.i { width: 18px; height: 18px; }
.cn-composer__text { white-space: nowrap; overflow: hidden; }
.cn-composer__tools { display: flex; gap: 12px; padding-left: 4px; }
.cn-composer__tools svg.i { width: 16px; height: 16px; }
.cn-send { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #3a3a41; color: #8c8c97; }
.cn-send svg.i { width: 16px; height: 16px; }
.cn-send--on { background: #efeff2; color: #16161a; box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 1px 2px rgb(0 0 0 / .5); }
.cn-composer--typed { color: var(--cn-ink); border-color: rgb(167 139 250 / 0.5); box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.06), 0 0 0 3px rgb(167 139 250 / 0.18), 0 8px 20px -6px rgb(0 0 0 / 0.55); }
.cn-type { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; }
.cn-caret { display: inline-block; width: 1.5px; height: 1.1em; margin-left: 2px; vertical-align: -0.2em; background: #a78bfa; }

/* the Script editor */
.cn-doc { display: grid; gap: 12px; max-width: 900px; padding: 32px 300px 160px 56px; }
.cn-doc .cn-title { font: 600 26px/1.25 "Inter", sans-serif; letter-spacing: -0.02em; margin-bottom: 4px; }
.cn-doc .cn-h { font: 600 18px/1.35 "Inter", sans-serif; letter-spacing: -0.01em; margin-top: 8px; }
.cn-doc p:not(.cn-h, .cn-title) { font-size: 15px; line-height: 1.7; color: #d8d8de; }
.cn-doc mark, .cn-hl { background: rgb(250 204 21 / 0.2); color: inherit; border-bottom: 2px solid rgb(250 204 21 / 0.65); padding: 0 1px; }
.cn-thread { position: absolute; z-index: 2; right: 20px; top: 118px; width: 256px; padding: 12px; border-radius: 14px; display: grid; gap: 8px; }
.cn-thread header { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cn-muted); }
.cn-thread footer { display: flex; gap: 6px; }
.cn-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; gap: 14px; height: 36px; align-items: center; padding: 0 20px; font-size: 12px; color: var(--cn-muted); border-top: 1px solid var(--cn-line); background: var(--cn-card); font-variant-numeric: tabular-nums; }
.cn-tour .cn-composer--typed { bottom: 52px; }

/* ------------------------------------------------------------------ the Teleprompter (its own window, as in the app) */
.cn-stage { background: var(--cn-frame); border: 0; box-shadow: none; border-radius: 16px; }
.cn-pr { --line: 34%; --fs: 34px; --sign: 13px; --gap: 22px; --roll: 28s; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); height: 100%; }
.cn-pr__rail { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 6px 0 10px; color: var(--cn-muted); }
.cn-pr__rail svg.i { width: 18px; height: 18px; }
.cn-pr__frame { position: relative; min-width: 0; overflow: hidden; border-radius: 16px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.cn-pr__view { position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent 94%); mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent 94%); }
.cn-pr__roll { position: absolute; left: 0; right: 0; top: var(--line); }
.cn-pr__part { display: grid; gap: var(--gap); padding: 0 13% calc(var(--gap) * 2); font: 500 var(--fs)/1.42 "Inter", sans-serif; letter-spacing: -0.012em; color: #f4f4f5; }
.cn-pr__part p { margin: 0; }
.cn-pr__part b { font-weight: 700; color: #fff; }
.cn-pr__part .sign { margin: calc(var(--gap) * 0.6) 0 calc(var(--gap) * -0.55); font-size: var(--sign); font-weight: 500; line-height: 1.4; letter-spacing: 0.06em; text-transform: uppercase; color: #8b8b93; }
.cn-pr__part .sign:first-child { margin-top: 0; }
/* the reading markers either side, level with the reading line */
.cn-pr__mark { position: absolute; z-index: 2; top: calc(var(--line) + var(--fs) * 0.71 - 8px); width: 14px; height: 16px; fill: #d4d4d8; }
.cn-pr__mark--l { left: 4%; }
.cn-pr__mark--r { right: 4%; scale: -1 1; }
.cn-pr__bar { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 50px; padding: 0 14px; border-radius: 14px; color: var(--cn-muted); }
.cn-pr__bar svg.i { width: 18px; height: 18px; }
.cn-pr__grp { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cn-pr__grp:first-child, .cn-pr__end { flex: 1 1 0; }
.cn-pr__end { justify-content: flex-end; }
.cn-pr__aa { font: 500 12px/1 "Inter", sans-serif; letter-spacing: 0.02em; color: var(--cn-ink); }
.cn-pr__play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #efeff2; color: #16161a; box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 1px 2px rgb(0 0 0 / .5); }
.cn-pr__play svg.i { width: 16px; height: 16px; fill: currentColor; }
.cn-pr__chap, .cn-pr__speed { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.cn-pr__chap b { font-weight: 500; }
.cn-pr__chap .cn-meta { font-variant-numeric: tabular-nums; }
.cn-slider { position: relative; display: block; width: 64px; height: 3px; border-radius: 3px; background: rgb(255 255 255 / 0.16); }
.cn-slider i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: inherit; background: #efeff2; }
.cn-slider i::after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #efeff2; box-shadow: 0 1px 3px rgb(0 0 0 / 0.5); }
.cn-tour .cn-pr__frame { margin: 0 0 0 0; }

/* the hero's tour shows the Teleprompter on its own, without the app's sidebar */
.cn-tour[data-screen="prompter"] { grid-template-columns: 0 minmax(0, 1fr); gap: 0; }
.cn-tour[data-screen="prompter"] > .cn-side { visibility: hidden; opacity: 0; }

/* ------------------------------------------------------------------ the Calendar's month */
.cn-month { display: grid; grid-template-columns: minmax(0, 1fr) 232px; gap: 12px; height: calc(100% - 98px); padding: 0 16px 16px; }
.cn-month__name { font-weight: 500; }
.cn-month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-template-rows: auto repeat(5, minmax(0, 1fr)); border: 1px solid var(--cn-line); border-radius: 12px; overflow: hidden; }
.cn-month__grid > span { position: relative; display: grid; align-content: start; gap: 4px; min-width: 0; padding: 6px; border-right: 1px solid var(--cn-line); border-bottom: 1px solid var(--cn-line); font-size: 12px; color: var(--cn-muted); font-variant-numeric: tabular-nums; }
.cn-month__grid > span:nth-child(7n) { border-right: 0; }
.cn-month__grid > span:nth-last-child(-n+7) { border-bottom: 0; }
.cn-month__grid > .dow { padding: 7px 6px; color: var(--cn-faint); }
.cn-month__grid > .off { color: #55555d; }
.cn-month__grid > .we, .cn-cal__grid > .we { background: #121215; }
.cn-month__grid > .today > i:first-child, .cn-cal__grid > .today > i:first-child { justify-self: start; display: grid; place-items: center; width: 22px; height: 22px; margin: -3px 0 -1px -3px; border-radius: 50%; background: #a78bfa; color: #16161a; font-style: normal; font-weight: 600; }
/* an event: the Video on its day, its Status as a bar down its left edge */
.cn-ev { position: relative; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 3px 6px 3px 10px; border-radius: 6px; font-style: normal; font-size: 11px; line-height: 1.35; color: var(--cn-ink);
  background: var(--cn-el); border: 1px solid var(--cn-line); }
.cn-ev::before { content: ""; position: absolute; left: 3px; top: 3px; bottom: 3px; width: 2px; border-radius: 2px; background: var(--st, #82828d); }
.cn-ev--slot { display: flex; align-items: center; gap: 5px; white-space: nowrap; background: none; border: 1px dashed rgb(167 139 250 / 0.55); color: var(--cn-muted); padding-left: 6px; }
.cn-ev--slot::before { display: none; }
.cn-ev--slot svg.i { width: 12px; height: 12px; }
.cn-tray { display: grid; align-content: start; gap: 8px; padding: 12px; border-radius: 12px; background: #111114; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.03); }
.cn-tray__head { display: flex; align-items: center; gap: 8px; height: 22px; }
.cn-tray__head b { font-weight: 600; }
/* on show, the tray's Idea drops onto the Series' open Tuesday */
.cn-ev--drop { position: absolute; left: 6px; right: 6px; top: 28px; opacity: 0; }

/* ------------------------------------------------------------------ References */
.cn-refs { display: grid; grid-template-columns: 176px minmax(0, 1fr); height: calc(100% - 53px); }
.cn-refs__boards { display: flex; flex-direction: column; gap: 2px; padding: 10px 8px; border-right: 1px solid var(--cn-line); }
.cn-refs__boards span { display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 8px; border-radius: 10px; font-weight: 500; color: var(--cn-muted); }
.cn-refs__boards span.on { background: var(--item-active); color: var(--cn-ink); box-shadow: var(--item-active-shadow); }
.cn-refs__boards em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 400; color: var(--cn-faint); font-variant-numeric: tabular-nums; }
.cn-refs__main { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 14px 18px 0; overflow: hidden; }
.cn-refs__add { display: flex; align-items: center; gap: 10px; width: min(460px, 100%); height: 38px; margin: 0 auto; padding: 0 6px 0 14px; border-radius: 12px; border: 1px solid var(--cn-line); background: var(--cn-field); color: var(--cn-faint); box-shadow: inset 0 1px 1px 0 rgb(0 0 0 / 0.3); }
.cn-plus { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #3a3a41; color: var(--cn-muted); }
.cn-plus svg.i { width: 14px; height: 14px; }
.cn-refs__grid { columns: 3 190px; column-gap: 12px; }
.cn-ref-card { break-inside: avoid; display: grid; gap: 6px; margin-bottom: 12px; padding: 6px 6px 12px; border-radius: 14px; background: var(--cn-el); border: 1px solid var(--cn-line); box-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.cn-ref-card > :not(.cn-thumb) { padding: 0 6px; }
.cn-ref-card > b { font-weight: 500; line-height: 1.4; }
.cn-ref-card .cn-thumb { border-radius: 9px; }
.cn-ref-card--note { padding: 12px 6px 14px; background: #24202f; }
.cn-src { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--cn-faint); }
.cn-src svg.i { width: 13px; height: 13px; }
.cn-src:has(use[href="#i-youtube"]) svg.i { color: #f87171; }
.cn-play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(0 0 0 / 0.5); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.cn-play svg.i { width: 14px; height: 14px; fill: currentColor; translate: 1px 0; }
.cn-ref-sum { display: flex; gap: 8px; align-items: flex-start; margin: 2px 6px 0; padding: 8px 10px !important; border-radius: 10px; background: #29213d; color: #ddd6fe; font-size: 12px; line-height: 1.45; }
.cn-ref-sum svg.i { width: 15px; height: 15px; margin-top: 1px; }

/* ------------------------------------------------------------------ 3. the hero's tour */
main > .hero.hero--tour { height: auto !important; padding-bottom: clamp(56px, 6vw, 104px); }
.hero--tour > .wrap > .hero-text { display: flex; flex-direction: column; height: auto; }
.hero--centred .hero__lead { color: color-mix(in oklab, var(--ink) 82%, var(--bg)); }
.tour__bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin: var(--s-7) auto 0; max-width: 100%; }
.tour__picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; min-width: 0; padding: 4px; border-radius: 14px;
  background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.09); box-shadow: inset 0 1px 1px 0 rgb(0 0 0 / 0.35); }
.tour__tab { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; overflow: hidden;
  font: 500 14px/1 var(--font-text); color: var(--muted); transition-property: background-color, color, border-color, box-shadow, transform; transition-duration: 150ms; transition-timing-function: ease-out; }
.tour__tab svg.i { width: 18px; height: 18px; }
.tour__tab[aria-selected="true"] { background: #2c2c32; color: var(--ink); border-color: rgb(255 255 255 / 0.1); box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.08), 0 1px 2px 0 rgb(0 0 0 / 0.5); }
@media (hover: hover) { .tour__tab:hover { color: var(--ink); } }
.tour__tab:focus-visible, .tour__pause:focus-visible { outline: 2px solid rgb(255 255 255 / 0.8); outline-offset: 2px; }
/* the time left on the screen showing, along the foot of its tab */
.tour__prog { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cubo-a), var(--cubo-b), var(--cubo-c)); transform-origin: 0 50%; scale: 0 1; opacity: 0; pointer-events: none; }
.tour__picker[data-auto] .tour__tab[aria-selected="true"] .tour__prog { opacity: 1; animation: tour-prog var(--dur, 7000ms) linear forwards; }
.tour__picker[data-hold] .tour__prog { animation-play-state: paused !important; }
@keyframes tour-prog { to { scale: 1 1; } }
.tour__pause { position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; border: 1px solid rgb(255 255 255 / 0.09); background: rgb(255 255 255 / 0.04); color: var(--muted); cursor: pointer;
  transition: color 150ms ease-out, background-color 150ms ease-out, transform 150ms ease-out; }
@media (hover: hover) { .tour__pause:hover { color: var(--ink); background: rgb(255 255 255 / 0.08); } }
.tour__pause svg.i { position: absolute; width: 18px; height: 18px; transition: opacity 200ms var(--ease-icon), scale 200ms var(--ease-icon), filter 200ms var(--ease-icon); }
.tour__pause svg.i--b, .tour__pause[aria-pressed="true"] svg.i--a { opacity: 0; scale: 0.25; filter: blur(4px); }
.tour__pause[aria-pressed="true"] svg.i--b { opacity: 1; scale: 1; filter: none; }
.tour__pause svg.i--b { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) { .tour__tab:active, .tour__pause:active { transform: scale(0.96); } }

.hero--centred .hero__window { background: #0e0c14; }
.hero--tour .hero__window { flex: none; height: clamp(560px, 76svh, 800px); min-height: 0; margin-top: var(--s-5); -webkit-mask-image: none; mask-image: none; }
.hero__window > .hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 96%; filter: hue-rotate(28deg) saturate(0.85) brightness(0.9); }
.hero__window::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 50% 0%, rgb(167 139 250 / 0.32), transparent 70%), radial-gradient(30% 50% at 85% 30%, rgb(244 114 182 / 0.18), transparent 70%); }
.hero--tour .hero__window > .ly-piece { position: absolute; z-index: 1; top: 40px; bottom: 40px; left: 0; right: 0; margin-inline: auto; width: min(1200px, calc(100% - 80px)); height: auto; transform: none; }
.cn-tour { grid-template-rows: minmax(0, 1fr); }
.cn-tour > .tour__screen { min-height: 0; }
.cn-tour > .cn-side { transition: opacity 200ms var(--ease-out), visibility 0s linear 0s; }

/* ------------------------------------------------------------------ the bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento__card { position: relative; isolation: isolate; grid-column: span 4; display: flex; flex-direction: column; min-width: 0; min-height: 360px; overflow: hidden;
  border-radius: 24px; background: linear-gradient(180deg, #17161c, #121215); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 0 rgb(255 255 255 / 0.06), 0 20px 40px -24px rgb(0 0 0 / 0.6); }
.bento__card::before { content: ""; position: absolute; z-index: -1; inset: auto -20% -40% -20%; height: 75%; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgb(167 139 250 / 0.16), transparent 70%); }
.bento__text { display: grid; gap: 6px; align-content: start; padding: 24px 26px 0; }
.bento__text h3 { display: flex; align-items: center; gap: 10px; font: 500 18px/1.3 var(--font-text); letter-spacing: -0.012em; color: var(--ink); }
.bento__text h3 svg.i { width: 18px; height: 18px; color: #c4b5fd; }
.bento__text p { max-width: 46ch; color: var(--muted); font-size: 15px; line-height: 1.5; }
.bento__vis { position: relative; flex: 1 1 auto; min-height: 220px; margin-top: 22px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.bento__vis > .cn { position: absolute; left: 26px; top: 0; }
.b-cal { grid-column: span 8; min-height: 440px; }
.b-prompter { grid-column: span 4; min-height: 440px; }
.b-agent { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 400px; }
.b-agent .bento__text { align-content: center; gap: 12px; padding: 40px 40px 40px 44px; }
.b-agent .bento__text h3 { font-size: clamp(24px, 1.4vw + 10px, 32px); line-height: 1.15; letter-spacing: -0.025em; font-family: var(--font-display); font-weight: 400; }
.b-agent .bento__text p { font-size: 16px; }
.bento__kicker { display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 26px; padding: 0 10px; border-radius: 99px; background: rgb(167 139 250 / 0.12); color: #c4b5fd; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px rgb(167 139 250 / 0.25); }
.bento__kicker svg.i { width: 14px; height: 14px; }
.bento__list { display: grid; gap: 8px; margin-top: 6px; padding: 0; list-style: none; color: var(--ink); font-size: 15px; }
.bento__list li { display: flex; align-items: center; gap: 10px; }
.bento__list svg.i { width: 16px; height: 16px; color: #a78bfa; }
.b-agent .bento__vis { margin: 0; min-height: 0; -webkit-mask-image: none; mask-image: none; background: var(--aurora); border-left: 1px solid rgb(255 255 255 / 0.06); }
.b-agent .bento__vis > .cn { left: 40px; right: -1px; top: 40px; bottom: -1px; width: auto; border-bottom-right-radius: 0; }

/* the loops' pause button, in each card's corner (landing.js adds it) */
.loop-btn { position: absolute; z-index: 5; right: 14px; bottom: 14px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(30 30 35 / 0.72); color: #efeff2; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 4px 10px -4px rgb(0 0 0 / 0.6);
  opacity: 0; transition: opacity 150ms ease-out, transform 150ms ease-out; }
.loop-btn::before { content: ""; position: absolute; inset: -6px; }
.loop-btn svg.i { position: absolute; width: 14px; height: 14px; transition: opacity 200ms var(--ease-icon), scale 200ms var(--ease-icon), filter 200ms var(--ease-icon); }
.loop-btn svg.i--b, .loop-btn[aria-pressed="true"] svg.i--a { opacity: 0; scale: 0.25; filter: blur(4px); }
.loop-btn[aria-pressed="true"] svg.i--b { opacity: 1; scale: 1; filter: none; fill: currentColor; }
.bento__card:is(:hover, :focus-within) .loop-btn, .loop-btn[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .loop-btn { opacity: 1; } }
.loop-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .loop-btn:active { transform: scale(0.96); } }
.b-agent .loop-btn { top: 4px; left: 4px; right: auto; bottom: auto; }
.bento__vis:has(.loop-btn) { -webkit-mask-image: none; mask-image: none; }
.bento__vis:has(.loop-btn) > .cn { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.b-agent .bento__vis > .cn, .b-prompter .bento__vis > .cn { -webkit-mask-image: none !important; mask-image: none !important; }

/* the calendar card: seven 86px days */
.cn-cal { width: 702px; }
.cn-cal .cn-bar { padding: 0 14px; border-bottom: 1px solid var(--cn-line); }
.cn-cal__grid { display: grid; grid-template-columns: repeat(7, 100px); }
.cn-cal__grid > span { position: relative; min-height: 78px; padding: 6px; border-right: 1px solid var(--cn-line); border-bottom: 1px solid var(--cn-line); font-size: 12px; color: var(--cn-faint); display: grid; align-content: start; gap: 4px; font-variant-numeric: tabular-nums; }
.cn-cal__grid > span:nth-child(7n) { border-right: 0; }
.cn-cal__grid > .dow { min-height: 0; padding: 8px 6px; color: var(--cn-muted); }
.cn-cal .cn-ev { -webkit-line-clamp: 1; white-space: nowrap; text-overflow: ellipsis; }
.cn-drag { z-index: 3; display: block; overflow: visible; }
.cn-drag > span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cn-drag::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; }
.cn-cal__drop::after { content: ""; position: absolute; inset: 3px; border-radius: 8px; border: 1px dashed rgb(167 139 250 / 0.7); background: rgb(167 139 250 / 0.08); opacity: 0; }
.cn-cursor { position: absolute; z-index: 4; right: -4px; bottom: -14px; width: 18px; height: 18px; fill: #fff; stroke: #0c0c0e; stroke-width: 1.2; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.5)); opacity: 0; pointer-events: none; }

/* the Teleprompter card: a tall black frame, smaller type */
.b-prompter .bento__vis > .cn { left: 26px; right: 26px; top: 0; bottom: 26px; width: auto; border-radius: 18px; background: #000; padding: 0; }
.cn-pr--mini { --line: 30%; --fs: 21px; --sign: 11px; --gap: 14px; --roll: 16s; display: block; }
.cn-pr--mini .cn-pr__frame { position: absolute; inset: 0; border-radius: inherit; }
.cn-pr--mini .cn-pr__part { padding-inline: 16%; }
.cn-pr--mini .cn-pr__mark { width: 11px; height: 13px; top: calc(var(--line) + var(--fs) * 0.71 - 6.5px); }
.cn-pr--mini .cn-pr__bar { left: 50%; right: auto; translate: -50% 0; height: 44px; gap: 18px; padding: 0 10px 0 12px; border-radius: 14px; }
.cn-pr--mini .cn-pr__grp { flex: none; gap: 12px; }
.cn-pr--mini .cn-pr__play { width: 30px; height: 30px; }

/* the Series card */
.cn-series { width: auto; right: -1px; border-right: 0; border-radius: 14px 0 0 14px; }
.cn-series__head { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--cn-line); }
.cn-series__head .cn-meta { display: flex; align-items: center; gap: 5px; }
.cn-series__head .cn-meta svg.i { width: 12px; height: 12px; }
.cn-series__emoji { width: 30px; height: 30px; border-radius: 9px; background: #29213d; display: grid; place-items: center; font-size: 15px; }
.cn-slot { position: relative; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border-bottom: 1px solid var(--cn-line); }
.cn-slot time { width: 80px; flex: none; font-size: 12px; color: var(--cn-muted); font-variant-numeric: tabular-nums; }
.cn-slot b { flex: 1; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cn-slot__open, .cn-slot__fill { position: absolute; inset: 7px 14px 7px 106px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 9px; }
.cn-slot__open { border: 1px dashed rgb(167 139 250 / 0.6); color: var(--cn-muted); }
.cn-slot__open svg.i { width: 14px; height: 14px; }
.cn-slot__fill { background: var(--cn-el); border: 1px solid var(--cn-line); box-shadow: 0 6px 16px -6px rgb(0 0 0 / 0.6); opacity: 0; }
.cn-slot__fill b { flex: 1; font-weight: 500; }

/* the Tasks card */
.cn-tasks { width: 380px; padding: 6px 0; }
.cn-task { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 14px; }
.cn-check { position: relative; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid rgb(255 255 255 / 0.28); }
.cn-check::after { content: ""; position: absolute; inset: -1.5px; border-radius: 5px; background: #a78bfa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2316161a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; scale: 0.4; opacity: 0; }
.cn-task.done .cn-check { border-color: #a78bfa; }
.cn-task.done .cn-check::after { scale: 1; opacity: 1; }
.cn-task b { font-weight: 400; justify-self: start; background: linear-gradient(currentColor, currentColor) 0 55% / 0 1px no-repeat; }
.cn-task.done b { color: var(--cn-faint); background-size: 100% 1px; }
.cn-task .warn { display: inline-flex; align-items: center; gap: 4px; color: #fbbf24; font-size: 12px; font-variant-numeric: tabular-nums; }
.cn-task .warn svg.i { width: 13px; height: 13px; }
.cn-task--sub { padding-left: 42px; }

/* the Competitors card */
.cn-comp { width: auto; right: -1px; border-right: 0; border-radius: 14px 0 0 14px; }
.cn-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--cn-line); }
.cn-comp__row { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--cn-line); }
.cn-comp__row .cn-thumb { border-radius: 6px; }
.cn-comp__row div { display: grid; gap: 2px; min-width: 0; }
.cn-comp__row div b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* the Analytics card */
.cn-views { width: 380px; }
.cn-pad { padding: 14px 16px 6px; display: grid; gap: 4px; }
.cn-big { display: flex; align-items: baseline; gap: 10px; font: 600 28px/1.15 "Inter", sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cn-up { display: inline-flex; align-items: center; gap: 2px; color: #4ade80; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.cn-up svg.i { width: 13px; height: 13px; }
.cn-line { display: block; width: 100%; height: 112px; overflow: visible; }
.cn-line__grid { stroke: rgb(255 255 255 / 0.06); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.cn-line__area { fill: url(#g-area); }
.cn-line__path { fill: none; stroke: #a78bfa; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.cn-line__dot { fill: #a78bfa; stroke: #16161a; stroke-width: 2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.cn-entry { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--cn-line); font-variant-numeric: tabular-nums; }

/* the Financial card */
.cn-fin { width: 380px; }
.cn-fin__stats { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--cn-line); }
.cn-fin__stats > div { padding: 14px 16px; display: grid; gap: 4px; }
.cn-fin__stats > div + div { border-left: 1px solid var(--cn-line); }
.cn-fin__stats strong { font: 600 22px/1.2 "Inter", sans-serif; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cn-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 16px; }
.cn-bars > span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.cn-bars > span > i { display: block; height: var(--h); border-radius: 4px 4px 0 0; background: #6366f1; transform-origin: bottom; }
.cn-bars > span > i + i { background: rgb(255 255 255 / 0.16); border-radius: 0 0 2px 2px; transform-origin: top; }
.cn-bars > span.now > i:first-child { background: linear-gradient(180deg, #a78bfa, #6366f1); }

/* the Milestones card */
.cn-ms { width: 360px; }
.cn-ms__ring { display: flex; align-items: center; gap: 14px; padding: 16px; border-bottom: 1px solid var(--cn-line); }
.cn-ms__ring svg { width: 56px; height: 56px; flex: none; fill: none; stroke-width: 6; rotate: -90deg; }
.cn-ms__ring circle { stroke: rgb(255 255 255 / 0.08); }
.cn-ms__ring .cn-ms__on { stroke: #a78bfa; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 28; }
.cn-ms__ring > div { display: grid; gap: 2px; }
.cn-ms__ring b { font-size: 15px; font-variant-numeric: tabular-nums; }
.cn-ms__row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--cn-line); }
.cn-ms__row > i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; background: #29213d; color: #ddd6fe; box-shadow: inset 0 0 0 1px rgb(167 139 250 / .3); }
.cn-ms__row div { display: grid; }
.cn-ms__row b { font-weight: 500; }

/* the agent card: a chat with any AI agent, Cenna's MCP server connected */
.cn-agent { display: flex; flex-direction: column; border-radius: 16px 0 0 0; }
.cn-tile { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #3b2f63, #1f1a33); color: #ddd6fe; box-shadow: inset 0 0 0 1px rgb(167 139 250 / 0.3); }
.cn-tile svg.i { width: 15px; height: 15px; }
.cn-conn { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: rgb(74 222 128 / 0.1); color: #bbf7d0; font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 1px rgb(74 222 128 / 0.25); }
.cn-conn i { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgb(74 222 128 / 0.2); }
.cn-agent__body { display: grid; align-content: start; gap: 12px; flex: 1; padding: 20px 22px; font-size: 14px; line-height: 1.55; color: #d8d8de; }
.cn-agent__body .cn-me { font-size: 14px; }
.cn-agent__body .cn-tool { font-size: 12.5px; }
.cn-agent__body code { padding: 1px 6px; border-radius: 5px; background: #29213d; color: #ddd6fe; font: 500 11.5px/1.5 var(--font-mono); }
.cn-agent__body em { font-style: normal; color: var(--cn-faint); }
.cn-agent__body p { max-width: 54ch; }
.cn-agent__ask { display: flex; align-items: center; gap: 10px; height: 46px; margin: 0 22px 22px; padding: 0 8px 0 16px; border-radius: 16px; background: var(--cn-field); border: 1px solid var(--cn-line); color: var(--cn-faint); }

/* ------------------------------------------------------------------ Cubo AI */
#ai .frame--split { background: var(--aurora); }
html[data-ground] { --ground-bg: #17141f; --ground-surface: #221d2e; --ground-ink: #efeff2; --ground-muted: #a9a9b3; --ground-accent: #a78bfa; }
#ai .frame--split > .tour__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(28deg) saturate(0.85); opacity: .9; }
#ai .tour__screen { position: absolute; z-index: 2; left: 48px; top: 48px; right: -1px; bottom: 48px; }
#ai .tour__screen > .cn { height: 100%; width: auto; }
@media (min-width: 640px) { #ai .frame--split { --ratio: 100%; } }
.cn-ai { width: 560px; }
.cn-ai__body { padding: 20px 24px; display: grid; gap: 12px; align-content: start; }
.cn-ai__body p { font-size: 15px; line-height: 1.65; color: #d8d8de; }
.cn-sel { background: rgb(167 139 250 / 0.28); border-radius: 2px; }
.cn-menu { display: grid; gap: 2px; width: 220px; padding: 6px; border-radius: 14px; }
.cn-menu span { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: 8px; font-size: 13px; }
.cn-menu span svg.i { width: 15px; height: 15px; color: var(--cn-muted); }
.cn-menu span.on { background: rgb(255 255 255 / 0.08); }
.cn-menu small { display: flex; align-items: center; gap: 6px; padding: 4px 8px 6px; font-size: 12px; color: var(--cn-faint); }
.cn-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--cn-el); border: 1px solid var(--cn-line); }
.cn-opt > i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.3); }
.cn-opt.on { border-color: rgb(167 139 250 / 0.6); }
.cn-opt.on > i { border: 5px solid #a78bfa; }
.cn-ref { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; }
.cn-ref .cn-meta { display: flex; align-items: center; gap: 6px; }
.cn-ref ul { display: grid; gap: 6px; padding-left: 16px; list-style: disc; font-size: 13px; color: #d8d8de; }
.cn-cubo { position: absolute; z-index: 3; width: 150px; height: 150px; right: 28px; bottom: 16px; pointer-events: none; filter: drop-shadow(0 18px 30px rgb(124 58 237 / 0.35)); }

/* ------------------------------------------------------------------ pricing */
.card--plan .plan__top { display: flex; align-items: center; justify-content: space-between; }
.card--plan .plan__cubo { width: 56px; height: 56px; margin: -6px 0 -6px -4px; }
.card--plan .plan__for { color: var(--muted); }
.card--plan .plan__note { color: var(--muted); font-size: var(--t-small); }
.card--plan .price .t-stat { font-variant-numeric: tabular-nums; }
.card--plan.is-featured { border-color: rgb(167 139 250 / 0.55); box-shadow: inset 0 0 0 1px rgb(167 139 250 / 0.35), 0 24px 56px -24px rgb(167 139 250 / 0.35); }
.badge { background: linear-gradient(90deg, rgb(129 140 248 / .22), rgb(244 114 182 / .22)); color: #e4dcff; border: 1px solid rgb(167 139 250 / .35); }

/* ------------------------------------------------------------------ coming soon & notify form */
.notify-form { position: relative; display: grid; gap: 10px; width: 100%; }
.notify-form--hero { max-width: 448px; margin-top: var(--s-3); }
.notify-form--card { max-width: 468px; }
.notify-form__bar { display: flex; align-items: stretch; gap: 8px; }
.notify-form__bar input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: var(--btn-h); padding: 0 14px;
  border-radius: var(--r-btn); border: 1px solid rgb(255 255 255 / 0.12);
  background: #111114; color: var(--ink);
  font: 400 15px/1.4 var(--font-text);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.45);
  transition: border-color 150ms ease-out, box-shadow 150ms ease-out;
}
.notify-form__bar input[type="email"]::placeholder { color: #8c8c97; }
.notify-form__bar input[type="email"]:focus-visible {
  outline: none; border-color: rgb(167 139 250 / 0.72);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.45), 0 0 0 3px rgb(167 139 250 / 0.22);
}
.notify-form__bar input[type="email"][aria-invalid="true"] {
  border-color: #f87171;
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.45), 0 0 0 3px rgb(248 113 113 / 0.2);
}
.notify-form__bar .btn { flex: none; }
.notify-form__bar .btn:disabled { opacity: 0.7; cursor: wait; }
.notify-form__trap {
  position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
  opacity: 0; pointer-events: none;
}
.notify-form__turnstile { display: flex; justify-content: flex-start; min-height: 0; }
.notify-form--hero .notify-form__turnstile { justify-content: center; }
.notify-form__status { min-height: 1.4em; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.notify-form__status:empty { min-height: 0; }
.notify-form--hero .notify-form__status { text-align: center; }
.notify-form__status[data-state="ok"] { color: #bbf7d0; }
.notify-form__status[data-state="error"] { color: #fca5a5; }

.coming-soon {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 4vw + 12px, 56px);
  border-radius: 24px;
  background: linear-gradient(180deg, #17161c, #121215);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 0 rgb(255 255 255 / 0.06), 0 24px 56px -24px rgb(0 0 0 / 0.65);
}
.coming-soon::before {
  content: ""; position: absolute; z-index: -1; inset: -30% -10% -30% 40%; pointer-events: none;
  background: radial-gradient(60% 70% at 72% 50%, rgb(167 139 250 / 0.22), transparent 70%),
              radial-gradient(45% 55% at 88% 82%, rgb(244 114 182 / 0.14), transparent 70%);
}
.coming-soon__copy { display: grid; gap: 18px; justify-items: start; max-width: 560px; }
.coming-soon__copy h2 { max-width: 18ch; }
.coming-soon__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); max-width: 46ch; }
.coming-soon__note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.coming-soon__note svg.i { width: 14px; height: 14px; color: #a78bfa; }
.coming-soon__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.coming-soon__note a:hover { text-decoration-color: currentColor; }
.coming-soon__art { display: grid; place-items: center; padding-right: clamp(0px, 2vw, 24px); }
.coming-soon__art img { width: clamp(168px, 19vw, 240px); height: auto; filter: drop-shadow(0 24px 40px rgb(124 58 237 / 0.35)); }

/* ------------------------------------------------------------------ questions: folds that find-in-page still opens */
.qa { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.qa__head { position: sticky; top: 112px; display: grid; justify-items: start; gap: 14px; }
.qa__head p { color: var(--muted); font-size: var(--t-lead); line-height: 1.5; }
.qa__cubo { width: 168px; height: auto; margin-top: 12px; }
.qa__list { display: flex; flex-direction: column; gap: 8px; }
.qa__item { border-radius: 18px; transition: background-color 200ms ease-out, box-shadow 200ms ease-out; }
.qa__item[open] { background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); }
.qa__item > summary { display: flex; align-items: center; justify-content: space-between; gap: 0; padding: 20px 24px; border-radius: 18px; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.qa__item > summary::-webkit-details-marker { display: none; }
.qa__item > summary:focus-visible { outline: 2px solid rgb(255 255 255 / 0.8); outline-offset: 2px; }
.qa__item h3 { flex: 1; min-width: 0; font: 500 17px/1.4 var(--font-text); letter-spacing: -0.01em; color: var(--ink); }
.qa__dot { flex: none; width: 0; height: 6px; margin-right: 0; border-radius: 50%; background: #a78bfa; opacity: 0; scale: 0.5;
  transition: width 200ms var(--ease-out), margin-right 200ms var(--ease-out), opacity 200ms var(--ease-out), scale 200ms var(--ease-out); }
@media (hover: hover) { .qa__item:not([open]) > summary:hover .qa__dot { width: 6px; margin-right: 10px; opacity: 1; scale: 1; } }
.qa__item:not([open]) > summary:focus-visible .qa__dot { width: 6px; margin-right: 10px; opacity: 1; scale: 1; }
.qa__sign { flex: none; margin-left: 24px; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; color: var(--muted); transition: color 200ms ease-out; }
.qa__bar { transform-box: fill-box; transform-origin: center; transition: scale 250ms var(--ease-out); }
.qa__item[open] .qa__sign { color: var(--ink); }
.qa__item[open] .qa__bar { scale: 1 0; }
.qa__a p { max-width: 62ch; padding: 0 24px 22px; color: color-mix(in oklab, var(--ink) 80%, var(--bg)); font-size: 16px; line-height: 1.6; }
/* the answer opens to its height (where the browser can animate to auto) and fades in */
.qa__item::details-content { block-size: 0; overflow-y: clip; transition: block-size 300ms var(--ease-out), content-visibility 300ms allow-discrete; }
.qa__item[open]::details-content { block-size: auto; }
.qa__a { opacity: 0; translate: 0 -4px; transition: opacity 250ms ease-out, translate 300ms var(--ease-out); }
.qa__item[open] .qa__a { opacity: 1; translate: none; }

/* ------------------------------------------------------------------ the close */
.closing__cta { min-height: 0; }
.closing__cta h2 { max-width: 20ch; }

/* ------------------------------------------------------------------ narrower screens */
@media (min-width: 1024px) and (max-width: 1279px) {
  .cn-tour { --side-w: 200px; }
  .cn-doc { padding-right: 280px; }
  .cn-convo { width: 320px; }
  .cn-month { grid-template-columns: minmax(0, 1fr) 200px; }
}
@media (max-width: 1023px) {
  .hero--tour .hero__window { height: clamp(480px, 64svh, 640px); }
  .hero--tour .hero__window > .ly-piece { top: 24px; bottom: 24px; width: calc(100% - 48px); }
  .cn-tour .cn-convo { top: auto; bottom: 80px; right: 16px; }
  .cn-month { grid-template-columns: minmax(0, 1fr); }
  .cn-tray { display: none; }
  .cn-doc { padding: 24px 24px 160px; }
  .cn-thread { top: auto; bottom: 110px; right: 16px; }
  .cn-board { grid-template-columns: repeat(5, 180px); }
  .cn-refs { grid-template-columns: minmax(0, 1fr); }
  .cn-refs__boards { display: none; }

  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento__card, .b-prompter { grid-column: span 3; }
  .b-cal, .b-agent { grid-column: 1 / -1; }
  .b-agent { grid-template-columns: minmax(0, 1fr); }
  .b-agent .bento__text { padding: 28px 26px 8px; }
  .b-agent .bento__vis { min-height: 380px; margin-top: 16px; border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.06); }
  .b-agent .bento__vis > .cn { left: 26px; top: 26px; }

  .qa { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .qa__head { position: static; }
  .qa__cubo { display: none; }
  .coming-soon { grid-template-columns: minmax(0, 1fr); }
  .coming-soon__art { display: none; }
}
@media (max-width: 639px) {
  .notify-form__bar { flex-direction: column; }
  .notify-form__bar .btn { width: 100%; }
  .tour__bar { margin-top: var(--s-5); }
  .tour__tab { padding: 0 12px; gap: 6px; }
  .tour__tab svg.i { display: none; }
  .hero--tour .hero__window { height: 520px; }
  .hero--tour .hero__window > .ly-piece { top: 12px; bottom: 12px; width: calc(100% - 24px); }
  .cn-tour.cn-shell { grid-template-columns: minmax(0, 1fr); padding: 0; border: 0; background: none; }
  .cn-tour > .cn-side { display: none; }
  .cn-tour .cn-convo { left: 12px; right: 12px; width: auto; bottom: 76px; }
  .cn-tour .cn-convo > header .cn-meta, .cn-tour .cn-bar :is(.cn-crumb, .cn-chip, .cn-ctl) { display: none; }
  .cn-acts { flex-wrap: wrap; padding-left: 0; }
  .cn-composer { bottom: 12px; width: calc(100% - 24px); }
  .cn-composer :is(.cn-chip, .cn-composer__tools) { display: none; }
  .cn-doc { padding: 20px 16px 160px; }
  .cn-doc .cn-title { font-size: 21px; }
  .cn-thread { left: 16px; right: 16px; width: auto; bottom: 110px; }
  .cn-pr { grid-template-columns: minmax(0, 1fr); --fs: 22px; --sign: 11px; --gap: 14px; }
  .cn-pr__rail { display: none; }
  .cn-pr__bar :is(.cn-pr__grp:first-child, .cn-pr__speed, .cn-pr__end > svg.i) { display: none; }
  .cn-pr__mid > svg.i:is(:nth-child(2), :nth-child(4)) { display: none; }
  .cn-month { padding: 0 8px 8px; }
  .cn-month__grid .cn-ev { font-size: 0; height: 6px; padding: 0; border: 0; background: var(--st, #82828d); }
  .cn-month__grid .cn-ev--slot { background: none; border: 1px dashed rgb(167 139 250 / 0.7); }
  .cn-month__grid .cn-ev--slot svg { display: none; }
  .cn-refs__grid { columns: 2 120px; }
  .cn-refs__main { padding: 12px 12px 0; }

  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .bento__card, .b-cal, .b-prompter, .b-agent { grid-column: 1 / -1; min-height: 340px; }
  .bento__text { padding: 22px 22px 0; }
  .bento__vis > .cn { left: 22px; }
  /* the calendar shows Tuesday to Friday, the days the Video moves across */
  .b-cal .bento__vis > .cn { left: -56px; scale: 0.78; transform-origin: 0 0; }
  .b-prompter .bento__vis { min-height: 300px; }
  .b-prompter .bento__vis > .cn { left: 22px; right: 22px; }
  .b-agent .bento__vis { min-height: 420px; }
  .b-agent .bento__vis > .cn { left: 16px; top: 16px; }
  #ai .tour__screen { left: 16px; top: 16px; bottom: 16px; }
  .cn-cubo { width: 88px; height: 88px; right: 12px; bottom: 8px; }
  .cn-ai { width: 100%; }
  .cn-ai__body { padding: 14px; } .cn-ai__body p { font-size: 13px; }
  .qa__item > summary { padding: 18px; }
  .qa__a p { padding: 0 18px 18px; }
}

/* ------------------------------------------------------------------ 4. motion */
@media (prefers-reduced-motion: no-preference) {
  /* the tour: a screen arrives with a short rise; inside it, what happens on it plays once */
  .cn-tour > .tour__screen:not([hidden]) { animation: cn-swap 320ms var(--ease-out) both; }
  .cn-convo { animation: cn-arrive 500ms var(--ease-out) 400ms both; transform-origin: 100% 0; }
  .cn-convo [data-step] { animation: cn-step 400ms var(--ease-out) both; animation-delay: calc(900ms + var(--i) * 650ms); }
  .cn-convo .cn-spin { animation: cn-turn-spin 700ms linear infinite; }
  .cn-thread { animation: cn-arrive 450ms var(--ease-out) 2300ms both; transform-origin: 100% 0; }
  .cn-type { animation: cn-typing 1600ms steps(33, end) 500ms both; }
  .cn-caret { animation: cn-blink 1s steps(1) infinite; }
  .cn-send--on { animation: cn-send-on 200ms ease-out 2100ms both; }
  .cn-tray__lift { overflow: hidden; animation: cn-lift 3600ms var(--ease-out) 600ms both; }
  .cn-ev--drop { animation: cn-drop 3600ms var(--ease-out) 600ms both; }
  .cn-ev--fill { animation: cn-unfill 3600ms var(--ease-out) 600ms both; }
  .cn-refs__grid .cn-ref-card { animation: cn-step 450ms var(--ease-out) both; }
  .cn-refs__grid .cn-ref-card:nth-child(2) { animation-delay: 60ms; } .cn-refs__grid .cn-ref-card:nth-child(3) { animation-delay: 120ms; }
  .cn-refs__grid .cn-ref-card:nth-child(4) { animation-delay: 180ms; } .cn-refs__grid .cn-ref-card:nth-child(5) { animation-delay: 240ms; }
  .cn-refs__grid .cn-ref-card:nth-child(6) { animation-delay: 300ms; }
  .cn-ref-sum { animation: cn-step 400ms var(--ease-out) 900ms both; }
  /* the Teleprompter rolls for as long as it shows */
  .cn-pr__roll { animation: pr-roll var(--roll) linear infinite; }
  /* Cubo AI's ring turns */
  .cn-ai-ring::before { animation: cn-turn 6s linear infinite; }

  /* the bento's loops (paused off screen by landing.js) */
  .cn-drag { animation: cal-drag 8s infinite; }
  .cn-cursor { animation: cal-cursor 8s infinite; }
  .cn-cal__drop::after { animation: cal-drop 8s infinite; }
  .cn-slot__open { animation: slot-open 6s var(--ease-out) infinite; }
  .cn-slot__fill { animation: slot-fill 6s var(--ease-out) infinite; }
  .cn-task.t-a .cn-check::after { animation: tick-a 7s var(--ease-out) infinite; }
  .cn-task.t-a b { animation: strike-a 7s var(--ease-out) infinite; }
  .cn-task.t-a .warn { animation: warn-a 7s ease-out infinite; }
  .cn-task.t-b .cn-check::after { animation: tick-b 7s var(--ease-out) infinite; }
  .cn-task.t-b b { animation: strike-b 7s var(--ease-out) infinite; }
  .cn-task.t-c .cn-check::after { animation: tick-c 7s var(--ease-out) infinite; }
  .cn-task.t-c b { animation: strike-c 7s var(--ease-out) infinite; }
  .cn-task:is(.t-a, .t-b, .t-c) .cn-check { animation: box-on 7s ease-out infinite; }
  .cn-task.t-b .cn-check { animation-name: box-on-b; } .cn-task.t-c .cn-check { animation-name: box-on-c; }
  .cn-agent .a-1 { animation: ag-1 11s var(--ease-out) infinite; }
  .cn-agent .a-2 { animation: ag-2 11s var(--ease-out) infinite; }
  .cn-agent .a-3 { animation: ag-3 11s var(--ease-out) infinite; }
  .cn-agent .a-4 { animation: ag-4 11s var(--ease-out) infinite; }
  .cn-agent .a-5 { animation: ag-5 11s var(--ease-out) infinite; }
  .cn-agent .a-2 .cn-spin { animation: cn-turn-spin 700ms linear infinite, ag-done-2 11s step-end infinite; }
  .cn-agent .a-3 .cn-spin { animation: cn-turn-spin 700ms linear infinite, ag-done-3 11s step-end infinite; }

  /* the charts draw in once, when their card comes on screen */
  html.rv .cn-line__path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1600ms var(--ease-out) 250ms; }
  html.rv .cn-line__area { opacity: 0; transition: opacity 900ms ease-out 900ms; }
  html.rv .cn-line__dot { scale: 0; transition: scale 400ms var(--ease-out) 1600ms; }
  html.rv .is-in .cn-line__path { stroke-dashoffset: 0; }
  html.rv .is-in .cn-line__area { opacity: 1; }
  html.rv .is-in .cn-line__dot { scale: 1; }
  html.rv .cn-bars > span > i { scale: 1 0; transition: scale 700ms var(--ease-out); transition-delay: calc(200ms + var(--n) * 70ms); }
  html.rv .cn-bars > span > i + i { transition-delay: calc(500ms + var(--n) * 70ms); }
  html.rv .is-in .cn-bars > span > i { scale: 1 1; }
  html.rv .cn-ms__on { stroke-dashoffset: 100; transition: stroke-dashoffset 1400ms var(--ease-out) 300ms; }
  html.rv .is-in .cn-ms__on { stroke-dashoffset: 28; }
  html.rv :is(.cn-ms__row, .cn-comp__row) { opacity: 0; translate: 0 8px; transition: opacity 500ms var(--ease-out), translate 600ms var(--ease-out); transition-delay: calc(400ms + var(--i) * 90ms); }
  html.rv .is-in :is(.cn-ms__row, .cn-comp__row) { opacity: 1; translate: none; }
}
/* a loop holds still off screen, and when its pause button is pressed */
html.lp [data-loop]:not(.is-live) *, html.lp [data-loop]:not(.is-live) *::before, html.lp [data-loop]:not(.is-live) *::after,
[data-loop].is-held *, [data-loop].is-held *::before, [data-loop].is-held *::after { animation-play-state: paused !important; }

@keyframes cn-arrive { from { opacity: 0; transform: translateY(12px) scale(0.97); filter: blur(4px); } }
@keyframes cn-step { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } }
@keyframes cn-swap { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
@keyframes cn-turn { to { --ai-angle: 360deg; } }
@keyframes cn-turn-spin { to { rotate: 360deg; } }
@keyframes cn-blink { 50% { opacity: 0; } }
@keyframes cn-typing { from { width: 0; } to { width: 33ch; } }
@keyframes cn-send-on { from { background: #3a3a41; color: #8c8c97; box-shadow: none; } }
@keyframes cn-lift {
  0%, 20% { opacity: 1; transform: none; max-height: 90px; }
  34% { opacity: 1; transform: translateY(-4px) scale(1.02); box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.7); max-height: 90px; }
  52% { opacity: 0; transform: translateX(-24px) scale(0.96); max-height: 90px; padding-block: 10px; margin-bottom: 0; border-width: 1px; }
  64%, 100% { opacity: 0; max-height: 0; padding-block: 0; margin-bottom: -8px; border-width: 0; }
}
@keyframes cn-drop { 0%, 44% { opacity: 0; transform: translateY(-8px) scale(0.96); filter: blur(4px); } 60%, 100% { opacity: 1; transform: none; filter: none; } }
@keyframes cn-unfill { 0%, 44% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes pr-roll { from { translate: 0 0; } to { translate: 0 -50%; } }

/* calendar: the cursor comes to the Video, picks it up, carries it two days on, drops it; then it all resets unseen */
@keyframes cal-drag {
  0%, 16% { transform: none; box-shadow: none; opacity: 1; animation-timing-function: var(--ease-out); }
  20% { transform: translate(0, -3px) scale(1.06) rotate(-2deg); box-shadow: 0 14px 28px -10px rgb(0 0 0 / 0.8); animation-timing-function: var(--ease-move); }
  50% { transform: translate(200px, -3px) scale(1.06) rotate(-1deg); box-shadow: 0 14px 28px -10px rgb(0 0 0 / 0.8); animation-timing-function: var(--ease-out); }
  56%, 86% { transform: translate(200px, 0); box-shadow: none; opacity: 1; }
  90% { transform: translate(200px, 0); opacity: 0; }
  91% { transform: none; opacity: 0; }
  97%, 100% { transform: none; opacity: 1; }
}
@keyframes cal-cursor {
  0%, 6% { opacity: 0; transform: translate(16px, 18px); animation-timing-function: var(--ease-out); }
  14% { opacity: 1; transform: none; }
  18% { opacity: 1; transform: scale(0.86); }
  56% { opacity: 1; transform: scale(0.86); }
  60% { opacity: 1; transform: none; animation-timing-function: var(--ease-out); }
  70%, 100% { opacity: 0; transform: translate(10px, 14px); }
}
@keyframes cal-drop { 0%, 30% { opacity: 0; } 40%, 58% { opacity: 1; } 70%, 100% { opacity: 0; } }

/* Series: the open slot gives way to a Video */
@keyframes slot-open { 0%, 26% { opacity: 1; transform: none; } 34%, 88% { opacity: 0; transform: scale(0.97); } 96%, 100% { opacity: 1; transform: none; } }
@keyframes slot-fill { 0%, 26% { opacity: 0; transform: translateX(14px) scale(0.98); filter: blur(3px); } 38%, 86% { opacity: 1; transform: none; filter: none; } 94%, 100% { opacity: 0; transform: none; filter: blur(3px); } }

/* Tasks: three ticks, one after another */
@keyframes tick-a { 0%, 14% { scale: 0.4; opacity: 0; } 20%, 86% { scale: 1; opacity: 1; } 94%, 100% { scale: 0.4; opacity: 0; } }
@keyframes tick-b { 0%, 30% { scale: 0.4; opacity: 0; } 36%, 86% { scale: 1; opacity: 1; } 94%, 100% { scale: 0.4; opacity: 0; } }
@keyframes tick-c { 0%, 46% { scale: 0.4; opacity: 0; } 52%, 86% { scale: 1; opacity: 1; } 94%, 100% { scale: 0.4; opacity: 0; } }
@keyframes strike-a { 0%, 16% { background-size: 0 1px; color: var(--cn-ink); } 24%, 86% { background-size: 100% 1px; color: var(--cn-faint); } 94%, 100% { background-size: 0 1px; color: var(--cn-ink); } }
@keyframes strike-b { 0%, 32% { background-size: 0 1px; color: var(--cn-ink); } 40%, 86% { background-size: 100% 1px; color: var(--cn-faint); } 94%, 100% { background-size: 0 1px; color: var(--cn-ink); } }
@keyframes strike-c { 0%, 48% { background-size: 0 1px; color: var(--cn-ink); } 56%, 86% { background-size: 100% 1px; color: var(--cn-faint); } 94%, 100% { background-size: 0 1px; color: var(--cn-ink); } }
@keyframes warn-a { 0%, 18% { opacity: 1; } 24%, 86% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes box-on { 0%, 14% { border-color: rgb(255 255 255 / 0.28); } 20%, 86% { border-color: #a78bfa; } 94%, 100% { border-color: rgb(255 255 255 / 0.28); } }
@keyframes box-on-b { 0%, 30% { border-color: rgb(255 255 255 / 0.28); } 36%, 86% { border-color: #a78bfa; } 94%, 100% { border-color: rgb(255 255 255 / 0.28); } }
@keyframes box-on-c { 0%, 46% { border-color: rgb(255 255 255 / 0.28); } 52%, 86% { border-color: #a78bfa; } 94%, 100% { border-color: rgb(255 255 255 / 0.28); } }

/* the agent: the question, two tool calls that finish, then the answer in two parts; then it clears */
@keyframes ag-1 { 0%, 1% { opacity: 0; transform: translateY(8px) scale(0.98); filter: blur(4px); } 6%, 90% { opacity: 1; transform: none; filter: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); filter: blur(4px); } }
@keyframes ag-2 { 0%, 11% { opacity: 0; transform: translateY(6px); filter: blur(4px); } 16%, 90% { opacity: 1; transform: none; filter: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); filter: blur(4px); } }
@keyframes ag-3 { 0%, 24% { opacity: 0; transform: translateY(6px); filter: blur(4px); } 26%, 90% { opacity: 1; transform: none; filter: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); filter: blur(4px); } }
@keyframes ag-4 { 0%, 40% { opacity: 0; transform: translateY(6px); filter: blur(4px); } 47%, 90% { opacity: 1; transform: none; filter: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); filter: blur(4px); } }
@keyframes ag-5 { 0%, 52% { opacity: 0; transform: translateY(6px); filter: blur(4px); } 56%, 90% { opacity: 1; transform: none; filter: none; } 95%, 100% { opacity: 0; transform: translateY(-4px); filter: blur(4px); } }
@keyframes ag-done-2 { 0% { border-color: #a78bfa; border-right-color: transparent; background: none; } 28% { border-color: #4ade80; background: #4ade80; } }
@keyframes ag-done-3 { 0% { border-color: #a78bfa; border-right-color: transparent; background: none; } 38% { border-color: #4ade80; background: #4ade80; } }
