:root {
  --bg: #050506;
  --bg-soft: #111111;
  --border: rgba(255, 255, 255, 0.15);
  --text: #f2f2ee;
  --text-muted: #bcbcb6;
  --accent: #e2e2db;
  --accent-strong: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: grid;
  align-items: center;
  justify-items: center;
  padding: clamp(1rem, 2.2vw, 2rem);
  overflow-x: hidden;
}

.page-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 255, 255, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0, transparent 30%);
  pointer-events: none;
  z-index: 0;
}

.layout {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  display: block;
  animation: fade-in 420ms ease-out both;
}

.panel {
  padding: clamp(1.2rem, 3.2vw, 3rem);
  text-align: center;
}

.logo {
  width: clamp(132px, 16vw, 190px);
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

h1 {
  margin: 0.4rem 0 0.7rem;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.description {
  margin: 1.2rem auto 0;
  max-width: 52ch;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.notify-form {
  margin: 1.45rem auto 0;
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  width: min(860px, 100%);
}

.notify-form input {
  flex: 1 1 auto;
  min-height: 3.35rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  padding: 0 1rem;
  font: inherit;
  font-size: 1.03rem;
}

.notify-form input::placeholder {
  color: #7f7f78;
}

.notify-form input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.notify-form button {
  border: 0;
  border-radius: 0.5rem;
  min-height: 3.35rem;
  padding: 0 1.65rem;
  background: var(--accent);
  color: #0b0b0a;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.notify-form button:hover {
  transform: translateY(-1px);
}

.notify-form button:active {
  transform: translateY(0);
}

.form-message {
  min-height: 1.4rem;
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  color: var(--accent);
}

.contacts {
  margin-top: 1.05rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contacts a {
  color: #cecec9;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 0.16rem;
}

.contacts a:hover {
  color: #fff;
}

.social-links {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}

.social-links a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background: #f2f2ee;
  transition: transform 180ms ease, opacity 180ms ease;
}

.social-links a:hover {
  transform: translateY(-1px);
}

.social-links a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

.social-links svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

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

@media (max-width: 860px) {
  .panel {
    padding: 1rem 0.15rem 1.2rem;
  }

  .logo {
    width: clamp(120px, 34vw, 160px);
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .description {
    margin-top: 1rem;
    max-width: 34ch;
    line-height: 1.58;
  }

  .notify-form {
    flex-direction: column;
    width: 100%;
  }

  .notify-form input {
    flex: 0 0 auto;
    width: 100%;
    min-height: 3.1rem;
  }

  .notify-form button {
    width: 100%;
    min-height: 3.1rem;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .layout {
    animation: none;
  }
}
