/* Страница сценария: общие цвета, шапка и плеер из styles.css. */
.pres-page { max-width: var(--page); padding: 24px 28px 64px; margin: 0 auto; }
.pres-page a:not(.btn) { color: var(--accent-600); text-underline-offset: 3px; }
.pres-page :is(button, a, textarea, summary):focus-visible { outline: 3px solid var(--accent-400); outline-offset: 4px; }
.pres-page section[id] { scroll-margin-top: 24px; }
.pres-crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-muted); }
.pres-crumbs a { text-decoration: none; }
.pres-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 64px; padding: 48px 0 42px; }
.pres-kicker { margin: 0 0 12px; color: var(--accent-600); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.pres-hero h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; max-width: 17ch; }
.pres-hero h1 span { color: var(--accent-600); }
.pres-lead { max-width: 55ch; margin: 22px 0; font-size: 17px; line-height: 1.7; }
.pres-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pres-actions .btn { min-height: 48px; }
.pres-hero-note { margin: 18px 0 4px; font-size: 14px; }
.pres-bonus { margin: 0; color: var(--text-muted); font-size: 13px; }
.pres-route { margin: 0; padding: 28px; list-style: none; border: 1px solid var(--accent-200); border-radius: var(--radius-lg); background: var(--grad-tint); }
.pres-route li { display: flex; gap: 18px; position: relative; padding: 0 0 30px; }
.pres-route li:last-child { padding-bottom: 0; }
.pres-route li:not(:last-child)::after { content: ''; position: absolute; top: 44px; bottom: 6px; left: 20px; width: 1px; background: var(--accent-300); }
.pres-route-number { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--surface); color: var(--accent-700); font-size: 14px; font-weight: 600; }
.pres-route li:last-child .pres-route-number { background: var(--grad-primary); color: white; }
.pres-route strong { display: block; color: var(--ink); font-size: 17px; }
.pres-route p { margin: 4px 0 0; color: var(--text-muted); font-size: 14px; }
.pres-contents { display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 18px 0; border-block: 1px solid var(--line); font-size: 14px; }
.pres-contents a { text-decoration: none; }
.pres-contents a:hover { text-decoration: underline; }
.pres-section { margin-top: 64px; }
.pres-section h2 { font-size: clamp(24px, 2.5vw, 30px); line-height: 1.2; }
.pres-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.pres-download { flex-shrink: 0; font-size: 14px; font-weight: 500; }
.pres-downloads { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.pres-intro { max-width: 80ch; margin: 16px 0 24px; line-height: 1.7; }
.pres-voice-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 22px; }
.pres-voice-label { color: var(--text-muted); font-size: 13px; }
.pres-voice-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pres-voice-choice { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--slate); font: inherit; font-size: 14px; cursor: pointer; }
.pres-voice-choice strong { font-weight: 600; }
.pres-voice-choice span { color: var(--text-muted); font-size: 12px; }
.pres-voice-choice[aria-pressed="true"] { border-color: var(--accent-600); background: var(--accent-700); color: var(--white); }
.pres-voice-choice[aria-pressed="true"] span { color: var(--white); }
.pres-demo-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.pres-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pres-tab { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--slate); font: inherit; font-size: 14px; cursor: pointer; }
.pres-tab span { color: var(--accent-600); font-size: 12px; }
.pres-tab[aria-pressed="true"] { border-color: var(--accent-600); background: var(--accent-100); color: var(--accent-800); }
.pres-play-all { white-space: nowrap; }
.pres-status { margin: 0; color: var(--accent-700); font-size: 13px; }
.pres-status:not(:empty) { margin-bottom: 12px; }
.pres-example { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--sh-sm); }
.pres-example + .pres-example { margin-top: 20px; }
.pres-demo.is-enhanced .pres-example { margin-top: 0; }
.pres-preview, .pres-script { min-width: 0; }
.pres-slide { display: flex; flex-direction: column; width: 100%; min-height: 302px; aspect-ratio: 16 / 10; padding: 26px; overflow: hidden; border-radius: 10px; background: var(--grad-deep); color: white; }
.pres-slide-top { display: flex; justify-content: space-between; gap: 12px; color: #C9D0FA; font-size: 10px; letter-spacing: .04em; }
.pres-slide h3 { max-width: 14ch; margin: auto 0 10px; padding-top: 24px; color: white; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; }
.pres-slide > p { margin: 0 0 22px; color: #D9DEFC; max-width: 31ch; font-size: 14px; }
.pres-slide-points { display: flex; gap: 8px; list-style: none; margin: auto 0 0; padding: 0; }
.pres-slide-points li { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 10px; border-top: 1px solid #7784CF; font-size: 12px; }
.pres-slide-points span { color: #B3BDF8; font-size: 10px; }
.pres-slide-2 { background: #EEF0FE; color: var(--ink); }
.pres-slide-2 h3 { color: var(--ink); }
.pres-slide-2 :is(.pres-slide-top, p, .pres-slide-points span) { color: var(--accent-700); }
.pres-slide-2 .pres-slide-points li { border-color: var(--accent-300); }
.pres-slide-3 { background: linear-gradient(140deg, #3B49B8, #272E66); }
.pres-slide-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 12px; }
.pres-slide-arrow { min-height: 44px; justify-self: start; }
.pres-slide-arrow:last-child { justify-self: end; }
.pres-slide-arrow > span { font-size: 20px; line-height: 1; }
.pres-slide-arrow:disabled { opacity: .4; cursor: default; box-shadow: none; }
.pres-slide-position { color: var(--text-muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pres-slide-position:focus-visible { outline: 2px solid var(--accent-400); outline-offset: 4px; border-radius: 2px; }
.pres-audio-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 16px 0 10px; font-size: 12px; }
.pres-track > audio { width: 100%; }
.pres-preview .player { box-shadow: none; }
.pres-script { display: flex; flex-direction: column; align-items: flex-start; }
.pres-script .pres-kicker { margin-bottom: 8px; }
.pres-script label { margin-bottom: 12px; color: var(--ink); font-size: 16px; font-weight: 500; }
.pres-script textarea { flex: 1; width: 100%; min-height: 205px; padding: 15px; resize: vertical; font: inherit; font-size: 15px; line-height: 1.7; color: var(--text); background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pres-text-cost { margin: 10px 0 16px; color: var(--accent-700); font-size: 13px; }
.pres-help { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.pres-edited-note { margin: -6px 0 14px; }
.pres-caption { margin: 16px 0 0; font-size: 13px; color: var(--text-muted); }
.pres-guide { display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 64px; }
.pres-guide-heading > p:last-child { margin-top: 18px; line-height: 1.7; }
.pres-steps { list-style: none; counter-reset: steps; margin: 0; padding: 0; }
.pres-steps li { position: relative; counter-increment: steps; padding: 0 0 26px 52px; }
.pres-steps li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: 15px; color: var(--accent-600); font-weight: 600; }
.pres-steps li:not(:last-child)::after { content: ''; position: absolute; left: 12px; top: 30px; bottom: 12px; width: 1px; background: var(--line); }
.pres-steps h3 { margin: 0 0 8px; color: var(--ink); font-size: 17px; font-weight: 600; }
.pres-steps p { margin: 0; line-height: 1.7; }
.pres-guide-note { grid-column: 1 / -1; margin: 8px 0 12px; padding: 18px 22px; background: var(--accent-100); border-left: 3px solid var(--accent-400); font-size: 14px; line-height: 1.7; }
.pres-source { grid-column: 1 / -1; font-size: 12px; margin: 0; line-height: 1.7; }
.pres-guide-options { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 28px; }
.pres-guide-options article { min-width: 0; }
.pres-guide-format { display: inline-block; margin-bottom: 14px; padding: 6px 11px; border-radius: 6px; background: var(--accent-100); color: var(--accent-700); font-size: 12px; font-weight: 500; }
.pres-guide-options h3 { margin: 0 0 16px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.pres-guide-options ol { padding-left: 22px; margin: 0; }
.pres-guide-options li { padding-left: 5px; margin-bottom: 12px; line-height: 1.7; }
.pres-guide-options li::marker { color: var(--accent-600); font-weight: 500; }
.pres-guide-hint { padding-top: 16px; margin: 20px 0 0; border-top: 1px solid var(--line); color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.pres-settings { margin: 10px 0 0; }
.pres-settings > summary { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 40px; padding: 8px 2px; color: var(--accent-600); font-size: 13px; line-height: 1.5; list-style: none; cursor: pointer; }
.pres-settings > summary::-webkit-details-marker { display: none; }
.pres-settings > summary::before { content: ''; flex: 0 0 6px; height: 6px; margin-right: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.pres-settings[open] > summary::before { transform: rotate(45deg); }
.pres-settings > summary:hover { color: var(--accent-800); text-decoration: underline; text-underline-offset: 3px; }
.pres-settings figure { margin: 10px 0 0; }
.pres-settings img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.pres-settings figcaption { margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--text-muted); }
.pres-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.pres-pricing-copy p:not(.pres-kicker) { line-height: 1.7; margin: 16px 0 0; }
.pres-estimates { display: grid; grid-template-columns: 1fr 1fr; align-content: center; column-gap: 24px; }
.pres-estimates > div { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; }
.pres-estimates > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.pres-estimate-label { color: var(--ink); font-size: 17px; font-weight: 500; }
.pres-estimates strong { color: var(--accent-700); font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.025em; }
.pres-estimates > div > span:last-child { font-size: 12px; color: var(--text-muted); }
.pres-estimates > p { grid-column: 1 / -1; padding-top: 14px; margin: 12px 0 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.pres-own { display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center; padding: 44px; border-radius: 24px; background: radial-gradient(ellipse at 4% 0%, #4C57AD 0%, transparent 60%), linear-gradient(120deg, #272F68, #343D83); color: #E0E4FD; }
.pres-own-copy, .pres-own-flow { min-width: 0; }
.pres-own .pres-kicker { display: flex; align-items: center; gap: 8px; color: #D2D8FF; letter-spacing: .06em; }
.pres-own-dot { flex: 0 0 6px; height: 6px; background: #BFCBFF; border-radius: 50%; box-shadow: 0 0 0 4px #C9D0FA1A; }
.pres-own h2 { color: #FFF; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.17; letter-spacing: -.025em; }
.pres-own h2 > span { display: block; color: #C2CCFF; }
.pres-own-lead { max-width: 43ch; margin: 20px 0 26px; font-size: 15px; line-height: 1.75; }
.pres-own-cta { min-height: 48px; padding: 14px 20px; background: #FFF; border: 1px solid #FFF; color: #303A80; font-weight: 600; box-shadow: 0 4px 18px #131A4B26; }
.pres-own-cta:hover { background: #E8ECFF; border-color: #E8ECFF; color: #202B70; }
.pres-own-demo-note { margin: 10px 0 0; color: #C7CEF7; font-size: 12px; }
.pres-own-prices { display: flex; flex-wrap: wrap; gap: 20px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #D5DCFF33; }
.pres-own-prices p { margin: 0; }
.pres-own-prices strong { display: block; margin-bottom: 5px; color: white; font-size: 21px; font-weight: 500; }
.pres-own-prices small { font-size: 12px; font-weight: 400; color: #D1D8FA; }
.pres-own-prices p > span { font-size: 12px; color: #C7CEF7; }
.pres-own-flow { padding: 28px; border-radius: 18px; background: #F7F8FF; box-shadow: 0 12px 36px #12194126; }
.pres-own-identity { display: flex; align-items: center; gap: 14px; }
.pres-own-avatar { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; color: #FFF; font-size: 17px; font-weight: 500; background: linear-gradient(135deg, #8294F5, #5F65BE); }
.pres-own-identity strong { display: block; color: #30385D; font-size: 15px; font-weight: 500; line-height: 1.4; }
.pres-own-identity div > span { display: block; margin-top: 4px; color: #6C718C; font-size: 11px; }
.pres-own-wave { display: block; width: 100%; height: 70px; margin: 22px 0; }
.pres-own-steps { list-style: none; margin: 0; padding: 0; }
.pres-own-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid #E0E3F4; }
.pres-own-steps li > span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 8px; background: #E8ECFF; color: #5C68BB; font-size: 11px; }
.pres-own-steps strong { color: #30385D; font-size: 14px; font-weight: 500; }
.pres-own-steps p { margin: 4px 0 0; color: #6C718C; font-size: 12px; line-height: 1.6; }
.pres-own-flow-note { margin: 8px 0 0; padding: 12px 14px; border-radius: 8px; background: #EBEEFB; color: #555E8A; font-size: 12px; line-height: 1.6; }
.pres-faq { max-width: 900px; }
.pres-faq .faq { margin-top: 24px; }
.pres-cta { margin-top: 56px; padding: 36px; }
.pres-cta p { margin: 16px 0; line-height: 1.7; }
@media (max-width: 1000px) {
  .pres-hero { gap: 32px; grid-template-columns: 1.2fr 1fr; }
  .pres-route { padding: 22px; }
  .pres-example { gap: 20px; padding: 20px; }
  .pres-slide { padding: 20px; min-height: 285px; }
  .pres-section-heading { align-items: flex-start; flex-direction: column; }
  .pres-demo-controls { align-items: flex-start; flex-direction: column; }
  .pres-guide { gap: 32px; }
  .pres-own { gap: 28px; padding: 30px; }
  .pres-own-flow { padding: 22px; }
  .pres-pricing { gap: 24px; padding: 26px; }
}
@media (max-width: 760px) {
  .pres-page { padding: 18px 20px 44px; }
  .pres-hero { grid-template-columns: 1fr; padding: 32px 0; gap: 28px; }
  .pres-hero h1 { max-width: 22ch; }
  .pres-lead { font-size: 16px; }
  .pres-route { padding: 22px; }
  .pres-route li { padding-bottom: 22px; }
  .pres-section { margin-top: 44px; }
  .pres-example, .pres-guide, .pres-pricing, .pres-own, .pres-guide-options { grid-template-columns: 1fr; }
  .pres-slide { aspect-ratio: 16 / 9; min-height: 260px; }
  .pres-slide h3 { font-size: 32px; }
  .pres-guide { row-gap: 20px; }
  .pres-guide-note, .pres-source { margin: 0; }
  .pres-estimates strong { font-size: 34px; }
  .pres-own { gap: 26px; }
  .pres-own-lead { max-width: 55ch; }
  .pres-cta { padding: 28px; }
}
@media (max-width: 420px) {
  .pres-page { padding-inline: 14px; }
  .pres-hero h1 { font-size: 32px; }
  .pres-actions .btn { width: 100%; }
  .pres-route { padding: 18px; }
  .pres-route strong { font-size: 16px; }
  .pres-contents { gap: 12px 16px; font-size: 13px; }
  .pres-tabs { gap: 6px; }
  .pres-tab { padding: 10px; font-size: 12px; gap: 6px; }
  .pres-example { padding: 14px; }
  .pres-slide { min-height: 250px; padding: 18px; }
  .pres-slide h3 { font-size: 28px; }
  .pres-slide-points { gap: 4px; }
  .pres-slide-points li { padding: 9px 2px; font-size: 11px; }
  .pres-steps li { padding-left: 38px; }
  .pres-own { padding: 24px 18px; border-radius: 18px; }
  .pres-own .pres-kicker { font-size: 10px; }
  .pres-own-cta { padding-inline: 12px; width: 100%; font-size: 12px; }
  .pres-own-flow { padding: 18px; }
  .pres-own-identity { gap: 10px; }
  .pres-own-identity strong { font-size: 13px; }
  .pres-own-avatar { flex-basis: 40px; height: 40px; }
  .pres-own-prices { gap: 18px; }
  .pres-own-steps { margin-inline: -2px; }
  .pres-own-steps li { gap: 10px; }
  .pres-pricing { padding: 22px; }
  .pres-estimates { column-gap: 16px; }
  .pres-estimates > div + div { padding-left: 16px; }
  .pres-cta { padding: 24px; }
}
