/* «Блик» — общие стили сайта и кабинета */
:root {
  --bg: #FBF6F2;
  --bg-soft: #F5EAE4;
  --blush: #F1DAD3;
  --nude: #E6C9BC;
  --card: #FFFFFF;
  --ink: #2B1B22;
  --ink-2: #5E4A52;
  --muted: #8E7A82;
  --line: #EBDDD6;
  --line-2: #DDC9C0;
  --accent: #B3163F;
  --accent-h: #93102F;
  --accent-soft: #F8E2E7;
  --plum: #2B1B22;
  --plum-2: #3B2630;
  --gold: #C4955A;
  --ok: #2C7A57;
  --ok-soft: #E2F1E9;
  --warn: #A76200;
  --warn-soft: #FBEEDB;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --shadow-sm: 0 2px 10px rgba(70, 25, 40, .06);
  --shadow: 0 22px 44px -22px rgba(85, 25, 45, .32);
  --ff-d: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --nail-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140' preserveAspectRatio='none'><path d='M50 0C81 0 100 27 100 60V116C100 131 79 140 50 140S0 131 0 116V60C0 27 19 0 50 0Z'/></svg>");
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--ff);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- типографика ---------- */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--ff-d); font-weight: 600; margin: 0; letter-spacing: -.01em; }
.h1 { font-size: clamp(44px, 5.5vw, 78px); line-height: .98; }
.h2 { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.02; }
.h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.h1 em, .h2 em, .h3 em, h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ''; width: 10px; height: 14px; background: currentColor; -webkit-mask: var(--nail-mask) center/100% 100%; mask: var(--nail-mask) center/100% 100%; }
.kicker--light { color: #F4B9C7; }
.muted { color: var(--muted); }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- кнопки ---------- */
.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; overflow: hidden;
  background: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--sm { --h: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -12px rgba(179, 22, 63, .75); }
.btn--primary:hover { background: var(--accent-h); }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .6); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blush); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--danger { background: #fff; border-color: #E7B7C2; color: var(--accent); }
.btn--danger:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--link { padding: 0 6px; min-height: 36px; color: var(--ink-2); font-weight: 500; }
.btn--link:hover { color: var(--accent); }
/* блик по кнопке */
.btn--gloss::after {
  content: ''; position: absolute; top: -10%; bottom: -10%; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); animation: gloss 5s ease-in-out infinite 1.5s;
}
@keyframes gloss { 0%, 70% { left: -40%; } 90%, 100% { left: 130%; } }

