:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --surface: #ffffff;
  --surface-subtle: #eef2eb;
  --surface-strong: #e4ebe1;
  --ink: #17201a;
  --muted: #5d6b61;
  --line: #d4ddd2;
  --line-strong: #b8c6b7;
  --accent: #087b70;
  --accent-strong: #05645b;
  --accent-soft: #dff2ed;
  --warning: #8b5b00;
  --warning-soft: #fff1c9;
  --danger: #a43737;
  --danger-soft: #fae7e4;
  --shadow: 0 12px 32px rgb(27 45 34 / 10%);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --content-max: 1500px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --v23-color-canvas: var(--bg);
  --v23-color-surface: var(--surface);
  --v23-color-surface-subtle: var(--surface-subtle);
  --v23-color-text: var(--ink);
  --v23-color-text-muted: var(--muted);
  --v23-color-border: var(--line);
  --v23-color-accent: var(--accent);
  --v23-color-accent-strong: var(--accent-strong);
  --v23-color-on-accent: var(--surface);
  --v23-color-focus: var(--accent);
  --v23-color-danger-text: var(--danger);
  --v23-color-danger-border: var(--danger);
  --v23-color-danger-surface: var(--danger-soft);
  --v23-color-disabled-text: var(--muted);
  --v23-color-disabled-surface: var(--surface-subtle);
  --v23-radius-sm: var(--radius-sm);
  --v23-radius-md: var(--radius-md);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101612;
    --surface: #17201a;
    --surface-subtle: #1e2a22;
    --surface-strong: #29372e;
    --ink: #eef5ef;
    --muted: #afbeb2;
    --line: #35463a;
    --line-strong: #526657;
    --accent: #65d1c4;
    --accent-strong: #8de0d5;
    --accent-soft: #173b36;
    --warning: #ffd477;
    --warning-soft: #493914;
    --danger: #ffaaa3;
    --danger-soft: #4a2726;
    --shadow: 0 12px 32px rgb(0 0 0 / 30%);
  }
}

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

html {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.18em;
}

:where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

:where(h1, h2)[tabindex="-1"]:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: var(--space-3);
  left: var(--space-3);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--surface);
  transform: translateY(-180%);
}

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

.eyebrow {
  margin: 0 0 var(--space-1);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v23-brand-block {
  display: grid;
  gap: var(--space-1);
  padding-block: var(--space-2);
}

.v23-release-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
  font-size: 0.78rem;
}

.status-dot {
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

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

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