/* Unclipped site. Colors are the app's own (see DESIGN.md of the app).
   Ink = the software. Paper = the deal (pricing, FAQ, legal).
   Amber = your action only. Blue = "No Twitch clips yet" only. */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/BarlowCondensed-Bold.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/BarlowCondensed-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("fonts/JetBrainsMono-Regular.woff2") format("woff2"); }

:root {
  --ink: #0E0F11;
  --panel: #17191C;
  --line: #22252A;
  --line-strong: #2E3238;
  --text: #EDEBE6;
  --muted: #B8BCC2;
  --dim: #8B9098;
  --amber: #FFB020;
  --amber-ink: #0E0F11;
  --blue: #9CC3FF;
  --blue-bg: #14284A;
  --clip: #FFC75A;
  --clip-bg: #3A2A0A;
  --paper: #EDEBE6;
  --paper-ink: #0E0F11;
  --paper-muted: #464B53;
  --paper-line: #CBC7BE;
  --paper-panel: #E2DFD8;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* Type scale, ratio 4:3 from 17px */
  --t-0: 1.0625rem;   /* 17 */
  --t-1: 1.375rem;    /* 22 */
  --t-2: 1.875rem;    /* 30 */
  --t-3: 2.5rem;      /* 40 */
  --t-4: 3.3125rem;   /* 53 */
  --t-5: 4.4375rem;   /* 71 */
  --t-6: 5.875rem;    /* 94 */

  --gutter: 16px;
  --max: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 var(--t-0)/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible { outline-color: var(--paper-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 20; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 4px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left)); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.tc { font-family: var(--mono); font-size: 0.875em; font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 var(--t-0)/1 var(--body);
  border-radius: 4px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--amber); color: var(--amber-ink); }
.btn-primary:hover { background: #FFC14D; }
.btn-secondary { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-secondary:hover { border-color: var(--muted); }
.paper .btn-secondary { border-color: var(--paper-ink); color: var(--paper-ink); }
.btn[aria-disabled="true"] { cursor: default; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--ink); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { width: 30px; height: 30px; }
.wordmark { font: 700 1.5rem/1 var(--display); letter-spacing: 0.14em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); text-decoration: underline; }
.nav .btn { min-height: 40px; padding: 0 16px; color: var(--amber-ink); }
.nav .btn:hover { color: var(--amber-ink); text-decoration: none; }

.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 4px; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--muted); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; padding: 8px; min-width: 240px; display: grid; }
.menu-panel a { padding: 12px 14px; text-decoration: none; border-radius: 4px; }
.menu-panel a:hover { background: var(--line); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 56px; }
.section-head h2 { font-size: var(--t-4); margin-bottom: 20px; }
.section-head p { color: var(--muted); font-size: var(--t-1); line-height: 1.45; margin: 0; }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: var(--t-3); }
  .section-head p { font-size: var(--t-0); }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; }
