:root {
  --auth57-cyan: #00D4C8;
  --auth57-cyan-strong: #00bfb4;
  --auth57-pink: #F64D82;
  --auth57-pink-strong: #e63f74;
  --auth57-sky: #83C9F5;
  --auth57-ink: #111827;
  --auth57-navy: #0d2d4a;
  --auth57-bg: #f9fafb;
  --auth57-white: #ffffff;
  --auth57-border: #e5e7eb;
  --auth57-muted: #6b7280;
  --auth57-soft: #f3f7fa;
  --auth57-mono: 'IBM Plex Mono', monospace;
  --auth57-sans: 'IBM Plex Sans', sans-serif;
  --auth57-radius: 10px;
}

body.auth57-page {
  font-family: var(--auth57-sans);
  background: var(--auth57-bg);
  color: var(--auth57-ink);
  -webkit-font-smoothing: antialiased;
}

.auth57-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 56px;
  padding: 0 28px;
  background: rgba(17, 24, 39, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth57-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--auth57-white);
  text-decoration: none;
  line-height: 1;
}

.auth57-logo-icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

.auth57-logo-text {
  font-family: var(--auth57-mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--auth57-white);
  white-space: nowrap;
  text-transform: uppercase;
}

.auth57-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.auth57-nav-links a,
.auth57-nav-links button,
.auth57-nav-meta {
  font-family: var(--auth57-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  background: none;
  border: 0;
}

.auth57-nav-links a:hover,
.auth57-nav-links button:hover {
  color: var(--auth57-white);
}

.auth57-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--auth57-pink);
  color: var(--auth57-white) !important;
  font-family: var(--auth57-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(246, 77, 130, 0.22);
}

.auth57-nav-cta:hover {
  background: var(--auth57-pink-strong);
}

.auth57-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.auth57-hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 212, 200, 0.18), transparent 30rem),
    linear-gradient(180deg, #111827 0%, #0f1724 100%);
  color: var(--auth57-white);
  border-bottom: 1px solid var(--auth57-border);
}

.auth57-hero-inner {
  padding: 64px 0 56px;
}

.auth57-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--auth57-cyan);
  font-family: var(--auth57-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth57-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--auth57-cyan);
}

.auth57-hero h1 {
  max-width: 860px;
  font-family: var(--auth57-mono);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.auth57-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.auth57-content {
  padding: 40px 0 72px;
}

.auth57-section-title {
  font-family: var(--auth57-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--auth57-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.auth57-grid {
  display: grid;
  gap: 18px;
}

.auth57-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth57-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth57-card {
  background: var(--auth57-white);
  border: 1px solid var(--auth57-border);
  border-radius: var(--auth57-radius);
  box-shadow: 0 14px 34px rgba(15, 23, 36, 0.05);
}

.auth57-card-pad {
  padding: 22px;
}

.auth57-metric-value {
  margin-top: 10px;
  font-family: var(--auth57-mono);
  font-size: 30px;
  line-height: 1;
  color: var(--auth57-ink);
}

.auth57-metric-note {
  margin-top: 8px;
  color: var(--auth57-muted);
  font-size: 13px;
}

.auth57-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth57-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(0, 212, 200, 0.08);
  border: 1px solid rgba(0, 212, 200, 0.2);
  color: var(--auth57-navy);
  font-family: var(--auth57-mono);
  font-size: 12px;
}

.auth57-pill.hot {
  background: rgba(246, 77, 130, 0.08);
  border-color: rgba(246, 77, 130, 0.2);
  color: #9f1239;
}

.auth57-button-primary,
.auth57-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--auth57-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.auth57-button-primary {
  background: var(--auth57-pink);
  color: var(--auth57-white);
  border: 0;
}

.auth57-button-secondary {
  background: var(--auth57-white);
  color: var(--auth57-ink);
  border: 1px solid var(--auth57-border);
}

.auth57-code {
  background: #0d1117;
  border: 1px solid #2a3441;
  border-radius: 12px;
  padding: 18px;
  color: #c9d1d9;
  font-family: var(--auth57-mono);
  font-size: 12px;
  line-height: 1.7;
  overflow-x: auto;
}

@media (max-width: 900px) {
  .auth57-grid-2,
  .auth57-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .auth57-nav {
    padding: 0 16px;
  }

  .auth57-shell {
    width: min(100% - 28px, 1180px);
  }

  .auth57-nav-links a:not(.auth57-nav-cta),
  .auth57-nav-meta {
    display: none;
  }

  .auth57-hero-inner {
    padding: 52px 0 46px;
  }
}
