:root {
  --bg: #c9c8c5;
  --ink: #101114;
  --muted: rgba(16, 17, 20, 0.60);
  --faint: rgba(16, 17, 20, 0.42);
  --line: rgba(16, 17, 20, 0.14);
  --line-bright: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.105);
  --accent: #33adf5;
  --accent-soft: rgba(51, 173, 245, 0.17);
  --accent-ink: #0877b5;
  --radius: 20px;
  --shadow: 0 28px 80px rgba(18, 27, 34, 0.12);
  --logo-x: 0px;
  --logo-y: 0px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { min-height: 100%; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 28%, rgba(220, 247, 255, 0.76) 0, rgba(177, 226, 251, 0.33) 18%, rgba(255, 255, 255, 0.15) 37%, transparent 64%),
    var(--bg);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  isolation: isolate;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
}
body::before {
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(16, 17, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 17, 20, 0.03) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}
body::after {
  width: min(66vw, 920px);
  height: min(66vw, 920px);
  top: 48%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent-soft);
  filter: blur(100px);
  opacity: 0.32;
  animation: ambient 12s ease-in-out infinite;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding:
    max(18px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
}
.shell { width: min(1120px, 100%); }
.panel {
  position: relative;
  min-height: min(790px, calc(100dvh - 36px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(28px, 5vw, 66px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.20), rgba(255,255,255,0.045)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 var(--line-bright);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(108deg, transparent 18%, rgba(255,255,255,0.20) 44%, transparent 68%);
  transform: translateX(-140%);
  animation: sweep 16s ease-in-out infinite;
}
.panel::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 20px rgba(51,173,245,0.56);
}

.corner {
  position: absolute;
  z-index: 2;
  width: 17px;
  height: 17px;
  opacity: 0.42;
  pointer-events: none;
}
.corner.tl { top: 14px; left: 14px; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.corner.tr { top: 14px; right: 14px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); }
.corner.bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.corner.br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--ink); border-right: 1px solid var(--ink); }

.hero {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}
.logo-wrap {
  width: min(100%, 840px);
  margin: 0 auto;
  transform: translate3d(var(--logo-x), var(--logo-y), 0);
  transition: transform 420ms cubic-bezier(.2,.8,.2,1);
}
.logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.10));
  animation: float 9s ease-in-out infinite;
}
.rule {
  width: clamp(74px, 9vw, 116px);
  height: 1px;
  margin: clamp(28px, 4.4vw, 44px) auto clamp(28px, 4vw, 42px);
  background: linear-gradient(90deg, transparent, rgba(16,17,20,0.48), transparent);
}
.kicker,
.status {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.status { color: var(--accent-ink); margin-bottom: 17px; }
.kicker { color: rgba(16,17,20,0.54); margin-bottom: 15px; }
h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 510;
  line-height: 0.99;
  letter-spacing: -0.047em;
  text-wrap: balance;
}
.description {
  max-width: 650px;
  margin: 23px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.65;
  text-wrap: balance;
}
.formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 29px;
  list-style: none;
}
.formats li {
  padding: 9px 13px;
  border: 1px solid rgba(16,17,20,0.13);
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  color: rgba(16,17,20,0.67);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.signup {
  width: min(620px, 100%);
  margin: clamp(38px, 5vw, 54px) auto 0;
  padding-top: clamp(28px, 4vw, 38px);
  border-top: 1px solid rgba(16,17,20,0.12);
}
.signup h2 {
  font-size: clamp(20px, 2.3vw, 28px);
  font-weight: 560;
  letter-spacing: -0.025em;
}
.signup-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.signup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 20px;
}
.signup-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid rgba(16,17,20,0.22);
  border-radius: 9px;
  background: rgba(255,255,255,0.26);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.signup-form input::placeholder { color: rgba(16,17,20,0.42); }
.signup-form input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.42);
  box-shadow: 0 0 0 4px rgba(51,173,245,0.10);
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(16,17,20,0.80);
  border-radius: 9px;
  background: rgba(16,17,20,0.92);
  color: #fff;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: #07141d;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(51,173,245,0.10);
  outline: none;
}
.form-note,
.form-status {
  margin-top: 11px;
  color: var(--faint);
  font-size: 11px;
  line-height: 1.5;
}
.form-status { min-height: 17px; }
.form-status.success { color: #146d53; }
.form-status.error { color: #8a3131; }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 31px;
}
.text-link {
  color: rgba(16,17,20,0.70);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(16,17,20,0.25);
  padding-bottom: 3px;
  transition: color 180ms ease, border-color 180ms ease;
}
.text-link:hover,
.text-link:focus-visible { color: var(--accent-ink); border-color: var(--accent); outline: none; }

.redirect-card {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.redirect-card .logo-wrap { width: min(100%, 620px); }
.redirect-card h1 { font-size: clamp(31px, 4.7vw, 54px); }
.redirect-card .description { max-width: 570px; }
.progress {
  position: relative;
  width: min(360px, 78vw);
  height: 2px;
  margin: 30px auto 0;
  overflow: hidden;
  background: rgba(16,17,20,0.12);
}
.progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), rgba(51,173,245,0.35));
  animation: countdown var(--redirect-duration, 1600ms) linear forwards;
}
.destination {
  display: block;
  margin-top: 17px;
  color: rgba(16,17,20,0.52);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.manual { margin-top: 27px; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes ambient { 0%,100% { opacity: .24; transform: translate(-50%,-50%) scale(.95); } 50% { opacity: .39; transform: translate(-50%,-50%) scale(1.04); } }
@keyframes sweep { 0%,78%,100% { transform: translateX(-140%); opacity: 0; } 84% { opacity: .38; } 94% { transform: translateX(140%); opacity: 0; } }
@keyframes countdown { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 700px) {
  body::before { background-size: 52px 52px; }
  .page { padding: 11px; }
  .panel { min-height: calc(100dvh - 22px); padding: 28px 18px; border-radius: 16px; }
  .logo-wrap { width: min(100%, 680px); }
  h1 { font-size: clamp(34px, 11vw, 48px); line-height: 1.01; }
  .description { font-size: 15px; line-height: 1.58; }
  .formats { gap: 7px; }
  .formats li { padding: 8px 9px; font-size: 8.5px; }
  .signup-form { grid-template-columns: 1fr; }
  .button { width: 100%; }
}

@media (max-height: 720px) and (orientation: landscape) {
  .page { display: block; }
  .panel { min-height: 720px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .logo-wrap { transform: none !important; }
}