.hero h1 { font-size: var(--t-6); line-height: 0.95; max-width: 11.5em; margin-bottom: 32px; }
.hero-body { display: grid; grid-template-columns: minmax(0, 40rem); gap: 28px; margin-bottom: 56px; }
.hero-body p { color: var(--muted); font-size: var(--t-1); line-height: 1.45; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--dim); font-size: 0.9375rem; margin: -8px 0 0; }
@media (max-width: 1023px) {
  .hero h1 { font-size: var(--t-5); }
}
@media (max-width: 599px) {
  .hero { padding-top: 44px; }
  .hero h1 { font-size: var(--t-4); line-height: 0.98; margin-bottom: 20px; }
  .hero-body p { font-size: var(--t-0); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* The real screenshot: flat, thin border, no shadow. Bleeds off the right edge on wide screens. */
.shot { margin: 0; }
.shot img { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); width: 100%; }
.shot figcaption { color: var(--dim); font-size: 0.9375rem; margin-top: 12px; max-width: 44rem; }
.hero-shot { margin-right: calc(-1 * var(--gutter)); }
@media (min-width: 1280px) {
  .hero-shot { margin-right: calc((100vw - var(--max)) / -2 + 0px); }
  .hero-shot img { border-right: 0; border-radius: 6px 0 0 6px; }
}

/* ---------- The hype curve: the one bold thing ---------- */
.curve { margin: 0; padding: 0 0 8px; }
.curve-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline; margin-bottom: 28px; }
.curve-head h2 { font-size: var(--t-2); font-weight: 600; }
.curve-head p { color: var(--muted); margin: 0; max-width: 34rem; }
.curve-plot { position: relative; padding-bottom: 84px; margin-top: 48px; }
.curve-svg { width: 100%; height: 160px; overflow: visible; }
.curve-bars { stroke: #4A4F57; stroke-width: 2.2; vector-effect: non-scaling-stroke; fill: none; }
.curve-ticks path { stroke: var(--dim); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.curve-marks path { stroke: var(--blue); stroke-width: 2.5; fill: none; vector-effect: non-scaling-stroke; }
.curve-labels, .curve-axis { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; }
.curve-labels { top: 166px; }
.curve-labels li { position: absolute; left: var(--x); transform: translateX(-50%); color: var(--blue); white-space: nowrap; }
.curve-labels li::before { content: ""; display: block; width: 1px; height: 10px; background: var(--blue); margin: 0 auto 4px; }
.curve-labels li.low { top: 26px; }
.curve-labels li.low::before { height: 36px; margin-top: -26px; }
.curve-axis { top: -26px; border: 0; }
.curve-axis li { position: absolute; left: var(--x); color: var(--dim); font-size: 0.875rem; }
.curve-axis li:first-child { transform: none; }
.curve-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); font-size: 0.9375rem; margin: 0; padding: 0; list-style: none; }
.curve-legend li { display: flex; align-items: center; gap: 10px; }
.key-bracket { width: 12px; height: 18px; border: 2.5px solid var(--blue); border-left-width: 2.5px; }
.key-tick { width: 1.5px; height: 10px; background: var(--dim); margin: 0 5px; }
@media (max-width: 767px) {
  .curve-head { grid-template-columns: 1fr; }
  .curve-svg { height: 110px; }
  .curve-labels { display: none; }
  .curve-plot { padding-bottom: 28px; }
  .curve-axis li:nth-child(even) { display: none; }
}

/* ---------- App vocabulary: tags and statuses, as in the app ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tag { display: inline-block; border: 1px solid var(--line-strong); color: var(--muted); border-radius: 4px; padding: 3px 9px; font: 500 0.875rem/1.4 var(--body); }
.status { display: inline-block; border-radius: 4px; padding: 3px 9px; font: 500 0.875rem/1.4 var(--body); }
.status-free { background: var(--blue-bg); color: var(--blue); }
.status-low { background: var(--line); color: var(--muted); }
.status-crowded { background: var(--clip-bg); color: var(--clip); }

/* ---------- How it works: a real sequence ---------- */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 5.5rem minmax(0, 22rem) minmax(0, 1fr); gap: 24px 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.step:last-child { padding-bottom: 0; }
.step-n { font: 700 var(--t-5)/0.8 var(--display); color: var(--dim); }
.step h3 { font-size: var(--t-2); margin-bottom: 14px; }
.step p { color: var(--muted); }
.step .shot img { max-width: 100%; }
.step-pick .shot { max-width: 440px; }
.step-export .shot { max-width: 520px; }
@media (max-width: 899px) {
  .step { grid-template-columns: 3.5rem minmax(0, 1fr); padding: 36px 0; }
  .step-n { font-size: var(--t-4); }
  .step .shot { grid-column: 1 / -1; }
}

/* ---------- What it measures ---------- */
.measures { margin: 0; display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 40rem); gap: 0 56px; }
.measures dt, .measures dd { padding: 32px 0; border-top: 1px solid var(--line); margin: 0; }
.measures dt { font: 600 var(--t-1)/1.2 var(--display); font-size: 1.625rem; }
.measures dd { color: var(--muted); }
.measures dd p:last-child { margin-bottom: 0; }
.measures-close { margin: 40px 0 0; max-width: 40rem; font-size: var(--t-1); line-height: 1.45; }
@media (max-width: 767px) {
  .measures { grid-template-columns: 1fr; }
  .measures dd { border-top: 0; padding-top: 0; }
  .measures dt { padding-bottom: 10px; }
}

/* ---------- Live mode ---------- */
.live { background: var(--panel); }
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.live-grid > div > p { max-width: 36rem; }
.live-grid .facts { max-width: 60rem; }
.live-grid .facts { columns: 2; column-gap: 48px; }
.live-grid .facts li { break-inside: avoid; }
.live h2 { font-size: var(--t-4); margin-bottom: 20px; }
.live p { color: var(--muted); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; }
.facts li { padding: 14px 0; border-top: 1px solid var(--line-strong); }
.facts strong { color: var(--text); font-weight: 600; }
.pro-note { color: var(--dim); font-size: 0.9375rem; margin-top: 20px; }
@media (max-width: 899px) {
  .live-grid { grid-template-columns: 1fr; }
  .live-grid .facts { columns: 1; }
  .live h2 { font-size: var(--t-3); }
}

