@font-face {
  font-family: "S8 Beausite Classic";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/BeausiteClassicWeb-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "S8 Founders Grotesk Mono";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/founders-grotesk-mono-regular.woff2") format("woff2");
}

#s8-gate,
#s8-gate * {
  all: revert;
  box-sizing: border-box;
}

html #s8-gate {
  --s8-bg: #141414;
  --s8-text: #ecedef;
  --s8-body: #bfc0c4;
  --s8-muted: #8b8c90;
  --s8-disabled: #6b6c70;
  --s8-line: #3a3a3c;
  --s8-sans: "S8 Beausite Classic", system-ui, sans-serif;
  --s8-mono: "S8 Founders Grotesk Mono", ui-monospace, Menlo, monospace;

  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  overflow: auto;
  padding: 24px;
  background: var(--s8-bg);
  color: var(--s8-text);
  font: 16px/1.5 var(--s8-sans);
}

html.s8-accepted #s8-gate {
  display: none;
}

html:not(.s8-accepted) body {
  overflow: hidden;
}

#s8-gate .s8-logo {
  display: block;
  flex: none;
  width: 139px;
  height: 12px;
}

#s8-gate .s8-panel {
  margin: auto 0;
  max-width: 1120px;
  padding: 48px 0;
}

#s8-gate .s8-label,
#s8-gate .s8-button {
  font-family: var(--s8-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

#s8-gate .s8-label {
  display: block;
  margin: 0 0 24px;
  color: var(--s8-muted);
}

#s8-gate .s8-title {
  margin: 0 0 32px;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

#s8-gate .s8-nowrap {
  white-space: nowrap;
}

#s8-gate .s8-body {
  margin: 0 0 16px;
  max-width: 600px;
  color: var(--s8-body);
  text-wrap: pretty;
}

#s8-gate .s8-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 32px 0;
  max-width: 600px;
  text-wrap: pretty;
  cursor: pointer;
}

#s8-gate .s8-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--s8-text);
  cursor: pointer;
}

#s8-gate .s8-button {
  padding: 14px 24px;
  border: 1px solid var(--s8-text);
  border-radius: 0;
  background: var(--s8-text);
  color: var(--s8-bg);
  cursor: pointer;
}

#s8-gate .s8-button:hover:not(:disabled) {
  background: transparent;
  color: var(--s8-text);
}

#s8-gate .s8-button:disabled {
  border-color: var(--s8-line);
  background: transparent;
  color: var(--s8-disabled);
  cursor: not-allowed;
}
