:root {
  color-scheme: light;
  --bg: #fff8e6;
  --ink: #101010;
  --muted: #4b4336;
  --line: #101010;
  --yellow: #ffd84d;
  --yellow-soft: #ffefad;
  --green: #127a2a;
  --green-strong: #0a5f1c;
  --red: #c81e1e;
  --red-dark: #8f1111;
  --white: #ffffff;
  --black: #050505;
  --panel: #fff1b8;
  --focus: #005fcc;
  --shadow: 0 8px 0 var(--ink);
  --content-bg: #050505;
  --content-fg: #ffffff;
  --content-soft: #fff8e6;
}

:root.high-contrast {
  color-scheme: dark;
  --bg: #000000;
  --ink: #ffffff;
  --muted: #fff176;
  --line: #ffffff;
  --yellow: #fff176;
  --yellow-soft: #111111;
  --green: #00d45a;
  --green-strong: #00a646;
  --red: #ff2b2b;
  --red-dark: #ff2b2b;
  --white: #000000;
  --black: #ffffff;
  --panel: #111111;
  --focus: #7db7ff;
  --shadow: 0 8px 0 var(--line);
  --content-bg: #111111;
  --content-fg: #ffffff;
  --content-soft: #fff176;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", Verdana, Geneva, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(16, 16, 16, 0.06) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  color: var(--ink);
}

body.is-ringing {
  animation: alert-pulse 1.6s steps(1, end) infinite;
}

button,
input {
  font: inherit;
}

button {
  touch-action: manipulation;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 6px solid var(--focus);
  outline-offset: 4px;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--black);
  border: 3px solid var(--line);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  border-bottom: 4px solid var(--line);
  background: var(--bg);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 4px solid var(--line);
  background: var(--yellow);
  color: var(--black);
  font-size: 1.2rem;
  line-height: 1;
}

.brand-name {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  white-space: nowrap;
}

