/* SkladOne. Кольори бренду: помаранчевий, білий, чорний. Помаранчевий той самий,
   що у фавіконці SKLAD+, щоб обидва продукти читались як одна родина. */
:root {
  --accent: #FF4A12;
  --accent-dark: #D63E0F;
  --ink: #121212;
  --paper: #F3F3EF;
  --muted: #5C5C55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #121212; }
body { margin: 0; background: #121212; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.s1-m { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
.fa { fill: var(--accent); }
.sa { stroke: var(--accent); }
.sad { stroke: var(--accent-dark); }

/* Логотип: старий SKLAD+, де замість плюса помаранчеве ONE тим самим шрифтом */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: 'Unbounded', 'Arial Black', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #121212;
  text-decoration: none;
  white-space: nowrap;
}
.logo-one { color: var(--accent); }
.logo-inv { color: #F3F3EF; }
.logo-sm { font-size: 13px; }

.s1-btn { transition: transform .15s ease; }
.s1-btn:hover { transform: translate(-1px, -1px); }
.s1-link { transition: opacity .15s ease; }
.s1-link:hover { opacity: .65; }

summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.s1-plus { transition: transform .2s ease; }
details[open] .s1-plus { transform: rotate(45deg); }

.s1-burger { display: none; }
.s1-mbar { display: none; }
.s1-hud-status { display: none; }
#mobile-menu { max-width: 1280px; margin: 0 auto; padding: 4px 32px 16px; display: flex; flex-direction: column; }
#mobile-menu a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid #E4E4DE; font-size: 17px; font-weight: 600; text-decoration: none; }
#mobile-menu a:last-child { border-bottom: 0; }

/* Історія замовлення грає як відео: сцена займає перший екран під шапкою */
.s1-track { position: relative; }
.s1-stage {
  position: relative;
  height: calc(100vh - 72px);
  height: calc(100svh - 72px);
  min-height: 560px;
  max-height: 940px;
  overflow: hidden;
  background: #FFFFFF;
}
#story.is-ended .s1-stage { cursor: pointer; }
/* Смуга внизу сцени, як у відеоплеєрі: показує, що історія грає, і скільки лишилось */
.s1-prog { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(18, 18, 18, .12); pointer-events: none; }
.s1-prog span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* Блок «Знайомо?»: перемикач міняє data-mode на секції, решту робить CSS */
#pain { transition: background-color .6s ease, color .6s ease; scroll-margin-top: 72px; }
#pain[data-mode="pain"] { background: #121212; color: #F3F3EF; }
#pain[data-mode="fixed"] { background: #F3F3EF; color: #121212; }
.p-hurt, .p-fix { grid-area: 1 / 1; transition: opacity .45s ease, visibility .45s ease; }
#pain[data-mode="pain"] .p-fix, #pain[data-mode="fixed"] .p-hurt { opacity: 0; visibility: hidden; }
.p-muted { transition: color .6s ease; }
#pain[data-mode="pain"] .p-muted { color: #A6A69E; }
#pain[data-mode="fixed"] .p-muted { color: #5C5C55; }
.p-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-radius: 16px;
  border: 1.5px solid;
  transition: background-color .6s ease, border-color .6s ease, box-shadow .6s ease;
}
#pain[data-mode="pain"] .p-card { background: #1B1B19; border-color: #2E2E2A; box-shadow: 0 0 0 #121212; }
#pain[data-mode="fixed"] .p-card { background: #FFFFFF; border-color: #121212; box-shadow: 6px 6px 0 #121212; }
.p-stage {
  display: grid;
  min-height: 156px;
  border-radius: 10px;
  border: 1px solid;
  overflow: hidden;
  transition: background-color .6s ease, border-color .6s ease;
}
#pain[data-mode="pain"] .p-stage { background: #121212; border-color: #2E2E2A; }
#pain[data-mode="fixed"] .p-stage { background: #F7F7F3; border-color: #E4E4DE; }
.p-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}
.p-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease;
}
#pain[data-mode="pain"] .t-pain { background: #F3F3EF; color: #121212; }
#pain[data-mode="fixed"] .t-pain { color: #5C5C55; }
#pain[data-mode="fixed"] .t-fix { background: var(--accent); color: #121212; }
#pain[data-mode="fixed"] .t-fix .s1-pulse { display: none; }

