/* Та же сцена звонка и геометрия настоящего окна приложения. */
.stage-block { container-type: inline-size; }
/* Запуск занимает место второй кнопки в уже существующем ряду действий. */
.hero .actions [hidden] { display: none !important; }
.hero .actions .tour-launch {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 14%, transparent), color-mix(in srgb, var(--accent) 4%, transparent));
  color: #dfebff;
  box-shadow: inset 0 1px 0 #ffffff08, 0 4px 24px color-mix(in srgb, var(--accent) 8%, transparent);
  transition: background .3s, border-color .3s, box-shadow .3s, transform .15s;
}
.hero .actions .tour-launch:is(:hover, :focus-visible) {
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  box-shadow: inset 0 1px 0 #ffffff0d, 0 4px 28px color-mix(in srgb, var(--accent) 14%, transparent);
}
.tour-play { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #acd0ff; }
.tour-play::before, .tour-play::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; pointer-events: none; }
.tour-play::before { background: color-mix(in srgb, var(--accent) 18%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); }
/* Один спокойный акцент после появления страницы; при запуске демо он гаснет. */
.tour-play::after { border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); opacity: 0; animation: tour-invitation 2.8s ease-out 1.8s 1; }
.tour-launch[data-tour-seen] .tour-play::after { display: none; }
.tour-play svg { width: 17px; height: 17px; }
.tour-foot svg { width: 17px; height: 17px; flex: none; }
.stage-block [hidden] { display: none !important; }
.stage-block .stage-caption { min-height: 19px; }
.stage-block[data-tour-active] .stage-caption { color: #adbed8; }

/* Рамка лежит точно поверх синей линии исходного фото, не загружая его копию. */
.tour-speaker-ring { position: absolute; z-index: 2; pointer-events: none; left: 1cqw; top: .9375cqw; width: 48.875cqw; height: 47.875cqw; border: .625cqw solid #242a30; border-radius: 1.2cqw; }
.tour-speaker-ring::after { content: ''; position: absolute; inset: -.4375cqw; border: .25cqw solid transparent; border-radius: .9375cqw; transition: border-color .7s, box-shadow .7s; }
.stage[data-tour-phase="speaking"][data-tour-scene="interview"] .tour-speaker-ring::after { border-color: #64a2f8; box-shadow: 0 0 22px #559cff35; }
.stage[data-tour-active] { cursor: auto; transition: --r 1.65s cubic-bezier(.45,0,.55,1), box-shadow 1.2s; background: radial-gradient(ellipse at 20% 100%, #263254, transparent 70%), #101521; box-shadow: 0 25px 100px -30px #31548342; }
.stage[data-tour-active] .lens { width: var(--tour-lens-size, 46cqw); height: var(--tour-lens-size, 46cqw); opacity: 0; transition: opacity 1.25s ease .15s; }
.stage[data-tour-scene="screen"] .tour-speaker-ring { opacity: 0; }

.tour-live { position: absolute; top: 5cqw; right: 2cqw; z-index: 3; width: 65.5cqw; height: 47cqw; display: flex; flex-direction: column; overflow: hidden; border-radius: 1.05cqw; border: 1px solid #3c414d; background: #0d1015f5; box-shadow: 0 2cqw 6cqw -1cqw #000a, 0 0 0 1px #0005; color: #e5e9f1; font: 400 clamp(11px, 1.23cqw, 15px)/1.5 var(--sans); backdrop-filter: blur(16px); }
.tour-live button { font: inherit; cursor: pointer; }
.tour-live button:disabled { cursor: default; }
.tour-live svg { width: 1.6cqw; height: 1.6cqw; min-width: 13px; min-height: 13px; flex: none; }
.tour-session-bar { flex: none; padding: .65cqw .9cqw .55cqw; border-bottom: 1px solid #262c38; }
.tour-session-controls { display: flex; align-items: center; gap: .6cqw; min-width: 0; }
.tour-stop, .tour-screen-button { display: inline-flex; align-items: center; justify-content: center; gap: .55cqw; height: 2.8cqw; min-height: 28px; padding: .4cqw .7cqw; border-radius: .7cqw; border: 1px solid #2b313e; background: #191d26; color: #c7cdd9; white-space: nowrap; }
.tour-live .tour-stop { border-color: #a64a454f; background: #4b25254f; color: #f3c2c2; }
.tour-stop-square { width: .65cqw; height: .65cqw; min-width: 7px; min-height: 7px; border-radius: 2px; background: currentColor; }
.tour-key { flex: none; padding: .15cqw .3cqw; background: #0a0c1255; border-radius: .3cqw; color: #778299; font: .9cqw/1.3 var(--mono); }
.tour-clock { display: inline-flex; align-items: center; gap: .5cqw; padding-inline: .25cqw; color: #9faac0; font: 1.15cqw var(--mono); font-variant-numeric: tabular-nums; }
.tour-clock i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #e66d66; }
.tour-separator { height: 2.4cqw; width: 1px; background: #252b37; margin-inline: .25cqw; }
.tour-modes { display: inline-flex; flex: none; align-items: center; padding: .2cqw; border: 1px solid #282e3a; border-radius: .7cqw; }
.tour-modes button { padding: .15cqw .65cqw; border: 0; border-radius: .5cqw; background: transparent; color: #717c91; }
.tour-modes button[aria-pressed="true"] { background: #252b38; color: #edf0f6; }
.tour-modes button:disabled { opacity: .4; }
.tour-channels { display: flex; align-items: center; gap: 1.4cqw; padding-top: .6cqw; color: #77849b; font-size: .95cqw; }
.tour-channel { display: inline-flex; align-items: center; gap: .55cqw; white-space: nowrap; }
.tour-channel > i { width: .5cqw; height: .5cqw; border-radius: 50%; background: #6bcba0; }
.tour-meter { display: block; width: 4cqw; height: .3cqw; overflow: hidden; border-radius: 9px; background: #1b202a; }
.tour-meter > b { display: block; width: 3%; height: 100%; border-radius: inherit; background: #82aaff; }
[data-tour-phase="speaking"] .tour-channel:not(.tour-mic) .tour-meter > b { animation: tour-meter .65s ease-in-out infinite alternate; }
.tour-ask-bar { display: flex; align-items: center; gap: 1cqw; padding: .55cqw .9cqw; border-bottom: 1px solid #262c38; flex: none; }
.tour-placeholder { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #59667b; font-size: 1cqw; }
.tour-live .tour-ask { display: inline-flex; justify-content: center; align-items: center; gap: .65cqw; min-height: 2.6cqw; padding: .5cqw 1.1cqw; border: 0; border-radius: .7cqw; background: #7da5f9; color: #0a1221; font-weight: 500; }
.tour-ask .tour-key { color: #243954; background: #294b7620; white-space: nowrap; }
.tour-ask:disabled { opacity: .55; }
.tour-live button[data-tour-cue] { position: relative; box-shadow: 0 0 0 3px #7da5f920, 0 0 18px #7da5f912; }
.tour-screen-button[data-tour-cue] { border-color: #7da5f97a; background: #26334b; color: #e0eaff; }
.tour-live button[data-tour-cue]::after { content: ''; position: absolute; inset: -4px; border: 1px solid #a8c5ff; border-radius: calc(.7cqw + 4px); opacity: 0; pointer-events: none; animation: tour-guide 2.8s ease-in-out .35s 2; }
.tour-ask:hover:not(:disabled) { background: #97b8ff; }
.tour-screen-button:hover:not(:disabled) { color: #fff; background: #252c39; }
.tour-answer-area { min-height: 0; flex: 1; display: flex; flex-direction: column; padding: 1cqw 1.3cqw; }
.tour-question { align-self: flex-end; max-width: 89%; margin: 0 0 .8cqw; padding: .45cqw .8cqw; border: 1px solid #729beb40; border-radius: 1.1cqw 1.1cqw .3cqw 1.1cqw; background: #608ad923; color: #cad7ed; font-size: 1.02cqw; line-height: 1.4; }
.tour-question:empty { display: none; }
.tour-empty { display: grid; place-items: center; text-align: center; flex: 1; color: #5f6c83; font-size: 1.05cqw; padding: 2cqw; }
.tour-response { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #3b4558 transparent; }
.tour-response:empty { display: none; }
.tour-response p { margin: 0 0 .85cqw; }
.tour-response p:last-child { margin-bottom: 0; }
.tour-lead { color: #eff3fc; }
.tour-section-title { color: #99abc6; }
.tour-answer-points { display: grid; gap: 1.05cqw; padding-left: 1.4cqw; margin: 0; }
.tour-answer-points li { padding-left: .15cqw; }
.tour-answer-points li::marker { color: #7da5f9; font-size: .7em; }
.tour-code-card { overflow: hidden; border: 1px solid #293141; border-radius: .7cqw; margin: .6cqw 0; background: #0a0e16; }
.tour-code-heading { display: flex; justify-content: space-between; padding: .35cqw .85cqw; color: #71849e; border-bottom: 1px solid #263044; font: .8cqw/1.5 var(--mono); }
.tour-answer-code { margin: 0; padding: .65cqw .85cqw; color: #cbd5e5; overflow: auto; font: 1.02cqw/1.42 var(--mono); tab-size: 4; }
.tour-answer-note { color: #99a9c1; font-size: 1.03cqw; line-height: 1.45; }
.tour-response .tour-complexity { display: flex; gap: .7cqw; align-items: baseline; margin: .6cqw 0; font-size: .85cqw; color: #7286a5; }
.tour-complexity b { color: #b1c5e5; font: .85cqw var(--mono); }
.py-keyword { color: #c799ee; }
.py-function { color: #82b4ff; }
.py-number { color: #edb785; }
.py-string { color: #a5cc99; }
.py-comment { color: #6c7c96; }
.tour-loading { display: grid; align-content: start; gap: 1.2cqw; padding: 1cqw 0; }
.tour-loading i { height: .55cqw; width: 90%; border-radius: 4px; background: #8cabdd20; animation: tour-record 1s infinite alternate; }
.tour-loading i:nth-child(2) { width: 80%; }
.tour-loading i:nth-child(3) { width: 60%; }
.tour-caption { position: absolute; z-index: 4; left: 3cqw; top: 32cqw; width: 27cqw; padding: 1.2cqw 1.4cqw; border: 1px solid #b3c9ed24; border-radius: 1cqw; background: #0c1523d9; backdrop-filter: blur(14px); box-shadow: 0 8px 32px #0004; }
.tour-caption-label { display: flex; align-items: center; gap: .7cqw; color: #a5bce0; font-size: .95cqw; }
.tour-caption p { margin: .6cqw 0 0; min-height: 2.8em; color: #edf3fe; font-size: 1.45cqw; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.tour-speech-bars { display: inline-flex; gap: 2px; align-items: center; height: 12px; }
.tour-speech-bars i { width: 2px; height: 4px; background: #7cafff; border-radius: 3px; }
.tour-speech-bars i:nth-child(2) { height: 11px; }
[data-tour-phase="speaking"] .tour-speech-bars i { animation: tour-record .6s infinite alternate; }
.tour-speech-bars i:nth-child(2) { animation-delay: -.3s; }
.tour-call-window { position: absolute; inset: 0; z-index: 1; container-type: inline-size; overflow: hidden; border-radius: 1.2cqw; transition: transform 1.65s cubic-bezier(.4,0,.15,1), opacity .6s; }
.stage[data-tour-active] .tour-call-window { transform: translateY(-.6cqw) scale(.86); }
.stage[data-tour-scene="screen"] .tour-call-window { opacity: 0; }
.tour-live, .tour-caption, .tour-editor-stage, .tour-meet { transition: opacity .35s ease, filter .5s ease; }
.stage[data-tour-phase="transition"] :is(.tour-live, .tour-caption, .tour-editor-stage, .tour-meet) { opacity: 0; filter: blur(4px); pointer-events: none; }
.tour-editor-stage { position: absolute; z-index: 2; inset: 3.4cqw 1.6cqw 6.3cqw; display: flex; flex-direction: column; background: #161616; border: 1px solid #494949; border-radius: .9cqw; overflow: hidden; box-shadow: 0 1cqw 4cqw #0006; }
.tour-editor-bar { flex: none; display: flex; align-items: center; gap: 1.5cqw; height: 2.5cqw; padding: 0 1cqw; background: #292929; color: #c2c2c2; font-size: .82cqw; }
.tour-window-dots { display: flex; gap: .4cqw; }
.tour-window-dots i { width: .7cqw; height: .7cqw; border-radius: 50%; background: #ef716b; }
.tour-window-dots i:nth-child(2) { background: #e8bf64; }
.tour-window-dots i:nth-child(3) { background: #73ba85; }
.tour-browser-tab { align-self: end; max-width: 38cqw; padding: .5cqw 1cqw; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: .6cqw .6cqw 0 0; background: #383838; }
.tour-browser-address { flex: none; display: flex; align-items: center; gap: 1cqw; height: 2.6cqw; padding: .35cqw 1cqw; background: #383838; color: #b5b5b5; font-size: 1cqw; }
.tour-browser-address > div { flex: 1; display: flex; align-items: center; gap: .5cqw; align-self: stretch; padding: .2cqw 1cqw; border-radius: 2cqw; background: #242424; color: #d5d5d5; font-size: .78cqw; }
.tour-browser-address svg { width: .8cqw; height: .8cqw; }
.tour-url-path { color: #858585; }
.tour-practice-nav { flex: none; height: 3.5cqw; display: flex; align-items: center; gap: 1.3cqw; padding: .5cqw 1cqw; color: #bdbdbd; font-size: .88cqw; }
.tour-practice-brand { display: inline-flex; align-items: center; gap: .4cqw; color: #eee; font-weight: 600; }
.tour-practice-brand b { color: #e6aa46; font: 700 1.3cqw var(--mono); }
.tour-problem-list { border-left: 1px solid #454545; padding-left: 1cqw; }
.tour-practice-actions { display: flex; gap: .3cqw; margin: auto; }
.tour-practice-actions > span { padding: .45cqw .8cqw; border-radius: .35cqw; background: #2c2c2c; }
.tour-practice-actions > span:last-child { color: #70c182; background: #203225; }
.tour-practice-avatar { width: 1.7cqw; height: 1.7cqw; display: grid; place-items: center; border-radius: 50%; background: #705437; color: #eedac2; font-size: .8cqw; }
.tour-practice-panes { min-height: 0; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .6cqw; padding: 0 .5cqw .5cqw; }
.tour-editor-task, .tour-editor-workspace { min-width: 0; min-height: 0; overflow: hidden; border: 1px solid #414141; border-radius: .6cqw; background: #262626; }
.tour-editor-task { display: flex; flex-direction: column; }
.tour-pane-tabs { flex: none; height: 2.5cqw; display: flex; align-items: center; gap: 1.2cqw; padding: .4cqw .8cqw; background: #303030; color: #8f8f8f; white-space: nowrap; font-size: .84cqw; }
.tour-pane-tabs .is-selected { color: #e2e2e2; font-weight: 500; }
.tour-pane-tabs i { font-style: normal; color: #63a0ee; margin-right: .3cqw; }
.tour-editor-workspace .tour-pane-tabs i { color: #75b66c; }
.tour-pane-tools { margin-left: auto; color: #9b9b9b; }
.tour-task-content { flex: 1; min-height: 0; overflow: auto; padding: 1.1cqw 1.2cqw; scrollbar-width: thin; scrollbar-color: #555 transparent; }
.tour-editor-task h3 { margin: 0 0 1cqw; font-size: 1.65cqw; line-height: 1.25; color: #ededed; }
.tour-task-tags { display: flex; align-items: center; gap: .5cqw; margin-bottom: 1.1cqw; color: #b9b9b9; font-size: .78cqw; }
.tour-task-tags > span { padding: .35cqw .65cqw; background: #363636; border-radius: 2cqw; }
.tour-task-tags .tour-task-level { color: #e4b843; background: #e4b84312; }
.tour-editor-task p { margin: 0 0 1.5cqw; color: #d0d0d0; font-size: 1.04cqw; line-height: 1.6; }
.tour-task-example { margin-top: 1.5cqw; font-size: .94cqw; }
.tour-task-example > b { display: block; margin-bottom: .6cqw; color: #e1e1e1; font-weight: 600; }
.tour-task-example > div { display: grid; grid-template-columns: 4.3cqw minmax(0, 1fr); gap: .6cqw; padding: .4cqw .8cqw; border-left: 2px solid #5e5e5e; }
.tour-task-example > div > span { color: #adadad; }
.tour-task-example code { padding: 0; background: none; white-space: pre-wrap; overflow-wrap: anywhere; color: #d2d2d2; font: .85cqw/1.5 var(--mono); }
.tour-editor-workspace { display: flex; flex-direction: column; background: #202020; }
.tour-file-tab { flex: none; display: flex; gap: 1cqw; align-items: center; padding: .55cqw .8cqw; color: #b5b5b5; border-bottom: 1px solid #353535; font-size: .78cqw; }
.tour-file-tab i { font-style: normal; color: #8e8e8e; }
.tour-editor-code { position: relative; flex: 1; min-height: 0; overflow: auto; margin: 0; padding: 1cqw 0; color: #c7c7c7; font: .92cqw/1.8 var(--mono); scrollbar-width: thin; scrollbar-color: #555 transparent; }
.tour-code-line { display: flex; white-space: pre; }
.tour-code-line > i { flex: none; width: 2.8cqw; padding-right: .8cqw; text-align: right; color: #717171; font-style: normal; user-select: none; }
.tour-code-line > span { position: relative; }
.is-typing .tour-code-line:last-child > span::after { content: ''; position: absolute; width: 1px; height: 1.2em; right: -1px; top: .2em; background: #b8d1fb; animation: tour-caret 1s steps(1) infinite; }
.tour-editor-status { flex: none; display: flex; justify-content: space-between; padding: .5cqw .8cqw; color: #7b7b7b; font: .72cqw var(--mono); }
.tour-test-panel { flex: none; border-top: .5cqw solid #161616; }
.tour-test-panel pre { margin: .65cqw .8cqw; padding: .6cqw .8cqw; border-radius: .35cqw; background: #303030; color: #bdbdbd; white-space: pre-wrap; overflow-wrap: anywhere; font: .75cqw/1.5 var(--mono); }
.tour-editor-output { margin: .6cqw 1cqw; color: #919191; font: .78cqw var(--mono); }
.tour-editor-stage[data-complete] .tour-editor-output { color: #76bd8a; }
.stage[data-tour-scene="screen"] .reveal { -webkit-mask-image: none; mask-image: none; pointer-events: none; }
.stage[data-tour-scene="screen"] .tour-live { pointer-events: auto; }
.stage[data-tour-scene="screen"][data-tour-phase="transition"] .tour-live { pointer-events: none; }
.stage[data-tour-scene="screen"] .tour-ask-bar { display: none; }
/* Маленький Meet остаётся внутри демонстрации, над нижней системной панелью. */
.tour-meet { position: absolute; z-index: 5; right: 2.6cqw; bottom: 6.6cqw; width: 20cqw; padding: .55cqw; border: 1px solid #51565e; border-radius: 1cqw; background: #202124; color: #e8eaed; box-shadow: 0 1.2cqw 3cqw #0008, 0 0 0 1px #0004; pointer-events: none; }
.tour-meet-title { height: 1.9cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 .3cqw .4cqw; font: 500 .8cqw/1.3 var(--sans); }
.tour-meet-brand { display: inline-flex; gap: .55cqw; align-items: center; }
.tour-meet-brand svg { width: 1.3cqw; height: 1.1cqw; }
.tour-meet-window-mark { color: #b7bbc2; font-size: 1cqw; }
.tour-meet-video { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: .65cqw; background: #303134; transition: box-shadow .3s ease; }
.tour-meet.is-speaking .tour-meet-video { box-shadow: 0 0 0 2px #8ab4f8; }
.tour-meet-fallback { position: absolute; width: 210%; max-width: none; height: auto; top: -24%; left: -3%; }
.tour-meet-frame { position: absolute; inset: 0; background-size: 200% 200%; opacity: 0; transition: opacity .3s ease; }
.tour-meet[data-portrait-ready] .tour-meet-frame.is-current { opacity: 1; }
.tour-meet-video::after { content: ''; position: absolute; inset: 60% 0 0; background: linear-gradient(transparent, #0007); pointer-events: none; }
.tour-meet-participant { position: absolute; z-index: 1; bottom: .6cqw; left: .65cqw; font: 500 .85cqw/1.3 var(--sans); text-shadow: 0 1px 3px #000; }
.tour-meet-muted { position: absolute; z-index: 1; bottom: .5cqw; right: .5cqw; width: 1.7cqw; height: 1.7cqw; padding: .35cqw; border-radius: 50%; background: #202124ba; }
.tour-meet-muted svg { width: 100%; height: 100%; }
.tour-meet.is-speaking .tour-meet-muted { visibility: hidden; }
.tour-meet-speaking { position: absolute; z-index: 1; bottom: .5cqw; right: .5cqw; width: 1.7cqw; height: 1.7cqw; display: flex; gap: 2px; align-items: center; justify-content: center; border-radius: 50%; background: #1a73e8; opacity: 0; transition: opacity .2s ease; }
.tour-meet.is-speaking .tour-meet-speaking { opacity: 1; }
.tour-meet-speaking i { width: 2px; height: 35%; border-radius: 2px; background: #fff; }
.tour-meet.is-speaking .tour-meet-speaking i { animation: tour-meet-voice .7s ease-in-out infinite alternate; }
.tour-meet-speaking i:nth-child(2) { animation-delay: -.3s !important; height: 55%; }
.tour-meet-speaking i:nth-child(3) { animation-delay: -.5s !important; }
@keyframes tour-meet-voice { to { transform: scaleY(.4); } }
.tour-meet-caption { position: absolute; z-index: 2; bottom: 6.2cqw; left: 50%; transform: translateX(-50%) translateY(4px); max-width: calc(100% - 20px); padding: .4cqw .75cqw; border-radius: .5cqw; background: #202124eb; color: #fff; white-space: nowrap; font: 500 1.05cqw/1.4 var(--sans); opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.tour-meet.is-speaking .tour-meet-caption { opacity: 1; transform: translateX(-50%); }
.tour-meet-footer { height: 2.65cqw; display: flex; align-items: center; justify-content: space-between; padding: .45cqw .25cqw 0; }
.tour-meet-sharing { display: grid; place-items: center; width: 1.8cqw; height: 1.8cqw; border-radius: .4cqw; color: #a8c7fa; background: #a8c7fa15; }
.tour-meet-footer svg { width: 1.05cqw; height: 1.05cqw; }
.tour-meet-controls { display: flex; gap: .45cqw; }
.tour-meet-controls i { display: grid; place-items: center; width: 2.1cqw; height: 2.1cqw; border-radius: 50%; background: #3c4043; }
.tour-meet-controls i:first-child { background: #5f3035; color: #f6c7ca; }
.tour-meet-controls .tour-meet-hangup { width: 3cqw; border-radius: 2cqw; background: #ea4335; color: #fff; }
.tour-meet-more { width: 1.2cqw; color: #bdc1c6; text-align: center; font-size: 1.35cqw; }
.tour-desktop { position: absolute; z-index: 6; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .35s; }
.stage[data-tour-active] .tour-desktop { opacity: 1; }
.tour-menu-bar { height: 2.7cqw; padding: .6cqw 1.2cqw; display: flex; gap: 1.5cqw; align-items: center; color: #b9c4d8; background: #161c2cdc; font-size: .8cqw; }
.tour-menu-bar b { font-weight: 600; }
.tour-menu-right { margin-left: auto; display: flex; align-items: center; gap: .9cqw; font-variant-numeric: tabular-nums; }
.tour-menu-right svg { width: 1.15cqw; height: 1.15cqw; }
.tour-apple { color: #dde7f8; font-size: 1cqw; }
.tour-system-bar { position: absolute; bottom: .6cqw; left: 50%; transform: translateX(-50%); display: flex; align-items: center; }
.tour-dock { display: flex; align-items: center; gap: .5cqw; padding: .45cqw .65cqw .85cqw; border: 1px solid #ffffff40; border-radius: 1.15cqw; background: linear-gradient(#c8cbdc35, #969baa30); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); box-shadow: inset 0 1px 0 #ffffff1c, 0 .3cqw 1.3cqw #0006; }
.tour-dock-icon { position: relative; display: grid; place-items: center; width: 3.2cqw; height: 3.2cqw; }
.tour-dock-icon svg { width: 100%; height: 100%; }
.tour-dock-icon img { width: 100%; height: 100%; object-fit: contain; }
.tour-icon-aura img { width: 80%; height: 80%; border-radius: 22%; }
.tour-dock-icon.is-current::after { content: ''; position: absolute; bottom: -.43cqw; left: calc(50% - .12cqw); width: .24cqw; height: .24cqw; border-radius: 50%; background: #e3e5ebc9; }
.tour-dock-divider { width: 1px; height: 2.8cqw; background: #d8dbe33b; margin-inline: .3cqw; }
[data-tour-os="windows"] .tour-system-bar { bottom: 0; left: 0; right: 0; height: 4cqw; transform: none; justify-content: center; gap: 1.6cqw; background: #202634f2; border-top: 1px solid #c2d5f022; backdrop-filter: blur(20px); }
[data-tour-os="windows"] .tour-dock { padding: 0; border: 0; box-shadow: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; gap: 1.4cqw; }
[data-tour-os="windows"] .tour-dock-icon { width: 2cqw; height: 2cqw; }
[data-tour-os="windows"] .tour-icon-aura img { width: 100%; height: 100%; }
[data-tour-os="windows"] .tour-dock-icon.is-current::after { width: .55cqw; height: .18cqw; border-radius: 3px; left: calc(50% - .275cqw); bottom: -.65cqw; background: #8bc3fa; }
[data-tour-os="windows"] .tour-editor-stage { top: .9cqw; bottom: 5.3cqw; }
[data-tour-os="windows"] .tour-window-dots { display: none; }
.tour-win-controls { margin-left: auto; display: flex; gap: 2.3cqw; color: #bfc9d8; font: 1.1cqw var(--sans); }
.tour-windows-mark { display: grid; grid-template-columns: 1fr 1fr; gap: .16cqw; width: 1.8cqw; height: 1.8cqw; }
.tour-windows-mark i { background: linear-gradient(140deg, #57c9ff, #169bf4); }
.tour-win-search { display: flex; color: #e2e9f2; }
.tour-win-search svg { width: 1.75cqw; height: 1.75cqw; }
.tour-tray { position: absolute; right: 1cqw; display: flex; align-items: center; gap: .7cqw; color: #dae0ed; font: .8cqw var(--sans); }
.tour-tray svg { width: 1.1cqw; height: 1.1cqw; }
.tour-tray-clock { display: grid; gap: .15cqw; padding-left: .2cqw; text-align: right; font-size: .73cqw; font-variant-numeric: tabular-nums; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 2px 0; font-size: 12px; }
.tour-foot-status { display: inline-flex; align-items: center; gap: 12px; color: #92a6c5; }
.tour-foot-status > :first-child { color: #596b85; font: 10px var(--mono); }
.tour-foot button { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; padding: 8px 0; color: #aac7f7; font: inherit; cursor: pointer; }
.tour-foot button:hover { color: #e7efff; }
@keyframes tour-caret { 50% { opacity: 0; } }
@keyframes tour-record { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes tour-guide { 0%, 100% { opacity: 0; } 50% { opacity: .4; } }
@keyframes tour-meter { from { width: 12%; } to { width: 85%; } }
@keyframes tour-invitation {
  0% { opacity: 0; transform: scale(.9); }
  22% { opacity: .65; }
  100% { opacity: 0; transform: scale(1.8); }
}

@media (max-width: 1050px) and (min-width: 721px) {
  .tour-key { display: none; }
  .tour-live { top: 2.7cqw; width: 66cqw; height: 51cqw; font-size: 1.3cqw; }
  .tour-mic .tour-meter { display: none; }
  .tour-live .tour-ask { min-height: 32px; }
}
/* Помощник слева; код справа остаётся виден на всём протяжении решения. */
@media (min-width: 721px) {
  /* Под Meet оставлено место: ни одна строка набора кода не уходит под видео. */
  .tour-test-panel { min-height: 19.8cqw; padding-right: 21cqw; }
  .tour-test-panel .tour-pane-tabs { gap: .6cqw; font-size: .74cqw; }
  .stage[data-tour-scene="screen"] .tour-live { top: auto; bottom: 6.6cqw; left: 2.6cqw; right: auto; width: 44.8cqw; height: 38.5cqw; font-size: 1.02cqw; transition: opacity .35s ease, filter .5s ease, height .5s ease; }
  .stage[data-tour-scene="screen"]:is([data-tour-phase="settling"], [data-tour-phase="ready"]) .tour-live { height: 10cqw; }
  .stage[data-tour-scene="screen"] .tour-empty { padding: 0; font-size: .95cqw; }
  .stage[data-tour-scene="screen"] .tour-session-controls { gap: .45cqw; }
  .stage[data-tour-scene="screen"] .tour-answer-area { padding: .85cqw 1cqw; }
  .stage[data-tour-scene="screen"] .tour-question { font-size: .85cqw; padding: .3cqw .6cqw; margin-bottom: .65cqw; }
  .stage[data-tour-scene="screen"] .tour-response p { margin-bottom: .65cqw; }
  .stage[data-tour-scene="screen"] .tour-answer-code { font-size: .86cqw; line-height: 1.4; padding: .55cqw .7cqw; }
  .stage[data-tour-scene="screen"] .tour-answer-note { font-size: .86cqw; }
  .stage[data-tour-scene="screen"] .tour-answer-points { gap: 1cqw; }
}
@media (max-width: 720px) {
  .home .hero .actions .tour-launch { gap: 6px; padding-inline: 8px; white-space: normal; line-height: 1.25; }
  .tour-play::before, .tour-play::after { inset: -3px; }
  .home .phone-call { container-type: inline-size; aspect-ratio: 1600 / 930; }
  .home .phone-call img { transform: none; }
  .stage-block[data-tour-active] .phone-stage { display: none; }
  .stage-block[data-tour-active] .stage { display: block; aspect-ratio: auto; height: calc(58.125cqw + 690px); min-height: 0; }
  .stage-block[data-tour-active] .stage-caption { display: flex; align-items: start; min-height: 40px; margin-bottom: 12px; text-align: center; font: 11px/1.5 var(--sans); }
  .stage-block[data-tour-active] .stage-caption svg { display: none; }
  .stage[data-tour-active] .tour-call-window { top: 24px; height: 58.125cqw; transform: none; }

  .tour-live { width: calc(100% - 16px); height: 610px; top: calc(58.125cqw + 28px); right: 8px; border-radius: 10px; font-size: 12px; }
  .tour-live svg { width: 14px; height: 14px; }
  .tour-session-bar { padding: 10px 9px 9px; }
  .tour-session-controls { gap: 6px; }
  .tour-stop, .tour-screen-button { height: 30px; min-height: 30px; padding: 5px 7px; gap: 5px; border-radius: 6px; font-size: 11px !important; }
  .tour-stop-square { width: 7px; height: 7px; }
  .tour-clock { font-size: 11px; gap: 5px; padding: 0; }
  .tour-clock i { width: 5px; height: 5px; }
  .tour-key, .tour-separator { display: none; }
  .tour-modes { margin-left: auto; padding: 2px; border-radius: 6px; }
  .tour-modes button { padding: 4px 6px; border-radius: 4px; font-size: 10px; }
  .tour-channels { padding-top: 9px; gap: 10px; font-size: 8px; }
  .tour-channel { gap: 4px; }
  .tour-channel > i { width: 4px; height: 4px; }
  .tour-meter { width: 25px; height: 3px; }
  .tour-mic .tour-meter { display: none; }
  .tour-ask-bar { gap: 8px; padding: 8px 9px; }
  .tour-placeholder { font-size: 10px; }
  .tour-live .tour-ask { min-height: 38px; padding: 7px 10px; gap: 5px; border-radius: 6px; font-size: 11px; }
  .tour-answer-area { padding: 12px; }
  .tour-question { margin: 0 0 12px; padding: 7px 10px; font-size: 11px; border-radius: 12px 12px 4px 12px; }
  .tour-empty { font-size: 11px; padding: 16px; }
  .tour-answer-points { gap: 12px; padding-left: 13px; }
  .tour-response p { margin-bottom: 10px; }
  .tour-code-card { margin: 8px 0; border-radius: 7px; }
  .tour-code-heading { padding: 6px 9px; font-size: 9px; }
  .tour-answer-code { padding: 8px; font: 10px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
  .tour-response .tour-complexity { margin: 8px 0; gap: 6px; font-size: 10px; }
  .tour-complexity b { font-size: 9px; }
  .tour-answer-note { font-size: 11px; }
  .tour-loading { gap: 12px; padding: 12px 0; }
  .tour-loading i { height: 6px; }
  .tour-caption { left: 3cqw; top: 30cqw; width: 94cqw; padding: 8px 10px; border-radius: 8px; }
  .tour-caption-label { gap: 6px; font-size: 8px; }
  .tour-caption p { margin-top: 3px; min-height: 2.6em; font-size: 12px; line-height: 1.3; }
  .stage-block[data-tour-active][data-tour-scene="screen"] .stage { height: 1230px; }
  .stage[data-tour-scene="screen"] .tour-live { top: 399px; }
  .tour-editor-stage, [data-tour-os="windows"] .tour-editor-stage { inset: 28px 6px auto; height: 360px; border-radius: 8px; }
  .tour-editor-bar { height: 22px; padding: 0 8px; gap: 8px; font-size: 9px; }
  .tour-browser-tab { max-width: 70%; padding: 4px 7px; border-radius: 5px 5px 0 0; }
  .tour-window-dots { gap: 4px; }
  .tour-window-dots i { width: 6px; height: 6px; }
  .tour-browser-address { height: 23px; gap: 9px; padding: 3px 8px; font-size: 12px; }
  .tour-browser-address > div { gap: 5px; padding: 2px 8px; border-radius: 20px; font-size: 8px; }
  .tour-browser-address svg { width: 9px; height: 9px; }
  .tour-practice-nav { height: 28px; padding: 4px 8px; gap: 8px; font-size: 9px; }
  .tour-practice-brand b { font-size: 12px; }
  .tour-problem-list, .tour-practice-avatar { display: none; }
  .tour-practice-actions { margin: 0 0 0 auto; gap: 3px; }
  .tour-practice-actions > span { padding: 3px 6px; border-radius: 4px; }
  .tour-practice-panes { grid-template-columns: minmax(0, 1fr); grid-template-rows: 1.3fr 1fr; gap: 5px; padding: 0 4px 4px; }
  .tour-editor-task, .tour-editor-workspace { border-radius: 5px; }
  .tour-pane-tabs { height: 22px; padding: 4px 7px; gap: 14px; font-size: 9px; }
  .tour-pane-tabs i { margin-right: 3px; }
  .tour-task-content { padding: 7px 9px; }
  .tour-editor-task h3 { margin: 0 0 5px; font-size: 13px; }
  .tour-task-tags { gap: 4px; margin-bottom: 6px; font-size: 8px; }
  .tour-task-tags > span { padding: 2px 5px; border-radius: 12px; }
  .tour-editor-task p { margin: 0 0 8px; font-size: 10px; line-height: 1.45; }
  .tour-task-example { margin-top: 8px; font-size: 9px; }
  .tour-task-example > b { margin-bottom: 4px; }
  .tour-task-example > div { grid-template-columns: 35px minmax(0, 1fr); gap: 4px; padding: 3px 6px; }
  .tour-task-example code { font-size: 8px; }
  .tour-file-tab { gap: 9px; padding: 4px 7px; font-size: 8px; }
  .tour-editor-code { padding: 5px 0; font: 8px/1.7 var(--mono); }
  .tour-code-line > i { width: 23px; padding-right: 6px; }
  .tour-editor-status { padding: 3px 7px; font-size: 7px; }
  .tour-test-panel { display: none; }
  .tour-meet { top: auto; right: 12px; bottom: 56px; width: 144px; padding: 5px; border-radius: 10px; }
  .tour-meet-title { height: 19px; padding: 0 3px 5px; font-size: 9px; }
  .tour-meet-brand { gap: 5px; }
  .tour-meet-brand svg { width: 15px; height: 13px; }
  .tour-meet-window-mark { font-size: 12px; }
  .tour-meet-video { border-radius: 6px; }
  .tour-meet-participant { bottom: 5px; left: 6px; font-size: 10px; }
  .tour-meet-muted { bottom: 4px; right: 4px; width: 18px; height: 18px; padding: 4px; }
  .tour-meet-speaking { bottom: 4px; right: 4px; width: 18px; height: 18px; }
  .tour-meet-caption { bottom: 56px; padding: 4px 8px; font-size: 11px; border-radius: 5px; }
  .tour-meet-footer { height: 26px; padding: 4px 3px 0; }
  .tour-meet-footer svg { width: 11px; height: 11px; }
  .tour-meet-sharing { width: 19px; height: 19px; border-radius: 4px; }
  .tour-meet-controls { gap: 4px; }
  .tour-meet-controls i { width: 22px; height: 22px; }
  .tour-meet-controls .tour-meet-hangup { width: 29px; border-radius: 18px; }
  .tour-meet-more { width: 12px; font-size: 15px; }
  .tour-menu-bar { height: 23px; padding: 5px 8px; font-size: 8px; gap: 10px; }
  .tour-menu-bar > span:not(.tour-menu-right) { display: none; }
  .tour-system-bar { bottom: 7px; }
  .tour-dock { padding: 5px 6px 9px; gap: 4px; border-radius: 10px; }
  .tour-dock-icon { width: 23px; height: 23px; border-radius: 5px; }
  .tour-dock-icon svg { width: 100%; height: 100%; }
  .tour-dock-divider { height: 22px; margin: 0 2px; }
  .tour-dock-icon.is-current::after { width: 2px; height: 2px; bottom: -4px; left: calc(50% - 1px); }
  .tour-menu-right svg { width: 11px; height: 11px; }
  .tour-win-search svg { width: 18px; height: 18px; }
  .tour-win-controls { font-size: 10px; gap: 18px; }

  [data-tour-os="windows"] .tour-dock-icon.is-current::after { width: 6px; height: 2px; left: calc(50% - 3px); bottom: -4px; }
  [data-tour-os="windows"] .tour-system-bar { height: 35px; gap: 12px; }
  [data-tour-os="windows"] .tour-dock { gap: 9px; }
  [data-tour-os="windows"] .tour-dock-icon { width: 21px; height: 21px; border-radius: 4px; }
  [data-tour-os="windows"] .tour-dock-icon svg { width: 100%; height: 100%; }
  .tour-windows-mark { width: 18px; height: 18px; gap: 2px; }
  .tour-tray { display: none; }
  .tour-foot { align-items: start; gap: 10px; padding-top: 10px; font-size: 11px; }
  .tour-foot-status { gap: 5px; flex-direction: column; align-items: start; }
  .tour-foot button { max-width: 65%; padding-block: 0; min-height: 36px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .tour-play::after { animation: none; }
  .hero .actions .tour-launch { transition: none; }
  .stage[data-tour-active], .stage[data-tour-active] *, .stage[data-tour-active] *::after, .stage[data-tour-active] *::before { animation: none !important; transition: none !important; }
}
