.beta-section {
  display: block;
  padding-block: 104px 96px;
  background:
    radial-gradient(circle at 15% 90%, rgba(207, 214, 255, .32), transparent 26%),
    linear-gradient(180deg, var(--paper), #f3f5fc 78%, #eef1f9);
}

.closing-chapter {
  display: grid;
  gap: 94px;
}

.closing-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(270px, .72fr);
  align-items: center;
  min-height: 426px;
  padding: 64px clamp(44px, 7vw, 88px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 42px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(159, 150, 255, .4), transparent 27%),
    radial-gradient(circle at 68% 92%, rgba(194, 108, 189, .22), transparent 31%),
    linear-gradient(132deg, #20265d 4%, #343c96 53%, #5254c5 100%);
  box-shadow: 0 34px 90px rgba(36, 43, 107, .22);
}

.closing-banner::before,
.closing-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.closing-banner::before {
  width: 420px;
  height: 420px;
  right: -165px;
  top: -210px;
}

.closing-banner::after {
  width: 250px;
  height: 250px;
  right: 25%;
  bottom: -206px;
}

.closing-copy {
  position: relative;
  z-index: 2;
}

.closing-copy .eyebrow {
  margin-bottom: 20px;
  color: #cfd4ff;
}

.closing-copy h2 {
  max-width: 690px;
  color: #fff;
  font-size: clamp(3.35rem, 6.2vw, 5.5rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.closing-copy h2 span {
  color: #cfd3ff;
}

.closing-lede {
  max-width: 530px;
  margin-top: 27px;
  color: #eef0ff;
  font-size: 1rem;
  line-height: 1.7;
}

.closing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 17px 22px;
  margin-top: 31px;
}

.closing-button {
  min-width: 206px;
  color: #252b70;
  background: #fff;
  box-shadow: 0 13px 30px rgba(14, 18, 72, .22);
}

.closing-button:hover {
  color: #171b45;
  background: #f3f4ff;
  box-shadow: 0 16px 34px rgba(14, 18, 72, .28);
}

.closing-button:focus-visible {
  outline-color: #fff;
}

.closing-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #f3f4ff;
  background: rgba(13, 17, 65, .18);
  font-size: .78rem;
  font-weight: 650;
}

.closing-status > span,
.footer-brand small > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #a8edc9;
  box-shadow: 0 0 0 4px rgba(168, 237, 201, .12);
}

.closing-fine-print {
  margin-top: 18px;
  color: #c6caef;
  font-size: .75rem;
}

.closing-art {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  min-height: 290px;
  justify-self: end;
  display: grid;
  place-items: center;
}

.closing-orbit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: rgba(227, 229, 255, .5);
  stroke-width: 1.2;
}

.closing-orbit circle {
  fill: #dce0ff;
  stroke: none;
}

.closing-art img {
  position: relative;
  z-index: 2;
  width: 190px;
  filter: drop-shadow(0 25px 34px rgba(12, 16, 62, .28));
}

.closing-art .handwritten {
  position: absolute;
  z-index: 3;
  right: 7px;
  bottom: 9px;
  color: #f1d6fa;
  font-size: 1.05rem;
  transform: rotate(-7deg);
}

.closing-star {
  position: absolute;
  color: #f1d6fa;
  line-height: 1;
}

.closing-star--one {
  top: 42px;
  right: 39px;
  font-size: 1.2rem;
}

.closing-star--two {
  bottom: 62px;
  left: 33px;
  color: #dfe2ff;
  font-size: .8rem;
}

.closing-faq {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: clamp(60px, 9vw, 138px);
  align-items: start;
}

.faq-intro {
  padding-top: 12px;
}

.faq-intro .eyebrow {
  margin-bottom: 18px;
}

.faq-intro h3 {
  font-size: clamp(2.65rem, 4.7vw, 4rem);
  line-height: 1;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 355px;
  margin-top: 24px;
  color: var(--muted);
  font-size: .94rem;
}

.faq-shortcuts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-top: 27px;
}

.faq-shortcuts a {
  color: #424da7;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #c4c9ec;
  text-underline-offset: 5px;
}

.faq-shortcuts a:hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}

.faq-list {
  border-top: 1px solid #d8dced;
}

