:root {
  color-scheme: light dark;
  --color-background: #f7f7f7;
  --color-surface: rgba(255, 255, 255, 0.85);
  --color-primary: #0c3c60;
  --color-accent: #d7b56d;
  --color-text: #1f2933;
  --color-muted: #4f5d75;
  --shadow-elevated: 0 20px 45px rgba(14, 30, 37, 0.12);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.page {
  width: min(960px, 100%);
  background: var(--color-surface);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-elevated);
}

.brand {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.brand__headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.brand__tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-muted);
  max-width: 56ch;
  margin: 0 auto;
}

.notify {
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 12px 30px rgba(12, 60, 96, 0.08);
  text-align: center;
}

.notify__title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.notify__text {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.notify__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notify__input,
.notify__button {
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  padding: 0.95rem 1.25rem;
}

.notify__input {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(12, 60, 96, 0.2);
  color: var(--color-text);
}

.notify__input:focus {
  outline: 3px solid rgba(12, 60, 96, 0.25);
  outline-offset: 2px;
}

.notify__button {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 14px 24px rgba(12, 60, 96, 0.2);
}

.notify__button:hover,
.notify__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(12, 60, 96, 0.25);
}

.footer {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer__line {
  height: 2px;
  width: 60px;
  background: var(--color-accent);
  margin: 0 auto 1rem;
  opacity: 0.7;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.background__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(215, 181, 109, 0.35), transparent 45%),
              radial-gradient(circle at 80% 30%, rgba(12, 60, 96, 0.4), transparent 50%),
              linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(222, 230, 240, 0.8));
  filter: blur(0px);
}

.background__image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1529429617124-aee1839bd717?auto=format&fit=crop&w=1650&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  transform: scale(1.05);
}

@media (min-width: 640px) {
  .notify__form {
    flex-direction: row;
    justify-content: center;
  }

  .notify__input {
    flex: 1 1 260px;
    max-width: 340px;
  }

  .notify__button {
    flex: none;
    padding-inline: 2.5rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #0b1c2a;
    --color-surface: rgba(12, 28, 42, 0.85);
    --color-text: #e4edf5;
    --color-muted: #c6d3e1;
  }

  body {
    background: radial-gradient(circle at top right, rgba(12, 60, 96, 0.45), transparent 55%), #05111b;
  }

  .notify {
    background: rgba(13, 32, 48, 0.9);
  }

  .background__image {
    opacity: 0.18;
  }
}
