:root {
  /* Same scheme as the catalog: black room, white type, Redis red, white on red. */
  --paper: #000000;
  --ink: #ffffff;
  --accent: #ff4438;
  --accent-fg: #ffffff;
  --accent-deep: #e13228;
  --mute: #c7c7cc;
  --mist: #c7c7cc;
  --line: rgba(255, 255, 255, 0.14);
  --ink-soft: #c7c7cc;
  --danger: #ff4438;
  --radius: 10px;
  --font-display: "Sora", "Arial Black", sans-serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% -10%, #3a1412 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 100%, #140807 0%, transparent 50%),
    linear-gradient(165deg, #000000 0%, #0c0605 55%, #000000 100%);
}

.atmosphere__wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 55% 40% at 30% 20%, rgba(255, 68, 56, 0.22), transparent 60%),
    radial-gradient(ellipse 45% 35% at 78% 30%, rgba(255, 68, 56, 0.14), transparent 65%);
  animation: wash-drift 18s ease-in-out infinite alternate;
}

.atmosphere__reels {
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 140vmax;
  height: 70vmax;
  transform: translateX(-50%) perspective(900px) rotateX(62deg);
  transform-origin: center top;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 72px,
      rgba(255, 68, 56, 0.28) 72px 73px
    ),
    linear-gradient(180deg, transparent 0%, rgba(255, 68, 56, 0.12) 40%, rgba(255, 68, 56, 0.02) 100%);
  border-top: 1px solid rgba(255, 68, 56, 0.16);
  opacity: 0.9;
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 70%, transparent 100%);
}

.atmosphere__reels::before,
.atmosphere__reels::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.atmosphere__reels::before {
  top: 28%;
}

.atmosphere__reels::after {
  top: 62%;
}

.atmosphere__beam {
  position: absolute;
  top: -10%;
  width: 38vw;
  height: 120%;
  background: linear-gradient(
    180deg,
    rgba(255, 68, 56, 0.16) 0%,
    rgba(255, 68, 56, 0.03) 35%,
    transparent 70%
  );
  filter: blur(2px);
  transform-origin: top center;
  animation: beam-sway 12s ease-in-out infinite alternate;
}

.atmosphere__beam--a {
  left: 18%;
  transform: skewX(-12deg);
  animation-delay: -2s;
}

.atmosphere__beam--b {
  right: 12%;
  width: 28vw;
  transform: skewX(10deg);
  opacity: 0.7;
  animation-duration: 15s;
}

.atmosphere__grain {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes wash-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

@keyframes beam-sway {
  from { opacity: 0.45; transform: skewX(-12deg) translateX(-1.5%); }
  to { opacity: 0.85; transform: skewX(-8deg) translateX(2%); }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__wash,
  .atmosphere__beam,
  .brand,
  .tagline,
  .headline,
  .support,
  .notify {
    animation: none !important;
  }
}

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.15rem;
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 14vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
  min-height: 100dvh;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.85rem, 11vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand__net {
  color: var(--accent);
}

.brand__slots {
  color: var(--ink);
}

.tagline {
  margin: -0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.support {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--mist);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

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

.notify {
  width: 100%;
  max-width: 28rem;
  margin-top: 0.65rem;
  padding: 0;
  border: none;
  background: transparent;
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.notify.is-success .notify__row,
.notify.is-success .notify__hint,
.notify.is-success .notify__label {
  display: none;
}

.notify__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.notify__row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.notify__input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.notify__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.notify__input:focus {
  border-color: rgba(255, 68, 56, 0.65);
  background: #000000;
}

.notify__btn {
  flex-shrink: 0;
  appearance: none;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.notify__btn:hover {
  background: var(--accent-deep);
}

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

.notify__hint,
.notify__error,
.notify__success {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.notify__hint {
  color: var(--ink-soft);
}

.notify__error {
  color: var(--danger);
}

.notify__success {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.foot {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1rem 1.25rem 1.4rem;
  text-align: center;
}

.foot p {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 560px) {
  .hero {
    width: min(100%, calc(100% - 2rem));
    gap: 1rem;
    justify-content: flex-end;
    padding-bottom: 5.5rem;
  }

  .notify__row {
    flex-direction: column;
  }

  .notify__btn {
    width: 100%;
  }

  .atmosphere__reels {
    bottom: -8%;
    opacity: 0.75;
  }

  .atmosphere__beam {
    width: 55vw;
  }
}
