@font-face {
  font-family: Geist;
  src: url("./geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Geist, system-ui, sans-serif;
  background: #08090b;
  color: #f0f2f6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #b5d6ca; outline-offset: 5px; border-radius: 3px; }

.site {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(14px, 3.8vw, 64px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.topbar, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: 5px;
}

.topbar { min-height: clamp(64px, 9vh, 84px); }
.wordmark { display: inline-flex; align-items: center; gap: 5px; font-size: 18px; font-weight: 630; letter-spacing: -.045em; }
.wordmark img { display: block; object-fit: contain; margin-left: -4px; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 566px;
  overflow: hidden;
  border: 1px solid #252a31;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 52% 84% at 50% 30%, #181f2c 0%, #0e121a 51%, transparent 100%),
    #0b0e13;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 40% 45% at 50% 61%, #0b0e13 8%, #0b0e138c 58%, transparent 100%);
}

.frame-marks {
  position: absolute;
  inset: 16px;
  pointer-events: none;
}

.frame-marks i {
  position: absolute;
  width: 9px;
  height: 9px;
  border: solid #677588;
  border-width: 0;
}

.frame-marks i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.frame-marks i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.frame-marks i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.frame-marks i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

.hero-content {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 42px 20px 54px;
  text-align: center;
}

.brand {
  position: relative;
  width: clamp(152px, 18vw, 211px);
  aspect-ratio: 540 / 468;
  margin-bottom: clamp(5px, 1.1vh, 14px);
}

.brand::before {
  content: "";
  position: absolute;
  inset: -17% -30%;
  background: radial-gradient(ellipse closest-side, #788bb32e 0%, #4e5f8a15 57%, transparent 100%);
  pointer-events: none;
}

.brand-poster, .brand canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 19px #05070ab3);
}

.brand canvas { opacity: 0; transition: opacity .28s ease-out; }
.brand.is-live canvas { opacity: 1; }
.brand.is-live .brand-poster { opacity: 0; }

h1 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 630;
  letter-spacing: -.072em;
  line-height: 1.03;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 29em;
  margin: 17px auto 0;
  color: #b3bdcc;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.53;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  margin-top: 30px;
  padding: 8px 17px;
  border: 1px solid #ffffffd1;
  border-radius: 13px;
  background: linear-gradient(#f9fafc, #dde3eb);
  box-shadow: 0 5px 25px #b5caff2b, inset 0 1px #fff;
  color: #10141b;
  font: inherit;
  text-align: left;
  opacity: 1;
}

.store small, .store strong { display: block; }
.store small { font-size: 10px; font-weight: 610; line-height: 1.35; }
.store strong { font-size: 22px; font-weight: 660; letter-spacing: -.055em; line-height: 1.05; }

.footer { min-height: clamp(62px, 8.5vh, 82px); color: #a6afbd; font-size: 13px; }
.footer small { font-size: inherit; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px clamp(12px, 2.4vw, 30px); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { color: #f0f2f6; }

@media (max-width: 600px) {
  .topbar, .footer { padding-inline: 2px; }
  .hero { min-height: 492px; border-radius: 18px; }
  .frame-marks { inset: 12px; }
  .hero-content { padding: 34px 20px 45px; }
  h1 { font-size: clamp(43px, 10.8vw, 64px); }
  .hero-copy p { max-width: 24em; margin-top: 13px; }
  .store { margin-top: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand canvas { transition: none; }
}