.nav-links {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-desktop a,
.nav-mobile-dropdown a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-mobile {
  display: none;
  position: relative;
}

@media (max-width: 800px) {
  .nav-desktop {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
}

.nav-mobile-btn {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-btn::marker {
  content: "";
}

.nav-mobile-btn::-webkit-details-marker {
  display: none;
}

.nav-mobile-dots,
.nav-mobile-dots::before,
.nav-mobile-dots::after {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.nav-mobile-dots {
  position: relative;
}

.nav-mobile-dots::before,
.nav-mobile-dots::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-mobile-dots::before {
  top: -10px;
}

.nav-mobile-dots::after {
  top: 10px;
}

.nav-mobile[open] .nav-mobile-btn {
  background: var(--line);
  color: var(--bg);
}

.nav-mobile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 4px solid var(--line);
  padding: 0.5rem;
  gap: 0.5rem;
  box-shadow: 4px 4px 0 var(--line);
  z-index: 100;
  min-width: 180px;
}

.timer-tool {
  width: min(calc(100% - 2rem), 1140px);
  min-height: calc(100svh - 84px);
  margin: 0 auto;
  padding: clamp(1rem, 2.5vw, 2rem) 0 clamp(1.25rem, 2.5vw, 2.25rem);
  display: grid;
  gap: clamp(0.8rem, 1.7vw, 1.25rem);
}

.tool-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.9rem, 2vw, 1.4rem);
}

.primary-panel,
.secondary-panel {
  display: grid;
  gap: clamp(0.8rem, 1.5vw, 1.1rem);
}

.secondary-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.secondary-panel .utility-row {
  grid-column: 1 / -1;
}

.secondary-panel .saved-timers,
.secondary-panel .quick-labels {
  min-width: 0;
}

.tool-header {
  display: grid;
  gap: 0.25rem;
}

.eyebrow,
.content-kicker,
.alarm-kicker {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  font-weight: 800;
}

.tool-header h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.tool-header p:last-child {
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.readout-zone {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.25rem;
  min-height: clamp(150px, 34svh, 420px);
  border: 5px solid var(--line);
  background: var(--yellow-soft);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.timer-display {
  width: 100%;
  padding: 0 0.35rem;
  text-align: center;
  font-size: clamp(4.8rem, 18vw, 14.5rem);
  line-height: 0.9;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.timer-state {
  margin: 0;
  min-height: 1.4em;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.label-zone {
  display: grid;
  gap: 0.45rem;
}

.label-zone label,
.custom-minutes span {
  font-size: 1rem;
  font-weight: 800;
}

.label-zone input,
.custom-minutes input {
  width: 100%;
  min-height: 64px;
  border: 4px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 0.6rem;
}

.chip,
.utility-button {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.15rem;
  min-height: 56px;
  border: 3px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.65rem;
  font-size: 1rem;
  font-weight: 800;
}

.chip-label,
.chip-time {
  display: block;
  line-height: 1.1;
}

.chip-label {
  font-size: 1rem;
}

.chip-time {
  font-size: 0.84rem;
  color: var(--muted);
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.5vw, 1rem);
}

.preset-button,
.minor-button,
.main-action,
.reset-action,
.stop-alarm {
  border: 5px solid var(--line);
  color: var(--black);
  font-weight: 900;
  line-height: 1;
  box-shadow: var(--shadow);
}

.preset-button {
  min-height: clamp(86px, 13svh, 140px);
  background: var(--yellow);
  padding: 0.8rem;
  font-size: clamp(1.7rem, 4vw, 3.25rem);
}

.adjust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.minor-button {
  min-height: 64px;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.custom-minutes {
  display: grid;
  gap: 0.45rem;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 2vw, 1.2rem);
}

.main-action {
  min-height: clamp(96px, 16svh, 160px);
  background: var(--green);
  color: #ffffff;
  padding: 1rem;
  font-size: clamp(2.35rem, 6vw, 5rem);
}

.main-action.is-paused {
  background: var(--yellow);
  color: var(--black);
}

.main-action.is-ringing,
.reset-action.is-danger {
  background: var(--red);
  color: #ffffff;
}

.reset-action {
  min-height: 64px;
  background: var(--white);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.main-action:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.utility-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.utility-button[aria-pressed="true"] {
  background: var(--black);
  color: var(--white);
}

.saved-timers,
.quick-labels {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  border: 4px solid var(--line);
  background: var(--panel);
  padding: clamp(0.85rem, 2vw, 1.15rem);
}

.saved-timers-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.saved-timers-header > div {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  min-height: 86px;
}

.saved-timers-kicker {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

.saved-timers h2,
.quick-labels h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1;
}

.saved-timers-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.save-timer-button {
  min-height: 62px;
  border: 4px solid var(--line);
  background: var(--yellow);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 900;
  box-shadow: 0 5px 0 var(--line);
}

.save-timer-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.saved-timers-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
}

.saved-timers-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.saved-timer-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 74px;
  border: 3px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.saved-timer-apply {
  min-width: 0;
  border: 0;
  border-right: 3px solid var(--line);
  background: transparent;
  color: inherit;
  padding: 0.7rem;
  text-align: left;
  font-weight: 900;
}

.saved-timer-name,
.saved-timer-time {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.saved-timer-name {
  font-size: 1.05rem;
}

.saved-timer-time {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.saved-timer-delete {
  min-width: 92px;
  min-height: 58px;
  border: 0;
  background: var(--white);
  color: var(--red);
  padding: 0 0.65rem;
  font-size: 1rem;
  font-weight: 900;
}

.saved-timers-footer {
  display: flex;
  justify-content: flex-end;
}

.saved-timers-footer[hidden] {
  display: none !important;
}

.secondary-panel .saved-timers-header {
  min-height: auto;
}

.secondary-panel .save-timer-button {
  width: 100%;
}

.secondary-panel .utility-button {
  flex: 1 1 140px;
}

.system-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.content-zone {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}

.content-inner {
  width: min(calc(100% - 2rem), 1140px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.all-scenarios-nav {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.content-header {
  text-align: left;
  max-width: 800px;
}

.content-inner h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.content-kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.content-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.content-columns section {
  background: var(--panel);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.high-contrast .content-columns section {
  border: 1px solid var(--line);
}

.content-stack {
  display: grid;
  gap: 2rem;
}

.content-extras {
  display: grid;
  gap: 2rem;
}

.content-columns h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.3;
}

.content-block {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.content-block h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.faq-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.related-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  transition: all 0.2s ease;
}

.related-links a:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}

.content-columns p,
.disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.55;
}

.disclaimer {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
  font-weight: 700;
  background: var(--panel);
}

.site-footer {
  margin-top: 4rem;
  padding: 4rem 2rem 2rem;
  background: var(--panel);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: space-between;
}

.footer-brand-col {
  flex: 1;
  min-width: 300px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.footer-subtext {
  font-size: 1rem;
  margin: 0;
  color: var(--muted);
}

.footer-links-col {
  flex: 2;
  min-width: 300px;
}

.footer-heading {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 1.5rem 0;
}

.footer-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-chip {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-chip:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--ink);
}

.alarm-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--red);
  color: #ffffff;
}

.alarm-content {
  width: min(100%, 980px);
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  text-align: center;
}

.alarm-content h2 {
  margin: 0;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.9;
}

.alarm-label {
  min-height: 1.3em;
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 3rem);
  font-weight: 900;
}

.stop-alarm {
  min-height: clamp(96px, 16svh, 160px);
  background: #ffffff;
  color: var(--red-dark);
  padding: 1rem;
  font-size: clamp(2rem, 6vw, 5rem);
}

@keyframes alert-pulse {
  0%,
  100% {
    background: var(--red);
    color: #ffffff;
  }

  50% {
    background: var(--bg);
    color: var(--ink);
  }
}

/* Immersive Running State */
body.is-running .topbar,
body.is-running .tool-header,
body.is-running .secondary-panel,
body.is-running .content-zone,
body.is-running .site-footer,
body.is-running .preset-grid,
body.is-running .adjust-row,
body.is-running .label-zone {
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  transition: all 0.5s ease;
}

body.is-running .timer-tool {
  min-height: 100svh;
  justify-content: center;
  align-content: center;
  padding: 0;
  gap: 0;
}

body.is-running .tool-body {
  grid-template-columns: 1fr;
  gap: 0;
}

body.is-running .readout-zone {
  border: none;
  background: transparent;
  box-shadow: none;
  min-height: 70svh;
}

body.is-running .timer-display {
  font-size: clamp(8rem, 30vw, 25rem);
}

body.is-running .timer-state {
  font-size: clamp(2rem, 6vw, 5rem);
  opacity: 0.8;
  margin-top: 0;
  min-height: 1.4em;
}

body.is-running .main-action {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 80px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

body.is-running .main-action:hover {
  opacity: 1;
}

body.is-running .system-status {
  display: none;
}

@media (min-width: 820px) and (orientation: landscape) {
  .timer-tool {
    grid-template-rows: auto auto 1fr auto;
  }

  .readout-zone {
    min-height: 34svh;
  }
}

@media (max-width: 900px) {
  .topbar {
    align-items: center;
    flex-direction: row;
  }

  .nav-links {
    margin-left: auto;
    justify-content: flex-end;
  }

  .tool-body {
    grid-template-columns: 1fr;
  }

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

  .saved-timers-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  .brand-name {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-width: 3px;
  }

  .nav-links a {
    min-height: 42px;
    font-size: 0.9rem;
  }

  .timer-tool {
    width: min(calc(100% - 1rem), 1140px);
    min-height: auto;
    padding-top: 1rem;
  }

  .tool-header h1 {
    font-size: clamp(1.75rem, 8.5vw, 3rem);
  }

  .readout-zone {
    min-height: 150px;
    border-width: 4px;
  }

  .timer-display {
    font-size: clamp(4.2rem, 23vw, 7.8rem);
  }

  .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preset-grid,
  .adjust-row,
  .action-row {
    grid-template-columns: 1fr;
  }

  .tool-body {
    gap: 1rem;
  }

  .secondary-panel {
    grid-template-columns: 1fr;
  }

  .preset-button,
  .main-action {
    min-height: 92px;
  }

  .reset-action {
    min-height: 76px;
  }

  .utility-button {
    flex: 1 1 160px;
  }

  .saved-timers-header,
  .saved-timers-list {
    grid-template-columns: 1fr;
  }

  .save-timer-button {
    width: 100%;
  }

  .saved-timers-footer {
    justify-content: stretch;
  }

  .saved-timers-footer .minor-button {
    width: 100%;
  }

  .chip-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  body.is-ringing {
    animation: none;
  }
}