/* ---------- Exports ---------- */
.export-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px 56px; align-items: start; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 16px 20px 16px 0; border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--dim); font-weight: 500; font-size: 0.9375rem; padding-top: 0; }
tbody th { font-weight: 600; }
td { color: var(--muted); overflow-wrap: anywhere; }
.options { margin-top: 32px; }
.options h3 { font-size: var(--t-1); font-weight: 600; margin-bottom: 8px; }
.options p { color: var(--muted); max-width: 40rem; }
@media (max-width: 899px) { .export-grid { grid-template-columns: 1fr; } }

/* ---------- Runs on your PC ---------- */
.local-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 52rem; }
.local-list li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 8px 40px; padding: 24px 0; border-top: 1px solid var(--line); }
.local-list strong { font: 600 1.625rem/1.15 var(--display); }
.local-list span { color: var(--muted); }
@media (max-width: 767px) { .local-list li { grid-template-columns: 1fr; } }

/* ---------- Paper: the deal ---------- */
.paper { background: var(--paper); color: var(--paper-ink); color-scheme: light; }
.paper .section + .section, .paper.section + .paper.section { border-top-color: var(--paper-line); }
.paper .section-head p, .paper p.lead { color: var(--paper-muted); }
.paper a { color: var(--paper-ink); }

.pricing-table { min-width: 560px; }
.pricing-table th, .pricing-table td { border-top: 1px solid var(--paper-line); color: var(--paper-ink); padding: 15px 24px 15px 0; }
.pricing-table td { color: var(--paper-muted); }
.pricing-table thead th { color: var(--paper-ink); font: 700 var(--t-3)/1 var(--display); padding-top: 20px; padding-bottom: 20px; }
.pricing-table thead th:first-child { width: 34%; }
.pricing-table tbody th { font-weight: 500; }
.pricing-table .col-pro { background: var(--paper-panel); padding-left: 20px; padding-right: 20px; color: var(--paper-ink); }
.pricing-table thead .col-pro { border-radius: 6px 6px 0 0; padding-top: 20px; }
.pricing-table tfoot .col-pro { border-radius: 0 0 6px 6px; }
.pricing-table tfoot td { padding-top: 24px; padding-bottom: 24px; }
.price { font: 700 var(--t-4)/1 var(--display); color: var(--paper-ink); display: block; }
.price-was { display: block; margin-top: 8px; color: var(--paper-muted); font-size: 0.9375rem; }
.no { color: #8A8E95; }
.pricing-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px; margin-top: 40px; max-width: 56rem; color: var(--paper-muted); font-size: 0.9375rem; }
.pricing-after p { margin: 0; }
.btn-unavailable { background: transparent; color: var(--paper-ink); border: 1px dashed var(--paper-ink); }
@media (max-width: 767px) {
  .pricing-after { grid-template-columns: 1fr; }
  .pricing-table thead th { font-size: var(--t-2); }
  .price { font-size: var(--t-3); }
}
@media (max-width: 599px) {
  .pricing-table { min-width: 0; font-size: 0.9375rem; }
  .pricing-table th, .pricing-table td { padding: 12px 10px 12px 0; }
  .pricing-table .col-pro { padding-left: 10px; padding-right: 10px; }
  .pricing-table thead th:first-child { width: 30%; }
  .pricing-table tfoot .btn { min-height: 44px; padding: 0 10px; font-size: 0.875rem; width: 100%; text-align: center; }
  .price-was { font-size: 0.8125rem; }
  .hero-shot { margin-right: 0; }
  .hero-shot img { max-width: 440px; }
}

