:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #0b1020;
  color: #eef2ff;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, #263d78 0, transparent 34rem),
    #0b1020;
}

main {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

header {
  margin-bottom: 2rem;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5rem);
  letter-spacing: -0.06em;
}

h2 {
  margin-top: 0;
}

p {
  color: #bac5e5;
  line-height: 1.6;
}

.eyebrow {
  margin-bottom: 0.5rem;
  color: #8da8ff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

section,
aside {
  margin: 1rem 0;
  padding: 1.5rem;
  border: 1px solid #2c3960;
  border-radius: 1rem;
  background: rgb(14 22 44 / 82%);
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 18%);
}

.identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.identity p,
.identity h2 {
  margin-bottom: 0;
}

.email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.badge.verified {
  background: #1c5c3a;
  color: #9df5c1;
}

.badge.unverified {
  background: #6b2130;
  color: #ffb3bf;
}

.connection {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.connection .eyebrow {
  margin-bottom: 0;
}

.connection strong {
  padding: 0.25rem 0.6rem;
  border: 1px solid #3f61b8;
  border-radius: 0.5rem;
  background: #16244a;
  color: #cfdcff;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  white-space: nowrap;
}

aside {
  border-color: #7b6222;
  background: #2b2414;
  color: #ffe29a;
}

.button {
  display: inline-block;
  border: 0;
  padding: 0.8rem 1.1rem;
  border-radius: 0.65rem;
  background: #668cff;
  color: #071022;
  font-weight: 700;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #8ba7ff;
}

.button.secondary {
  border: 1px solid #53638f;
  background: transparent;
  color: #dce4ff;
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.hidden {
  display: none;
}

pre {
  overflow-wrap: anywhere;
  overflow-x: auto;
  margin: 0;
  padding: 1rem;
  border-radius: 0.65rem;
  background: #070b16;
  color: #c8d4ff;
  font: 0.82rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap;
}

.token {
  color: #a9f5c6;
}

.muted {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  main {
    padding: 2.5rem 0;
  }

  .identity {
    align-items: flex-start;
    flex-direction: column;
  }
}
