:root {
  color-scheme: dark;
  --ink: #08101a;
  --ink-2: #0f1d2c;
  --paper: #f4f0e7;
  --champagne: #d8c6a5;
  --white: #fff;
  --muted: rgba(255, 255, 255, .66);
  --line: rgba(255, 255, 255, .19);
  --glass: rgba(8, 16, 26, .62);
  --low: #e8a27d;
  --medium: #d9c382;
  --high: #95c7b4;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--ink); }
body { min-height: 100%; margin: 0; overflow: hidden; background: var(--ink); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
[hidden] { display: none !important; }
em { color: var(--paper); font-family: var(--serif); font-weight: 400; }

.ambient { position: fixed; inset: 0; overflow: hidden; background: var(--ink); }
.ambient__video, .ambient__fallback { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .65s ease; }
.ambient__video { object-fit: cover; z-index: 1; }
.ambient__video.is-front { z-index: 2; }
.ambient__video.is-active, .ambient__fallback.is-active { opacity: 1; }
.ambient__fallback { z-index: 0; background: radial-gradient(110% 78% at 68% 18%, #27475b 0%, transparent 57%), radial-gradient(85% 70% at 12% 82%, #302b3c 0%, transparent 65%), #08101a; }
.ambient__shade { position: absolute; z-index: 3; inset: 0; background: linear-gradient(180deg, rgba(5, 12, 19, .28) 0%, rgba(5, 12, 19, .18) 26%, rgba(5, 12, 19, .58) 64%, rgba(5, 12, 19, .94) 100%), radial-gradient(115% 100% at 50% 42%, transparent 48%, rgba(5, 12, 19, .42) 100%); }
.ambient__grain { position: absolute; z-index: 4; inset: 0; opacity: .055; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.frame { position: fixed; inset: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); z-index: 40; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.top-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 3px; background: rgba(255, 255, 255, .12); }
.top-progress i { display: block; width: 0; height: 100%; background: var(--paper); transition: width .35s ease; }

.icon-button { position: fixed; z-index: 70; top: max(24px, calc(env(safe-area-inset-top) + 18px)); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--white); background: rgba(8, 16, 26, .45); backdrop-filter: blur(14px); cursor: pointer; }
.icon-button--left { left: 24px; }
.icon-button--right { right: 24px; }
.icon-button[aria-pressed="false"] { opacity: .58; }

#app { position: fixed; inset: 0; z-index: 10; }
.view { position: absolute; inset: 0; display: flex; padding: max(74px, calc(env(safe-area-inset-top) + 64px)) clamp(24px, 6vw, 72px) max(42px, calc(env(safe-area-inset-bottom) + 34px)); animation: view-in .48s cubic-bezier(.22, .8, .3, 1) both; }
.view--bottom { flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
.view--center { align-items: center; justify-content: center; text-align: center; }
.view--scroll { display: block; overflow: auto; overscroll-behavior: contain; background: radial-gradient(120% 65% at 50% 0%, rgba(42, 67, 81, .54), transparent 64%), rgba(5, 11, 18, .88); }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.eyebrow { margin: 0 0 12px; color: var(--champagne); font-size: 10px; font-weight: 600; letter-spacing: .27em; line-height: 1.3; text-transform: uppercase; }
h1, h2, p { margin-top: 0; overflow-wrap: normal; word-break: normal; hyphens: none; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
h1 { margin-bottom: 18px; font-size: clamp(38px, 8vw, 76px); font-weight: 500; letter-spacing: -.05em; line-height: .98; }
h2 { margin-bottom: 13px; font-size: clamp(27px, 4vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.lede { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(14px, 2.2vw, 17px); line-height: 1.68; }
.small-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.welcome-mark { position: absolute; top: max(31px, calc(env(safe-area-inset-top) + 24px)); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; letter-spacing: .17em; }
.welcome-copy { width: min(820px, 100%); }
.welcome-copy h1 em { display: block; font-size: 1.1em; }
.meta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; margin: 28px 0 32px; color: rgba(255,255,255,.72); font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.meta-row span { padding: 0 14px; border-right: 1px solid var(--line); }
.meta-row span:last-child { border: 0; }

.actions { display: flex; gap: 10px; }
.actions--stack { width: min(420px, 100%); flex-direction: column; }
.actions--row { flex-wrap: wrap; align-items: center; }
.button { min-height: 54px; padding: 15px 25px; border: 1px solid transparent; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .2s ease, color .2s ease, opacity .2s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.985); }
.button:disabled { cursor: wait; opacity: .55; }
.button--primary { color: var(--ink); background: var(--paper); }
.button--primary:hover { background: #fff; }
.button--secondary { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.button--quiet { color: rgba(255,255,255,.76); border-color: transparent; background: transparent; }
.glass-card { border: 1px solid var(--line); background: var(--glass); box-shadow: 0 22px 80px rgba(0, 0, 0, .28); backdrop-filter: blur(22px); }

.instruction-card { width: min(560px, 100%); padding: clamp(28px, 6vw, 54px); }
.instruction-card > p:not(.eyebrow):not(.small-note) { color: var(--muted); line-height: 1.65; }
.instruction-card .button { width: 100%; margin-top: 10px; }
.instruction-scale { display: flex; align-items: center; gap: 16px; margin: 30px 0 8px; }
.instruction-scale b { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.instruction-scale i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.2), var(--paper)); }
.instruction-labels, .scale-labels { display: flex; justify-content: space-between; color: rgba(255,255,255,.6); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.instruction-card .small-note { margin: 28px 0 20px; }

.quiz-heading { display: flex; align-items: center; justify-content: space-between; width: min(720px, 100%); }
.quiz-heading .eyebrow { margin: 0; }
.counter { margin: 0; color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .14em; }
.question { display: flex; align-items: center; justify-content: center; width: min(760px, 100%); min-height: 3.7em; margin: 12px 0 clamp(24px, 5vh, 48px); font-family: var(--serif); font-size: clamp(26px, min(5.1vw, 5.3vh), 42px); font-style: italic; font-weight: 400; letter-spacing: -.015em; line-height: 1.2; text-wrap: balance; text-shadow: 0 4px 32px rgba(0,0,0,.68); }
.question:focus { outline: none; }
.question.is-changing { animation: question-in .35s ease both; }
@keyframes question-in { from { opacity: 0; transform: translateY(8px); } }
.answer-area { width: min(560px, 100%); }
.scale-labels { margin-bottom: 10px; text-align: left; }
.scale-labels span:last-child { text-align: right; }
.answer-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.answer-scale button { display: flex; min-height: 68px; align-items: center; justify-content: center; gap: 4px; border: 0; color: var(--white); background: rgba(5,12,19,.64); cursor: pointer; }
.answer-scale button:hover, .answer-scale button:focus-visible { background: rgba(255,255,255,.14); }
.answer-scale button.is-selected { color: var(--ink); background: var(--paper); }
.answer-scale button b { font-size: 17px; font-weight: 500; }
.answer-scale button small { color: inherit; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.sphere-progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin-top: 25px; }
.sphere-progress i { height: 2px; background: rgba(255,255,255,.2); }
.sphere-progress i.is-done { background: var(--paper); }
.sphere-progress i.is-current { background: linear-gradient(90deg, var(--paper) var(--fill), rgba(255,255,255,.2) var(--fill)); }

.view--film { padding: 0; align-items: stretch; justify-content: stretch; background: var(--ink); }
.view--film video { width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,19,.08), rgba(5,12,19,.3) 48%, rgba(5,12,19,.9)); }
.film-copy { position: absolute; left: clamp(26px, 7vw, 84px); right: clamp(26px, 7vw, 84px); bottom: max(132px, calc(env(safe-area-inset-bottom) + 122px)); max-width: 620px; }
.film-copy h2 { font-size: clamp(35px, 7vw, 64px); }
.film-copy p:last-child { color: var(--muted); line-height: 1.6; }
.film-controls { position: absolute; right: clamp(26px, 7vw, 84px); bottom: max(38px, calc(env(safe-area-inset-bottom) + 28px)); left: clamp(26px, 7vw, 84px); display: flex; align-items: center; gap: 18px; }
.film-progress { flex: 1; height: 1px; background: var(--line); }
.film-progress i { display: block; width: 0; height: 100%; background: var(--paper); }

.result-shell { width: min(1180px, 100%); margin: 0 auto; padding-bottom: 48px; }
.result-header { padding: clamp(48px, 8vw, 94px) 0 34px; text-align: center; }
.result-header h1 { margin: 2px 0 26px; font-family: var(--serif); font-size: clamp(80px, 15vw, 142px); font-style: italic; font-weight: 400; letter-spacing: -.06em; line-height: 1; }
.result-header h1 small { margin-left: 4px; font-family: var(--sans); font-size: .18em; font-style: normal; letter-spacing: 0; opacity: .55; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.map-card { padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: 24px; align-items: center; }
.step-card { margin-top: 16px; padding: clamp(24px, 4vw, 42px); }
.card-heading { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.card-heading h2 { font-size: clamp(25px, 3vw, 34px); }
.legend { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--paper); }
#radar { display: block; width: min(430px, 100%); margin: 12px auto 0; overflow: visible; }
.score-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: -2px; background: var(--line); border: 1px solid var(--line); }
.score-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; padding: 13px 15px; background: rgba(7,15,24,.78); }
.score-item b { font-size: 12px; font-weight: 600; }
.score-item strong { font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 400; }
.score-item meter { grid-column: 1 / -1; width: 100%; height: 3px; border: 0; background: rgba(255,255,255,.12); }
.score-item meter::-webkit-meter-bar { height: 3px; border: 0; background: rgba(255,255,255,.12); }
.score-item meter::-webkit-meter-optimum-value { background: var(--paper); }
.score-item meter::-moz-meter-bar { background: var(--paper); }
.disclaimer { margin: 18px 0 0; color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.55; }
.ai-badge { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.ai-badge.is-ready { color: var(--high); border-color: rgba(149,199,180,.35); }
.analysis-content { padding-top: 20px; }
.analysis-summary { margin: 0 0 26px; font-family: var(--serif); font-size: clamp(21px, 2.5vw, 28px); font-style: italic; line-height: 1.35; }
.priority { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 19px 0; border-top: 1px solid var(--line); }
.priority__num { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--champagne); font-family: var(--serif); font-size: 18px; font-style: italic; }
.priority h3 { margin: 0 0 7px; font-size: 14px; }
.priority p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.priority__step { display: block; margin-top: 9px; padding-left: 12px; border-left: 1px solid var(--champagne); color: rgba(255,255,255,.9); font-size: 12px; line-height: 1.55; }
.analysis-close { margin: 4px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: rgba(255,255,255,.84); font-size: 12px; line-height: 1.65; }
.skeleton { height: 60px; margin: 15px 0; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05)); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton--short { width: 72%; }
@keyframes shimmer { to { background-position: -220% 0; } }

.course-card { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); min-height: 430px; margin-top: 16px; overflow: hidden; color: var(--ink); background: var(--paper); }
.course-card__visual { position: relative; min-height: 360px; overflow: hidden; background: #b9b1a3; }
.course-card__visual::after { position: absolute; inset: 0; content: ''; background: linear-gradient(180deg, rgba(8,16,26,.04), rgba(8,16,26,.3)); pointer-events: none; }
.course-card__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); }
.course-card__tag { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 8px 11px; color: var(--white); background: rgba(8,16,26,.7); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(12px); }
.course-card__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 5vw, 64px); }
.course-card__body .eyebrow { color: #75664d; }
.course-card__body h2 { max-width: 620px; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(35px, 4.5vw, 58px); font-style: italic; font-weight: 400; line-height: 1; }
.course-card__why { max-width: 650px; margin-bottom: 20px; color: #34404b; font-size: 14px; line-height: 1.7; }
.course-route { max-width: 650px; margin-bottom: 28px; padding: 14px 0 14px 18px; border-left: 2px solid #a99574; color: #5d513f; font-size: 11px; font-weight: 600; letter-spacing: .03em; line-height: 1.55; }
.course-card .button--primary { color: var(--white); background: var(--ink); }
.course-card .button--secondary { color: var(--ink); border-color: rgba(8,16,26,.28); background: transparent; }
/* 28.09.2026: «Про курс» — посилання-кнопка; текст по центру, як у <button> */
.course-card a.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
.course-card .button--quiet { color: #45505a; }

.next-card { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 16px; padding: clamp(25px, 4vw, 44px); color: var(--ink); background: var(--paper); }
.next-card .eyebrow { color: #75664d; }
.next-card h2 { margin-bottom: 7px; }
.next-card p:last-child { margin: 0; color: #45505a; font-size: 13px; line-height: 1.6; }
.next-card .button--primary { color: var(--white); background: var(--ink); }
.next-card .button--secondary { color: var(--ink); border-color: rgba(8,16,26,.3); background: transparent; }
.next-card .button--quiet { color: #45505a; }
.partner-card { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin-top: 16px; padding: clamp(24px, 4vw, 38px); }
.partner-avatar { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--champagne); font-family: var(--serif); font-size: 22px; font-style: italic; }
.partner-copy h2 { margin-bottom: 6px; font-size: 28px; }
.partner-copy p:last-child { max-width: 670px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.result-footer { display: block; padding: 30px 0 4px; }
.result-footer a, .text-button { border: 0; color: rgba(255,255,255,.58); background: transparent; font-size: 10px; letter-spacing: .08em; text-decoration: none; cursor: pointer; }
.result-footer a:hover, .text-button:hover { color: var(--white); }

.view--modal { background: rgba(3,8,13,.84); backdrop-filter: blur(10px); }
.contact-card { position: relative; width: min(610px, 100%); margin: 1vh auto; padding: clamp(28px, 6vw, 56px); }
.close-button { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--white); background: transparent; font-size: 22px; cursor: pointer; }
.form-lede { margin-bottom: 28px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-card label:not(.consent) { display: block; margin-top: 17px; color: rgba(255,255,255,.68); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contact-card input, .contact-card select { width: 100%; min-height: 52px; margin-top: 7px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; color: var(--white); background: rgba(255,255,255,.06); font-size: 15px; text-transform: none; }
.contact-card input::placeholder { color: rgba(255,255,255,.35); }
.contact-card select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.consent { display: flex; gap: 11px; align-items: center; margin: 20px 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.consent input { width: 17px; min-height: 17px; margin: 1px 0 0; accent-color: var(--paper); }
.contact-card > .button { width: 100%; }
.form-error { min-height: 18px; margin: 0 0 8px; color: #ffb199; font-size: 11px; }
.contact-card > .small-note { margin: 15px 0 0; text-align: center; }
.success-card { width: min(540px, 100%); padding: clamp(30px, 6vw, 56px); }
.success-check { display: grid; width: 62px; height: 62px; margin: 0 auto 24px; place-items: center; border: 1px solid rgba(149,199,180,.5); border-radius: 50%; color: var(--high); font-size: 25px; }
.success-card > p:not(.eyebrow) { margin-bottom: 25px; color: var(--muted); line-height: 1.65; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: max(22px, calc(env(safe-area-inset-bottom) + 14px)); transform: translate(-50%, 18px); max-width: calc(100vw - 34px); padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .result-grid { grid-template-columns: 1fr; }
  .map-card, .analysis-card { min-height: 0; }
  .next-card { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: auto 1fr; }
  .partner-card .button { grid-column: 1 / -1; width: 100%; }
  .course-card { grid-template-columns: 1fr; }
  .course-card__visual { min-height: min(58vw, 390px); }
}

@media (max-width: 560px) {
  .view { padding-right: 22px; padding-left: 22px; }
  .view--film { padding: 0; }
  .icon-button { top: max(20px, calc(env(safe-area-inset-top) + 14px)); width: 40px; height: 40px; }
  .icon-button--left { left: 20px; }
  .icon-button--right { right: 20px; }
  .welcome-copy h1 { font-size: clamp(40px, 12vw, 58px); }
  .meta-row span { padding: 0 9px; font-size: 8px; }
  .question { min-height: 4.1em; margin-bottom: 24px; font-size: clamp(25px, min(7.9vw, 4.7vh), 34px); }
  .answer-scale button { min-height: 62px; }
  .scale-labels { font-size: 7px; }
  .result-shell { padding-bottom: 22px; }
  .result-header { padding-top: 32px; }
  .map-card, .analysis-card { padding: 23px 19px; }
  .score-list { grid-template-columns: 1fr; }
  .next-card .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .next-card .button:first-child { grid-column: 1 / -1; }
  .partner-card { grid-template-columns: 52px 1fr; gap: 15px; }
  .partner-avatar { width: 50px; height: 50px; }
  .course-card__body { padding: 30px 22px 34px; }
  .course-card__body h2 { font-size: clamp(34px, 10vw, 46px); }
  .course-card .actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .course-card .button { width: 100%; }
  .film-controls { align-items: stretch; flex-direction: column; }
  .film-progress { width: 100%; flex: 0 0 1px; }
  .film-controls .button { align-self: flex-start; padding-left: 0; }
}

@media (max-height: 760px) and (min-width: 561px) {
  .view { padding-top: max(60px, calc(env(safe-area-inset-top) + 54px)); padding-bottom: max(25px, calc(env(safe-area-inset-bottom) + 20px)); }
  .question { min-height: 3.1em; margin-top: 6px; margin-bottom: 17px; font-size: clamp(24px, min(4.1vw, 5.1vh), 36px); }
  .answer-scale button { min-height: 56px; }
  .sphere-progress { margin-top: 16px; }
  .film-copy { bottom: max(112px, calc(env(safe-area-inset-bottom) + 102px)); }
  .film-copy h2 { font-size: clamp(31px, 6.5vh, 48px); }
}

@media (max-height: 720px) and (max-width: 560px) {
  .view { padding-top: max(61px, calc(env(safe-area-inset-top) + 54px)); padding-bottom: max(25px, calc(env(safe-area-inset-bottom) + 20px)); }
  .view--film { padding: 0; }
  .question { min-height: 3.55em; margin: 6px 0 16px; font-size: clamp(23px, min(7.3vw, 4.35vh), 29px); line-height: 1.16; }
  .answer-scale button { min-height: 52px; }
  .sphere-progress { margin-top: 14px; }
  .film-copy { bottom: max(138px, calc(env(safe-area-inset-bottom) + 128px)); }
  .film-copy h2 { font-size: clamp(31px, 8.8vw, 40px); }
  .film-copy p:last-child { margin-bottom: 0; font-size: 13px; line-height: 1.45; }
  .film-controls { bottom: max(24px, calc(env(safe-area-inset-bottom) + 18px)); gap: 9px; }
  .film-controls .button { min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ambient__video { display: none; }
}

@media print {
  body { overflow: visible; color: #111; background: #fff; }
  .ambient, .frame, .top-progress, .icon-button, .next-card, .partner-card, .result-footer { display: none !important; }
  #app, .view, .view--scroll { position: static; overflow: visible; padding: 0; color: #111; background: #fff; }
  .glass-card { color: #111; background: #fff; border-color: #bbb; box-shadow: none; }
  .result-grid { grid-template-columns: 1fr 1fr; }
  .result-header .lede, .priority p, .disclaimer { color: #444; }
}
.label-opt { font-weight: 400; color: var(--muted); font-size: 11px; margin-left: 6px; }

/* Вибір після карти: консультація або «поки ні» */
.partner-card .actions--row { margin-top: 16px; }
.consult-panel { margin-top: 16px; display: grid; gap: 12px; max-width: 420px; }
.consult-panel label { display: grid; gap: 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.consult-panel select { font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--white); background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.consult-done { margin-top: 14px; color: var(--paper); font-size: 14px; line-height: 1.6; }

/* Спрощена сторінка результату (18.09.2026) */
.more-toggle { margin-top: 14px; }
.analysis-more { margin-top: 6px; }
.text-link { color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; align-self: center; }
.course-card .consult-panel select { color: var(--ink); background: rgba(8,16,26,.04); border-color: rgba(8,16,26,.2); }
/* Лейбл був білим по кремовому — --muted розрахований на темний фон (19.09.2026) */
.course-card .consult-panel label { color: rgba(8,16,26,.62); }
.course-card .consult-done { color: #34404b; }
.result-footer { margin-top: 20px; }
.result-actions { width: 100%; }
.result-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.button--outline { padding: 15px 14px; border-radius: 2px; color: rgba(255,255,255,.72); background: transparent; border: 1px solid rgba(255,255,255,.16); text-align: center; white-space: nowrap; }
.button--outline:hover { color: var(--white); border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); }
.result-footer .disclaimer { margin: 34px 0 0; text-align: center; }
@media (max-width: 760px) { .result-actions { grid-template-columns: 1fr 1fr; } .button--outline { white-space: normal; } }
@media (max-width: 760px) { .map-card { grid-template-columns: 1fr; } }

/* Варіант A сторінки результату (18.09.2026, Мирослав): крупніший перший екран */
.result-header .eyebrow { font-size: 14px; letter-spacing: .18em; margin-bottom: 14px; }
.result-header h1 { font-size: clamp(96px, 16vw, 180px); margin-bottom: 24px; }
.result-header .lede { font-size: clamp(17px, 2.2vw, 22px); color: rgba(255,255,255,.9); max-width: 620px; }
.score-item { padding: 15px 18px; }
.score-item b { font-size: 15px; }
.score-item strong { font-size: 24px; }
.score-item meter { height: 4px; }
