/* Shared product-tour and pricing styles; native demos keep their aspect ratio. */
:root {
  color-scheme: dark;
  --bg: #09090d;
  --surface: #141319;
  --surface-raised: #211e27;
  --text: #faf9f8;
  --muted: #b7b4c2;
  --line: #34313c;
  --red: #ff6a61;
  --radius: 1.25rem;
  --ease: cubic-bezier(.2, 0, 0, 1);
  font: 100%/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--text); }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
::selection { background: var(--red); color: var(--bg); }
.wrap { width: min(75rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 1rem; left: 1rem; transform: translateY(-200%); padding: .75rem 1rem; background: var(--text); color: var(--bg); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap, .foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .95rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.brand img { width: 2.25rem; }
nav { display: flex; align-items: center; gap: 2rem; }
nav a { color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a[aria-current] { color: var(--text); }
.langs { display: flex; gap: .25rem; }
.langs button { min-width: 2.75rem; min-height: 2.75rem; padding: .25rem; border: 1px solid transparent; border-radius: .5rem; background: transparent; font-size: .75rem; font-weight: 650; }
.langs button[aria-pressed="true"] { background: var(--surface-raised); border-color: var(--line); }
.eyebrow, .chapter-label, .asset-label, .hero-meta { font-size: .75rem; font-weight: 650; letter-spacing: .075em; }
.eyebrow { color: var(--muted); text-transform: uppercase; }
h1 { font-size: clamp(3.25rem, 7.6vw, 6.6rem); font-weight: 650; line-height: 1.02; letter-spacing: -.065em; }
h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 620; line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
h3 { font-size: 1.1rem; font-weight: 650; line-height: 1.3; }
.accent { color: var(--red); }
.hero { padding-block: clamp(3rem, 6vw, 5rem) 4rem; }
.hero-intro { max-width: 61rem; margin-inline: auto; text-align: center; }
.hero h1 { margin-top: 1.25rem; }
.hero-lead { max-width: 38rem; margin: 1.5rem auto 0; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.2rem); line-height: 1.65; }
.actions { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.action { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 3.25rem; padding: .8rem 1.25rem; border: 1px solid var(--red); border-radius: .65rem; background: var(--red); color: #1d0b0b; font-size: .95rem; font-weight: 700; text-decoration: none; transition: transform 150ms var(--ease), opacity 150ms var(--ease); }
.action:active { transform: translateY(1px); }
.action svg { width: 1.15rem; height: 1.15rem; }
.text-action { display: inline-flex; align-items: center; gap: .65rem; min-height: 3rem; font-size: .9rem; font-weight: 600; text-decoration: none; }
.play-symbol { font-size: .7rem; color: var(--red); }
.hero-meta { margin-top: 1.25rem; color: var(--muted); font-size: .7rem; }
.hero-showcase { position: relative; margin-top: 3.25rem; padding: 1.5rem; border: 1px solid #59414d; border-radius: 1.5rem; background: #201222 url("./assets/stage.svg") center / cover; }
.showcase-topline, .stage-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .75rem; font-weight: 550; }
.showcase-topline { margin-bottom: 1.5rem; color: #e3d7e4; }
.showcase-topline .asset-label { color: #e3d7e4; }
.asset-label { color: var(--muted); font-size: .65rem; letter-spacing: .04em; white-space: nowrap; }
.shot { position: relative; overflow: hidden; background: #232323; }
.shot img { position: absolute; max-width: none; height: auto; }
.hero-recorder, .hero-connection { display: grid; place-items: center; aspect-ratio: 1520 / 1040; }
.switch-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem; padding: .35rem; }
.switch-controls button { min-height: 2.75rem; padding: .5rem 1rem; border: 1px solid transparent; border-radius: .5rem; background: transparent; color: var(--muted); font-size: .8rem; line-height: 1.4; transition: opacity 150ms var(--ease); }
.switch-controls button[aria-pressed="true"] { border-color: #a491b0; background: #38303d; color: var(--text); }
.tour { padding-top: 3rem; }
.tour-heading { max-width: 42rem; padding-bottom: 2rem; }
.tour-heading h2 { margin-top: .9rem; font-size: clamp(2rem, 3.7vw, 3.25rem); }
.chapter-nav { position: sticky; top: 0; z-index: 3; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapter-nav a { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 4.5rem; padding: .75rem .5rem; font-size: .8rem; }
.chapter-nav a span:first-child { font-variant-numeric: tabular-nums; color: var(--red); font-size: .65rem; }
.chapter-nav a[aria-current="location"] { color: var(--text); box-shadow: inset 0 -2px var(--red); }
.feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: 5rem; }
.feature + .feature { border-top: 1px solid var(--line); }
.chapter-label { display: flex; align-items: center; gap: .75rem; color: var(--muted); }
.chapter-label > span:first-child { color: var(--red); font-variant-numeric: tabular-nums; }
.feature-copy h2 { margin-top: 1rem; }
.feature-copy > p:not(.chapter-label) { margin-top: 1.25rem; color: var(--muted); }
.feature-copy .detail-note, .detail-note { font-size: .85rem; line-height: 1.7; color: var(--muted); }
.feature-stage { overflow: hidden; min-width: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stage-heading { color: var(--muted); }
.capture-panel { display: flex; min-height: 23rem; flex-direction: column; justify-content: center; align-items: center; gap: 1.5rem; padding-block: 1.75rem 1rem; }
.capture-panel figcaption { max-width: 34rem; margin-inline: auto; color: var(--muted); font-size: .8rem; text-align: center; }
.ready-shot { width: min(100%, 26rem); aspect-ratio: 640 / 456; border-radius: .9rem; }
.ready-shot img { top: -16.67%; left: -17.5%; width: 135%; }
.bar-presentation { display: grid; place-items: center; width: 100%; min-height: 17rem; }
.bar-shot { width: 100%; aspect-ratio: 564 / 92; border-radius: 8.15% / 50%; background: transparent; }
.bar-shot img { top: -41.3%; left: -8.15%; width: 116.31%; }
.focus-feature, .transcript-feature, .format-feature, .media-feature, .preview-feature, .mcp-feature { display: block; }
.wide-copy { max-width: 47rem; }
.video-stage { margin-top: 2.5rem; padding: 1rem; border: 1px solid #5e4555; border-radius: var(--radius); background: #1b1520; }
.video-shell { position: relative; aspect-ratio: 16 / 9; border-radius: .65rem; overflow: hidden; }
.video-poster { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.video-shell video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface); visibility: hidden; }
.video-shell.has-started video { visibility: visible; }
.video-shell.has-started .video-poster { visibility: hidden; }
.hero-showcase .video-stage { margin: 0; padding: 0; border: 0; background: transparent; }
.demo-note { margin-top: .75rem; color: var(--muted); font-size: .75rem; }
.demo-switcher { margin-top: 2rem; }
.demo-switcher .switch-controls { justify-content: flex-start; padding: 0; }
.demo-switcher .video-stage { margin-top: 1rem; }
.transcript-feature .feature-copy { max-width: 47rem; }
.mcp-workflow { margin-top: 2rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.demo-frame { display: block; width: 100%; aspect-ratio: 720 / 340; margin-bottom: 1.25rem; border: 0; border-radius: var(--radius); }
@media (max-width: 640px) { .demo-frame { aspect-ratio: 358 / 440; } }
.demo-status { color: var(--muted); font-size: .85rem; }
.mcp-workflow .plain-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.mcp-workflow strong { display: block; margin-bottom: .5rem; color: var(--text); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: .8rem; min-height: 3.5rem; max-width: calc(100% - 2rem); padding: .85rem 1.2rem; border: 1px solid #9b8ca7; border-radius: 2rem; background: #17131c; box-shadow: 0 .5rem 2rem #0006; font-size: .85rem; font-weight: 600; }
.video-play > span:first-child { color: var(--red); font-size: .75rem; }
.video-play small { color: var(--muted); font-size: .7rem; }
.video-shell.has-started .video-play { display: none; }
.video-stage figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding: 1rem .25rem .25rem; color: var(--muted); font-size: .75rem; }
.video-file { display: inline-block; padding: .4rem .25rem; font-size: .75rem; color: var(--muted); }
.video-error { padding: .75rem .25rem 0; font-size: .85rem; }
.focus-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.focus-details p { margin-top: .5rem; color: var(--muted); font-size: .85rem; }
.plain-steps { display: grid; gap: .85rem; margin: 1.5rem 0 0; padding-left: 1.3rem; color: var(--muted); font-size: .9rem; }
.plain-steps li { padding-left: .35rem; }
.plain-steps li::marker { color: var(--red); font-size: .75rem; }
.media-feature .feature-copy { max-width: 43rem; }
.privacy-note { max-width: 52rem; margin-top: 2rem; color: var(--muted); font-size: .8rem; }
.next-up { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 3rem; border-top: 1px solid var(--line); }
.next-up h2 { margin-top: .7rem; font-size: 2rem; }
.next-up ul { display: grid; gap: .5rem; margin: 0; padding-left: 1.25rem; color: var(--muted); font-size: .85rem; }
.download-status { display: flex; align-items: center; gap: 1.5rem; padding: 2rem; border: 1px solid #69494e; border-radius: var(--radius); background: #21171b; margin-block: 1rem 5rem; }
.download-status > img { flex: none; width: 4rem; }
.download-status > div { flex: 1; }
.download-status h2 { margin-block: .5rem; font-size: 2rem; }
.download-status p:not(.eyebrow) { max-width: 45rem; color: var(--muted); font-size: .85rem; }
.download-status .action { flex: none; }
.help { padding-block: 4rem; border-top: 1px solid var(--line); }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 5rem); }
.help .tag { color: var(--muted); font-size: .75rem; }
.help h2 { margin-block: .75rem 1rem; font-size: 2rem; }
.help p, .steps { color: var(--muted); font-size: .9rem; }
.steps { padding-left: 1.25rem; margin-top: 1.25rem; }
.steps li { margin-block: .65rem; padding-left: .4rem; }
details { padding-block: .9rem; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: .55rem; }
footer { border-top: 1px solid var(--line); }
.foot { padding-block: 1.5rem; color: var(--muted); font-size: .8rem; }
.foot .brand { color: var(--text); }
.foot .brand img { width: 1.75rem; }
.foot nav { margin-left: auto; }
.pricing { padding-block: clamp(3rem, 7vw, 6rem); text-align: center; }
.pricing h1 { max-width: 15ch; margin: 1.25rem auto; text-wrap: balance; font-size: clamp(3rem, 6.4vw, 6rem); }
.intro { max-width: 56ch; margin-inline: auto; color: var(--muted); }
.tag { font-size: .75rem; font-weight: 650; color: var(--muted); }
.tiers { display: grid; grid-template-columns: 1.08fr 1fr; gap: 1rem; max-width: 60rem; margin: 2.5rem auto 0; text-align: left; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.35rem); background: var(--surface); }
.tier.early { border-color: #845058; background: #24191f; }
.tier .tag { color: var(--text); }
.price { font-size: clamp(3.3rem, 7vw, 6rem); letter-spacing: -.055em; line-height: 1; font-weight: 650; margin-block: .85rem; }
.price small { font-size: 1rem; letter-spacing: 0; }
.tier p:last-child { max-width: 45ch; color: var(--muted); }
.pricing > .action { margin-top: 2rem; }
@media (hover: hover) and (pointer: fine) {
  nav a:hover { color: var(--text); }
  .action:hover { opacity: .88; transform: translateY(-2px); }
  .text-action:hover { text-decoration: underline; }
  button:hover { color: var(--text); }
  .switch-controls button:hover { background: var(--surface-raised); }
}
@media (max-width: 900px) {
  .top .wrap { gap: 1rem; }
  .top nav { gap: 1rem; }
  .feature { grid-template-columns: 1fr; }
  .feature-copy { max-width: 40rem; }
  .help-grid { grid-template-columns: 1fr; }
  .download-status { flex-wrap: wrap; }
  .download-status > div { flex-basis: calc(100% - 6rem); }
  .download-status .action { margin-left: 5.5rem; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 1rem; }
  .wrap { width: calc(100% - 2rem); }
  .top .wrap { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .75rem; }
  .top .brand { margin-right: auto; }
  .top nav { order: 2; width: 100%; justify-content: space-between; }
  .top nav a { display: grid; place-items: center; min-height: 2.75rem; }
  .hero { padding-top: 2.5rem; }
  .hero h1 { font-size: clamp(2.6rem, 10.6vw, 4.2rem); }
  .hero .eyebrow { font-size: .65rem; }
  .hero-lead { font-size: 1rem; }
  .actions { gap: .5rem 1rem; }
  .hero-showcase { margin-top: 2rem; padding: 1rem .75rem; border-radius: 1rem; }
  .showcase-topline { gap: .5rem; font-size: .65rem; margin-bottom: 1rem; }
  .switch-controls { gap: .15rem; }
  .switch-controls button { padding-inline: .7rem; font-size: .75rem; }
  .tour { padding-top: 1rem; }
  .chapter-nav { position: static; display: flex; overflow-x: auto; gap: .75rem; }
  .chapter-nav a { flex: none; }
  .mcp-workflow { padding: 1.25rem; }
  .mcp-workflow .plain-steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .chapter-nav a { min-height: 3.25rem; font-size: .75rem; gap: .4rem; }
  .feature { scroll-margin-top: 1rem; gap: 2rem; }
  .feature-stage { padding: 1rem; }
  .capture-panel { min-height: 19rem; }
  .bar-presentation { min-height: 12rem; }
  .video-stage { padding: .5rem; }
  .video-play { min-height: 3rem; padding: .7rem 1rem; gap: .5rem; white-space: nowrap; font-size: .75rem; }
  .video-play small { display: none; }
  .video-stage figcaption { padding-inline: .5rem; }
  .video-file { padding-left: .5rem; }
  .focus-details { grid-template-columns: 1fr; gap: 1.25rem; }
  .next-up { flex-direction: column; align-items: flex-start; }
  .download-status { padding: 1.25rem; gap: 1rem; }
  .download-status > img { width: 3rem; }
  .download-status > div { flex-basis: calc(100% - 4rem); }
  .download-status .action { width: 100%; margin-left: 0; }
  .download-status h2 { font-size: 1.65rem; }
  .foot { flex-wrap: wrap; gap: 1rem; }
  .foot nav { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 1rem; }
  .tiers { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .switch-panel.is-entering { animation: panel-enter 180ms var(--ease); }
  @keyframes panel-enter { from { opacity: .65; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Pricing: aurora background, entrance, hover */
.price-fx { position: fixed; inset: 0; z-index: -1; opacity: .55; pointer-events: none; }
.pricing { position: relative; }
.path { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; list-style: none; margin: 2rem auto 0; padding: 0; }
.path li { display: flex; align-items: center; gap: .6rem; padding: .55rem 1rem .55rem .6rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(18, 18, 22, .7); backdrop-filter: blur(8px); }
.path b { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: #ff5a45; color: #1a0502; }
.tier { transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; animation: tier-in .8s cubic-bezier(.2,.7,.2,1) both; }
.tier:nth-child(2) { animation-delay: .15s; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(255, 90, 69, .16); border-color: #ff5a45; }
.tier.early { box-shadow: 0 0 0 1px rgba(255, 90, 69, .25), 0 20px 60px rgba(255, 90, 69, .10); }
.pricing .price { background: linear-gradient(90deg, #f4f2ee, #ff8a76); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes tier-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tier { animation: none; transition: none; } }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }
header.top nav a { white-space: nowrap; }
