/* =====================================================
   ELVANTA — Core Design System & Base Styles
   ===================================================== */

:root {
  /* Brand colors */
  --primary: #C90000;
  --primary-bright: #E50909;
  --primary-dark: #8F0000;
  --deep-red: #550000;
  --white: #FFFFFF;
  --off-white: #F7F7F7;
  --dark: #111111;
  --muted: #777777;

  /* Derived surfaces */
  --surface: var(--white);
  --surface-alt: var(--off-white);
  --border-soft: rgba(17, 17, 17, 0.08);
  --border-red: rgba(201, 0, 0, 0.18);

  /* Gradients */
  --gradient-red: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary) 55%, var(--primary-dark) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark) 0%, #060606 100%);

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Type scale */
  --fs-display: clamp(2.6rem, 5vw + 1rem, 4.6rem);
  --fs-h1: clamp(2rem, 3vw + 1rem, 3rem);
  --fs-h2: clamp(1.6rem, 2vw + 1rem, 2.2rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --space-8: 6.5rem;

  /* Radii & shadow */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 32px rgba(17, 17, 17, 0.07);
  --shadow-red: 0 16px 36px rgba(201, 0, 0, 0.22);

  /* Layout */
  --container: 1200px;
  --header-h: 78px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --speed: 0.35s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 var(--space-3);
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--space-3); color: var(--muted); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--primary-bright);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-8) 0;
}

.section-alt { background: var(--surface-alt); }

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-6);
}

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: var(--fs-h2); color: var(--dark); }

.section-head p { font-size: 1.05rem; }

.text-accent { color: var(--primary); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: var(--white);
  padding: var(--space-2) var(--space-3);
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
  border-bottom-color: var(--border-soft);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dark);
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-red);
  display: grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.brand img.brand__logo-img { height: 34px; width: auto; }

.main-nav { display: none; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 0.35rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 600;
  visibility: hidden;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(320px, 84vw);
  background: var(--white);
  box-shadow: -18px 0 40px rgba(17, 17, 17, 0.18);
  transform: translateX(100%);
  transition: transform var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--space-4);
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity var(--speed) var(--ease);
}

.mobile-drawer.is-open { visibility: visible; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }

.mobile-drawer__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--dark);
  padding: var(--space-1);
}

.mobile-drawer nav ul { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-4); }

.mobile-drawer nav a {
  display: block;
  padding: var(--space-3) var(--space-1);
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-drawer__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-4);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-8);
  overflow: hidden;
}

.hero__decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}

.hero__decor--one {
  width: 380px; height: 380px;
  background: var(--primary-bright);
  top: -140px; right: -100px;
}

.hero__decor--two {
  width: 260px; height: 260px;
  background: var(--primary-dark);
  bottom: -100px; left: -80px;
  opacity: 0.18;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--off-white);
  border: 1px solid var(--border-red);
  color: var(--primary);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: var(--space-4);
}

.hero__kicker span.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-bright);
}

.hero h1 {
  font-size: var(--fs-display);
  color: var(--dark);
}

.hero h1 .line-red { color: var(--primary); }

.hero__sub {
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.hero__desc { font-size: 1.05rem; max-width: 46ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: var(--gradient-red);
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-red);
}

.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero__visual-fallback {
  position: relative;
  z-index: 1;
  padding: var(--space-5);
  color: var(--white);
  width: 100%;
}

.hero__visual-fallback .fig {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
}

.hero__visual-fallback .cap {
  font-size: var(--fs-small);
  opacity: 0.85;
}

.hero__visual-card {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}

.hero__visual-card strong { display: block; font-size: 1.15rem; }
.hero__visual-card span { font-size: var(--fs-small); opacity: 0.85; }

/* ---------- Stat bar ---------- */
.stat-bar {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.stat-bar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  padding: var(--space-6) 0;
}

.stat-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
}

.stat-bar__item span {
  font-size: var(--fs-small);
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: var(--space-4);
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--border-red);
  line-height: 1;
}

.step-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--off-white);
  display: grid;
  place-items: center;
  margin: var(--space-3) 0 var(--space-3);
  color: var(--primary);
}

.step-card h3 { font-size: 1.1rem; margin-bottom: var(--space-1); }
.step-card p { font-size: var(--fs-small); margin: 0; }

/* ---------- Earning ledger ---------- */
.ledger {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--surface);
}

.ledger__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--speed) var(--ease);
}

.ledger__row:last-child { border-bottom: none; }
.ledger__row:hover { background: var(--off-white); }

.ledger__left { display: flex; align-items: center; gap: var(--space-4); min-width: 0; }

.ledger__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--gradient-red);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ledger__title { font-weight: 700; color: var(--dark); }
.ledger__desc { font-size: var(--fs-small); margin: 0; }

.ledger__amount {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.15rem;
  white-space: nowrap;
  text-align: right;
}

/* ---------- Earn cards ---------- */
.earn-grid {
  display: grid;
  gap: var(--space-4);
}

.earn-card {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}

.earn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }

.earn-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--off-white);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.earn-card h3 { font-size: 1.05rem; margin-bottom: 0; }
.earn-card__reward { font-weight: 700; color: var(--primary); font-size: 0.95rem; }

.earn-card__cta {
  margin-top: auto;
  font-weight: 600;
  font-size: var(--fs-small);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------- Referral ---------- */
.referral {
  border-radius: var(--radius-lg);
  background: var(--gradient-dark);
  color: var(--white);
  padding: var(--space-7) var(--space-5);
  display: grid;
  gap: var(--space-5);
  position: relative;
  overflow: hidden;
}

.referral::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(90px);
  opacity: 0.35;
  top: -80px; right: -80px;
}

