/* Palette sourced from pagetovideo/src/styles/index.css and tailwind.config.js. */
:root {
  --pm-bg: #08090d;
  --pm-canvas: #0d0f14;
  --pm-panel: #12141b;
  --pm-panel-2: #171a23;
  --pm-panel-hover: #1f232e;
  --pm-border: #2b3040;
  --pm-border-hover: #3a4054;
  --pm-text: #f1f5f9;
  --pm-muted: #94a3b8;
  --pm-brand: #6366f1;
  --pm-brand-button: #4f46e5;
  --pm-brand-active: #4338ca;
  --pm-brand-text: #818cf8;
  --pm-accent: #2dd4bf;
  --ink: var(--pm-text);
  --paper: var(--pm-bg);
  --orange: var(--pm-canvas);
  --violet: var(--pm-panel-2);
  --soft: var(--pm-panel);
  --muted: var(--pm-muted);
  --line: var(--pm-border);
  --shadow: 0 12px 28px rgb(0 0 0 / 28%);
  color-scheme: dark;
  scrollbar-color: var(--pm-border-hover) var(--pm-bg);
}
::selection { background: var(--pm-brand-active); color: white; }
:focus-visible { outline: 2px solid var(--pm-brand-text); outline-offset: 4px; }
body { background: var(--pm-bg); color: var(--pm-text); }
.skip { background: var(--pm-panel-2); color: var(--pm-text); }
.review-note { background: var(--pm-panel-2); color: var(--pm-muted); border-bottom: 1px solid var(--pm-border); }
.review-note a { color: #a5b4fc; }
.header { height: 90px; }
.header nav { color: #cbd5e1; }
.header a:hover { color: white; }
.nav-cta { color: var(--pm-text); }
.hero { background: var(--pm-canvas); border-block: 1px solid var(--pm-border); }
h1 span { color: var(--pm-brand-text); }
.hero-copy>p:first-child { color: #cbd5e1; }
.button { border-radius: 8px; }
.primary { background: var(--pm-brand-button); color: white; }
.primary:hover { background: #5e61ea; color: white; }
.primary:active { background: var(--pm-brand-active); }
.cta-note { color: var(--pm-muted)!important; }
.source-switch { padding: 3px; margin-bottom: 23px; gap: 3px; border: 1px solid var(--pm-border); border-radius: 8px; background: var(--pm-bg); }
.source-switch button { flex: 1; justify-content: center; color: var(--pm-muted); border-radius: 5px; }
.source-switch button:hover { color: var(--pm-text); background: var(--pm-panel-hover); }
.source-switch button[aria-pressed=true] { background: var(--pm-brand-button); color: white; }
.source-paper { transform: none; box-shadow: var(--shadow); border-radius: 5px; }
.source-camera { border-color: var(--pm-brand-text); background: rgb(99 102 241 / 13%); }
.source-caption { color: var(--pm-muted); }
.flow-arrow { stroke: var(--pm-accent); }
.video-meta { color: var(--pm-muted); }
.video-meta>span:first-child { color: #cbd5e1; }
.live-dot { background: var(--pm-accent); }
.video-stage { background: var(--pm-panel-2); border: 1px solid var(--pm-border); border-bottom: 0; border-radius: 12px 12px 0 0; }
.video-browser { box-shadow: 0 14px 30px rgb(0 0 0 / 25%); background: #f7f6f2; }
.browser-bar { background: #eef0f5; color: #586174; border-color: #d9dee7; }
.browser-dots i { background: #94a3b8; }
.browser-dots i:first-child { background: #f87171; }
.browser-dots i:nth-child(2) { background: #fbbf24; }
.browser-dots i:nth-child(3) { background: #14b8a6; }
.stage-caption { color: var(--pm-muted); }
.stage-play { color: white; background: var(--pm-brand-button); box-shadow: 0 6px 20px rgb(0 0 0 / 23%); }
.stage-play:hover { background: var(--pm-brand); }
.transport { background: var(--pm-panel); color: var(--pm-muted); border: 1px solid var(--pm-border); border-radius: 0 0 12px 12px; }
.transport-play { color: var(--pm-text); }
.transport-play:hover { color: var(--pm-brand-text); }
.transport input { appearance: none; -webkit-appearance: none; background: transparent; accent-color: var(--pm-brand); }
.transport input::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: var(--pm-border); }
.transport input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--pm-brand); }
.transport input::-moz-range-track { height: 6px; border-radius: 6px; background: var(--pm-border); }
.transport input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--pm-brand); }
.format-switch { padding: 2px; border: 1px solid var(--pm-border); border-radius: 7px; background: var(--pm-bg); }
.format-switch button { color: var(--pm-muted); border-radius: 4px; }
.format-switch button:hover { color: var(--pm-text); background: var(--pm-panel-hover); }
.format-switch button[aria-pressed=true] { background: var(--pm-brand-button); color: white; }
.hero-foot p { color: var(--pm-muted); }
.hero-foot a { color: #cbd5e1; }
.hero-foot a:hover { color: white; }
.benefit-strip { background: var(--pm-bg); border-color: var(--pm-border); }
.benefit-strip span { color: var(--pm-muted); }
.benefit-strip .icon { color: var(--pm-accent); }
.benefit-strip a { color: #c7d2fe; }
.story-poster { background: var(--pm-panel-2); border: 1px solid var(--pm-border); border-radius: 12px; }
.poster-top { color: #cbd5e1; }
.poster-frame { transform: rotate(-3deg); }
.poster-overlap { background: #f7f6f2; color: #183047; transform: rotate(3deg); }
.poster-caption { color: var(--pm-muted); }
.step-number { color: var(--pm-brand-text); background: var(--pm-panel); border-color: var(--pm-border); }
.studio-section { background: var(--pm-panel); border-block: 1px solid var(--pm-border); }
.studio-tab { border-color: var(--pm-border); }
.studio-tab small { color: var(--pm-muted); }
.studio-tab[aria-pressed=true]>span, .studio-tab[aria-pressed=true]>.icon { color: var(--pm-brand-text); }
.studio-pricing { color: #a5b4fc; }
.studio-figure img { box-shadow: none; border: 1px solid var(--pm-border); border-radius: 8px; }
.studio-figure figcaption { color: var(--pm-muted); }
.walkthrough-player video { background: var(--pm-panel); }
.pricing-section { background: var(--pm-canvas); border-block: 1px solid var(--pm-border); }
.pricing-section .section-heading>p { color: var(--pm-muted); }
.free-plan { background: var(--pm-panel); border-color: var(--pm-border); }
.plan-subtitle { color: var(--pm-muted); }
.price { color: var(--pm-text); }
.price span { color: var(--pm-muted); }
.outline { color: var(--pm-text); background: var(--pm-panel-2); border-color: var(--pm-border); }
.outline:hover { background: var(--pm-panel-hover); border-color: var(--pm-border-hover); }
.plan li { color: var(--pm-text); }
.plan li:before { border-color: var(--pm-accent); }
.pro-plan { background: var(--pm-panel-2); border: 1px solid var(--pm-brand); }
.pro-header>span { color: #c7d2fe; border: 1px solid rgb(99 102 241 / 45%); background: rgb(99 102 241 / 12%); border-radius: 5px; padding: 4px 8px; }
.license-note { color: var(--pm-muted); border-color: var(--pm-border); }
.license-note .icon { color: var(--pm-accent); }
.pricing-footnote { color: var(--pm-muted); }
.text-link { color: #a5b4fc; }
.faqs summary:hover { color: #a5b4fc; }
.closing { background: var(--pm-panel); border-block: 1px solid var(--pm-border); }
.closing>div>div>p { color: var(--pm-muted); }
.footer nav { color: #cbd5e1; }

/* Preserve the site's saved light preference; dark matches the extension. */
:root[data-theme='light'] {
 --pm-bg: #f6f7fb; --pm-canvas: #eef0f6; --pm-panel: #fff;
 --pm-panel-2: #e8ebf4; --pm-panel-hover: #dfe3ee; --pm-border: #cbd0dd;
 --pm-border-hover: #9ba6bd; --pm-text: #192033; --pm-muted: #56637a;
 --pm-brand-text: #4f46e5; --pm-accent: #0f766e;
 color-scheme: light;
}
.header nav, .hero-copy>p:first-child, .hero-foot a, .footer nav,
.video-meta>span:first-child, .poster-top { color: var(--pm-text); }
.header a:hover, .hero-foot a:hover { color: var(--pm-brand-text); }
.benefit-strip a, .studio-pricing, .text-link, .faqs summary:hover { color: var(--pm-brand-text); }
.pro-header>span { color: var(--pm-brand-text); }
.anchor-alias { display: block; scroll-margin-top: 30px; }
.studio-figure a { display: block; border-radius: 8px; }
.studio-figure img { aspect-ratio: 16 / 11; object-fit: contain; background: #08090d; }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 44px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: var(--pm-muted); }
.theme-toggle:hover { background: var(--pm-panel-hover); color: var(--pm-text); }
.theme-toggle .icon-moon, [data-theme='light'] .theme-toggle .icon-sun { display: none; }
[data-theme='light'] .theme-toggle .icon-moon { display: block; }
.header nav { margin-left: auto; }
.header { gap: 28px; }
.availability-dialog { width: min(440px, calc(100% - 36px)); padding: 32px; border: 1px solid var(--pm-border); border-radius: 12px; background: var(--pm-panel); color: var(--pm-text); }
.availability-dialog h2 { font-size: 28px; line-height: 1.2; margin: 18px 0 14px; }
.availability-dialog p { color: var(--pm-muted); font-size: 15px; line-height: 1.65; }
.availability-dialog .eyebrow { display: none; }
.dialog-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--pm-text); font-size: 28px; }
.dialog-close:hover, .dialog-secondary:hover { background: var(--pm-panel-hover); }
.dialog-secondary { margin-top: 18px; padding: 12px; width: 100%; border: 1px solid var(--pm-border); border-radius: 8px; background: transparent; color: var(--pm-text); }
.availability-dialog .button-primary { background: var(--pm-brand-button); color: #fff; }
.availability-dialog .button-primary:hover { background: #5e61ea; }
body.modal-open { overflow: hidden; }
@media(max-width:850px) { .header { gap: 16px; } }
@media(max-width:600px) {
 .header { gap: 7px; }
 .header .theme-toggle { margin-left: auto; width: 34px; }
 .header .nav-cta { margin-left: 0; }
 .header nav { margin-left: 0; }
}
@media(max-width:600px) {
 .cta-note { font-size: 12px!important; }
 .stage-caption, .transport output, .duration, .format-switch button,
 .studio-figure figcaption, .benefit-strip a { font-size: 12px; }
 .format-switch button { min-width: 30px; }
 .transport { height: auto; min-height: 58px; padding-block: 5px; }
 .transport input { min-width: 20px; }
 .studio-figure figcaption { flex-wrap: wrap; }
 .pricing-footnote, .license-note, .closing>div>div>p { font-size: 12px; }
}
@media(max-width:360px) { .header .brand { font-size: 18px; } .header .nav-cta { font-size: 12px; } }
@media(max-width:1150px) {
 .source-switch { margin-bottom: 20px; }
 .source-switch button { padding-inline: 5px; }
}
@media(max-width:850px) {
 .header { height: 78px; }
 .source-switch { gap: 2px; padding: 3px; }
 .source-switch button { padding-inline: 5px; flex-basis: 100%; }
 .source-column { align-self: center; }
}
@media(max-width:600px) {
 .header { height: 70px; }
 .source-switch { display: inline-flex; flex-wrap: nowrap; margin-bottom: 0; gap: 3px; padding: 3px; }
 .source-switch button { flex-basis: auto; padding-inline: 12px; }
 .source-column { align-self: stretch; }
 .format-switch { padding: 1px; }
 .format-switch button { padding-inline: 5px; }
 .transport { gap: 6px; }
 .header nav[data-open=true] { background: var(--pm-panel); border-color: var(--pm-border); }
}
