.relay-site {
  --relay-ink: #171938;
  --relay-muted: #565873;
  --relay-accent: #5143bd;
  --relay-border: #e3e0f2;
  background: #f5f3fb;
  color: var(--relay-ink);
  font-family: Inter, system-ui, sans-serif;
}
.relay-site .auth-screen:not(.hidden) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-content: center;
  justify-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: #161832;
}
.relay-access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  width: min(100%, 940px);
  overflow: hidden;
  border: 1px solid #45456b;
  border-radius: 24px;
  box-shadow: 0 24px 75px #0b0c26aa;
}
.relay-intro {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(26px, 5vw, 65px);
  background: radial-gradient(ellipse at 115% 90%, #6454db, transparent 68%), #252252;
  color: #fff;
}
.relay-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 20px;
  font-weight: 750;
}
.relay-logo, .relay-site .brand-mark {
  display: inline-block;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: url("/relay-icon.svg") center / contain no-repeat;
}
.relay-site .brand-mark i { display: none; }
.relay-intro h2 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 70px);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .99;
}
.relay-intro ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding-inline-start: 22px;
  color: #eeebff;
  font-size: 1rem;
}
.relay-intro li::marker { color: #c3b8ff; }
.relay-site .relay-access .auth-panel {
  box-sizing: border-box;
  align-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 5vw, 54px);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: var(--relay-ink);
}
.relay-site .relay-access .auth-brand { display: none; }
.relay-site .auth-panel h1 { color: var(--relay-ink); }
.relay-site .auth-panel p, .relay-site .auth-demo { color: var(--relay-muted); }
.relay-site .auth-panel input { border-color: var(--relay-border); }
.relay-site .auth-panel input:focus-visible, .relay-site a:focus-visible, .relay-site button:focus-visible {
  outline: 2px solid #6b56de;
  outline-offset: 3px;
}
.relay-site .auth-submit, .relay-site .user-page .button-dark {
  background: var(--relay-accent);
  color: #fff;
  border-color: var(--relay-accent);
}
.relay-site .auth-toggle, .relay-privacy { color: #4535a3; }
.relay-privacy { display: inline-block; margin-top: 16px; font-size: .875rem; }
.relay-site:has(.auth-screen:not(.hidden)) .site-footer { display: none; }
.relay-site .topbar { background: #1d1d42; border-color: #47416d; }
.relay-site .topbar .brand strong, .relay-site .top-user strong { color: #fff; }
.relay-site .topbar .brand small, .relay-site .top-user small { color: #d7d1f5; }
.relay-site .top-nav-button.is-active { background: #3d3473; color: #fff; }
.relay-site .user-page .page-heading {
  padding: clamp(18px, 3vw, 34px);
  border-radius: 20px;
  background: #26234e;
  color: #fff;
}
.relay-site .user-page .page-heading h1 { color: #fff; }
.relay-site .user-page .page-heading .heading-copy, .relay-site .user-page .page-heading .eyebrow {
  color: #e3dcff;
}
.relay-site .user-page .panel, .relay-site .user-page .metric, .relay-site .user-page .batch-card {
  border-color: var(--relay-border);
  border-radius: 16px;
}
.relay-site .user-page .country-tab.is-active, .relay-site .user-page .batch-card.batch-featured {
  background: #efebff;
  border-color: #8776d9;
}
.relay-site .user-page .button-outline { color: #4535a3; border-color: #a99cde; }
@media (max-width: 660px) {
  .relay-site .auth-screen:not(.hidden) { align-content: start; }
  .relay-access { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
  .relay-intro { padding: 20px 24px; }
  .relay-wordmark { margin-bottom: 12px; }
  .relay-intro h2 { font-size: 32px; }
  .relay-intro h2 br, .relay-intro ul { display: none; }
  .relay-intro h2 br::after { content: " "; }
}
