:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --surface: #ffffff;
  --text: #16181d;
  --text-muted: #5b6070;
  --border: #e2e0d8;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --shadow: 0 1px 0 rgba(22, 24, 29, 0.04);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1114;
    --surface: #151a1f;
    --text: #e8eaed;
    --text-muted: #98a0ab;
    --border: #232a31;
    --accent: #2dd4bf;
    --accent-hover: #5eead4;
    --accent-soft: rgba(45, 212, 191, 0.14);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1114;
  --surface: #151a1f;
  --text: #e8eaed;
  --text-muted: #98a0ab;
  --border: #232a31;
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.14);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: no-preference) {
  .theme-ready body,
  .theme-ready .site-header,
  .theme-ready .site-footer,
  .theme-ready .row,
  .theme-ready .preview,
  .theme-ready .preview__domain,
  .theme-ready .toggle,
  .theme-ready .nav__link,
  .theme-ready .contact-list__item {
    transition:
      background-color 0.25s ease,
      color 0.25s ease,
      border-color 0.25s ease;
  }
}
