:root {
  --bg: #00001a;
  --bg-glow: #00003e;
  --card: rgba(5, 7, 27, 0.78);
  --border: #1f2947;
  --title: #f0f5ff;
  --text: #b8c2d6;
  --muted: #8091b2;
  --blue: #2f9bff;
  --blue-soft: #8fa8ff;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
  color: var(--text);
  background: radial-gradient(ellipse at 50% 30%, var(--bg-glow) 0%, var(--bg) 70%) fixed,
    var(--bg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

main {
  width: 100%;
  max-width: 640px;
  margin: auto 0;
}

.brand {
  display: block;
  margin: 0 0 24px;
  text-align: center;
  color: var(--title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}

h1 {
  margin: 0 0 12px;
  color: var(--title);
  font-size: 28px;
  line-height: 1.25;
}

h2 {
  margin: 28px 0 8px;
  color: var(--title);
  font-size: 18px;
  line-height: 1.3;
}

h3 {
  margin: 20px 0 6px;
  color: var(--blue-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.page-home {
  min-height: 100vh;
  min-height: 100dvh;
}

.page-home h1,
.page-home h2 {
  text-align: center;
}

.page-home h1 + p,
.page-home h2 + p {
  text-align: center;
}

.page-home .email {
  word-break: normal;
  white-space: nowrap;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 20px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--blue-soft);
}

.email {
  color: var(--blue-soft);
  font-weight: 600;
  text-decoration: underline;
  user-select: all;
  -webkit-user-select: all;
  word-break: break-all;
}

.button {
  display: block;
  margin: 20px 0 6px;
  padding: 14px 20px;
  border: 1px solid rgba(47, 155, 255, 0.45);
  border-radius: 14px;
  background: var(--blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: #4aa9ff;
}

.button.secondary {
  background: rgba(47, 155, 255, 0.13);
  color: var(--title);
}

.note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (min-width: 600px) {
  body {
    padding: 56px 24px;
  }

  .card {
    padding: 36px 40px;
  }

  h1 {
    font-size: 34px;
  }
}
