/* Спільні кольори, типографіка та доступні елементи керування. */
:root {
  --brand-700:#234FA0;
  --brand-600:#2F67C9;
  --brand-500:#3F7BE0;
  --brand-100:#E7F0FF;
  --ink:#1B2533;
  --ink-soft:#4A586B;
  --l-bg:#DDE2EA;
  --l-bg-end:#C9D0DB;
  --l-surface:#EEF1F6;
  --l-accent:#8C97A8;
  --l-alert:#C8605A;
  --l-time:#C9A24A;
  --r-bg:#FFF6E3;
  --r-bg-end:#DDF0FF;
  --r-surface:#FFFFFF;
  --r-accent:#F29A3D;
  --r-ok:#35A57A;
  --r-sky:#7DBBF0;
  --idea:#6D5BD0;
  --gold:#F2B84B;
  --shadow:0 2px 4px rgba(20,30,50,.15),0 14px 32px rgba(20,30,50,.18);
  --soft-shadow:0 2px 4px rgba(20,30,50,.12),0 10px 24px rgba(20,30,50,.13);
  --header:64px;
  --font:Manrope,Arial,sans-serif;
  --clock-top:50vh;
  --seam-angle:7deg
}

* {
  box-sizing:border-box
}

html {
  scroll-padding-top:64px
}

body {
  margin:0;
  color:var(--ink);
  background:var(--l-bg);
  font:500 18px/1.5 var(--font);
  overflow-wrap:anywhere
}

button,input {
  font:inherit
}

button,a {
  -webkit-tap-highlight-color:transparent
}

button {
  color:inherit;
  cursor:pointer
}

a {
  color:inherit;
  text-decoration:none
}

button:disabled {
  cursor:default
}

h1,h2,h3,p,figure {
  margin:0
}

h1,h2,h3 {
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.045em
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:4px solid var(--brand-600);
  outline-offset:5px
}

.topbar :focus-visible {
  outline-color:var(--gold)
}

[hidden] {
  display:none!important
}

.icon {
  width:24px;
  height:24px;
  flex:none;
  vertical-align:middle
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}

.skip-link {
  position:fixed;
  top:8px;
  left:16px;
  z-index:1000;
  padding:12px 18px;
  background:white;
  border:2px solid var(--brand-700);
  border-radius:10px;
  transform:translateY(-160%)
}

.skip-link:focus {
  transform:none
}

.button {
  min-height:54px;
  padding:13px 24px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:2px solid #18335D;
  border-radius:14px;
  box-shadow:var(--shadow);
  font-weight:800;
  font-size:18px;
  line-height:1.3;
  transition:transform .18s,opacity .18s
}

.button:hover {
  transform:translateY(-2px)
}

.button:active {
  transform:none
}

.button-warm {
  background:var(--r-accent);
  color:#282519;
  border-color:#71471B
}

.button-glass {
  background:#315DA6;
  color:white;
  border-color:#B2C9ED
}

.button-light {
  background:white;
  color:var(--brand-700);
  border-color:#7895C5
}

.honest-note {
  font-size:14px;
  line-height:1.4;
  font-weight:500
}

.no-js .day-clock,.no-js .skip-motion,.no-js .repeat-scene,.no-js .finish-scene {
  display:none
}

.no-js .intro-person img {
  display:block
}

.noscript-note {
  padding:24px;
  background:white
}

.transcript {
  margin:0 24px 24px;
  padding:18px 24px;
  background:#FFF;
  border:2px solid #8291A8;
  border-radius:16px;
  box-shadow:var(--soft-shadow)
}

.transcript summary {
  min-height:48px;
  cursor:pointer;
  font-weight:800
}

.transcript p {
  margin:12px 0
}

.transcript strong {
  color:var(--brand-700)
}

html:not(.static-mode) .js-transcript-hidden {
  position:absolute;
  width:1px;
  height:1px;
  clip-path:inset(50%);
  overflow:hidden
}

.pin-spacer {
  background:var(--l-bg)
}
