:root {
  --ink: #16181a;
  --ink-soft: #3a3f44;
  --paper: #e7e9ec;
  --paper-deep: #d5d9de;
  --accent: #2d4a3c;
  --accent-hover: #243c31;
  --line: rgba(22, 24, 26, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
}

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

html,
body {
  height: 100%;
  margin: 0;
}

body {
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  overflow-x: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere__wash {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 70% 55% at 18% 20%, rgba(255, 255, 255, 0.72), transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 78%, rgba(45, 74, 60, 0.14), transparent 55%),
    linear-gradient(155deg, #eceef1 0%, #dfe3e8 42%, #d2d7dd 100%);
  animation: wash-drift 18s ease-in-out infinite alternate;
}

.atmosphere__beam {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  top: -18%;
  right: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, transparent 68%);
  filter: blur(8px);
  animation: beam-float 22s ease-in-out infinite alternate;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.stage {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4.5rem 0 5.5rem;
}

.brand {
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.25rem, 16vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.brand__mark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.12em;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.headline {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.lede {
  margin: 0 0 2.25rem;
  max-width: 28ch;
  font-size: clamp(1rem, 2.1vw, 1.125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.notify {
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.notify input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  padding: 0.9rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify input::placeholder {
  color: rgba(58, 63, 68, 0.7);
}

.notify input:focus {
  border-color: rgba(45, 74, 60, 0.55);
  background: rgba(255, 255, 255, 0.82);
}

.notify button {
  border: 0;
  background: var(--accent);
  color: #f4f6f5;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 1.15rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.notify button:hover {
  background: var(--accent-hover);
}

.notify button:active {
  transform: translateY(1px);
}

.notify__status {
  grid-column: 1 / -1;
  min-height: 1.25rem;
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--accent);
}

.foot {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2.5rem));
  margin: -3.5rem auto 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.social {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social:hover {
  color: var(--ink);
  border-bottom-color: currentColor;
}

.foot__sep {
  opacity: 0.5;
}

.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;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wash-drift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.05) translate(-1.5%, 1%);
  }
}

@keyframes beam-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-4%, 3%);
  }
}

@media (max-width: 560px) {
  .stage {
    padding-top: 3.25rem;
    padding-bottom: 4.75rem;
  }

  .notify {
    grid-template-columns: 1fr;
  }

  .notify button {
    width: 100%;
  }

  .foot {
    margin-top: -2.75rem;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
