/* «На Kindle» — стили. Идея: книга уходит авиапочтой, поэтому фирменный
   элемент — полосы конверта airmail (вверху страницы и на зоне файлов).
   Шрифты только системные: книжная антиква для заголовков, системный
   гротеск для текста, моноширинный для адресов и форматов. */

:root {
  --bg: #eef1f6;
  --surface: #ffffff;
  --surface-2: #f5f7fb;
  --ink: #141b2d;
  --muted: #535d74;
  --line: #d9dfea;
  --line-strong: #b9c2d3;
  --blue: #1f45b5;
  --blue-strong: #173791;
  --on-blue: #ffffff;
  --blue-soft: #e7edfc;
  --red: #b42a24;
  --red-soft: #fcecea;
  --green: #17714a;
  --green-soft: #e2f3ea;
  --amber: #875100;
  --amber-soft: #fff3da;
  --air-red: #d3302a;
  --air-blue: #2346b8;
  --air-gap: #ffffff;
  --toast-bg: #141b2d;
  --toast-fg: #ffffff;
  --shadow: 0 1px 2px rgba(20, 27, 45, 0.05), 0 8px 24px rgba(20, 27, 45, 0.06);
  --radius: 16px;
  --serif: "PT Serif", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "PT Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1322;
    --surface: #151d31;
    --surface-2: #1b2540;
    --ink: #e8ecf5;
    --muted: #a5aec3;
    --line: #2a3553;
    --line-strong: #3c4a70;
    --blue: #93abff;
    --blue-strong: #b4c5ff;
    --on-blue: #0d1322;
    --blue-soft: #1e2a52;
    --red: #ff8b83;
    --red-soft: #3b1f26;
    --green: #63d6a0;
    --green-soft: #143327;
    --amber: #f3c062;
    --amber-soft: #382d15;
    --air-gap: #151d31;
    --toast-bg: #e8ecf5;
    --toast-fg: #0d1322;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

p {
  margin: 0 0 12px;
}

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

.wrap {
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
  padding-inline: 16px;
}

.mono {
  font-family: var(--mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Авиапочта: полоса вверху ---------- */

.airmail {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--air-red) 0 14px,
    var(--air-gap) 14px 20px,
    var(--air-blue) 20px 34px,
    var(--air-gap) 34px 40px
  );
}

/* ---------- Шапка ---------- */

.site-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 14px;
  padding-block: 28px 18px;
}

.brand-mark {
  width: 52px;
  height: 52px;
}

.mark-paper {
  fill: var(--surface);
}

.mark-flap {
  stroke: var(--ink);
}

.brand {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 8vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.015em;
}

.lede {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 1.0625rem;
}

.noscript {
  padding-block: 12px;
  color: var(--red);
  font-weight: 600;
}

.service-notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 600;
}

/* ---------- Карточки и шаги ---------- */

.card {
  margin: 0 0 16px;
  padding: 20px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.25;
}

h2[tabindex="-1"]:focus {
  outline: none;
}

h3 {
  margin: 16px 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
}

.step-n {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  font: 700 0.875rem/1 var(--sans);
  transform: translateY(-0.18em);
}

.step-n--done {
  background: var(--green);
  border-color: var(--green);
  color: var(--surface);
}

.step-n--done .icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 3;
}

/* ---------- Поля ---------- */

.field {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
}

label {
  font-weight: 600;
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.875rem;
}

input[type="email"],
input[type="url"],
input[type="text"] {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color 0.15s, background-color 0.15s;
}

input[type="email"],
input[type="url"] {
  font-family: var(--mono);
  font-size: 1rem;
}

input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

input[type="email"]:focus,
input[type="url"]:focus,
input[type="text"]:focus {
  border-color: var(--blue);
  background: var(--surface);
}

input[type="email"]:focus-visible,
input[type="url"]:focus-visible,
input[type="text"]:focus-visible {
  outline-offset: 1px;
}

