:root {
  --brand-red: #d93620;
  --brand-red-deep: #a92518;
  --brand-orange: #f47b20;
  --brand-orange-deep: #c95616;
  --brand-yellow: #f7bd27;
  --brand-green: #4d9a2a;
  --brand-green-deep: #28651f;
  --ink: #242522;
  --ink-soft: #4d514a;
  --muted: #73776f;
  --line: #e7e4dd;
  --surface: #ffffff;
  --surface-soft: #faf8f4;
  --surface-tint: #fff8ef;
  --shadow-soft: 0 0.75rem 2rem rgb(42 32 21 / 8%);
  --shadow-card: 0 0.4rem 1.5rem rgb(42 32 21 / 7%);
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --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;
  --space-8: 4rem;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--surface-soft);
  line-height: 1.5;
}

body,
button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

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

.container {
  width: min(100% - 2rem, 74rem);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: #ffffff;
  background: var(--brand-red-deep);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
}

@media (min-width: 48rem) {
  .container {
    width: min(100% - 4rem, 74rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.environment-indicator {
  position: fixed;
  z-index: 60;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: min(24rem, calc(100% - 1.5rem));
  padding: 0.45rem 0.65rem;
  color: #fff;
  background: #5b2a86;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 999px;
  box-shadow: 0 0.35rem 1rem rgb(42 32 21 / 18%);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
