:root {
  color-scheme: dark;
  --background: #050505;
  --surface: #101010;
  --surface-border: #282828;
  --text: #f7f3ea;
  --muted: #b8b0a3;
  --accent: #1677ff;
  --accent-hover: #3b8dff;
  --focus: #ffd45c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 520px);
  border: 1px solid var(--surface-border);
  background: rgba(16, 16, 16, 0.9);
  padding: clamp(28px, 6vw, 48px);
}

.logo {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin: 0 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--focus);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  color: var(--text);
  font-size: clamp(2.25rem, 8vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.body-text {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.helper-text {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 28px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.primary-link:hover {
  background: var(--accent-hover);
}

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

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

  .panel {
    padding: 28px 22px;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  h1 {
    max-width: 10ch;
    font-size: 3rem;
  }
}