.referral__content { position: relative; z-index: 1; }
.referral__content h2 { color: var(--white); font-size: var(--fs-h2); }
.referral__content p { color: rgba(255,255,255,0.75); max-width: 46ch; }

.referral__badge {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
}

.referral__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--primary-bright);
}

.referral__net {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.referral__net .node {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.referral__net .node--main {
  width: 64px; height: 64px;
  background: var(--gradient-red);
  border: none;
}

/* ---------- Spin & Win ---------- */
.spin {
  border-radius: var(--radius-lg);
  background: var(--off-white);
  padding: var(--space-7) var(--space-5);
  display: grid;
  gap: var(--space-5);
  align-items: center;
  border: 1px solid var(--border-soft);
}

.spin__wheel {
  width: 180px; height: 180px;
  border-radius: 50%;
  margin: 0 auto;
  background: conic-gradient(var(--primary) 0deg 60deg, var(--primary-bright) 60deg 120deg, var(--primary-dark) 120deg 180deg, var(--primary) 180deg 240deg, var(--primary-bright) 240deg 300deg, var(--primary-dark) 300deg 360deg);
  position: relative;
  box-shadow: var(--shadow-red);
  animation: spin-slow 14s linear infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.spin__wheel::after {
  content: "";
  position: absolute;
  inset: 30%;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.spin__content h2 { font-size: var(--fs-h2); }

/* ---------- Merchant ---------- */
.merchant {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: var(--space-7) var(--space-5);
}

.merchant__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }

/* ---------- Leaderboard ---------- */
.leaderboard {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.leaderboard__row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
}

.leaderboard__row:last-child { border-bottom: none; }

.leaderboard__rank {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--border-red);
  width: 36px;
}

.leaderboard__row--gold .leaderboard__rank { color: var(--primary); }

.leaderboard__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.leaderboard__name { font-weight: 600; flex: 1; }
.leaderboard__amount { font-family: var(--font-display); font-weight: 700; color: var(--primary); }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; gap: var(--space-4); }

.testimonial-card {
  padding: var(--space-5);
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}

.testimonial-card__quote { font-size: 1.02rem; color: var(--dark); margin-bottom: var(--space-4); }

.testimonial-card__person { display: flex; align-items: center; gap: var(--space-3); }

.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-card__person strong { display: block; font-size: 0.95rem; }
.testimonial-card__person span { font-size: var(--fs-small); color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--border-soft); }

.faq-item { border-bottom: 1px solid var(--border-soft); }

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  background: none;
  border: none;
  text-align: left;
  padding: var(--space-4) 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--dark);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-red);
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: transform var(--speed) var(--ease);
  font-weight: 700;
}

.faq-item[data-open="true"] .faq-item__icon { transform: rotate(45deg); }

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--speed) var(--ease);
}

.faq-item__a p { padding-bottom: var(--space-4); margin: 0; font-size: 0.98rem; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--gradient-red);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-4);
}

.final-cta h2 { color: var(--white); font-size: var(--fs-h1); max-width: 20ch; margin: 0 auto var(--space-3); }
.final-cta p { color: rgba(255,255,255,0.85); margin-bottom: var(--space-5); }
.final-cta .btn-group { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-7) 0 var(--space-4);
}

.footer-top {
  display: grid;
  gap: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,0.55); margin-top: var(--space-2); max-width: 32ch; }

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary-bright);
  font-size: var(--fs-small);
  margin-top: var(--space-2);
}

.footer-cols { display: grid; gap: var(--space-5); grid-template-columns: repeat(3, 1fr); }

.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: var(--space-3); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  padding-top: var(--space-4);
  text-align: center;
}

.social-icons { display: flex; gap: var(--space-2); }

.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid;
  place-items: center;
  transition: background var(--speed) var(--ease);
}

.social-icons a:hover { background: var(--primary); }

.footer-bottom small { color: rgba(255,255,255,0.4); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Auth layout ---------- */
.auth-page {
  min-height: 100vh;
  display: grid;
}

.auth-panel {
  background: var(--gradient-red);
  color: var(--white);
  padding: var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-panel::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -120px; left: -100px;
}

.auth-panel__body { position: relative; z-index: 1; margin-top: var(--space-7); }
.auth-panel__body h2 { color: var(--white); font-size: var(--fs-h1); max-width: 14ch; }
.auth-panel__body p { color: rgba(255,255,255,0.85); max-width: 32ch; }

.auth-panel__stats { position: relative; z-index: 1; display: flex; gap: var(--space-5); margin-top: var(--space-6); }
.auth-panel__stats strong { display: block; font-family: var(--font-display); font-size: 1.5rem; }
.auth-panel__stats span { font-size: var(--fs-small); color: rgba(255,255,255,0.75); }

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6) var(--space-4);
}

.auth-form-wrap { width: 100%; max-width: 420px; }

.auth-form-wrap .brand { margin-bottom: var(--space-6); }
.auth-form-wrap h1 { font-size: var(--fs-h1); }
.auth-form-wrap > p { margin-bottom: var(--space-5); }

.auth-switch { margin-top: var(--space-5); text-align: center; font-size: 0.95rem; }
.auth-switch a { color: var(--primary); font-weight: 700; }

.auth-success {
  display: none;
  text-align: center;
  padding: var(--space-5) 0;
}

.auth-success__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin: 0 auto var(--space-4);
}
