* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;

  /* Tech + justice themed background */
  background:
    radial-gradient(circle at top left, rgba(0, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.22), transparent 55%),
    linear-gradient(135deg, #020617, #0b1220 40%, #020617);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: -40vh -40vw;
  background-image: url("../images/justice-bg.svg");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: min(70vmin, 500px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 80vh;
  position: relative;
  z-index: 1;
}

header {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.logo-text {
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 500;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

p.tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  max-width: 34rem;
  opacity: 0.9;
}

/* Pill-shaped email link – roughly bottom third */
.email-pill-wrapper {
  position: relative;
  width: 100%;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.email-pill span.icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}

.email-pill:hover {
  background: rgba(37, 99, 235, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(30, 64, 175, 0.5);
}

.email-pill:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.7);
}

footer {
  width: 100%;
  max-width: 900px;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  text-align: center;
  z-index: 1;
}

@media (max-width: 600px) {
  body {
    padding: 1.5rem 1.25rem;
  }

  .email-pill {
    width: 100%;
    max-width: 320px;
  }
}
