/* ================================================================
   Ubuntu Guard — Password Generator
   Design: Emil Kowalski principles
   ================================================================ */

:root {
  /* Palette */
  --bg:           #0b1120;
  --s0:           #101828;   /* base card */
  --s1:           #14202e;   /* elevated card */
  --s2:           #1b2b3c;   /* controls */
  --s3:           #233346;   /* control hover */

  --accent:       #1a7fc8;
  --accent-hi:    #3bbdc6;
  --accent-glow:  rgba(59, 189, 198, 0.18);
  --accent-dim:   rgba(26, 127, 200, 0.14);

  --text:         #edf2f7;
  --text-muted:   rgba(237, 242, 247, 0.58);
  --text-dim:     rgba(237, 242, 247, 0.30);

  --border:       rgba(255, 255, 255, 0.07);
  --border-focus: #3bbdc6;
  --border-hi:    rgba(59, 189, 198, 0.38);

  --shadow-panel: 0 1px 0 rgba(255,255,255,0.04) inset,
                  0 24px 64px rgba(0,0,0,0.5),
                  0 4px 16px rgba(0,0,0,0.28);
  --shadow-btn:   0 0 0 1px rgba(59,189,198,0.22),
                  0 8px 28px rgba(26,127,200,0.40);

  /* Emil-approved custom easing curves */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-pill: 999px;
}

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

/* ── Body ─────────────────────────────────────────────────────── */
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 72% 42% at 12% 0%,   rgba(26,127,200,0.14)  0%, transparent 100%),
    radial-gradient(ellipse 58% 28% at 92%  6%,  rgba(59,189,198,0.09)  0%, transparent 100%);
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 50% 55% at 6% 28%, rgba(59,189,198,0.055), transparent 65%);
}

/* ── Layout ───────────────────────────────────────────────────── */
.wrapper {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 1rem 1rem 3rem;
  position: relative;
  z-index: 1;
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.breadcrumb { margin-bottom: 0.9rem; }

.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 1rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(26,127,200,0.32);
  background: rgba(26,127,200,0.08);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  transition: background 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumb-link:hover {
    background: rgba(26,127,200,0.18);
    border-color: rgba(26,127,200,0.58);
    color: var(--text);
  }
}

.breadcrumb-link:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  margin-bottom: 1.35rem;
  text-align: center;
}

.hero-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-heading > div { text-align: center; }

.eyebrow {
  margin: 0 0 0.28rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.69rem;
  font-weight: 700;
  color: var(--accent-hi);
  opacity: 0.7;
}

.hero h1 {
  margin: 0 0 0.22rem;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  /* Gradient text — headline as brand moment */
  background: linear-gradient(128deg, #edf2f7 38%, #3bbdc6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ── Memorable Note ───────────────────────────────────────────── */
.memorable-note {
  margin: 0.75rem 0 0;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.5;
}

/* ── Panel ────────────────────────────────────────────────────── */
.panel,
.output-panel {
  background: linear-gradient(158deg, var(--s1) 0%, var(--s0) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-panel);
  padding: 1.1rem;
  position: relative;
}

/* Subtle inner top-edge highlight */
.panel::before,
.output-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.035) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.panel > *,
.output-panel > * { position: relative; z-index: 1; }

/* ── Mode Tabs ────────────────────────────────────────────────── */
.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.38rem;
  background: rgba(0,0,0,0.28);
  border-radius: var(--r-md);
  padding: 0.32rem;
}

.mode-tab {
  min-height: 48px;
  border: none;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: background  200ms var(--ease-out),
              color       200ms var(--ease-out),
              box-shadow  200ms var(--ease-out),
              transform   120ms var(--ease-out);
}

.mode-tab.active {
  background: var(--s2);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.45),
              0 0 0 1px rgba(255,255,255,0.06);
}

@media (hover: hover) and (pointer: fine) {
  .mode-tab:not(.active):hover {
    background: rgba(255,255,255,0.05);
    color: var(--text);
  }
}

.mode-tab:active {
  transform: scale(0.97);
  transition: transform 100ms var(--ease-out);
}

.mode-tab:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: -2px;
}

/* ── Section Description ──────────────────────────────────────── */
.section-copy {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  font-size: 0.89rem;
  line-height: 1.52;
}

/* ── Card Section ─────────────────────────────────────────────── */
.card-section {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

/* ── Section Label ────────────────────────────────────────────── */
.section-label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--text-dim);
}

/* ── Option Grid ──────────────────────────────────────────────── */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.5rem;
}

.option-grid-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

