:root {
  color-scheme: light;
  --blue: #087df1;
  --blue-deep: #0b2f6b;
  --green: #16ad5b;
  --green-deep: #079648;
  --ink: #0a2c64;
  --muted: #3e5f89;
  --line: #c8e1f5;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: #f7fcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: #f7fcff;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: 0.5rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at -6% 10%, rgba(73, 193, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 106% 23%, rgba(89, 198, 255, 0.2), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 252, 255, 0.96));
}

.site-shell::before {
  position: absolute;
  z-index: -1;
  top: -4.75rem;
  left: 50%;
  width: max(100vw, 67.5rem);
  aspect-ratio: 1;
  content: "";
  background: url("../images/bg.png") center / contain no-repeat;
  opacity: 0.88;
  transform: translateX(-50%);
  pointer-events: none;
}

.site-header,
.site-main,
.site-footer {
  position: relative;
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: center;
  padding-top: clamp(2.25rem, 5vh, 3.4rem);
}

.brand-wordmark {
  width: clamp(25rem, 39.5vw, 34.5rem);
  height: auto;
}

.site-main {
  padding-top: 1.25rem;
}

.hero-copy {
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  color: #0a2e68;
  font-size: clamp(2rem, 3.15vw, 2.65rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero-copy p {
  max-width: 51rem;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 25rem));
  justify-content: center;
  gap: 2rem;
  margin-top: 2.1rem;
}

.access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 21rem;
  padding: 1.75rem 1.9rem 1.65rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(150, 205, 244, 0.82);
  border-radius: 1.35rem;
  box-shadow: 0 16px 38px rgba(33, 104, 160, 0.16);
  backdrop-filter: blur(7px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 50%;
}

.card-icon svg {
  width: 4.4rem;
  height: 4.4rem;
}

.access-card--login .card-icon {
  color: #0877ed;
  background: rgba(116, 191, 255, 0.25);
}

.access-card--login .card-icon svg {
  fill: currentColor;
}

.access-card--payment .card-icon {
  color: #16a957;
  background: rgba(91, 215, 145, 0.21);
}