.is-invalid input {
  border-color: var(--red);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.field-error {
  margin: 0;
  color: var(--red);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ---------- Кнопки ---------- */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font: 600 1rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.06s;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.btn-primary {
  background: var(--blue);
  color: var(--on-blue);
}

.btn-primary:hover:not(:disabled) {
  background: var(--blue-strong);
}

.btn-secondary {
  background: var(--surface);
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--blue-soft);
}

.btn-quiet {
  background: transparent;
  color: var(--muted);
}

.btn-quiet:hover:not(:disabled) {
  background: var(--surface-2);
  color: var(--ink);
}

.btn-small {
  min-height: 40px;
  padding: 7px 14px;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

.btn-link {
  appearance: none;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--blue);
  font: 600 1rem var(--sans);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* ---------- Шаг 2: белый список ---------- */

.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}

/* Адрес отправителя — текстом, а не полем ввода: на узком экране переносится
   (после «@» и точек — <wbr> из app.js), а не обрезается. Касание выделяет весь адрес. */
.copy-row .copy-field {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
  background: var(--blue-soft);
  border: 1.5px dashed var(--blue);
  border-radius: 10px;
  color: var(--ink);
}

.copy-row .btn {
  flex: 0 0 auto;
}

.path {
  margin: 0 0 14px;
  padding-left: 1.4em;
}

.path li {
  margin-bottom: 6px;
  padding-left: 4px;
}

.path li::marker {
  color: var(--blue);
  font-weight: 700;
}

/* Название кнопки или пункта меню Amazon — как наклейка */
.ui {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.92em;
  white-space: normal;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.note {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 4px solid var(--amber);
  border-radius: 0 8px 8px 0;
  background: var(--amber-soft);
  color: var(--ink);
}

#sender-full .hint {
  margin-bottom: 16px;
}

.compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
}

.compact h2 {
  margin: 0;
  font-size: 1.125rem;
}

/* ---------- Раскрывашки ---------- */

details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

.disclosure > summary,
.more > summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--blue);
  font-weight: 600;
}

.disclosure > summary::before,
.more > summary::before,
.help-details > summary::after {
  content: "";
  flex: none;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

.disclosure[open] > summary::before,
.more[open] > summary::before,
.help-details[open] > summary::after {
  transform: rotate(45deg);
}

.disclosure-body {
  padding: 4px 0 2px;
}

/* ---------- Шаг 3: вкладки ---------- */

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0 0 16px;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: 600 1rem var(--sans);
  cursor: pointer;
}

.tab:hover {
  color: var(--ink);
}

.tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(20, 27, 45, 0.1);
}

.tab[aria-selected="true"] .icon {
  color: var(--blue);
}

/* ---------- Зона файлов: конверт авиапочты ---------- */

.dropzone {
  --env-a: var(--line-strong);
  --env-b: var(--line);
  padding: 6px;
  border-radius: 14px;
  background: repeating-linear-gradient(
    -45deg,
    var(--env-a) 0 12px,
    var(--surface) 12px 18px,
    var(--env-b) 18px 30px,
    var(--surface) 30px 36px
  );
  cursor: pointer;
}

.dropzone:hover,
.dropzone:focus-within,
.dropzone.is-over {
  --env-a: var(--air-red);
  --env-b: var(--air-blue);
}

.dropzone-inner {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 14px 22px;
  border-radius: 9px;
  background: var(--surface);
  text-align: center;
  transition: background-color 0.15s;
}

.dropzone.is-over .dropzone-inner {
  background: var(--blue-soft);
}

.dz-icon {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dz-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
}

.dz-hint {
  max-width: 26em;
}

@media (hover: none) {
  .dz-drag {
    display: none;
  }
}

@media (hover: hover) {
  .dz-touch {
    display: none;
  }
}

/* Выбранные и загружаемые файлы */

