:root {
  --rps-home-navy: #083654;
  --rps-home-navy-deep: #061a55;
  --rps-home-blue: #3864a7;
  --rps-home-blue-deep: #21429c;
  --rps-home-blue-bright: #3693c2;
  --rps-home-blue-light: #e7eef8;
  --rps-home-cream: #f6f8fb;
  --rps-home-ink-soft: #5c6878;
  --rps-home-line: rgba(56, 100, 167, 0.16);
}

html {
  min-width: 320px;
  background: var(--rps-home-cream);
  scroll-behavior: smooth;
}

body.rps-homepage-body {
  display: block;
  min-height: 100vh;
  margin: 0;
  background: var(--rps-home-cream);
  color: var(--rps-home-navy);
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1;
  text-rendering: optimizeLegibility;
}

.rps-homepage-body *,
.rps-homepage-body *::before,
.rps-homepage-body *::after {
  box-sizing: border-box;
}

.rps-homepage-body a {
  color: inherit;
  text-decoration: none;
}

.rps-homepage-body h1,
.rps-homepage-body h2,
.rps-homepage-body p {
  margin: 0;
}

.rps-homepage {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 0 clamp(24px, 5vw, 80px);
  isolation: isolate;
}

.rps-homepage__background {
  position: absolute;
  z-index: -1;
  top: -24rem;
  right: -16rem;
  width: 48rem;
  height: 48rem;
  border: 1px solid rgba(56, 100, 167, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(231, 238, 248, 0.78) 0 34%, transparent 34.5%),
    repeating-radial-gradient(circle at center, transparent 0 62px, rgba(56, 100, 167, 0.11) 63px 64px);
}

.rps-homepage__header {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--rps-home-line);
}

.rps-homepage__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
}

.rps-homepage__brand:focus-visible,
.rps-homepage__button:focus-visible {
  outline: 3px solid rgba(54, 147, 194, 0.36);
  outline-offset: 4px;
}

.rps-homepage__logo {
  display: block;
  width: clamp(168px, 15vw, 226px);
  height: auto;
}

.rps-homepage__brand-divider {
  width: 1px;
  height: 31px;
  background: var(--rps-home-line);
}

.rps-homepage__brand-product {
  color: var(--rps-home-blue-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rps-homepage__header-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rps-home-ink-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rps-homepage__header-note::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rps-home-blue);
  content: "";
}

.rps-homepage__hero {
  display: grid;
  width: 100%;
  max-width: 1440px;
  flex: 1;
  margin: 0 auto;
  align-items: center;
  gap: clamp(48px, 8vw, 124px);
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.72fr);
  padding: clamp(56px, 8vh, 108px) 0;
}

.rps-homepage__copy {
  max-width: 760px;
}

.rps-homepage__eyebrow {
  display: flex;
  margin-bottom: 26px;
  align-items: center;
  gap: 10px;
  color: var(--rps-home-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rps-homepage__eyebrow-line {
  width: 23px;
  height: 2px;
  background: var(--rps-home-blue);
}

.rps-homepage__copy h1 {
  max-width: 740px;
  margin-bottom: 28px;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 500;
  letter-spacing: -0.047em;
  line-height: 0.99;
}

.rps-homepage__intro {
  max-width: 670px;
  margin-bottom: 18px;
  color: var(--rps-home-ink-soft);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.75;
}

.rps-homepage__eligibility {
  max-width: 670px;
  margin-bottom: clamp(38px, 5vh, 58px);
  padding: 15px 0 15px 18px;
  border-left: 3px solid var(--rps-home-blue-bright);
  color: var(--rps-home-navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.rps-homepage__services {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rps-homepage__service {
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr;
  padding-top: 20px;
  border-top: 1px solid var(--rps-home-line);
}

.rps-homepage__service-number {
  padding-top: 2px;
  color: var(--rps-home-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.rps-homepage__service h2 {
  margin-bottom: 6px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.rps-homepage__service p {
  color: var(--rps-home-ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.rps-homepage__access {
  position: relative;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: linear-gradient(155deg, var(--rps-home-navy) 0%, var(--rps-home-navy-deep) 100%);
  box-shadow: 0 28px 70px rgba(6, 26, 85, 0.2);
  color: #fff;
}

.rps-homepage__access::before {
  position: absolute;
  top: -1px;
  left: clamp(30px, 4vw, 50px);
  width: 74px;
  height: 4px;
  background: var(--rps-home-blue-bright);
  content: "";
}

.rps-homepage__access-heading {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  gap: 16px;
}

.rps-homepage__check {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(169, 217, 240, 0.3);
  border-radius: 50%;
  background: rgba(169, 217, 240, 0.1);
  color: #a9d9f0;
  font-weight: 800;
}

.rps-homepage__access-kicker {
  margin-bottom: 3px;
  color: #a9d9f0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rps-homepage__access-heading h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(27px, 2.2vw, 34px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.rps-homepage__access-intro {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.7;
}

.rps-homepage__actions {
  display: grid;
  gap: 13px;
}

.rps-homepage__button {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.rps-homepage__button:hover {
  transform: translateY(-2px);
}

.rps-homepage__button--primary {
  background: linear-gradient(145deg, #426dc9 0%, var(--rps-home-blue-deep) 100%);
  color: #fff;
}

.rps-homepage__button--primary:hover {
  background: linear-gradient(145deg, var(--rps-home-blue) 0%, #183886 100%);
}

.rps-homepage__button--secondary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.035);
}

.rps-homepage__button--secondary:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.rps-homepage__button > span:first-child {
  display: flex;
  flex-direction: column;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.rps-homepage__button small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rps-homepage__button--primary small {
  color: rgba(255, 255, 255, 0.76);
}

.rps-homepage__button-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  font-size: 17px;
  transition: transform 180ms ease;
}

.rps-homepage__button:hover .rps-homepage__button-arrow {
  transform: translateX(3px);
}

.rps-homepage__footer {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 30px;
  border-top: 1px solid var(--rps-home-line);
  color: var(--rps-home-ink-soft);
  font-size: 11px;
  line-height: 1.4;
}

.rps-homepage__footer strong {
  color: var(--rps-home-navy);
  font-weight: 700;
}

.rps-homepage__footer-meta {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .rps-homepage__hero {
    max-width: 780px;
    grid-template-columns: 1fr;
  }

  .rps-homepage__copy {
    max-width: none;
  }

  .rps-homepage__access {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .rps-homepage {
    padding: 0 20px;
  }

  .rps-homepage__header {
    padding: 20px 0;
  }

  .rps-homepage__brand-divider,
  .rps-homepage__brand-product,
  .rps-homepage__header-note {
    display: none;
  }

  .rps-homepage__logo {
    width: 176px;
  }

  .rps-homepage__hero {
    gap: 44px;
    padding: 52px 0;
  }

  .rps-homepage__copy h1 {
    font-size: clamp(43px, 13.5vw, 61px);
  }

  .rps-homepage__intro {
    font-size: 16px;
  }

  .rps-homepage__services {
    grid-template-columns: 1fr;
  }

  .rps-homepage__access {
    margin: 0 -6px;
    padding: 32px 24px;
  }

  .rps-homepage__access-heading {
    align-items: flex-start;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rps-homepage__button,
  .rps-homepage__button-arrow {
    transition: none;
  }
}
