:root {
  --bmg-black: #050505;
  --bmg-ink: #0B0B0E;
  --bmg-panel: rgba(255, 255, 255, 0.055);
  --bmg-panel-strong: rgba(255, 255, 255, 0.09);
  --bmg-white: #F7F7F2;
  --bmg-muted: #A6A6A6;
  --bmg-soft: #D8D8D2;
  --bmg-line: rgba(255, 255, 255, 0.14);
  --bmg-line-strong: rgba(255, 255, 255, 0.28);
  --bmg-accent: #C8D7FF;
  --bmg-accent-2: #E8E1D1;
  --bmg-danger: #FFB4A8;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.45);

  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --container-width: 1180px;
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: radial-gradient(120% 120% at 50% -10%, #14141a 0%, var(--bmg-black) 55%, var(--bmg-black) 100%);
  color: var(--bmg-white);
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

img {
  height: auto;
}

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

ul,
ol {
  padding-left: 1.2em;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
  color: var(--bmg-soft);
}

button {
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--bmg-white);
  background: transparent;
}

table {
  width: 100%;
  border-collapse: collapse;
}

::selection {
  background: var(--bmg-accent);
  color: var(--bmg-black);
}

:focus-visible {
  outline: 2px solid var(--bmg-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  z-index: 200;
  background: var(--bmg-white);
  color: var(--bmg-black);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease-soft);
}

.skip-link:focus {
  top: var(--space-4);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bmg-muted);
  font-weight: 600;
}

.text-muted {
  color: var(--bmg-muted);
}

.text-soft {
  color: var(--bmg-soft);
}
