@font-face {
  font-family: Inter;
  src: url("./assets/Inter-Variable-ASCII.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  color: #e9e9eb;
  background: #050508;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid #eee; outline-offset: 4px; }
.landing { position: relative; min-height: 100svh; isolation: isolate; }
.header {
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: clamp(24px, 5vw, 80px);
}
.header { position: relative; z-index: 2; padding-block: 24px; pointer-events: none; }
.header > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-size: 1.25rem; font-weight: 600; letter-spacing: -.045em; min-height: 44px; }
.brand img { display: block; }
.primary, .secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; border-radius: 6px; padding: 8px 20px;
  font-size: .9375rem; font-weight: 550; text-decoration: none;
}
.primary { color: #0b0b0e; background: #e9e9eb; border: 1px solid #e9e9eb; }
.primary:hover { background: white; }
.secondary { color: #e9e9eb; background: #131316; border: 1px solid #38383e; }
.secondary:hover { background: #242429; }
.hero { pointer-events: none; min-height: calc(100svh - 92px); display: flex; align-items: center; padding: 32px clamp(24px, 5vw, 80px) 100px; }
.intro { position: relative; z-index: 1; max-width: 490px; pointer-events: none; }
.intro a { pointer-events: auto; }
.eyebrow { color: #d2d2d7; font-size: .875rem; font-weight: 550; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
h1 { font-size: clamp(3.6rem, 5.7vw, 6.7rem); line-height: .99; font-weight: 520; letter-spacing: -.065em; }
.description { color: #dedee2; font-size: 1.0625rem; line-height: 1.65; max-width: 32ch; margin: 26px 0; }
.scene { pointer-events: auto; position: absolute; inset: 0; z-index: -1; }
.scene iframe { display: block; width: 100%; height: 100%; border: 0; }
.registration-dialog {
  width: min(calc(100% - 32px), 400px);
  max-height: calc(100% - 32px);
  padding: clamp(24px, 7vw, 36px);
  color: #e9e9eb;
  background: #141416;
  border: 1px solid #3b3b42;
  border-radius: 12px;
  box-shadow: 0 24px 90px #0009;
}
.registration-dialog::backdrop { background: #050508bd; }
.registration-mark { display: block; margin-bottom: 24px; }
.registration-dialog h2 { font-size: 1.75rem; letter-spacing: -.045em; }
.registration-dialog p { margin: 10px 0 24px; color: #c4c4cb; line-height: 1.6; }
.registration-dialog .primary { width: 100%; }
.registration-dialog form { margin-top: 8px; text-align: center; }
.text-button { min-height: 44px; padding: 0 12px; color: #cacad0; background: none; border: 0; border-radius: 4px; font-size: .875rem; }
.text-button:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .header { padding-block: 16px; }
  .hero { align-items: flex-start; padding: 24px 24px 130px; min-height: calc(100svh - 76px); }
  .intro { max-width: 360px; }
  h1 { font-size: clamp(3.4rem, 11vw, 5.4rem); }
  .eyebrow { margin-bottom: 15px; }
  .description { margin: 16px 0 18px; }
}
