:root {
  color-scheme: dark;
  --bg: #151520;
  --panel: rgb(25 25 35 / 0.76);
  --text: #f6f7fb;
  --muted: #c9ceda;
  --soft: #8f97aa;
  --indigo: #818cf8;
  --indigo-strong: #4f46e5;
  --cyan: #67e8f9;
  --yellow: #ffff73;
  --magenta: #ff00dd;
  --ring: rgb(129 140 248 / 0.26);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 22% 16%, rgb(79 70 229 / 0.22), transparent 30rem),
    radial-gradient(circle at 78% 70%, rgb(103 232 249 / 0.12), transparent 24rem),
    linear-gradient(180deg, #151520 0%, #151517 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-position: center top;
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at 68% 12%, black, transparent 72%);
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.notice {
  width: min(100%, 760px);
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.34);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: clamp(36px, 7vw, 64px);
  text-decoration: none;
}

.brand-icon {
  width: clamp(64px, 16vw, 112px);
  height: clamp(64px, 16vw, 112px);
  flex: 0 0 auto;
  filter:
    drop-shadow(2px 0 var(--magenta)) drop-shadow(-3px 0 var(--magenta))
    drop-shadow(0 3px var(--magenta)) drop-shadow(0 -2px var(--magenta))
    drop-shadow(4px 4px 5px #000);
}

.brand-name {
  min-width: 0;
  margin-left: clamp(-34px, -8vw, -68px);
  color: #f0f0f0;
  filter: drop-shadow(2px 2px 0 #000);
  font-family:
    Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.04;
  white-space: nowrap;
  -webkit-text-stroke: 0.5px #000;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid var(--ring);
  border-radius: 999px;
  background: rgb(79 70 229 / 0.2);
  color: #c7d2fe;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

h1 {
  max-width: 100%;
  margin: 0;
  color: var(--text);
  font-family:
    Poppins, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(2.35rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  text-wrap: balance;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.summary {
  max-width: 38rem;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.7vw, 1.28rem);
  line-height: 1.7;
}

.obs-alert {
  display: grid;
  max-width: 38rem;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgb(255 255 115 / 0.62);
  border-left: 6px solid var(--yellow);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(255 255 115 / 0.2), rgb(255 255 115 / 0.06)),
    rgb(25 25 35 / 0.9);
  box-shadow:
    0 0 0 4px rgb(255 255 115 / 0.08),
    0 18px 38px rgb(0 0 0 / 0.24);
  color: var(--text);
  gap: 4px;
}

.obs-alert strong {
  color: #ffffc2;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.obs-alert span {
  color: #f4f0c5;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 40px;
}

.primary-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--indigo-strong), #7c3aed);
  box-shadow: 0 16px 34px rgb(79 70 229 / 0.26);
  color: #fff;
  font-size: 1rem;
  font-weight: 760;
  line-height: 1.2;
  padding: 13px 18px;
  text-decoration: none;
}

.primary-link:hover {
  filter: brightness(1.08);
}

.primary-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.redirect-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .page-shell {
    place-items: stretch;
    padding: 18px;
  }

  .notice {
    display: flex;
    min-height: calc(100vh - 36px);
    flex-direction: column;
    justify-content: center;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-icon {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    margin-left: -30px;
    padding-top: 6px;
    font-size: clamp(1.3rem, 5.6vw, 1.45rem);
  }

  h1 {
    font-size: clamp(1.18rem, 5.2vw, 1.32rem);
    line-height: 1.08;
    text-wrap: normal;
  }

  .obs-alert {
    padding: 14px 14px 14px 16px;
  }

  .obs-alert span {
    font-size: 0.98rem;
  }

  .primary-link {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .notice {
    padding: 24px;
  }

  .brand-icon {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    margin-left: -24px;
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.12rem;
  }
}
