.download-guide-page {
  background: #fff;
  color: var(--gray-text, #243128);
}

.download-guide-header {
  background: #fff !important;
  color: var(--gray-text, #243128);
}

.download-guide-header > h1,
.download-guide-header > p {
  background-color: #fff;
}

.download-guide-section > .download-guide-container {
  display: block;
  max-width: 1080px;
  padding-bottom: 4rem;
  padding-top: 2.25rem;
}

.download-guide-page h1,
.download-guide-page h2,
.download-guide-page h3 {
  color: var(--blue-dark, #2f6b45);
}

.download-guide-page h1 {
  border-bottom: 1px solid var(--blue-light, #8cc599);
  font-size: clamp(2rem, 4vw, 2.65rem);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
}

.download-guide-page h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 3rem 0 1rem;
  padding-top: 0.25rem;
}

.download-guide-page p,
.download-guide-page li,
.download-guide-page dd {
  line-height: 1.65;
}

.download-guide-header p {
  font-size: 1.05rem;
  max-width: 88ch;
}

.download-guide-page a {
  color: #245a39;
}

.download-guide-page a:focus-visible,
.copy-command-button:focus-visible,
.guide-jump-links a:focus-visible {
  outline: 3px solid #f0bd45;
  outline-offset: 2px;
}

.guide-jump-links {
  background: #f4faf6;
  border: 1px solid #c7ddcc;
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.75rem 0 2rem;
  padding: 1rem;
}

.guide-jump-links a {
  background: #fff;
  border: 1px solid #8bb699;
  border-radius: 4px;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
}

.guide-jump-links a:hover {
  background: #eaf5ed;
}

.platform-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-card {
  background: #fff;
  border: 1px solid #c8ddcd;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgb(25 72 42 / 8%);
  padding: 1.25rem;
}

.platform-card h3 {
  margin-top: 0;
}

.platform-card ol {
  padding-left: 1.3rem;
}

.command-block {
  background: #17241b;
  border: 1px solid #43634c;
  border-radius: 6px;
  margin: 1rem 0;
  padding-top: 2.5rem;
  position: relative;
}

.command-block--compact {
  max-width: 720px;
}

.command-block pre,
.download-guide-page > section pre,
.download-guide-page pre {
  background: #17241b;
  color: #f4fff7;
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  overflow-x: auto;
  padding: 1rem;
  white-space: pre-wrap;
}

.copy-command-button {
  background: #fff;
  border: 1px solid #c9e2cf;
  border-radius: 4px;
  color: #234e31;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  min-height: 1.9rem;
  padding: 0.3rem 0.55rem;
  position: absolute;
  right: 0.55rem;
  top: 0.45rem;
}

.copy-command-button:hover {
  background: #e8f4eb;
}

.command-explanation {
  background: #f8fbf9;
  border: 1px solid #c6ddcb;
  display: grid;
  gap: 0.7rem 1rem;
  grid-template-columns: minmax(150px, 220px) 1fr;
  margin: 1.3rem 0;
  padding: 1.2rem;
}

.command-explanation dt {
  font-weight: 700;
}

.command-explanation dd {
  margin: 0;
}

.guide-warning {
  background: #fff8e7;
  border: 1px solid #b77a21;
  border-left: 5px solid #b77a21;
  color: #4d350f;
  margin: 1.2rem 0;
  padding: 1rem 1.2rem;
}

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

.verify-grid article {
  border: 1px solid #c7ddcc;
  border-radius: 6px;
  overflow: hidden;
}

.verify-grid h3 {
  background: #eef6f0;
  margin: 0;
  padding: 0.8rem 1rem;
}

.troubleshooting-list {
  display: grid;
  gap: 0.7rem;
}

.troubleshooting-list details {
  background: #fff;
  border: 1px solid #c6d9ca;
  border-radius: 5px;
}

.troubleshooting-list summary {
  color: #245a39;
  cursor: pointer;
  font-weight: 700;
  padding: 0.85rem 1rem;
}

.troubleshooting-list details p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.related-resources {
  background: #f4faf6;
  border: 1px solid #bcd7c3;
  border-left: 5px solid var(--blue-mid, #4f8f63);
  margin-top: 3rem;
  padding: 1.3rem 1.5rem;
}

.related-resources h2 {
  margin-top: 0;
}

.related-resources ul {
  column-gap: 2.5rem;
  columns: 2;
}

.related-resources li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.copy-feedback {
  background: #183e28;
  border-radius: 5px;
  bottom: 1rem;
  box-shadow: 0 4px 18px rgb(0 0 0 / 25%);
  color: #fff;
  max-width: min(90vw, 420px);
  padding: 0.75rem 1rem;
  position: fixed;
  right: 1rem;
  z-index: 10;
}

@media (width <= 900px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (width <= 680px) {
  .download-guide-section > .download-guide-container {
    padding-top: 1.5rem;
  }

  .command-explanation,
  .verify-grid {
    grid-template-columns: 1fr;
  }

  .related-resources ul {
    columns: 1;
  }
}
