/* Studio Light refinement pass: preserve the approved palette and composition. */
.header { height: 80px; }
.desktop-nav { font-size: 13px; gap: 28px; }
.login-link { font-size: 13px; }
.button { font-size: 13px; min-height: 48px; padding: 13px 22px; gap: 12px; }
.button-small { font-size: 12px; min-height: 42px; padding: 10px 16px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; }
.hero { padding-top: 38px; }
.hero h1 { font-size: clamp(44px, 5.1vw, 64px); margin: 12px 0 18px; }
.hero-description { font-size: 16px; line-height: 1.65; }
.hero-actions { margin-top: 22px; }
.microcopy { font-size: 11px; }
.hero-preview { margin-top: 28px; padding: 19px 26px 15px; }
.preview-top { margin-bottom: 0; }
.preview-kicker { font-size: 13px; }
.preview-description { margin: 3px 0 18px; font-size: 12px; color: #526580; }
.loop-chapters button { min-height: 35px; font-size: 11px; padding: 5px 12px; }
.loop-chapters button span { font-size: 10px; }
.preview-controls { gap: 14px; margin-top: 15px; }
.preview-disclosure { font-size: 10px; }
.hero-time { font-size: 10px; white-space: nowrap; color: #536580; font-variant-numeric: tabular-nums; }
.quiet-button { min-height: 34px; font-size: 11px; padding: 7px 12px; }
.preview-controls .quiet-button { min-width: 75px; }
.rundown { font-size: 12px; }
.rundown th { font-size: 8px; }
.rundown td { height: 34px; }
.scene-title { font-size: 17px; }
.scene-tabs { font-size: 10px; }
.scene-live { font-size: 10px; }
.scene-window-footer { font-size: 9px; }
.speaker-title { font-size: 13px; }
.speaker-label { font-size: 9px; letter-spacing: .07em; }
.next-screen span { font-size: 8px; }
.next-screen strong { font-size: 13px; }
.time-added { font-size: 9px; right: 8px; top: 7px; }
.scene-message { font-size: 11px; }
.scene .scene-live .status-dot { background: #7c8da5; }
.scene[data-running=true] .scene-live .status-dot { background: #287a68; }
.hero-bottom { font-size: 11px; padding-top: 13px; }
.hero-bottom .tiny-label { font-size: 10px; }

/* Range inputs have a readable filled track and a real, touchable hit area. */
input[type=range] {
  --progress: 0%;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 0;
}
input[type=range]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(to right, #688bc5 0 var(--progress), #cbdaf0 var(--progress) 100%);
}
input[type=range]::-webkit-slider-thumb {
  width: 12px;
  height: 12px;
  margin-top: -4px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #9eb5d7;
}
input[type=range]::-moz-range-track { height: 4px; border-radius: 10px; background: #cbdaf0; }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 10px; background: #688bc5; }
input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid #fff; }
.features { padding-top: 64px; }
.section-heading > p:last-child { font-size: 14px; }
.feature-card h3 { font-size: 24px; }
.feature-card p { font-size: 14px; line-height: 1.8; }
.feature-number { font-size: 10px; color: #586b86; margin-top: 20px; }
.feature-art { height: 112px; }
.mini-table { font-size: 11px; }
.mini-table > div:first-child { font-size: 8px; }
.mini-edit { font-size: 10px; }
.mini-cue strong { font-size: 12px; }
.mini-cue small { font-size: 8px; }
.demo-shell { gap: 35px; }
.demo-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.8; }
.demo-note { font-size: 10px; line-height: 1.65; }
.poster-topline .tiny-label { font-size: 8px; }
.poster-window-title { font-size: 13px; }
.poster-window-title i { font-size: 9px; }
.poster-row { font-size: 10px; padding-block: 8px; }
.poster-title { font-size: 26px; }
.demo-poster { min-height: 305px; }
.duration { font-size: 12px; padding: 3px 8px; }
.solutions { gap: 70px; padding-top: 70px; }
.solutions-intro > p:last-child { font-size: 14px; max-width: 340px; }
.solution-tabs { gap: 24px; }
.solution-tabs button { font-size: 13px; min-height: 44px; }
.solution-panel { min-height: 215px; }
.solution-tag { font-size: 9px; color: #5d6d85; }
.solution-panel h3 { font-size: 23px; }
.solution-panel p { font-size: 13px; line-height: 1.8; }
.solution-tags span { font-size: 10px; padding: 4px 8px; }
.api-section > div > p:not(.eyebrow) { font-size: 13px; }
.text-button { font-size: 13px; min-height: 36px; }
.api-node strong { font-size: 12px; }
.api-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.api-principles h3 { font-size: 16px; letter-spacing: -.02em; }
.api-principles p { font-size: 12px; color: var(--muted); line-height: 1.75; margin-top: 8px; }
.api-note .api-preview-note { font-size: 11px; max-width: 720px; margin-top: 21px; }
.closing p:not(.eyebrow) { font-size: 14px; }
.closing .eyebrow { font-size: 10px; }
.closing-demo { font-size: 11px; min-height: 28px; }
.footer { display: block; padding-top: 33px; padding-bottom: 22px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-main > span { color: var(--muted); font-size: 11px; }
.footer-main nav { display: flex; gap: 24px; font-size: 12px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 17px; margin-top: 26px; }
.footer-bottom small, .footer-bottom a { font-size: 10px; color: var(--muted); }
.footer a:hover { color: var(--blue); }
.footer-bottom a span { margin-left: 5px; }

/* Tour / sample: clearer labels, meaningful guidance and a smooth next step. */
.dialog-top .eyebrow { font-size: 9px; }
.dialog-top h2 { font-size: 23px; }
.icon-button { width: 40px; height: 40px; }
.tour-caption { min-height: 135px; }
.tour-caption > span { font-size: 10px; }
.tour-caption p { font-size: 13px; max-width: 610px; }
.tour-controls > span { font-size: 12px; }
.tour-chapters { gap: 7px; }
.tour-chapters button { font-size: 11px; min-height: 35px; padding: 7px 9px; }
.tour-disclosure { font-size: 10px; }
#tour-handoff { display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 19px; }
#tour-handoff > span { font-size: 11px; color: var(--muted); max-width: 190px; text-align: left; }
.sample-note { font-size: 12px; }
.sample-guide { padding: 17px 26px 0; display: flex; align-items: center; gap: 22px; }
.sample-guide > span:first-child { font-size: 8px; letter-spacing: .1em; font-weight: 800; color: #64738b; }
.sample-guide ol { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; list-style: none; margin: 0; padding: 0; }
.sample-guide li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #526580; }
.sample-guide li > span { display: inline-flex; align-items: center; justify-content: center; width: 21px; height: 21px; border: 1px solid #c9d6e8; border-radius: 50%; font-size: 9px; background: #f3f6fb; transition: background .2s, color .2s; }
.sample-guide li.complete { color: var(--blue); font-weight: 700; }
.sample-guide li.complete > span { background: var(--blue); color: #fff; border-color: var(--blue); }
.sample-controls .button { font-size: 12px; min-height: 43px; }
.message-controls > label { font-size: 12px; }
.message-controls select { font-size: 12px; min-height: 42px; }
.sample-feedback { font-size: 12px; line-height: 1.7; min-height: 21px; }
.scene .time-added:not([hidden]) { animation: time-arrives .22s ease-out; }
.rundown .duration-cell.time-extended { background: #fff; color: var(--blue); box-shadow: 0 0 0 1px #8ca9d8; font-weight: 800; }
@keyframes time-arrives { from { transform: translateY(3px); opacity: .1; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 1500px) { .hero { padding-top: 45px; } }
@media (max-width: 1000px) {
  .desktop-nav { gap: 20px; font-size: 12px; }
  .nav-actions { gap: 15px; }
  .hero h1 { font-size: 58px; }
  .hero-description { font-size: 15px; }
  .hero-preview { padding-inline: 22px; }
  .rundown { font-size: 11px; }
  .feature-grid { gap: 24px; }
  .mini-table > div:first-child { font-size: 7px; }
  .mini-edit { font-size: 9px; }
  .mini-cue small { display: none; }
  .demo-shell { gap: 26px; }
  .solutions { gap: 40px; }
  .footer-main > span { display: none; }
}
@media (max-width: 760px) {
  .header { height: 72px; }
  .nav .button { font-size: 11px; min-height: 40px; padding-inline: 13px; }
  .hero { padding-top: 34px; }
  .hero h1 { font-size: 48px; }
  .hero-description { font-size: 14px; }
  .hero-actions .button { font-size: 12px; padding-inline: 16px; }
  .hero-preview { padding: 16px; }
  .preview-kicker { font-size: 12px; }
  .preview-description { font-size: 11px; margin: 3px 0 15px; }
  .loop-chapters button { min-height: 36px; padding-inline: 9px; font-size: 10px; }
  .preview-disclosure { font-size: 9px; }
  .hero-time { font-size: 9px; }
  .preview-controls { gap: 9px; }
  .preview-controls .quiet-button { min-width: 69px; }
  .hero-bottom { font-size: 10px; }
  .feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .feature-card { display: grid; grid-template-columns: 38% 1fr; column-gap: 25px; }
  .feature-art { grid-column: 1; grid-row: 1 / 4; align-self: center; height: 120px; }
  .feature-card .feature-number, .feature-card h3, .feature-card p { grid-column: 2; }
  .feature-number { margin-top: 0; }
  .feature-card h3 { font-size: 22px; }
  .feature-card p { font-size: 13px; margin-top: 8px; }
  .mini-table { font-size: 9px; }
  .mini-edit { font-size: 8px; }
  .mini-cue strong { font-size: 10px; }
  .demo-copy h2 { font-size: 33px; }
  .demo-note { display: block; margin-left: 0; font-size: 10px; }
  .demo-poster { min-height: 280px; }
  .solutions { padding-top: 55px; gap: 20px; }
  .solution-panel { min-height: 195px; }
  .api-section { gap: 24px; }
  .api-node strong { font-size: 11px; }
  .api-principles { gap: 18px; }
  .closing p:not(.eyebrow) { font-size: 13px; }
  .dialog-top h2 { font-size: 20px; }
  .dialog-top .eyebrow { font-size: 8px; }
  .tour-body { padding: 15px; }
  .tour-caption h3 { font-size: 21px; }
  .tour-caption p { font-size: 12px; }
  .tour-caption > span { font-size: 9px; }
  .tour-controls { gap: 9px; }
  .tour-controls > span { font-size: 10px; }
  .tour-chapters button { font-size: 10px; min-height: 36px; }
  .tour-disclosure { font-size: 9px; }
  .sample-guide { padding-inline: 20px; gap: 10px; display: block; }
  .sample-guide ol { margin-top: 9px; gap: 14px; }
  .sample-guide li { font-size: 10px; }
  .sample-note { font-size: 11px; }
  .sample-controls .button { font-size: 11px; min-height: 42px; }
}
@media (max-width: 480px) {
  .hero { padding-top: 27px; }
  .hero h1 { font-size: 39px; margin-top: 12px; margin-bottom: 16px; }
  .hero > .eyebrow { font-size: 9px; }
  .hero-description { font-size: 13px; }
  .hero-actions { margin-top: 21px; }
  .hero-actions .button { font-size: 12px; width: 265px; min-height: 46px; }
  .microcopy { font-size: 10px; max-width: 280px; margin: auto; }
  .hero-preview { margin-top: 25px; padding: 12px; }
  .preview-kicker { font-size: 11px; }
  .preview-description { font-size: 10px; line-height: 1.6; max-width: 100%; margin-top: 2px; }
  .loop-chapters button { font-size: 9px; min-width: 36px; padding-inline: 5px; }
  .preview-controls { display: grid; grid-template-columns: 1fr auto; column-gap: 13px; row-gap: 5px; }
  .preview-disclosure { font-size: 8px; max-width: none; grid-column: 1; grid-row: 1; white-space: nowrap; }
  .hero-time { grid-column: 2; grid-row: 1; text-align: right; font-size: 9px; }
  #hero-progress { grid-column: 1; grid-row: 2; width: 100%; margin: 0; height: 34px; }
  #hero-toggle { grid-column: 2; grid-row: 2; font-size: 10px; min-height: 36px; }
  .rundown { font-size: 10px; }
  .rundown th { font-size: 7px; }
  .scene-title { font-size: 14px; }
  .scene-tabs { font-size: 8px; }
  .scene-live { font-size: 9px; }
  .scene-window-footer { font-size: 7px; }
  .time-added { font-size: 7px; top: 4px; right: 5px; }
  .scene-outputs .speaker-title { font-size: 10px; }
  .hero-scene .speaker-screen { min-height: 113px; }
  .hero-scene .speaker-time { font-size: 37px; }
  .hero-scene .next-screen strong { font-size: 11px; }
  .hero-scene .next-screen span { font-size: 8px; }
  .hero-scene .speaker-label { font-size: 8px; }
  .feature-grid { display: block; }
  .feature-card { display: block; margin-bottom: 30px; }
  .feature-card:last-child { margin-bottom: 0; }
  .feature-art { height: 108px; }
  .feature-number { font-size: 9px; margin-top: 16px; }
  .feature-card h3 { font-size: 23px; }
  .feature-card p { font-size: 13px; line-height: 1.8; }
  .mini-table { font-size: 11px; }
  .mini-table > div:first-child { font-size: 8px; }
  .mini-edit { font-size: 10px; }
  .mini-cue strong { font-size: 12px; }
  .mini-cue small { display: block; font-size: 8px; }
  .features { padding-top: 45px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading > p:last-child { font-size: 12px; }
  .demo-copy h2 { font-size: 31px; }
  .demo-copy > p:not(.eyebrow) { font-size: 13px; }
  .demo-copy .button { font-size: 12px; }
  .demo-poster { min-height: 238px; padding-inline: 14px; }
  .poster-title { font-size: 21px; margin-top: 13px; }
  .poster-window-title { font-size: 11px; }
  .poster-topline .tiny-label { font-size: 7px; }
  .poster-row { font-size: 8px; }
  .poster-window-title i { font-size: 7px; }
  .duration { font-size: 10px; }
  .solutions-intro > p:last-child { font-size: 13px; }
  .solution-tabs { gap: 23px; }
  .solution-tabs button { font-size: 12px; }
  .solution-tag { font-size: 8px; }
  .solution-panel { min-height: 230px; }
  .solution-panel h3 { font-size: 23px; }
  .solution-panel p { font-size: 13px; }
  .solution-tags span { font-size: 9px; }
  .api-section > div > p:not(.eyebrow) { font-size: 13px; }
  .api-node strong { font-size: 10px; }
  .api-principles { grid-template-columns: 1fr; gap: 17px; }
  .api-principles h3 { font-size: 17px; }
  .api-principles p { font-size: 13px; margin-top: 5px; }
  .api-note .api-preview-note { font-size: 11px; }
  .closing h2 { font-size: 30px; }
  .closing .eyebrow { font-size: 9px; }
  .closing-demo { font-size: 11px; }
  .footer-main { flex-wrap: wrap; gap: 24px; }
  .footer-main .brand img { width: 139px; }
  .footer-main nav { gap: 20px; font-size: 11px; }
  .footer-bottom { gap: 15px; margin-top: 22px; }
  .footer-bottom small, .footer-bottom a { font-size: 9px; }
  .dialog-top { padding: 14px 17px; }
  .dialog-top h2 { font-size: 18px; }
  .icon-button { height: 36px; width: 36px; }
  .sample-note { padding: 13px 20px; }
  .sample-guide ol { gap: 9px 12px; }
  .sample-guide li { font-size: 9px; gap: 5px; }
  .sample-guide li > span { width: 18px; height: 18px; font-size: 8px; }
  .sample-scene { margin-top: 18px; }
  .sample-controls { gap: 8px; }
  .sample-controls .button { font-size: 11px; min-height: 42px; }
  .sample-feedback { font-size: 11px; }
  .scene-message { font-size: 10px; }
  .tour-controls .quiet-button { min-height: 36px; font-size: 10px; padding: 6px 8px; }
  .tour-controls > span { font-size: 9px; }
  .tour-chapters { gap: 5px; }
  .tour-chapters button { font-size: 10px; min-height: 36px; padding: 7px; }
  .tour-caption { padding-inline: 2px; }
  .tour-caption p { font-size: 12px; line-height: 1.7; }
  .tour-disclosure { font-size: 9px; }
  #tour-handoff { flex-direction: column; gap: 9px; padding-top: 16px; }
  #tour-handoff > span { max-width: none; font-size: 10px; text-align: center; }
  #tour-handoff .button { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene .time-added:not([hidden]) { animation: none; }
}
@media (max-width: 360px) {
  .nav { gap: 10px; }
  .nav .brand img { width: 125px; }
  .nav-actions { gap: 7px; }
  .nav .button { font-size: 10px; padding-inline: 10px; }
  .hero h1 { font-size: 35px; }
}
