:root {
  --pol-navy: #071a33;
  --pol-navy-2: #0b2242;
  --pol-gold: #d5963a;
  --pol-gold-soft: #e7b15b;
  --pol-text: #1d2230;
  --pol-muted: #6f7480;
  --pol-border: #e7e3dd;
  --pol-bg: #fbf8f4;
  --pol-card: #fffdfb;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--pol-text);
  /* background: radial-gradient(
    circle at top left,
    #ffffff 0%,
    #f8f5f1 45%,
    #f3eee8 100%
  ); */
  min-height: 100vh;
}

.topbar {
  background: linear-gradient(180deg, #071629 0%, #081b35 100%);
  color: #fff;
  border-bottom: 2px solid rgba(213, 150, 58, 0.75);
}

.brand {
  font-weight: 500;
  letter-spacing: 0.2px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
}

.logo {
  max-width: 250px;
}

.secure-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.95;
}

.secure-link:hover {
  color: #fff;
  opacity: 1;
}
.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  color: #232a38;
  white-space: nowrap;
  padding-bottom: 0.35rem;
}

.stepper-wrap {
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

.stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.step-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #222;
  font-size: 0.88rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.step-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  color: #1f2430;
}

.step-item.active .step-number,
.step-item.active .step-label {
  color: var(--pol-gold);
}

.step-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.75rem;
  width: 100%;
  height: 2px;
  background: var(--pol-gold);
}

.step-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.75rem;
  width: 100%;
  height: 2px;
  /* background: #efeaea; */
  background: var(--pol-border);
}
.step-complete-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--pol-gold);
  color: #fff;
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.eyebrow {
  color: var(--pol-gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.98;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #111827;
}

.page-subtitle {
  color: var(--pol-muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.verify-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  min-height: 3rem;
  border-radius: 0.125rem;
  border: 1px solid #dcd7cf;
  box-shadow: none;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.85);
}

.form-control:focus {
  border-color: var(--pol-gold);
  box-shadow: 0 0 0 0.15rem rgba(213, 150, 58, 0.15);
}

.login-text {
  color: var(--pol-muted);
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

.login-text a {
  color: #1b1f2a;
  text-decoration: underline;
}

.btn-pol {
  background: linear-gradient(
    180deg,
    var(--pol-navy-2) 0%,
    var(--pol-navy) 100%
  );
  color: #fff;
  border: 0;
  min-height: 3.2rem;
  min-width: 270px;
  border-radius: 0.125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
}

.btn-pol:hover,
.btn-pol:focus {
  background: linear-gradient(180deg, #0e274a 0%, #081a33 100%);
  color: #fff;
}

.btn-pol-med {
  background: linear-gradient(
    180deg,
    var(--pol-navy-2) 0%,
    var(--pol-navy) 100%
  );
  color: #fff;
  border: 0;
  min-height: 3.2rem;
  min-width: 100px;
  border-radius: 0.125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 1.5rem;
}

.btn-pol-med:hover,
.btn-pol-med:focus {
  background: linear-gradient(180deg, #0e274a 0%, #081a33 100%);
  color: #fff;
}

.referral-card {
  background: rgba(255, 255, 255, 0.55);
  border-left: 2px solid var(--pol-gold);
  padding: 2.25rem 2rem;
  min-height: 100%;
}

.referral-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #2d3340;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.ref-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--pol-navy);
  color: var(--pol-gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  border: 2px solid rgba(213, 150, 58, 0.35);
}

.ref-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 0.25rem;
  color: #1b2130;
}

.ref-id {
  text-align: center;
  color: var(--pol-muted);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.ref-copy {
  text-align: center;
  color: #515867;
  line-height: 1.65;
  max-width: 17rem;
  margin: 0 auto 1.25rem;
}

.ref-help {
  display: block;
  text-align: center;
  color: #1b2130;
  text-decoration: underline;
  font-weight: 500;
}

.security-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  color: #2f3747;
  margin-top: 2rem;
  font-size: 1rem;
}

.footer {
  border-top: 1px solid rgba(29, 34, 48, 0.08);
  padding: 1.5rem 0;
  font-size: 0.95rem;
  color: #444b59;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #333a47;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.divider {
  color: var(--pol-gold);
  opacity: 0.75;
}

@media (max-width: 991.98px) {
  .referral-card {
    margin-top: 2rem;
  }

  .stepper {
    justify-content: center;
    gap: 1.25rem 4.5rem;
  }
  .steps {
    justify-content: flex-start;
    gap: 1.4rem 2rem;
  }
  .step-item {
    display: block !important;
  }
  .logo {
    max-width: 210px;
  }
}

@media (max-width: 575.98px) {
  .page-title {
    font-size: 2.5rem;
  }

  .btn-pol {
    width: 100%;
    min-width: auto;
  }

  .step-item.active::after {
    bottom: -0.45rem;
  }
  .step-item {
    font-size: 0.5rem;
    display: block !important;
  }
  .logo {
    max-width: 210px;
  }
}
