@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto-500.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("/assets/fonts/roboto-700.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}

:root {
  --background: #000;
  --foreground: #fff;
  --muted: #949494;
  --accent: #00beeb;
  --gutter: clamp(36px, 7.292vw, 140px);
  --page-width: 1640px;
  color-scheme: dark;
  font-family: Roboto, Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
}

img, video { display: block; max-inline-size: 100%; }
button, input { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a[href], button:enabled { cursor: pointer; }
button:disabled, [aria-disabled="true"] { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.wrap {
  inline-size: min(var(--page-width), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 16px;
  background: var(--accent);
  color: #000;
  border-radius: 4px;
}

.skip-link:focus { transform: none; }

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-block-size: 60px;
  padding: 9px 27px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cta-button span { font-size: 26px; line-height: 1; }
.cta-primary { color: #000; background: var(--accent); }
.cta-primary:hover { background: #72dfff; }

.reveal-enabled [data-reveal] {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 650ms ease, translate 650ms cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-enabled [data-reveal].is-visible,
.reveal-enabled [data-reveal]:focus-within {
  opacity: 1;
  translate: none;
}

.reveal-next { --reveal-delay: 120ms; }
.reveal-last { --reveal-delay: 240ms; }

@media (max-width: 767px) {
  :root { --gutter: clamp(20px, 8.372vw, 36px); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-enabled [data-reveal] {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