/* Табло відправок */
.b-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.1fr) minmax(0, 1fr) 150px;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 8px;
  background: linear-gradient(#232320 0 50%, #1B1B19 50% 100%);
  box-shadow: inset 0 -1px 0 #121212;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.b-row .c { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-chip {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.b-chip.st0 { color: #A6A69E; border-color: #3A3A36; background: transparent; }
.b-chip.st1 { color: #E6E6E0; border-color: #6A6A64; background: transparent; }
.b-chip.st2 { color: var(--accent); border-color: var(--accent); background: transparent; }
.b-chip.st3 { color: #121212; border-color: var(--accent); background: var(--accent); }
@keyframes s1-flap { from { transform: perspective(500px) rotateX(-80deg); opacity: .2; } to { transform: none; opacity: 1; } }
.b-row.flap { animation: s1-flap .45s cubic-bezier(.2, .8, .2, 1); transform-origin: 50% 0; }

/* Калькулятор. Повзунків тут немає: на телефоні крок повзунка замовлень — кілька пікселів,
   і точне число, яке продавець і так знає, не виставити. Числа вводяться з клавіатури або ±,
   а 1–5 товарів вибираються одним дотиком. */
.c-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.c-lab { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.c-l { font-size: 15px; font-weight: 600; }
.c-hint { font-size: 13px; line-height: 1.4; color: var(--muted); }
.c-step, .c-seg { flex: 1 1 200px; max-width: 248px; display: flex; }
.c-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid #121212;
  background: #F3F3EF;
  color: #121212;
  cursor: pointer;
  /* Без цього швидкі натиски ± на телефоні збільшують сторінку подвійним дотиком */
  touch-action: manipulation;
  transition: background-color .15s ease;
}
.c-btn:first-child { border-radius: 12px 0 0 12px; }
.c-btn:last-child { border-radius: 0 12px 12px 0; }
.c-btn:not([aria-disabled="true"]):active { background: var(--accent); }
.c-btn[aria-disabled="true"] { color: #B5B5AE; cursor: default; }
.c-num {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 8px;
  border: 1.5px solid #121212;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: #FFFFFF;
  color: #121212;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
/* Поле стоїть впритул до кнопок, тож рамка фокусу малюється всередині */
.c-num:focus-visible { outline-offset: -4px; }
.c-seg { gap: 6px; }
.c-seg label { position: relative; flex: 1 1 0; min-width: 0; }
.c-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.c-seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 1.5px solid #121212;
  border-radius: 10px;
  background: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  transition: background-color .15s ease;
}
.c-seg input:checked + span { background: var(--accent); }
.c-seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) {
  .c-btn:not([aria-disabled="true"]):hover { background: #E6E6DF; }
  .c-seg label:hover input:not(:checked) + span { background: #F3F3EF; }
}

/* Пастка для ботів у формі: людина її не бачить */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@keyframes s1-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(7px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
.s1-wheel { animation: s1-wheel 1.6s ease-in-out infinite; }
@keyframes s1-glitch { 0%, 100% { transform: none; } 25% { transform: translateX(-2px); } 50% { transform: translateX(2px); } 75% { transform: translateX(-1px); } }
.s1-glitch { display: inline-block; animation: s1-glitch .4s steps(2, end) infinite; }
@keyframes s1-blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.s1-blink { animation: s1-blink 1.2s ease-in-out infinite; }
@keyframes s1-shake { 0%, 84%, 100% { transform: none; } 88% { transform: rotate(-5deg); } 92% { transform: rotate(5deg); } 96% { transform: rotate(-2deg); } }
.s1-shake { display: inline-block; animation: s1-shake 2.4s ease-in-out infinite; }
@keyframes s1-pop { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 10%, 78% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-4px); } }
.s1-pop { animation: s1-pop 5.2s ease-out infinite backwards; }
@keyframes s1-drop { 0%, 35% { opacity: 1; transform: none; } 55%, 85% { opacity: .15; transform: translateY(10px) rotate(30deg); } 100% { opacity: 1; transform: none; } }
.s1-drop { display: inline-block; animation: s1-drop 4s ease-in-out infinite backwards; }
@keyframes s1-scan { 0%, 100% { top: 8%; } 50% { top: 86%; } }
.s1-scan { animation: s1-scan 2.2s ease-in-out infinite; }
@keyframes s1-roll { 0%, 18% { transform: translateY(0); } 25%, 43% { transform: translateY(-44px); } 50%, 68% { transform: translateY(-88px); } 75%, 93% { transform: translateY(-132px); } 100% { transform: translateY(-176px); } }
.s1-roll { animation: s1-roll 7s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes s1-stack { 0% { opacity: 0; transform: translateY(-16px); } 12%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
.s1-stack { animation: s1-stack 5s ease-out infinite backwards; }
@keyframes s1-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.9); opacity: .35; } }
.s1-pulse { display: inline-block; animation: s1-pulse 1.4s ease-in-out infinite; }

/* ---------- Спільна система сторінок ----------
   Одні шрифти, розміри, відступи й компоненти на всіх сторінках. Значення взяті з секцій
   головної, тож внутрішні сторінки виглядають її продовженням, а не окремим сайтом. */
.s1-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.s1-sec { padding: 96px 0; background: var(--paper); scroll-margin-top: 72px; }
.s1-sec-white { background: #FFFFFF; }
.s1-sec-line { border-top: 1.5px solid #121212; }
.s1-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.s1-split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.s1-split > :first-child { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.s1-split > :last-child { flex: 1.6 1 520px; min-width: 0; }

.s1-eyebrow, .s1-crumbs { margin: 0; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.s1-eyebrow b { color: var(--ink); }
.s1-crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.s1-crumbs a { text-decoration: none; }
.s1-crumbs a:hover { text-decoration: underline; }
.s1-crumbs [aria-current] { color: var(--ink); font-weight: 700; }

.s1-h1 { margin: 0; font-size: clamp(40px, 5.2vw, 76px); line-height: 1; letter-spacing: -.035em; font-weight: 800; text-wrap: balance; }
.s1-h2 { margin: 0; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.s1-h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }
.s1-lead { margin: 0; max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.s1-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.s1-mark { padding: 0 .08em; border-radius: .06em; background: var(--accent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.s1-hero { padding: 64px 0 88px; background: var(--paper); border-bottom: 1.5px solid #121212; }
.s1-hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.s1-hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.s1-hero-side { flex: 0 1 400px; min-width: 0; }

.s1-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.s1-btn-accent, .s1-btn-dark, .s1-btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 1.5px solid #121212;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.s1-btn-accent { background: var(--accent); color: #121212; }
.s1-btn-dark { background: #121212; color: #F3F3EF; }
.s1-btn-light { background: #FFFFFF; color: #121212; }
.s1-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  text-decoration-color: var(--accent);
}
.s1-more:hover { text-decoration-color: currentColor; }

.s1-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.s1-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1.5px solid #121212; border-radius: 16px; background: #FFFFFF; color: var(--ink); }
.s1-card-pop { box-shadow: 6px 6px 0 #121212; }
.s1-card-hot { background: var(--accent); }
.s1-card-hot .s1-text { color: #121212; }
.s1-chip {
  align-self: flex-start;
  padding: 4px 10px;
  border: 1.5px solid #121212;
  border-radius: 999px;
  background: var(--accent);
  color: #121212;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.s1-fact { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }

.s1-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; }
.s1-checks li { display: flex; align-items: flex-start; gap: 10px; }

.s1-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); counter-reset: s1-step; }
.s1-steps > li { counter-increment: s1-step; display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1.5px solid #121212; border-radius: 16px; background: #FFFFFF; }
.s1-steps > li::before {
  content: counter(s1-step, decimal-leading-zero);
  align-self: flex-start;
  padding: 4px 10px;
  border: 1.5px solid #121212;
  border-radius: 999px;
  background: var(--accent);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 12px;
  font-weight: 700;
}

.s1-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.s1-table th { padding: 16px 12px 16px 0; border-top: 1px solid #ECECE6; font-weight: 600; text-align: left; }
.s1-table th span { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.s1-table td { padding: 16px 0; border-top: 1px solid #ECECE6; text-align: right; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-weight: 700; white-space: nowrap; }
.s1-table tr:first-child th, .s1-table tr:first-child td { border-top: 0; }

/* Ярлик у шапці сторінки: коротко головне, як наклейка на коробці */
.s1-label { display: flex; flex-direction: column; padding: 4px 22px 10px; border: 1.5px solid #121212; border-radius: 18px; background: #FFFFFF; box-shadow: 8px 8px 0 var(--accent); }
.s1-label-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.s1-label-head b { color: var(--ink); }
.s1-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px dashed #CFCFC8; font-size: 15px; line-height: 1.35; }
.s1-label-row b { flex: none; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 22px; }
.s1-label-row.is-hot b { padding: 2px 8px; border-radius: 6px; background: var(--accent); }

.s1-faq { border-top: 1.5px solid #121212; }
.s1-faq details { border-bottom: 1px solid #D9D9D2; }
.s1-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 68px; font-size: 18px; font-weight: 600; }
.s1-faq details > p { margin: 0 0 22px; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.s1-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  border: 1.5px dashed #121212;
  border-radius: 16px;
  background: repeating-linear-gradient(-45deg, #FFFFFF 0 14px, #F3F3EF 14px 28px);
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Склад зсередини: сцена на всю ширину, на телефоні камера йде за комірником */
.s1-whs { margin-bottom: 32px; border: 1.5px solid #121212; border-radius: 18px; overflow: hidden; background: #FFFFFF; box-shadow: 6px 6px 0 #121212; }
.s1-whs-svg { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 660; }
.s1-whs-led { animation: s1-blink 1.6s steps(1, end) infinite; }
@keyframes s1-blink { 50% { opacity: .15; } }
@media (max-width: 760px) { .s1-whs-svg { aspect-ratio: 900 / 660; } }

/* Знімок кабінету: на телефоні весь екран у ширину нечитабельний, тож показуємо картки й графік */
.s1-dash { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.s1-dash-frame { border: 1.5px solid #121212; border-radius: 18px; overflow: hidden; background: #F1F4F8; box-shadow: 6px 6px 0 #121212; }
.s1-dash-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1.5px solid #121212; background: #FFFFFF; }
.s1-dash-bar span { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #121212; }
.s1-dash-bar b { margin-left: 12px; font-size: 12px; font-weight: 400; color: #5C5C55; }
.s1-dash-svg { display: block; width: 100%; height: auto; }
.s1-dash-full { aspect-ratio: 1440 / 900; }
.s1-dash-crop { display: none; aspect-ratio: 608 / 616; }
.s1-dash-cap { font-size: 14px; line-height: 1.5; color: #5C5C55; }
@media (max-width: 760px) { .s1-dash-full { display: none; } .s1-dash-crop { display: block; } }

.s1-prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.7; color: #33332F; }
.s1-prose h2 { margin: 24px 0 0; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
.s1-prose p, .s1-prose ul { margin: 0; }
.s1-prose ul { padding-left: 22px; }

/* Заглушка: поки дані не вписані, її видно жовтим, щоб перед запуском нічого не загубилось */
.s1-ph { padding: 0 .15em; border-radius: 3px; background: #FFE98A; color: #121212; outline: 1px dashed #B38A00; outline-offset: -1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Меню: поточна сторінка підкреслена тим самим помаранчевим, що й «Детальніше» */
.s1-nav a { text-decoration: none; }
.s1-nav a[aria-current="page"], #mobile-menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent); }

.s1-foot { background: #121212; color: #A6A69E; border-top: 1px solid #2A2A27; font-size: 14px; }
.s1-foot-grid { display: grid; gap: 32px 48px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); padding-top: 56px; padding-bottom: 40px; }
.s1-foot-brand { display: flex; flex-direction: column; gap: 14px; }
.s1-foot-brand p { margin: 0; max-width: 320px; line-height: 1.55; }
.s1-foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.s1-foot-col b { margin-bottom: 4px; font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #F3F3EF; }
.s1-foot-col a { color: #D6D6D0; text-decoration: none; }
.s1-foot-col a:hover, .s1-foot-col a[aria-current="page"] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }
.s1-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid #2A2A27; }
.s1-foot-bottom a { text-decoration: none; }

/* На низьких екранах ноутбука лишаємо в кабінеті тільки статус і журнал: інакше він налазить на підпис */
@media (max-height: 820px) {
  .s1-cab-stock { display: none !important; }
}
@media (max-width: 900px) {
  .s1-nav, .s1-login { display: none !important; }
  .s1-burger { display: inline-flex !important; }
  .s1-hud-steps { display: none !important; }
  .s1-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s1-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .s1-phone, .s1-scard { display: none !important; }
  .s1-hud { top: 12px !important; }
  .s1-caps { top: 60px !important; }
  .s1-cap { padding: 18px !important; box-shadow: 4px 4px 0 #121212 !important; }
  .s1-cap p { font-size: 15px !important; }
  /* На телефоні кнопка й так висить унизу екрана, а без неї підпис не закриває комірника */
  .s1-cap-cta, .s1-cap-eyebrow { display: none !important; }
  /* Картка кабінету на телефон не влазить: статус замовлення показує сама шкала зверху */
  .s1-cab, .s1-hud-label { display: none !important; }
  .s1-hud-status { display: inline !important; }
  .logo { font-size: 18px; }
  .s1-hero-side { flex-basis: 100%; }
}
@media (max-width: 760px) and (max-height: 720px) {
  /* Низький телефон: з цим абзацом підпис першого кадру закриває комірника цілком */
  .s1-cap-lead { display: none !important; }
}
@media (max-width: 640px) {
  .s1-hcta { display: none !important; }
  .s1-mbar { display: flex !important; }
  /* Під шапкою й над закріпленою кнопкою внизу, щоб кнопка не закривала сцену */
  .s1-stage { height: calc(100vh - 148px); height: calc(100svh - 148px); min-height: 480px; }
  .s1-foot { padding-bottom: 84px; }
  .s1-hero { padding: 40px 0 64px; }
  /* Вужчі поля картки лишають кнопкам 1–5 ширину пальця навіть на екрані 360 px */
  .c-card { padding: 20px !important; }
  .c-step, .c-seg { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