.access-card--payment .card-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.access-card h2 {
  margin: 0.85rem 0 0;
  color: #092e6a;
  font-size: 1.72rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.access-card > p {
  min-height: 3.25rem;
  margin: 0.65rem 0 1.15rem;
  color: #38577f;
  font-size: 1rem;
  line-height: 1.5;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  min-height: 3.7rem;
  margin-top: auto;
  padding: 0.85rem 1.5rem;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(135deg, #1394f5, #006de5);
  border: 2px solid transparent;
  border-radius: 0.85rem;
  box-shadow: 0 10px 22px rgba(0, 118, 237, 0.25);
  transition: filter 150ms ease, transform 150ms ease;
}

.access-card--payment .primary-action {
  background: linear-gradient(135deg, #29bf69, #079f4d);
  box-shadow: 0 10px 22px rgba(9, 161, 76, 0.24);
}

.primary-action span {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 0.5;
}

.primary-action:hover {
  filter: brightness(0.95) saturate(1.08);
  transform: translateY(-1px);
}

.primary-action:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.supporting-message {
  position: absolute;
  top: 2.2rem;
  right: -4rem;
  margin: 0;
  color: rgba(55, 144, 238, 0.75);
  font-family: "Brush Script MT", "Segoe Script", "Bradley Hand", cursive;
  font-size: 2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  transform: rotate(-7deg);
}

.supporting-message::after {
  display: block;
  width: 8rem;
  height: 1px;
  margin: 0.5rem 0 0 auto;
  content: "";
  background: currentColor;
  transform: rotate(-8deg);
}

.supporting-words {
  position: absolute;
  top: 30.6rem;
  left: -4.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin: 0;
  color: rgba(72, 132, 188, 0.64);
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.supporting-words::before {
  width: 2.2rem;
  height: 2px;
  margin-bottom: 0.5rem;
  content: "";
  background: rgba(72, 132, 188, 0.48);
}

.benefits {
  width: min(100%, 57rem);
  margin: 2rem auto 0;
}

.benefits ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 3.2rem;
  padding-inline: 1.15rem;
  color: #123c71;
  font-size: 0.95rem;
  font-weight: 530;
  line-height: 1.25;
}

.benefits li + li::before {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(131, 178, 215, 0.55);
}

.benefits svg {
  flex: 0 0 auto;
  width: 2.65rem;
  height: 2.65rem;
  fill: #496f99;
  stroke: #496f99;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefits .benefit-check {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
}

.site-footer {
  margin-top: 1rem;
  padding: 1rem 0 1.3rem;
  color: #5c7c9f;
  text-align: center;
  border-top: 1px solid rgba(134, 186, 224, 0.46);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.site-footer p:first-child {
  color: #0c3971;
  font-weight: 650;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (min-width: 1280px) and (min-height: 780px) {
  .site-main {
    padding-top: 1.45rem;
  }

  .access-grid {
    margin-top: 2.2rem;
  }
}

@media (max-width: 1180px) {
  .site-header,
  .site-main,
  .site-footer {
    width: min(100% - 3rem, 62rem);
  }

  .supporting-message,
  .supporting-words {
    position: static;
  }

  .supporting-message {
    width: max-content;
    max-width: 100%;
    margin: 1.35rem auto 0;
    font-size: 1.45rem;
    line-height: 1.05;
    transform: rotate(-3deg);
  }

  .supporting-message br {
    display: none;
  }

  .supporting-message::after {
    width: 6rem;
  }

  .supporting-words {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 1rem;
    margin: 1.5rem auto 0;
    font-size: 0.68rem;
  }

  .supporting-words::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-main,
  .site-footer {
    width: min(100% - 2rem, 42rem);
  }

  .site-shell::before {
    top: 10.5rem;
    width: 70rem;
    opacity: 0.55;
  }

  .site-header {
    padding-top: 2rem;
  }

  .brand-wordmark {
    width: min(22rem, 86vw);
  }

  .site-main {
    padding-top: 1.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 2.55rem);
    line-height: 1.16;
  }

  .hero-copy p {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.75rem;
  }

  .access-card {
    min-height: 0;
    padding: 1.5rem;
  }

  .card-icon {
    width: 6.5rem;
    height: 6.5rem;
  }

  .card-icon svg {
    width: 3.85rem;
    height: 3.85rem;
  }

  .access-card h2 {
    font-size: 1.58rem;
  }

  .access-card > p {
    min-height: 0;
  }

  .primary-action {
    min-height: 3.5rem;
  }

  .supporting-message {
    margin-top: 1.2rem;
    font-size: 1.28rem;
  }

  .benefits {
    margin-top: 1.6rem;
  }

  .benefits ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem 0;
  }

  .benefits li {
    justify-content: flex-start;
    padding-inline: 1.1rem;
  }

  .benefits li + li::before {
    display: none;
  }

  .benefits li:nth-child(even) {
    border-left: 1px solid rgba(131, 178, 215, 0.55);
  }

  .site-footer {
    margin-top: 1.6rem;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .site-header {
    padding-top: 1.7rem;
  }

  .brand-wordmark {
    width: min(24rem, 48vw);
  }

  .site-main {
    padding-top: 0.9rem;
  }

  .hero-copy h1 {
    font-size: 2.05rem;
  }

  .hero-copy p {
    max-width: 47rem;
    margin-top: 0.75rem;
    font-size: 0.98rem;
  }

  .supporting-message {
    margin-top: 0.8rem;
    font-size: 1.18rem;
  }

  .access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.15rem;
  }

  .access-card {
    min-height: 18.4rem;
    padding: 1.3rem;
  }

  .card-icon {
    width: 5.5rem;
    height: 5.5rem;
  }

  .card-icon svg {
    width: 3.25rem;
    height: 3.25rem;
  }

  .access-card h2 {
    margin-top: 0.65rem;
    font-size: 1.42rem;
  }

  .access-card > p {
    margin-block: 0.5rem 0.85rem;
    font-size: 0.93rem;
  }

  .primary-action {
    min-height: 3.25rem;
    font-size: 1.05rem;
  }

  .supporting-words {
    margin-top: 0.9rem;
  }

  .benefits {
    margin-top: 1rem;
  }

  .benefits li {
    padding-inline: 0.6rem;
    font-size: 0.82rem;
  }

  .benefits svg {
    width: 2.15rem;
    height: 2.15rem;
  }

  .site-footer {
    margin-top: 1.25rem;
    padding-block: 0.75rem 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
