* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --card: rgba(255, 248, 232, 0.07);
  --text: #f4ead5;
  --muted: rgba(244, 234, 213, 0.68);
  --line: rgba(244, 234, 213, 0.18);
  --accent: #9b2d22;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.46) 0%, rgba(4, 4, 4, 0.36) 34%, rgba(4, 4, 4, 0.56) 100%),
    radial-gradient(circle at 82% 24%, rgba(155, 45, 34, 0.18), transparent 28%),
    radial-gradient(circle at 24% 20%, rgba(244, 234, 213, 0.04), transparent 24%),
    url('quiet_rainy_waterfront_at_night.png') center center / cover no-repeat;
  filter: blur(2.5px) saturate(0.95) brightness(0.86);
  transform: scale(1.035);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.34) 88%),
    linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.02) 38%, rgba(0,0,0,0.16) 100%);
  z-index: 0;
}

.grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav-link:hover {
  color: var(--text);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  margin: auto;
  text-align: center;
  padding: 70px 0;
}

.logo-wrap {
  margin: 0 auto 26px;
  width: min(230px, 58vw);
  aspect-ratio: 1;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 248, 232, 0.04);
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(0,0,0,0.5);
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  font-size: clamp(12px, 2vw, 14px);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(44px, 9vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.claim {
  color: var(--text);
  font-size: clamp(22px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

.text {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.65;
}

 .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.early-access-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.early-access-panel {
  width: min(430px, 100%);
  min-height: 0;
  max-height: 0;
  margin: 0 auto 34px;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease, margin .25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(244, 234, 213, 0.16);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.early-access-toggle:checked ~ .early-access-panel {
  max-height: 74px;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  padding: 7px;
  margin-bottom: 34px;
}

.early-access-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
  padding: 0 10px 0 16px;
}

.early-access-input::placeholder {
  color: rgba(244, 234, 213, 0.45);
}

.early-access-submit {
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 234, 213, 0.92);
  color: #090909;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.early-access-submit:hover {
  transform: translateY(-1px);
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  border: 0;
  cursor: pointer;
}

.btn {
  min-width: 170px;
  padding: 15px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.primary {
  color: #090909;
  background: var(--text);
}

.secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.drop-card {
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 5px;
}

.drop-card span,
.drop-card small {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.drop-card strong {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.footer {
  position: relative;
  z-index: 2;
  color: rgba(244, 234, 213, 0.5);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 640px) {
  .hero {
    padding: 20px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .actions {
    align-items: center;
  }

  .early-access-panel {
    width: 100%;
  }

  .early-access-toggle:checked ~ .early-access-panel {
    max-height: 76px;
  }

  .btn {
    width: 100%;
  }
}