.uploads {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.uploads:empty {
  display: none;
}

.upload {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 10px;
  padding: 10px 6px 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.upload-name {
  grid-column: 1;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.upload-info {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.875rem;
}

.upload-btn {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.upload-progress {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  margin-top: 6px;
  appearance: none;
  border: 0;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.upload-progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 3px;
}

.upload-progress::-webkit-progress-value {
  background: var(--blue);
  border-radius: 3px;
  transition: width 0.2s;
}

.upload-progress::-moz-progress-bar {
  background: var(--blue);
  border-radius: 3px;
}

.upload.is-error {
  border-color: var(--red);
  background: var(--red-soft);
}

.upload.is-error .upload-info {
  color: var(--red);
  font-weight: 600;
}

.upload.is-done .upload-info {
  color: var(--green);
  font-weight: 600;
}

/* «Дополнительно» */

.more {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.more-body {
  padding-top: 4px;
}

.check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  margin: 0 0 14px;
}

.check input {
  grid-row: 1 / span 2;
  width: 1.3rem;
  height: 1.3rem;
  margin: 2px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.check label {
  cursor: pointer;
}

.check .hint {
  grid-column: 2;
}

.submit-row {
  margin-top: 16px;
}

.submit-row .btn-primary {
  min-height: 54px;
  font-size: 1.0625rem;
}

.form-status {
  margin: 10px 0 0;
  font-size: 0.9375rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-error {
  color: var(--red);
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--green);
  font-weight: 600;
}

.form-status.is-info {
  color: var(--muted);
}

/* ---------- История ---------- */

.history {
  margin: 28px 0 20px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0;
}

.history-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

.empty {
  padding: 18px 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
}

.empty p:last-child {
  margin-bottom: 0;
}

.jobs {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jobs:empty {
  display: none;
}

.job {
  --accent: var(--line-strong);
  padding: 14px 14px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.job.is-work {
  --accent: var(--blue);
}

.job.is-ok {
  --accent: var(--green);
}

.job.is-bad {
  --accent: var(--red);
}

.job.is-warn {
  --accent: var(--amber);
}

.job-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.job-main {
  flex: 1;
  min-width: 0;
}

.job-name {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.job-author {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.job-meta {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.8125rem;
  overflow-wrap: anywhere;
}

.job-meta:empty {
  display: none;
}

.chip {
  --chip-bg: var(--surface-2);
  --chip-fg: var(--muted);
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--chip-fg);
  font: 600 0.8125rem/1.25 var(--sans);
  white-space: nowrap;
}

.chip--wait {
  box-shadow: inset 0 0 0 1px var(--line);
}

.chip--work {
  --chip-bg: var(--blue-soft);
  --chip-fg: var(--blue);
}

.chip--work::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.2s ease-in-out infinite;
}

.chip--ok {
  --chip-bg: var(--green-soft);
  --chip-fg: var(--green);
}

.chip--bad {
  --chip-bg: var(--red-soft);
  --chip-fg: var(--red);
}

.chip--warn {
  --chip-bg: var(--amber-soft);
  --chip-fg: var(--amber);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

.job-line {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.job-queue,
.job-sent {
  color: var(--muted);
}

.job-error {
  color: var(--red);
  font-weight: 500;
}

.job-delivery.is-ok {
  color: var(--green);
  font-weight: 600;
}

.job-delivery.is-ok::before {
  content: "✓ ";
}

.job-delivery.is-warn {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 500;
}

.job-delivery.is-muted {
  color: var(--muted);
}

.job-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.job-actions [data-act="hide"] {
  margin-left: auto;
}

/* ---------- Книга не пришла ---------- */

.help-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.help-details > summary h2 {
  margin: 0;
}

.help-details > summary::after {
  color: var(--blue);
  width: 0.65em;
  height: 0.65em;
  margin-right: 6px;
}

.help-list {
  margin: 14px 0 0;
  padding-left: 1.4em;
}

.help-list li {
  margin-bottom: 14px;
  padding-left: 4px;
}

.help-list li:last-child {
  margin-bottom: 0;
}

.help-list li::marker {
  color: var(--blue);
  font-weight: 700;
}

.help-list strong {
  display: block;
  margin-bottom: 2px;
}

/* ---------- Форматы ---------- */

.formats h2 {
  margin-bottom: 4px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font: 600 0.8125rem/1.2 var(--mono);
  text-transform: uppercase;
}

.chips--conv li {
  background: var(--blue-soft);
  color: var(--blue);
}

.limits {
  margin-top: 16px;
}

/* ---------- Бот ---------- */

.bot {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.bot h2 {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.bot p {
  margin: 0;
}

.bot-icon {
  flex: none;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* ---------- Подвал ---------- */

.site-foot {
  padding-top: 8px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.875rem;
}

.site-foot p {
  margin-bottom: 6px;
}

/* ---------- Всплывашка ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 10;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--toast-bg);
  color: var(--toast-fg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-weight: 500;
  opacity: 0;
  transform: translate(-50%, 140%);
  transition: transform 0.2s ease, opacity 0.2s ease;
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  background: var(--red);
  color: var(--surface);
}

/* ---------- Экраны пошире ---------- */

@media (min-width: 640px) {
  .wrap {
    padding-inline: 24px;
  }

  .card {
    padding: 24px;
  }

  .site-head {
    padding-block: 40px 24px;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
  }

  .dropzone-inner {
    padding: 36px 20px 28px;
  }

  .submit-row .btn-primary {
    width: auto;
    min-width: 16rem;
  }
}

@media (max-width: 400px) {
  .copy-row .btn {
    flex-basis: 100%;
  }

  /* 360 px: адрес из 28 знаков влезает в строку; уже — переносится после «@» */
  .copy-row .copy-field {
    padding-inline: 12px;
    font-size: 0.9375rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
