/* Натальная карта руководителя · СКОЛКОВО, День основания 2026
   Мир: планетарий × конструктивистский плакат. Небо (навигационный синий) держит карту,
   земля (белая) держит программы. Один шрифт — Raleway, углы прямые, золото только для знаков. */

:root {
  --navy: #050340;
  --navy-deep: #03022B;
  --navy-glow: #0B0A5E;
  --blue: #0075BC;
  --blue-deep: #005C94;
  --sky: #A3CDE6;
  --gold: #E8B84B;
  --paper: #FFFFFF;
  --plate: #F1F4F9;
  --ink: #050340;
  --ink-2: #454A6E;
  --ink-3: #6B6F87;
  --rule: #E1E5EE;
  --rule-2: #C6CCDA;
  --s1: #0075BC;
  --s2: #050340;
  --s3: #A3CDE6;
  --s3-text: #4F9BCC;
  --s4: #7F7F7F;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1120px;
  --top-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-variant-numeric: lining-nums tabular-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--blue);
  accent-color: var(--blue);
}
body.has-kiosk { padding-bottom: 96px; }
::selection { background: var(--blue); color: #fff; }
* { scrollbar-width: thin; scrollbar-color: rgba(5, 3, 64, .35) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-thumb { background: rgba(5, 3, 64, .35); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font-family: inherit; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Шапка */
.top {
  background: var(--navy);
  color: #fff;
  min-height: var(--top-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
}
.top__in { width: 100%; display: flex; align-items: center; gap: 18px; }
.top__logo { height: 22px; width: auto; }
.top__sep { width: 1px; height: 22px; background: rgba(255, 255, 255, .28); }
.top__date { font-size: 14px; font-weight: 400; color: var(--sky); letter-spacing: .01em; }
.top__date { white-space: nowrap; }
@media (max-width: 480px) { .top__date { font-size: 12px; } .top__date-long { display: none; } .top__logo { height: 18px; } }

/* Экраны и переходы */
.screen { animation: screen-in 260ms var(--ease-out) both; }
.screen.is-leaving { opacity: 0; transition: opacity 140ms ease; }
@keyframes screen-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Небо */
.sky {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(110% 80% at 78% 8%, var(--navy-glow) 0%, var(--navy) 46%, var(--navy-deep) 100%);
}
.sky p { color: var(--sky); }
.spark { position: absolute; width: 10px; height: 10px; color: var(--gold); opacity: .8; animation: twinkle 4.8s ease-in-out infinite alternate; }
.spark--dim { color: #fff; opacity: .5; width: 7px; height: 7px; }
@keyframes twinkle { from { opacity: .35; } to { opacity: .95; } }

/* Диагональный срез — фирменная плашка */
.cut { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 20vh, 240px); pointer-events: none; }
.cut::before, .cut::after { content: ""; position: absolute; inset: 0; }
.cut::before { background: var(--blue); clip-path: polygon(0 46%, 100% 0, 100% 100%, 0 100%); }
.cut::after { background: rgba(163, 205, 230, .3); clip-path: polygon(0 84%, 100% 38%, 100% 100%, 0 100%); }
.cut--paper::before { background: var(--paper); clip-path: polygon(0 100%, 100% 30%, 100% 100%, 0 100%); }
.cut--paper::after { background: rgba(163, 205, 230, .35); clip-path: polygon(0 100%, 100% 12%, 100% 40%, 0 100%); }

/* Старт */
.start {
  min-height: calc(100vh - var(--top-h));
  min-height: calc(100svh - var(--top-h));
  display: grid;
  align-items: center;
  padding-block: clamp(40px, 6vh, 96px) clamp(170px, 24vh, 280px);
}
.start__wheel {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: clamp(560px, 66vw, 980px);
  transform: translateY(-54%);
  opacity: .6;
  pointer-events: none;
}
.start__wheel svg { animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.start__in { position: relative; max-width: 860px; }
.start__title {
  font-weight: 200;
  font-size: clamp(46px, 7.2vw, 96px);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.start__title b { font-weight: 500; }
.start__lead { margin-top: 26px; font-weight: 300; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.45; max-width: 34em; text-wrap: pretty; }
.facts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.facts li { display: flex; align-items: center; gap: 12px; }
.facts li::before { content: ""; width: 6px; height: 6px; background: rgba(255, 255, 255, .55); }
.start__cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.start__note { margin-top: 26px; font-size: 14px; color: rgba(163, 205, 230, .78); max-width: 40em; line-height: 1.5; }
@media (max-width: 760px) {
  .start__wheel { right: auto; left: 50%; width: 150vw; transform: translate(-50%, -50%); opacity: .3; }
  .start { padding-bottom: clamp(160px, 26vh, 240px); }
}

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 34px;
  font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: .02em;
  border: 1px solid var(--navy); border-radius: 0; cursor: pointer;
  background: var(--navy); color: #fff;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); min-height: 48px; padding: 0 22px; font-size: 14px; }
.btn--outline.on-dark { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
  .btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
  .btn--outline:hover { background: var(--navy); color: #fff; }
  .btn--outline.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
}
.link { color: var(--blue); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.back { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); background: none; border: 0; padding: 8px 0; font: 500 15px/1 Raleway, sans-serif; cursor: pointer; transition: color 160ms ease; }
.back svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .back:hover { color: var(--blue); } }

/* Опрос */
.quiz { padding-block: 0 clamp(56px, 8vh, 96px); }
.quiz__in { max-width: 760px; }
.quiz__sky { position: relative; overflow: hidden; color: #fff; background: radial-gradient(110% 120% at 85% 0%, var(--navy-glow) 0%, var(--navy) 46%, var(--navy-deep) 100%); padding-block: clamp(22px, 4vh, 40px); }
.quiz__wheel { position: absolute; top: 50%; right: -6vw; width: clamp(420px, 46vw, 680px); transform: translateY(-50%); opacity: .38; pointer-events: none; }
.quiz__wheel svg { animation: spin 240s linear infinite; }
.quiz__head { position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 28px); }
.ring { width: clamp(88px, 12vw, 128px); height: auto; flex: none; }
.quiz__count { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.quiz__count b { color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.quiz__kind { display: block; margin-top: 8px; font-size: 15px; font-weight: 500; letter-spacing: .01em; text-transform: none; color: #fff; }
.quiz__body { padding-top: clamp(28px, 5vh, 52px); }
.quiz__q {
  margin-top: 0;
  font-weight: 300;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.22;
  letter-spacing: -.012em;
  text-wrap: balance;
  max-width: 22em;
}
.opts { margin-top: 34px; display: grid; gap: 10px; }
.opt {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule-2);
  padding: 19px 22px 19px 60px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  animation: rise 320ms var(--ease-out) both;
  transition: transform 160ms var(--ease-out), border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.opt:nth-child(2) { animation-delay: 45ms; }
.opt:nth-child(3) { animation-delay: 90ms; }
.opt:nth-child(4) { animation-delay: 135ms; }
.opt::before {
  content: ""; position: absolute; left: 24px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border: 1.5px solid var(--blue); transition: background-color 140ms ease, border-color 140ms ease;
}
.opt:active { transform: scale(.985); }
.opt.is-picked { background: var(--navy); color: #fff; border-color: var(--navy); }
.opt.is-picked::before { background: var(--gold); border-color: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .opt:hover { border-color: var(--navy); }
  .opt:hover::before { background: var(--blue); }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz__foot { margin-top: 28px; min-height: 32px; }

/* Карта (результат, часть 1) */
.map { padding-block: clamp(40px, 7vh, 88px) clamp(140px, 18vh, 220px); }
.map .cut { height: clamp(100px, 16vh, 200px); }
.map__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.map__head { order: 1; } .map__grid .wheel { order: 2; } .map__legend { order: 3; margin-top: 0; }
@media (min-width: 840px) {
  .map__grid { grid-template-columns: minmax(300px, 480px) minmax(300px, 1fr); grid-template-rows: auto auto; column-gap: 56px; row-gap: 28px; }
  .map__grid .wheel { grid-column: 1; grid-row: 1 / span 2; order: 0; }
  .map__head { grid-column: 2; order: 0; align-self: end; }
  .map__legend { grid-column: 2; order: 0; align-self: start; }
}
@media (min-width: 1100px) {
  .map .wrap { max-width: 1360px; }
  .map__grid { grid-template-columns: minmax(480px, 600px) minmax(440px, 1fr); column-gap: 72px; }
  .wheel { max-width: 600px; }
}
.map__title { font-weight: 200; font-size: clamp(38px, 6.4vw, 76px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.map__lead { margin-top: 20px; font-weight: 300; font-size: clamp(16px, 2vw, 19px); line-height: 1.5; max-width: 30em; }
.map__stamp { margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(163, 205, 230, .85); }
.wheel { width: 100%; max-width: 480px; margin-inline: auto; }
.wheel svg { width: 100%; height: auto; }
.wheel .sec { transform-origin: 200px 200px; animation: sector 820ms var(--ease-out) both; }
.wheel .sec:nth-of-type(2) { animation-delay: 90ms; }
.wheel .sec:nth-of-type(3) { animation-delay: 180ms; }
.wheel .sec:nth-of-type(4) { animation-delay: 270ms; }
.wheel .glyph { animation: glyph-in 500ms var(--ease-out) both; animation-delay: 760ms; }
.wheel .asc { animation: glyph-in 500ms var(--ease-out) both; animation-delay: 900ms; }
@keyframes sector { from { opacity: 0; transform: scale(.18); } to { opacity: 1; transform: none; } }
@keyframes glyph-in { from { opacity: 0; } to { opacity: 1; } }
.legend { margin-top: 28px; }
.leg { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 9px; align-items: baseline; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.leg:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.leg__roman { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.leg__name { font-size: 17px; font-weight: 500; color: #fff; }
.leg__badge { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); white-space: nowrap; }
.leg__badge b { color: #fff; font-size: 15px; letter-spacing: 0; margin-right: 6px; }
.leg__bar { grid-column: 2 / 4; height: 3px; background: rgba(255, 255, 255, .12); }
.leg__fill { height: 100%; background: var(--c); transform-origin: left center; transform: scaleX(var(--w)); animation: grow 760ms var(--ease-out) both; }
@keyframes grow { from { transform: scaleX(0); } }

/* Земля: форма и карточка */
.ground { position: relative; background: var(--paper); color: var(--ink); padding-block: clamp(44px, 7vh, 88px) clamp(56px, 8vh, 96px); }
.reveal { animation: screen-in 320ms var(--ease-out) both; }

.form { max-width: 760px; }
.h-display { font-weight: 200; font-size: clamp(36px, 6vw, 66px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.form__lead { margin-top: 18px; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.fields { margin-top: 36px; display: grid; gap: 28px 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.field__label i { font-style: normal; font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--ink-3); }
.field input {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0;
  padding: 12px 0; background: transparent; color: var(--ink);
  font-family: inherit; font-size: 18px; line-height: 1.3;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field input::placeholder { color: var(--ink-3); opacity: 1; }
.field input:focus { outline: none; border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.field.is-bad input { border-bottom-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.seg { display: flex; }
.seg button {
  flex: 1; border: 1px solid var(--rule-2); background: #fff; color: var(--ink);
  padding: 14px 10px; font-size: 16px; font-weight: 500; cursor: pointer; border-radius: 0;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.seg button + button { margin-left: -1px; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) { .seg button:hover { border-color: var(--navy); position: relative; z-index: 1; } }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--ink-2); position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--navy); margin-top: 1px; display: grid; place-items: center; transition: background-color 140ms ease; }
.check__box svg { width: 13px; height: 13px; opacity: 0; transition: opacity 120ms ease; }
.check input:checked + .check__box { background: var(--navy); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue); outline-offset: 2px; }
.form__error { margin-top: 22px; padding: 14px 18px; background: rgba(163, 205, 230, .28); color: var(--navy); font-weight: 500; font-size: 15px; line-height: 1.45; animation: screen-in 200ms var(--ease-out) both; }
.form__actions { margin-top: 32px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__hint { font-size: 13px; color: var(--ink-3); }

/* Карточка (результат, часть 2) */
.card { }
.profile { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }
@media (min-width: 720px) { .profile { grid-template-columns: 250px minmax(0, 1fr); gap: 52px; } }
.portrait-plate { background: var(--plate); width: min(100%, 250px); aspect-ratio: 200 / 240; }
.portrait { width: 100%; height: 100%; }
.profile__name { font-weight: 200; font-size: clamp(46px, 9vw, 100px); line-height: .94; letter-spacing: -.03em; text-wrap: balance; }
.profile__tag { margin-top: 16px; font-size: clamp(18px, 2.4vw, 25px); font-weight: 300; line-height: 1.35; color: var(--blue); max-width: 24em; }
.caption { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.caption svg { width: 16px; height: 16px; flex: none; }
.profile__text { margin-top: 30px; display: grid; gap: 14px; max-width: 64ch; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: flex-start; gap: 9px; max-width: 100%; border: 1px solid var(--rule-2); padding: 10px 14px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.chip svg { flex: none; margin-top: 2px; }
.chip svg { width: 14px; height: 14px; }

.block { margin-top: clamp(52px, 8vh, 84px); padding-top: 30px; border-top: 1px solid var(--rule); }
.block__title { font-weight: 300; font-size: clamp(26px, 4vw, 42px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; max-width: 22em; }
.block__lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }

.progs { margin-top: 30px; }
.prog { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 26px 0; border-top: 1px solid var(--rule); }
.prog:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .prog { grid-template-columns: 150px minmax(0, 1fr) auto; column-gap: 32px; align-items: start; } .prog__role { padding-top: 6px; } .prog__link { grid-column: 3; grid-row: 1 / span 3; align-self: center; } }
.prog__role { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.prog__name { font-size: clamp(19px, 2.4vw, 24px); font-weight: 600; line-height: 1.25; grid-column: 2; }
.prog__why { color: var(--ink-2); font-size: 16px; line-height: 1.55; grid-column: 2; max-width: 60ch; }
.prog__meta { color: var(--ink-3); font-size: 14px; letter-spacing: .01em; grid-column: 2; }
.prog__link { justify-self: start; white-space: nowrap; }
@media (max-width: 759px) { .prog__role { grid-row: 1; } .prog__link { margin-top: 6px; } }

.asc {
  position: relative; overflow: hidden;
  margin-top: clamp(56px, 9vh, 96px);
  margin-inline: calc(-1 * var(--gutter));
  padding: clamp(40px, 6vw, 72px) var(--gutter) calc(clamp(40px, 6vw, 72px) + clamp(90px, 14vh, 150px));
  background: radial-gradient(90% 70% at 10% 0%, var(--navy-glow) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  color: #fff;
}
.asc__in { position: relative; max-width: 760px; }
.asc .cut { height: clamp(90px, 14vh, 150px); }
.asc__horizon { font-weight: 200; font-size: clamp(34px, 5.6vw, 64px); line-height: .98; letter-spacing: -.025em; text-wrap: balance; }
.asc .caption { color: var(--gold); }
.asc__why { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--sky); max-width: 56ch; }
.asc__why b { color: #fff; font-weight: 600; }
.asc__prog { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 8px; }
.asc__name { font-size: clamp(20px, 2.6vw, 26px); font-weight: 600; line-height: 1.25; }
.asc__meta { color: var(--sky); font-size: 14px; }
.asc__link { margin-top: 14px; justify-self: start; }

.cal { margin-top: clamp(52px, 8vh, 84px); }
.cal__list { margin-top: 22px; }
.cal__row { display: grid; grid-template-columns: 1fr; gap: 4px 24px; padding: 15px 0; border-top: 1px solid var(--rule); }
.cal__row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 640px) { .cal__row { grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; } }
.cal__date { color: var(--ink-3); font-size: 14px; }
.cal__name a { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rule-2); transition: border-color 160ms ease, color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .cal__name a:hover { color: var(--blue); border-color: var(--blue); } }

.foot { padding: 48px var(--gutter) 44px; }
.foot__in { max-width: var(--max); margin-inline: auto; }
.foot__rule { width: 148px; height: 2px; background: var(--navy); margin-bottom: 16px; }
.foot__labels { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* Киоск-плашка на планшете */
.kiosk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: var(--navy); color: #fff;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  box-shadow: 0 -10px 30px rgba(5, 3, 64, .2);
}
.kiosk__text { font-size: 14px; color: var(--sky); }

/* Модальное окно согласия */
.consent { border: 0; padding: 0; margin: auto; width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(3, 2, 43, .35); }
.consent::backdrop { background: rgba(5, 3, 64, .55); animation: fade-in 250ms ease both; }
.consent[open] { animation: modal-in 250ms var(--ease-out) both; }
@keyframes modal-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.consent__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; border-bottom: 1px solid var(--rule); }
.consent__title { font-size: 18px; font-weight: 600; }
.consent__close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--rule-2); background: #fff; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease; }
.consent__close svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .consent__close:hover { border-color: var(--navy); } }
.consent__body { padding: 22px 28px; max-height: 58vh; overflow: auto; font-size: 14px; line-height: 1.6; color: var(--ink-2); white-space: pre-line; }
.consent__foot { padding: 16px 28px; border-top: 1px solid var(--rule); display: flex; gap: 12px; justify-content: flex-end; }

/* Планшет */
html[data-mode="tablet"] body { font-size: 17px; }
html[data-mode="tablet"] .opt { font-size: 20px; padding: 24px 26px 24px 66px; }
html[data-mode="tablet"] .opt::before { left: 28px; width: 16px; height: 16px; margin-top: -8px; }
html[data-mode="tablet"] .btn { min-height: 66px; font-size: 17px; }
html[data-mode="tablet"] .ring { width: 150px; }
html[data-mode="tablet"] .field input { font-size: 20px; }
html[data-mode="tablet"] .seg button { padding: 17px 10px; font-size: 18px; }
html[data-mode="tablet"] .profile__text, html[data-mode="tablet"] .block__lead, html[data-mode="tablet"] .prog__why { font-size: 18px; }

/* Меньше движения */
@media (prefers-reduced-motion: reduce) {
  .start__wheel svg, .quiz__wheel svg { animation: none; }
  .spark { animation: none; }
  .screen, .reveal, .opt, .form__error { animation-duration: 1ms; }
  .wheel .sec { animation: glyph-in 300ms ease both; }
  .leg__fill { animation: none; }
  .consent[open], .consent::backdrop { animation-duration: 1ms; }
}