.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--accent { background: var(--accent-soft); color: var(--accent); }
.pill--dark { background: var(--ink); color: #fff; }
.pill--line { background: none; border: 1px solid var(--line-2); }

/* ---------- формы ---------- */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field--wide { grid-column: 1 / -1; }
.input, .field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: #fff; font-size: 16px; font-weight: 400; color: var(--ink);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.45; }
.field select { background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E4A52' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>") no-repeat right 14px center / 18px; padding-right: 40px; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.is-error input, .field.is-error textarea { border-color: var(--accent); background: #FFF7F9; }
.field__err { font-weight: 500; color: var(--accent); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--ink); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { width: 44px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .2s; flex: none; }
.switch__ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + .switch__ui { background: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- «ноготь»: рамка для фото ---------- */
.nail-frame { position: relative; -webkit-mask: var(--nail-mask) center / 100% 100% no-repeat; mask: var(--nail-mask) center / 100% 100% no-repeat; background: var(--nude); }
.nail-frame img { width: 100%; height: 100%; object-fit: cover; }
.nail-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 30% at 30% 12%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(112deg, transparent 22%, rgba(255, 255, 255, .38) 30%, transparent 40%);
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 100% 0;
  mix-blend-mode: screen;
  animation: nailGloss 7s ease-in-out infinite;
}
@keyframes nailGloss { 0%, 55% { background-position: 0 0, 100% 0; } 85%, 100% { background-position: 0 0, -60% 0; } }

/* ---------- логотип и шапка ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__nail { width: 22px; height: 30px; background: linear-gradient(160deg, #E7486E, var(--accent) 45%, #6E0B25); -webkit-mask: var(--nail-mask) center/100% 100%; mask: var(--nail-mask) center/100% 100%; position: relative; }
.logo__nail::after { content: ''; position: absolute; left: 22%; top: 14%; width: 22%; height: 34%; border-radius: 50%; background: rgba(255, 255, 255, .8); transform: rotate(18deg); filter: blur(.4px); }
.logo__text { font-family: var(--ff-d); font-size: 32px; font-style: italic; font-weight: 600; letter-spacing: -.01em; line-height: 1; }

.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.header.is-scrolled { background: rgba(251, 246, 242, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--accent); transition: right .25s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.nav__extra { display: none; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone { text-decoration: none; font-weight: 600; font-size: 15px; margin-right: 8px; white-space: nowrap; }
.header__phone:hover { color: var(--accent); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span { top: 21px; }
.burger span::before { content: ''; left: 0; top: -6px; }
.burger span::after { content: ''; left: 0; top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- подвал ---------- */
.footer { background: var(--plum); color: #E9DCD9; padding: 64px 0 28px; margin-top: 40px; }
.footer a { text-decoration: none; color: #E9DCD9; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .logo__text { color: #fff; }
.footer__about { margin: 16px 0 0; max-width: 300px; color: #BFAAB1; font-size: 14.5px; }
.footer h4 { margin: 4px 0 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #F4B9C7; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: 13px; color: #A8929A; }
.footer__bottom button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.footer__soc { display: flex; gap: 8px; margin-top: 18px; }
.footer__soc a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 700; }
.footer__soc a:hover { background: #fff; color: var(--plum); }

/* ---------- модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(43, 27, 34, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.modal__box {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 28px; padding: 32px; box-shadow: 0 40px 80px -30px rgba(43, 27, 34, .5);
  transform: translateY(18px) scale(.98); opacity: 0; transition: transform .28s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { transform: none; opacity: 1; }
.modal--small .modal__box { max-width: 440px; }
.modal--wide .modal__box { max-width: 760px; }
.modal__x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg-soft); display: grid; place-items: center; z-index: 2; }
.modal__x:hover { background: var(--blush); }
.modal__title { font-size: 32px; line-height: 1.05; margin: 0 40px 14px 0; }
.modal__text { margin: 0 0 18px; color: var(--ink-2); }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 22px; }

/* ---------- тосты ---------- */
.toasts { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-radius: 16px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 500; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .5); transform: translateY(16px); opacity: 0; transition: .3s; }
.toast .ic { color: #9FE0BF; }
.toast--error .ic { color: #FFB3C3; }
.toast.is-in { transform: none; opacity: 1; }

/* ---------- демо-SMS ---------- */
.sms-push {
  position: fixed; z-index: 400; top: 12px; left: 50%; width: min(400px, calc(100vw - 24px));
  display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px 16px; border: 0; border-radius: 22px;
  background: rgba(250, 247, 245, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 0, 0, .05);
  transform: translate(-50%, -140%); transition: transform .45s cubic-bezier(.2, .9, .25, 1.1);
}
.sms-push.is-in { transform: translate(-50%, 0); }
.sms-push__app { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(160deg, #5BD86E, #26B14A); color: #fff; display: grid; place-items: center; flex: none; }
.sms-push__app .ic { width: 22px; height: 22px; }
.sms-push__main { display: grid; gap: 2px; min-width: 0; }
.sms-push__top { display: flex; justify-content: space-between; font-size: 13px; color: #6d6d72; }
.sms-push__top b { color: #111; font-weight: 600; }
.sms-push__text { font-size: 14.5px; color: #111; line-height: 1.35; }
.sms-push__text b { letter-spacing: .12em; }
.sms-push__demo { margin-top: 4px; font-size: 12px; color: var(--accent); font-weight: 600; }

/* ---------- код из SMS ---------- */
.code { display: flex; gap: 10px; }
.code__cell {
  width: 58px; height: 66px; border-radius: 16px; border: 1.5px solid var(--line-2); background: #fff;
  text-align: center; font: 600 28px/1 var(--ff); color: var(--ink); caret-color: var(--accent); transition: border-color .2s, box-shadow .2s;
}
.code__cell:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.code.is-error .code__cell { border-color: var(--accent); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.verify__phone { font-weight: 600; color: var(--ink); white-space: nowrap; }
.verify__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.verify__row button, .link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; font-size: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.verify__row button[disabled] { color: var(--muted); font-weight: 500; cursor: default; text-decoration: none; }
.verify__err { min-height: 20px; margin: 10px 0 0; color: var(--accent); font-size: 14px; font-weight: 500; }

/* ---------- выбор дня и времени ---------- */
.sp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sp__month { font-weight: 600; font-size: 14.5px; }
.sp__nav { display: flex; gap: 6px; }
.sp__arrow { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; display: grid; place-items: center; }
.sp__arrow:hover { border-color: var(--ink); }
.sp__days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 10px; scrollbar-width: none; }
.sp__days::-webkit-scrollbar { display: none; }
.sp-day {
  flex: none; width: 60px; padding: 10px 0 8px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff;
  display: grid; justify-items: center; gap: 2px; scroll-snap-align: start; transition: border-color .15s, background .15s, transform .15s;
}
.sp-day:hover { border-color: var(--ink-2); }
.sp-day__wd { font-size: 12px; color: var(--muted); text-transform: lowercase; }
.sp-day__d { font-size: 21px; font-weight: 600; line-height: 1.1; }
.sp-day__note { font-size: 10.5px; color: var(--ok); font-weight: 600; min-height: 14px; }
.sp-day.is-few .sp-day__note { color: var(--warn); }
.sp-day.is-off, .sp-day.is-full { background: transparent; border-style: dashed; cursor: not-allowed; }
.sp-day.is-off .sp-day__d, .sp-day.is-full .sp-day__d { color: #C2B3B8; }
.sp-day.is-off .sp-day__note, .sp-day.is-full .sp-day__note { color: #B9A8AE; font-weight: 500; }
.sp-day.is-active { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-2px); }
.sp-day.is-active .sp-day__wd, .sp-day.is-active .sp-day__note { color: #F4B9C7; }
.sp__hint { display: flex; gap: 10px; align-items: center; margin: 6px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--bg-soft); color: var(--ink-2); font-size: 14.5px; }
.sp__day-title { margin: 8px 0 12px; font-weight: 600; font-size: 14.5px; }
.sp__day-title::first-letter { text-transform: uppercase; }
.sp-group { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: start; margin-bottom: 10px; }
.sp-group__label { font-size: 13px; color: var(--muted); padding-top: 10px; }
.sp-group__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-time {
  min-width: 72px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 15px;
  transition: border-color .15s, background .15s, color .15s;
}
.sp-time:hover { border-color: var(--accent); color: var(--accent); }
.sp-time.is-active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 20px -10px rgba(179, 22, 63, .8); }

/* ---------- цветной «ноготь» без фото ---------- */
.nail-art { width: 100%; height: 100%; display: block; background: linear-gradient(150deg, #F7ECE6, #EFDCD3); }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header__phone { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header__actions .btn--primary { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; padding: 24px 24px 40px;
    flex-direction: column; gap: 4px; background: var(--bg); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav a { font-family: var(--ff-d); font-size: 34px; font-weight: 600; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .header { background: var(--bg); }
  .nav__extra { display: grid; gap: 10px; margin-top: 22px; }
  .nav__extra .btn { font-family: var(--ff); font-size: 16px; border-bottom: 1.5px solid transparent; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .fields { grid-template-columns: 1fr; }
  .header__me [data-me-label] { display: none; }
  .header__me { width: 44px; padding: 0; overflow: visible; }
  .header__me .badge { position: absolute; top: -4px; right: -4px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { border-radius: 26px 26px 0 0; padding: 26px 18px 22px; max-height: 92dvh; transform: translateY(40px); }
  .modal__title { font-size: 28px; }
  .modal__actions .btn { flex: 1; }
  .code__cell { width: 54px; height: 62px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .sp-group { grid-template-columns: 1fr; gap: 6px; }
  .sp-group__label { padding: 0; }
  .sp-time { min-width: calc((100% - 24px) / 4); }
  .toasts { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
}
