@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Chivo";
  src: url("../fonts/chivo-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page--gate-locked { overflow: hidden; }

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

a { color: inherit; text-underline-offset: 0.18em; }

button, input { font: inherit; }

:focus-visible {
  outline: 3px solid var(--focus, #038b7c);
  outline-offset: 4px;
}

.page__main:focus { outline: none; }

::selection {
  color: var(--selection-ink, #f4f2eb);
  background: var(--selection, #08786c);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: #101714;
  transform: translateY(-180%);
}

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

.access-gate {
  width: min(39rem, calc(100% - 2rem));
  max-width: none;
  padding: 0.75rem;
  color: #15231f;
  background: #fff;
  border: 1px solid #dce7df;
  box-shadow: 0 2rem 5rem rgba(9, 22, 18, 0.34);
}

.access-gate::backdrop {
  background: rgba(10, 20, 17, 0.88);
  backdrop-filter: blur(8px);
}

.access-gate__inner { padding: clamp(2rem, 7vw, 4.5rem); }

.access-gate__logo {
  width: 10.5rem;
  height: auto;
  margin-bottom: 2.5rem;
}

.access-gate__title {
  max-width: 10ch;
  margin: 0 0 2.25rem;
  font: 700 clamp(2.2rem, 7vw, 4.2rem)/0.98 "Chivo", sans-serif;
  letter-spacing: -0.04em;
}

.access-gate__check {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 1rem;
  align-items: start;
  cursor: pointer;
  line-height: 1.55;
}

.access-gate__check input {
  width: 1.6rem;
  height: 1.6rem;
  margin: 0.1rem 0 0;
  accent-color: #6aca64;
}

.access-gate__note {
  margin: 1.5rem 0 0 2.6rem;
  color: #50625c;
  font-size: 0.82rem;
}

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