:root {
  color-scheme: light dark;
  --page-bg: #ffffff;
  --page-bg-soft: #ffffff;
  --shell-bg: #ffffff;
  --surface: #f6faff;
  --surface-strong: #ffffff;
  --surface-muted: #f1f7ff;
  --quiet-surface: color-mix(in srgb, var(--accent) 4%, var(--surface));
  --sub-panel: #f4f9ff;
  --sub-panel-hover: #eaf4ff;
  --surface-hover: #eaf4ff;
  --newsletter-input-hover: #dbeafe;
  --border: #d7e6f4;
  --border-strong: #bcd3e8;
  --text: #315575;
  --heading: #315575;
  --muted: #4f647a;
  --subtle: #71879d;
  --accent: #1e6fd1;
  --accent-strong: #1559b5;
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-softer: color-mix(in srgb, var(--accent) 8%, transparent);
  --button-bg: var(--accent);
  --button-bg-hover: var(--accent-strong);
  --button-text: #ffffff;
  --media-bg: #f1f7ff;
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --transition: 160ms var(--ease);
  --container: 1440px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-status-theme]) {
    color-scheme: dark;
    --page-bg: #111213;
    --page-bg-soft: #111213;
    --shell-bg: #111213;
    --surface: #171819;
    --surface-strong: #1b1c1f;
    --surface-muted: #1a1b1d;
    --quiet-surface: var(--surface-muted);
    --sub-panel: #121314;
    --sub-panel-hover: #1f2023;
    --surface-hover: #1f2023;
    --newsletter-input-hover: #1f2023;
    --border: #27292d;
    --border-strong: #303238;
    --text: #f3f4f6;
    --heading: #f3f4f6;
    --muted: #a6abb3;
    --subtle: #7f858e;
    --accent: #62b96f;
    --accent-strong: #7bc686;
    --button-bg: #c5ee71;
    --button-bg-hover: #d4f58c;
    --button-text: #141909;
    --media-bg: #121314;
  }
}

:root[data-status-theme="light"] {
  color-scheme: light;
  --page-bg: #ffffff;
  --page-bg-soft: #ffffff;
  --shell-bg: #ffffff;
  --surface: #f6faff;
  --surface-strong: #ffffff;
  --surface-muted: #f1f7ff;
  --quiet-surface: color-mix(in srgb, var(--accent) 4%, var(--surface));
  --sub-panel: #f4f9ff;
  --sub-panel-hover: #eaf4ff;
  --surface-hover: #eaf4ff;
  --newsletter-input-hover: #dbeafe;
  --border: #d7e6f4;
  --border-strong: #bcd3e8;
  --text: #315575;
  --heading: #315575;
  --muted: #4f647a;
  --subtle: #71879d;
  --accent: #1e6fd1;
  --accent-strong: #1559b5;
  --button-bg: var(--accent);
  --button-bg-hover: var(--accent-strong);
  --button-text: #ffffff;
  --media-bg: #f1f7ff;
}

:root[data-status-theme="dark"] {
  color-scheme: dark;
  --page-bg: #111213;
  --page-bg-soft: #111213;
  --shell-bg: #111213;
  --surface: #171819;
  --surface-strong: #1b1c1f;
  --surface-muted: #1a1b1d;
  --quiet-surface: var(--surface-muted);
  --sub-panel: #121314;
  --sub-panel-hover: #1f2023;
  --surface-hover: #1f2023;
  --newsletter-input-hover: #1f2023;
  --border: #27292d;
  --border-strong: #303238;
  --text: #f3f4f6;
  --heading: #f3f4f6;
  --muted: #a6abb3;
  --subtle: #7f858e;
  --accent: #62b96f;
  --accent-strong: #7bc686;
  --button-bg: #c5ee71;
  --button-bg-hover: #d4f58c;
  --button-text: #141909;
  --media-bg: #121314;
}

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

html {
  background: var(--page-bg);
  overflow-x: clip;
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: clip;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: var(--page-bg);
  color: var(--text);
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main :where(a:not(.button):not(.screenshot-trigger):not(.lightbox__backdrop):not(.lightbox__close):not(.lightbox__image-link):not(.page-top-link)) {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition), transform var(--transition);
}

main :where(a:not(.button):not(.screenshot-trigger):not(.lightbox__backdrop):not(.lightbox__close):not(.lightbox__image-link):not(.page-top-link)):hover,
main :where(a:not(.button):not(.screenshot-trigger):not(.lightbox__backdrop):not(.lightbox__close):not(.lightbox__image-link):not(.page-top-link)):focus-visible {
  color: var(--heading);
  transform: translateY(-2px);
}

.product-name {
  font-weight: 750;
}

.theme-variant-copy--light {
  display: none;
}

:root[data-status-theme="light"] .theme-variant-copy--dark {
  display: none;
}

:root[data-status-theme="light"] .theme-variant-copy--light {
  display: inline;
}

:root[data-status-theme="dark"] [data-theme-image]:not([data-theme-loaded="dark"]),
:root[data-status-theme="light"] [data-theme-image]:not([data-theme-loaded="light"]) {
  visibility: hidden;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--button-text);
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

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