/* ── Radio Cards ──────────────────────────────────────────────── */
.radio-card { position: relative; }

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.radio-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 66px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--s2);
  padding: 0.62rem 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: border-color 180ms var(--ease-out),
              background   180ms var(--ease-out),
              box-shadow   180ms var(--ease-out),
              transform    120ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .radio-label:hover {
    border-color: rgba(59,189,198,0.28);
    background: var(--s3);
  }
}

.radio-label:active {
  transform: scale(0.97);
  transition: transform 100ms var(--ease-out);
}

.radio-card input:checked + .radio-label {
  border-color: var(--border-hi);
  background: rgba(26,127,200,0.15);
  box-shadow: 0 0 0 1px rgba(59,189,198,0.20),
              0 4px 16px rgba(26,127,200,0.16);
}

.radio-card input:focus-visible + .radio-label {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

.value {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  transition: color 180ms var(--ease-out);
}

.hint {
  margin-top: 0.22rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--text-muted);
}

.radio-card input:checked + .radio-label .value {
  color: var(--accent-hi);
}

/* ── Toggle Row ───────────────────────────────────────────────── */
.toggle-row {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  min-height: 50px;
  padding: 0.65rem 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--s2);
  cursor: pointer;
  transition: border-color 180ms var(--ease-out),
              background   180ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .toggle-row:hover {
    border-color: rgba(59,189,198,0.22);
    background: var(--s3);
  }
}

.toggle-row input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  flex-shrink: 0;
  accent-color: var(--accent-hi);
}

.toggle-copy strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.toggle-copy small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.toggle-row:focus-within {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* ── Language Select ─────────────────────────────────────────── */
.language-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.language-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

#languageSelect,
#pinLanguageSelect {
  min-height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--s2);
  color: var(--text);
  padding: 0 0.85rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  transition: border-color 180ms var(--ease-out);
}

#languageSelect:focus-visible,
#pinLanguageSelect:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-color: var(--border-focus);
}

/* ── Generate Button ─────────────────────────────────────────── */
.generate-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 1.1rem;
  border: none;
  border-radius: var(--r-pill);
  background: linear-gradient(108deg, #1a7fc8 0%, #3bbdc6 100%);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  /* Separate hover and active transitions for different feels */
  transition: transform  200ms var(--ease-out),
              box-shadow 200ms var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Shimmer that sweeps on hover — beauty as leverage */
.generate-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 25%,
    rgba(255,255,255,0.13) 50%,
    transparent 75%);
  transform: translateX(-100%);
  transition: transform 600ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(59,189,198,0.32),
                0 14px 44px rgba(26,127,200,0.52);
  }
  .generate-btn:hover::after {
    transform: translateX(100%);
  }
}

/* Fast press feedback — 100ms feels instant and physical */
.generate-btn:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 3px 12px rgba(26,127,200,0.28);
  transition: transform  100ms var(--ease-out),
              box-shadow 100ms var(--ease-out);
}

.generate-btn:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 3px;
}

/* ── Privacy Badge ───────────────────────────────────────────── */
.privacy-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.65rem 0 0;
  color: var(--text-dim);
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.privacy-lock {
  flex-shrink: 0;
  opacity: 0.7;
  vertical-align: middle;
}

/* ── Output Panel ────────────────────────────────────────────── */
.output-panel {
  margin-top: 0.85rem;
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  pointer-events: none;
  /* Slow enter is deliberate — reward for generating */
  transition: opacity   280ms var(--ease-out),
              transform 280ms var(--ease-out);
}

.output-panel.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ── Output Header ───────────────────────────────────────────── */
.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

/* ── Copy Button ─────────────────────────────────────────────── */
.copy-btn {
  min-height: 48px;
  min-width: 88px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--s2);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  padding: 0 0.9rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms var(--ease-out),
              background   180ms var(--ease-out),
              color        180ms var(--ease-out),
              transform    120ms var(--ease-out);
}

.copy-btn .icon        { width: 16px; height: 16px; }
.copy-btn .icon-check  { display: none; }

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

@media (hover: hover) and (pointer: fine) {
  .copy-btn:not(:disabled):hover {
    border-color: var(--border-hi);
    background: var(--s3);
    color: var(--text);
  }
}

.copy-btn:not(:disabled):active {
  transform: scale(0.95);
  transition: transform 100ms var(--ease-out);
}

.copy-btn.copied {
  color: var(--accent-hi);
  border-color: rgba(59,189,198,0.48);
  background: rgba(59,189,198,0.09);
}

.copy-btn.copied .icon-copy  { display: none; }
.copy-btn.copied .icon-check { display: block; }

.copy-btn:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* ── Password Field ──────────────────────────────────────────── */
.password-field { margin: 0 0 0.75rem; }

