.subpage-shell {
  width: min(100% - 40px, 980px);
  margin: 56px auto 0;
}

.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 68px);
  border: 1px solid rgba(22, 105, 95, .12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 16%, rgba(241, 205, 112, .35) 0 54px, transparent 55px),
    radial-gradient(circle at 84% 78%, rgba(238, 146, 126, .17) 0 86px, transparent 87px),
    linear-gradient(145deg, #edf8f3, #f9fbf4);
  box-shadow: 0 24px 70px rgba(63, 48, 31, .08);
}

.subpage-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -.04em;
}

.subpage-hero .eyebrow {
  margin-bottom: 16px;
}

.subpage-hero .updated,
.subpage-hero .lead {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
}

.legal-card {
  display: grid;
  gap: 22px;
}

.legal-content {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(63, 48, 31, .07);
}

.legal-content > :first-child {
  margin-top: 0;
}

.legal-content h2 {
  margin: 44px 0 12px;
  color: var(--ink);
  font-size: clamp(25px, 3.4vw, 34px);
  line-height: 1.18;
  letter-spacing: -.015em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.82;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 24px;
}

.legal-content a,
.support-content a {
  color: var(--teal-dark);
  font-weight: 700;
  text-underline-offset: 3px;
}

.support-shell {
  display: grid;
  gap: 24px;
}

.support-hero .eyebrow {
  color: var(--teal-dark);
}

.support-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.support-hero .button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--teal-dark);
  border-radius: 999px;
  background: var(--teal-dark);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(22, 105, 95, .14);
}

.support-hero .button.secondary {
  border-color: rgba(22, 105, 95, .16);
  background: rgba(255, 253, 248, .8);
  color: var(--teal-dark);
  box-shadow: none;
}

.support-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.support-section {
  padding: clamp(28px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  box-shadow: 0 18px 55px rgba(63, 48, 31, .06);
}

.support-section:first-child {
  grid-column: 1 / -1;
}

.support-section h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.7vw, 38px);
  letter-spacing: -.02em;
}

.support-section h3 {
  margin: 30px 0 8px;
  font-size: 21px;
  line-height: 1.25;
}

.support-section p,
.support-section li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.support-section p {
  margin: 0 0 14px;
}

.support-section ol,
.support-section ul {
  display: grid;
  gap: 9px;
  padding-left: 22px;
}

.support-section .card {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(22, 105, 95, .12);
  border-radius: 22px;
  background: rgba(223, 242, 231, .42);
}

.support-section .card strong {
  font-family: "Fredoka", "Jakarta", sans-serif;
  font-size: 18px;
}

.support-section .note {
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(22, 105, 95, .12);
  font-size: 13px;
}

.subpage-footer {
  margin-top: 64px;
}

@media (max-width: 720px) {
  .subpage-shell {
    width: min(100% - 28px, 980px);
    margin-top: 28px;
  }

  .subpage-hero {
    padding: 34px 24px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 96% 12%, rgba(241, 205, 112, .3) 0 36px, transparent 37px),
      linear-gradient(145deg, #edf8f3, #f9fbf4);
  }

  .subpage-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .subpage-hero .lead {
    font-size: 16px;
  }

  .legal-content,
  .support-section {
    padding: 28px 24px;
    border-radius: 26px;
  }

  .support-content {
    grid-template-columns: 1fr;
  }

  .support-section:first-child {
    grid-column: auto;
  }

  .subpage-footer {
    margin-top: 42px;
  }
}

@media (max-width: 470px) {
  .header-tools {
    gap: 6px;
  }

  .subpage-hero .actions {
    display: grid;
  }

  .support-hero .button {
    width: 100%;
  }
}
