* {
  box-sizing: border-box;
}

:root {
  --background: #07151f;
  --panel: rgba(10, 31, 44, 0.84);
  --text: #f4f8fb;
  --muted: #a9bcc8;
  --accent: #39b7d6;
  --accent-hover: #62c9e2;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(57, 183, 214, 0.16), transparent 32rem),
    linear-gradient(145deg, #06121a 0%, #0a2130 55%, #07151f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0 28px;
}

.hero {
  width: min(720px, 100%);
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.brand-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(57, 183, 214, 0.5);
  border-radius: 18px;
  color: var(--accent);
  background: rgba(57, 183, 214, 0.08);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.subtitle {
  max-width: 590px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.primary-button {
  min-width: 150px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  color: #041119;
  background: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 12px 30px rgba(57, 183, 214, 0.22);
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
}

.primary-button:focus-visible {
  outline: 3px solid rgba(244, 248, 251, 0.85);
  outline-offset: 4px;
}

.status-message {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: var(--muted);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding: 0 8px;
  color: rgba(244, 248, 251, 0.52);
  font-size: 0.85rem;
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 12px;
  }

  .hero {
    border-radius: 22px;
  }

  footer {
    flex-direction: column;
    gap: 6px;
  }
}
