.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0 70px;
}

.download-grid a,
.support-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  text-decoration: none;
}

.download-grid strong { font-size: 36px; }
.download-grid span,
.support-panel p { font-size: 20px; }
.support-panel { align-items: flex-start; margin-bottom: 70px; }

@media (max-width: 520px) {
  .download-grid { grid-template-columns: 1fr; }
}

.consent-banner {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  width: min(430px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  background: #034c68;
  color: white;
  box-shadow: 0 12px 30px rgba(3, 76, 104, 0.25);
}

.consent-banner p { margin: 0 0 14px; line-height: 1.4; }
.consent-banner div { display: flex; gap: 10px; justify-content: flex-end; }
.consent-banner button { min-height: 42px; padding: 8px 14px; border: 1px solid white; border-radius: 6px; background: transparent; color: white; font: inherit; font-weight: 800; }
.consent-banner button:last-child { background: #d2fb52; color: #034c68; border-color: #d2fb52; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  isolation: isolate;
}

.hero-art img {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-world {
  width: min(78%, 560px);
  filter: drop-shadow(0 26px 30px rgba(3, 76, 104, 0.2));
}

.hero-pieces {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: min(90%, 680px);
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 22px rgba(3, 76, 104, 0.2));
}

@media (max-width: 900px) {
  .hero-art { min-height: 360px; }
  .hero-world { width: min(68%, 480px); }
  .hero-pieces { width: min(82%, 620px); }
}

@media (max-width: 520px) {
  .hero-art { min-height: 280px; }
  .hero-world { width: min(76%, 390px); }
  .hero-pieces {
    bottom: 0;
    width: min(94%, 500px);
  }
}

/* Account deletion instructions, added 2026-09-07. */
.document-page main {
  max-width: 1240px;
  padding-bottom: 96px;
}

.document-hero {
  max-width: 900px;
  padding: 72px 0 46px;
}

.document-hero h1 {
  margin: 8px 0 22px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1;
}

.document-hero > p:not(.eyebrow) {
  max-width: 780px;
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.document-meta,
.document-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.document-meta { margin-top: 24px; }

.document-meta span,
.document-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
}

.document-badges {
  margin: 0 0 28px;
}

.document-badges span {
  border-color: #d2fb52;
  background: #d2fb52;
  color: #034c68;
}

.document-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.document-toc {
  position: sticky;
  top: 24px;
  padding-top: 10px;
}

.document-toc > strong {
  display: block;
  margin-bottom: 16px;
  color: #d2fb52;
  text-transform: uppercase;
  font-size: 13px;
}

.document-toc nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.document-toc a {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  line-height: 1.35;
}

.document-toc a:hover,
.document-toc a:focus-visible {
  color: white;
  text-decoration: underline;
  text-decoration-color: #d2fb52;
  text-decoration-thickness: 3px;
}

.document-content {
  overflow: hidden;
  border-radius: 8px;
  background: #f5fcff;
  color: #034c68;
}

.document-section {
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid rgba(3, 76, 104, 0.16);
  scroll-margin-top: 24px;
}

.document-section:last-child { border-bottom: 0; }

.document-section h2 {
  margin: 0 0 18px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.15;
}

.document-section h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.document-section p,
.document-section li {
  font-size: 17px;
  line-height: 1.65;
}

.document-section p { margin: 0 0 16px; }
.document-section p:last-child { margin-bottom: 0; }

.document-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.document-section a {
  color: #034c68;
  font-weight: 850;
  text-decoration-color: #ff277a;
  text-decoration-thickness: 2px;
}

.document-items {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(3, 76, 104, 0.16);
}

.document-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(3, 76, 104, 0.16);
}

.document-item p { margin: 0; }

.document-item > span {
  padding: 7px 10px;
  border-radius: 5px;
  background: #d2fb52;
  color: #034c68;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 520px) {
  .download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .document-page main { padding-inline: 18px; }
  .document-hero { padding: 48px 0 34px; }
  .document-layout { grid-template-columns: 1fr; }
  .document-toc { position: static; }
  .document-toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-item { grid-template-columns: 1fr; gap: 10px; }
  .document-item > span { justify-self: start; }
}

@media (max-width: 460px) {
  .document-toc nav { grid-template-columns: 1fr; }
  .document-section { padding: 25px 20px; }
  .document-section p,
  .document-section li { font-size: 16px; }
}