.faq-list details {
  border-bottom: 1px solid #d8dced;
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 16px 52px 16px 2px;
  list-style: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #cbd0e7;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  font: 500 1.2rem/1 var(--font-body);
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.faq-list summary:hover {
  color: var(--brand);
}

.faq-list summary:focus-visible {
  border-radius: 8px;
  outline-offset: 3px;
}

.faq-list details p {
  max-width: 650px;
  padding: 10px 52px 21px 2px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.72;
}

.faq-list details p a {
  color: #424da7;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.closing-footer.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 58px 0 30px;
  border-top: 1px solid #dce0ee;
  background: #eef1f8;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(225px, .72fr) minmax(0, 1.55fr);
  gap: 54px clamp(56px, 9vw, 126px);
}

.footer-brand .brand {
  font-size: 1.95rem;
}

.footer-brand .brand img {
  width: 46px;
  margin-right: 9px;
}

.footer-brand > p {
  margin-top: 15px;
  color: #555e7b;
  font-size: .88rem;
}

.footer-brand > small {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 15px;
  color: #555e7b;
  font-size: .75rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.closing-footer.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: .81rem;
}

.closing-footer nav h2 {
  margin: 0 0 6px;
  color: #555e7b;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.closing-footer nav a {
  min-height: 28px;
  color: #343b60;
  line-height: 1.45;
}

.closing-footer nav a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid #d7dbea;
}

.closing-footer.site-footer .footer-note {
  max-width: 690px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #555e7b;
  font-size: .75rem;
  line-height: 1.6;
}

.footer-bottom > a {
  flex: 0 0 auto;
  color: #424da7;
  font-size: .78rem;
  font-weight: 700;
}

.footer-bottom > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .beta-section {
    padding-block: 86px 82px;
  }

  .closing-chapter {
    gap: 76px;
  }

  .closing-banner {
    grid-template-columns: minmax(0, 1fr) 230px;
    min-height: 400px;
    padding: 54px 48px;
  }

  .closing-copy h2 {
    font-size: clamp(3.2rem, 7vw, 4.45rem);
  }

  .closing-art {
    width: 245px;
    min-height: 245px;
  }

  .closing-art img {
    width: 146px;
  }

  .closing-art .handwritten {
    right: -4px;
    bottom: 5px;
    font-size: .9rem;
  }

  .closing-faq {
    grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr);
    gap: 52px;
  }

  .footer-grid {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 46px;
  }

  .footer-links {
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .beta-section {
    padding-block: 68px 64px;
  }

  .closing-chapter {
    gap: 64px;
  }

  .closing-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px 25px 32px;
    border-radius: 30px;
  }

  .closing-copy {
    display: contents;
  }

  .closing-copy .eyebrow {
    order: 1;
    margin-bottom: 13px;
    font-size: .75rem;
  }

  .closing-copy h2 {
    order: 2;
    font-size: clamp(3.05rem, 14vw, 4.1rem);
  }

  .closing-lede {
    order: 3;
    margin-top: 21px;
    font-size: .92rem;
  }

  .closing-art {
    order: 4;
    width: 260px;
    min-height: 166px;
    margin: 10px auto 5px;
  }

  .closing-orbit {
    height: 190px;
    top: -14px;
  }

  .closing-art img {
    width: 132px;
  }

  .closing-art .handwritten {
    right: -4px;
    bottom: -1px;
    font-size: .84rem;
  }

  .closing-star--one {
    top: 23px;
  }

  .closing-star--two {
    bottom: 24px;
  }

  .closing-actions {
    order: 5;
    align-items: stretch;
    flex-direction: column;
    margin-top: 18px;
  }

  .closing-button {
    width: 100%;
  }

  .closing-status {
    align-self: flex-start;
  }

  .closing-fine-print {
    order: 6;
    margin-top: 15px;
    line-height: 1.55;
  }

  .closing-faq {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-intro {
    padding-top: 0;
  }

  .faq-intro h3 {
    font-size: clamp(2.65rem, 12vw, 3.55rem);
  }

  .faq-intro > p:not(.eyebrow) {
    max-width: 520px;
    font-size: .9rem;
  }

  .faq-shortcuts {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .faq-list summary {
    min-height: 64px;
    padding-right: 48px;
    font-size: .98rem;
  }

  .faq-list details p {
    padding-right: 9px;
    font-size: .86rem;
  }

  .closing-footer.site-footer {
    padding-top: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 500px) {
  .closing-banner::before {
    right: -250px;
  }

  .faq-shortcuts {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }

  .footer-links nav:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .closing-button {
    transition: none;
  }
}
