body {
  background-color: rgba(63, 50, 241, 1);
  color: #f0eee1;
}

.page-shell {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 18px 16px 72px;
  overflow: hidden;
}

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

.page-background.desktop {
  display: none;
}

.page-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.page-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-top: 0;
  padding: 20px 20px 24px;
  border: 1px solid rgba(240, 238, 225, 0.14);
  border-radius: 28px;
  background: rgba(29, 22, 113, 0.34);
  box-shadow: 0 24px 80px rgba(18, 13, 76, 0.28);
  backdrop-filter: blur(20px);
}

.page-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 6px;
  text-decoration: none;
  width: fit-content;
}

.page-brand img {
  width: auto;
  max-width: min(132px, 34vw);
  max-height: 30px;
  height: auto;
  display: block;
}

.page-nav a {
  color: rgba(240, 238, 225, 0.92);
  text-decoration: none;
  opacity: 1;
  padding: 4px 10px;
  border-radius: 999px;
  transition:
    opacity 175ms ease-in-out,
    background-color 175ms ease-in-out,
    color 175ms ease-in-out;
}

.page-nav a.current,
.page-nav a:hover {
  color: #ffffff;
  background-color: rgba(240, 238, 225, 0.14);
}

.page-nav a.current {
  background-color: rgba(240, 238, 225, 0.24);
  box-shadow: inset 0 0 0 1px rgba(240, 238, 225, 0.18);
}

.page-eyebrow {
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.72;
  margin-bottom: 10px;
}

.page-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 10px;
}

.page-title-row .page-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 12ch);
}

.page-updated {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: rgba(240, 238, 225, 0.68);
  flex-shrink: 0;
}

.page-updated time {
  font-variant-numeric: tabular-nums;
}
.page-title {
  margin: 0 0 8px;
  font-size: clamp(1.9rem, 5.6vw, 3rem);
  line-height: 0.98;
  font-weight: 400;
}

.page-lead {
  margin: 0;
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.62;
  color: rgba(240, 238, 225, 0.92);
}

.page-section {
  margin-top: 18px;
}

.page-section h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.page-section p,
.page-note,
.page-list {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(240, 238, 225, 0.9);
}

.page-list {
  padding-left: 18px;
}

.page-list li + li {
  margin-top: 8px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  justify-content: flex-start;
}

.btn-cta {
  font-size: 16px;
  text-decoration: none;
  line-height: 1;
  color: white;
  min-width: 174px;
  height: 40px;
  padding: 0 18px;
  background-color: rgba(63, 50, 241, 1);
  border-radius: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background-color 175ms ease-in-out;
}

.btn-secondary {
  background-color: rgba(240, 238, 225, 0.12);
}

.btn-secondary:hover {
  background-color: rgba(240, 238, 225, 0.2);
}

.page-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(240, 238, 225, 0.72);
}

.page-note a {
  color: #ffffff;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mousetype {
  font-size: 11px;
  text-transform: uppercase;
  color: white;
  opacity: 0.5;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  text-align: center;
  z-index: 1;
}

@media screen and (max-width: 640px) {
  .page-shell {
    align-items: flex-start;
    height: 100svh;
    padding: 12px 12px 60px;
  }

  .page-card {
    width: 100%;
    margin: 0;
    padding: 16px 16px 18px;
    border-radius: 22px;
  }

  .page-brand img {
    max-width: min(118px, 48vw);
    max-height: 26px;
  }

  .page-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 1.02;
  }

  .page-lead,
  .page-section p,
  .page-note,
  .page-list {
    font-size: 0.88rem;
    line-height: 1.48;
  }

  .page-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .btn-cta {
    min-width: 0;
    width: min(100%, 220px);
  }

  .page-nav {
    justify-content: center;
    gap: 6px 10px;
    margin-bottom: 12px;
    font-size: 10px;
  }

  .page-section {
    margin-top: 14px;
  }

  .page-brand {
    margin-bottom: 4px;
  }

  .mousetype {
    bottom: 12px;
    font-size: 10px;
    line-height: 1.4;
    white-space: normal;
  }
}

@media screen and (max-height: 820px) {
  .page-shell {
    padding-top: 14px;
    padding-bottom: 62px;
  }

  .page-card {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .page-title {
    font-size: clamp(1.75rem, 4.8vw, 2.5rem);
  }

  .page-lead,
  .page-section p,
  .page-note,
  .page-list {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .page-section {
    margin-top: 14px;
  }

  .page-actions {
    margin-top: 18px;
  }
}

@media screen and (max-height: 720px) {
  .page-shell {
    padding-top: 10px;
    padding-bottom: 56px;
  }

  .page-card {
    padding: 14px 16px 18px;
  }

  .page-nav {
    gap: 6px 10px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .page-brand {
    margin-bottom: 4px;
  }

  .page-title {
    font-size: clamp(1.5rem, 4vw, 2.05rem);
    margin-bottom: 6px;
  }

  .page-lead,
  .page-section p,
  .page-note,
  .page-list {
    font-size: 0.84rem;
    line-height: 1.4;
  }

  .page-section {
    margin-top: 12px;
  }

  .page-actions {
    margin-top: 16px;
    gap: 8px;
  }

  .btn-cta {
    height: 38px;
  }

  .mousetype {
    bottom: 10px;
    font-size: 9px;
  }
}

@media screen and (min-width: 1024px) {
  .page-background.desktop {
    display: block;
  }

  .page-background.mobile {
    display: none;
  }

  .page-card {
    padding: 30px 32px 34px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover {
    background-color: rgba(75, 62, 255, 1);
  }

  .page-nav a:hover {
    opacity: 1;
  }
}