.password-input {
  width: 100%;
  min-height: 62px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.32);
  color: var(--text);
  padding: 0 1.1rem;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: clamp(1rem, 3vw, 1.18rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: border-color 180ms var(--ease-out),
              box-shadow   180ms var(--ease-out);
}

/* Subtle glow when a value is present */
.password-input:not(:placeholder-shown) {
  border-color: rgba(59,189,198,0.24);
  box-shadow: 0 0 0 3px rgba(59,189,198,0.06),
              inset 0 1px 0 rgba(59,189,198,0.06);
}

.password-input:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
}

/* ── Regen Note ──────────────────────────────────────────────── */
.regen-note {
  margin: 0 0 0.5rem;
  color: var(--accent-hi);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.82;
}

/* ── Strength Meter ──────────────────────────────────────────── */
.strength-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.strength-bar {
  width: 100%;
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.strength-bar-fill {
  width: 0;
  height: 100%;
  border-radius: var(--r-pill);
  transition: width      360ms var(--ease-out),
              background 220ms var(--ease-out),
              box-shadow 220ms var(--ease-out);
}

.strength-bar-fill.weak        { background: #f05252; }
.strength-bar-fill.good        { background: #f59e0b; }
.strength-bar-fill.strong      { background: #10b981; }
.strength-bar-fill.very-strong {
  background: linear-gradient(90deg, #10b981, #3bbdc6);
  box-shadow: 0 0 10px rgba(59,189,198,0.45);
}

.strength-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.strength-tip {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.48;
}

/* ── Tool Note ───────────────────────────────────────────────── */
.tool-note {
  margin: 1.1rem 0 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.83rem;
}

/* ── Toast ───────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(14, 20, 34, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  padding: 0.52rem 1.15rem;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  /* Asymmetric timing: slower entry to feel deliberate */
  transition: opacity   200ms var(--ease-out),
              transform 200ms var(--ease-out);
  z-index: 999;
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── PIN Keypad Guide ────────────────────────────────────────── */
.keypad-guide {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(26,127,200,0.2);
  background: rgba(26,127,200,0.055);
}

.keypad-guide-title {
  margin: 0 0 0.3rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  color: var(--text-dim);
}

.keypad-guide-desc {
  margin: 0 0 0.7rem;
  font-size: 0.81rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.38rem;
}

.key-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.25rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--s2);
}

.key-num {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.key-letters {
  margin-top: 0.18rem;
  font-size: 0.56rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--accent-hi);
  opacity: 0.72;
}

.keypad-example {
  margin: 0.65rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.keypad-example strong { color: var(--text); }

/* ── PIN Result ──────────────────────────────────────────────── */
.pin-result-wrapper {
  margin: 0.35rem 0 0.65rem;
}

.pin-word-grid {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

/* Stagger entrance — cascade feels more natural than all at once */
.pin-letter-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  padding: 0.55rem 0.45rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(59,189,198,0.26);
  background: rgba(59,189,198,0.055);
  gap: 0.1rem;
  animation: pinBlockIn 280ms var(--ease-out) both;
}

.pin-letter-block:nth-child(1) { animation-delay:   0ms; }
.pin-letter-block:nth-child(2) { animation-delay:  45ms; }
.pin-letter-block:nth-child(3) { animation-delay:  90ms; }
.pin-letter-block:nth-child(4) { animation-delay: 135ms; }
.pin-letter-block:nth-child(5) { animation-delay: 180ms; }

@keyframes pinBlockIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pin-bl-letter {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  text-transform: uppercase;
}

.pin-bl-arrow {
  font-size: 0.58rem;
  color: var(--text-dim);
  line-height: 1;
}

.pin-bl-digit {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-hi);
  line-height: 1;
}

.pin-full-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(59,189,198,0.16);
  background: rgba(59,189,198,0.04);
}

.pin-number-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--text-dim);
}

.pin-number-value {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: clamp(1.9rem, 5.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent-hi);
  line-height: 1.1;
}

/* ── Utilities ───────────────────────────────────────────────── */
.hidden { display: none !important; }

.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;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (min-width: 600px) {
  .panel, .output-panel { padding: 1.5rem; }

  .option-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
  }
}

@media (max-width: 540px) {
  .option-grid-3  { grid-template-columns: 1fr; }
  .strength-meta  { flex-direction: column; gap: 0.2rem; }
}

@media (max-width: 400px) {
  .keypad-grid          { gap: 0.28rem; }
  .pin-letter-block     { min-width: 40px; padding: 0.45rem 0.3rem; }
  .pin-bl-letter        { font-size: 1rem; }
}

/* ── Reduced Motion ──────────────────────────────────────────── */
/* Remove movement; keep opacity and color for comprehension */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