.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--paper-line); }
.faq details:last-child { border-bottom: 1px solid var(--paper-line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font: 600 1.5rem/1.2 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.75rem/1 var(--body); color: var(--paper-muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 24px; color: var(--paper-muted); max-width: 40rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Download ---------- */
.download h2 { font-size: var(--t-5); margin-bottom: 20px; }
.download p { color: var(--muted); max-width: 36rem; font-size: var(--t-1); line-height: 1.45; }
.download .hero-actions { margin-top: 28px; }
@media (max-width: 767px) { .download h2 { font-size: var(--t-4); } .download p { font-size: var(--t-0); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: var(--text); }
.footer-grid p { margin: 0; }
.footer-small { grid-column: 1 / -1; color: var(--dim); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.doc { padding: 72px 0 96px; }
.doc-inner { max-width: 44rem; }
.doc h1 { font-size: var(--t-5); margin-bottom: 12px; }
.doc .updated { color: var(--paper-muted); margin-bottom: 48px; }
.doc h2 { font-size: var(--t-2); margin: 48px 0 14px; }
.doc p, .doc li { color: #24272C; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: 0.4em; }
.doc address { font-style: normal; }
@media (max-width: 599px) { .doc { padding: 48px 0 64px; } .doc h1 { font-size: var(--t-4); } }

.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound h1 { font-size: var(--t-5); margin-bottom: 16px; }
.notfound p { color: var(--muted); font-size: var(--t-1); }

/* ---------- v2: CTAs, hero video, demo dialog, why, live card, sticky bar ---------- */
.cta-main { display: grid; gap: 8px; justify-items: start; }
.cta-note, .hero-body .cta-note, .download .cta-note { color: var(--dim); font-size: 0.875rem; line-height: 1.4; margin: 0; }
.paper .cta-note { color: var(--paper-muted); margin-top: 8px; }
.hero-actions { align-items: flex-start; }
.btn-demo { justify-self: start; }
@media (max-width: 599px) {
  .hero-actions .cta-main { flex: 1 1 100%; justify-items: stretch; }
  .btn-demo { justify-self: stretch; }
}

.hero-video { position: relative; margin: 0 calc(-1 * var(--gutter)) 0 0; }
.hero-loop { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 6px; }
.hero-video figcaption { color: var(--dim); font-size: 0.9375rem; margin-top: 12px; }
.loop-toggle {
  position: absolute; right: 12px; top: 12px; min-height: 36px; padding: 0 12px;
  font: 500 0.875rem/1 var(--body); color: var(--text); background: rgba(14, 15, 17, 0.8);
  border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer;
}
.loop-toggle:hover { border-color: var(--muted); }
@media (min-width: 1280px) {
  .hero-video { margin-right: calc((100vw - var(--max)) / -2); }
  .hero-loop { border-right: 0; border-radius: 6px 0 0 6px; }
  .loop-toggle { right: calc((100vw - var(--max)) / 2 + 12px); }
}
@media (max-width: 599px) { .hero-video { margin-right: 0; } }

.why-grid { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 40rem); gap: 20px 56px; align-items: baseline; }
.why h2 { font-size: var(--t-4); }
.why p { color: var(--muted); font-size: var(--t-1); line-height: 1.45; }
.why p:last-child { margin-bottom: 0; color: var(--text); }
@media (max-width: 899px) { .why-grid { grid-template-columns: 1fr; } .why h2 { font-size: var(--t-3); } .why p { font-size: var(--t-0); } }

.proof-shot { margin: 0 0 56px; }
.proof-shot img { border: 1px solid var(--line-strong); border-radius: 6px; background: var(--panel); width: 100%; }
.proof-caption { color: var(--dim); font-size: 0.9375rem; margin: 12px 0 0; max-width: 44rem; }

.live-card { background: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; padding: 32px; }
.live-card .live-lead { color: var(--text); font-size: var(--t-1); line-height: 1.4; max-width: 36rem; }
.pro-badge { display: inline-block; margin: 0 0 14px; border: 1px solid var(--line-strong); color: var(--muted); border-radius: 4px; padding: 2px 8px; font: 500 0.875rem/1.4 var(--body); }
@media (max-width: 599px) { .live-card { padding: 20px; } .live-card .live-lead { font-size: var(--t-0); } }

.demo-dialog { padding: 0; border: 0; background: transparent; width: min(1100px, calc(100vw - 32px)); max-width: none; overflow: visible; }
.demo-dialog::backdrop { background: rgba(14, 15, 17, 0.88); }
.demo-dialog video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; }
.dialog-close {
  position: absolute; right: 0; top: -52px; width: 44px; height: 44px;
  font: 400 1.75rem/1 var(--body); color: var(--text); background: var(--panel);
  border: 1px solid var(--line-strong); border-radius: 4px; cursor: pointer;
}
.dialog-close:hover { border-color: var(--muted); }

.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: var(--ink); border-top: 1px solid var(--line-strong);
  }
  .sticky-cta .btn { width: 100%; }
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: 80px; }
}
.cta-small { font-size: 0.8125rem; max-width: 22rem; }
