.rd-page {
  padding-bottom: 4rem;
}

.rd-hero {
  display: block;
  padding: clamp(2rem, 4vw, 3.25rem);
}

.rd-hero-inner {
  max-width: 48rem;
}

.rd-hero h1 {
  margin: 0.5rem 0 0.9rem;
}

.rd-bookmark-bar {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  background: #ffffff;
  border: 1px solid #d7e2dd;
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  box-shadow: 0 8px 24px rgba(46, 46, 46, 0.04);
}

.rd-bookmark-bar[hidden] {
  display: none;
}

.rd-bookmark-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rd-bookmark-copy strong {
  font-size: 0.96rem;
  color: #2e2e2e;
}

.rd-bookmark-copy span {
  font-size: 0.88rem;
  color: #55625d;
}

.rd-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.05rem;
  border-radius: 999px;
  border: 1px solid #3d6b62;
  background: #eff5f2;
  color: #264841;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.rd-copy-btn:hover,
.rd-copy-btn:focus-visible {
  background: #3d6b62;
  color: #ffffff;
}

.rd-library-section {
  margin-top: 1.75rem;
}

.rd-state-card {
  background: #ffffff;
  border: 1px solid #dfe7e3;
  border-radius: 20px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  max-width: 44rem;
  box-shadow: 0 12px 30px rgba(46, 46, 46, 0.04);
}

.rd-state-card[hidden],
#rd-shelf[hidden],
.rd-bundle-zip-card[hidden],
.rd-more-card[hidden] {
  display: none;
}

.rd-state-card h2 {
  font-family: var(--font-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.65rem;
  color: #2e2e2e;
}

.rd-state-card p {
  margin: 0 0 1rem;
  color: #4a524f;
  line-height: 1.6;
}

.rd-help-steps {
  margin: 0 0 1.35rem;
  padding-left: 1.25rem;
  color: #3c4441;
  line-height: 1.65;
}

.rd-help-steps li + li {
  margin-top: 0.45rem;
}

.rd-spinner {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 3px solid #dce6e1;
  border-top-color: #3d6b62;
  animation: rd-spin 0.85s linear infinite;
  margin-bottom: 1rem;
}

@keyframes rd-spin {
  to { transform: rotate(360deg); }
}

.rd-tips-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.rd-tip-item {
  background: #eff5f2;
  border: 1px solid #d5e3dc;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #33433e;
}

.rd-guides-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.rd-guide-card {
  background: #ffffff;
  border: 1px solid #dde6e1;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.85rem);
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  box-shadow: 0 10px 28px rgba(46, 46, 46, 0.04);
}

.rd-guide-cover {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6ece9;
  background: #fbfaf8;
  box-shadow: 0 6px 16px rgba(46, 46, 46, 0.08);
}

.rd-guide-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.rd-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #3d6b62;
}

.rd-guide-body h2 {
  font-family: var(--font-heading, "Playfair Display", Georgia, serif);
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
  line-height: 1.25;
  margin: 0 0 0.45rem;
  color: #2e2e2e;
}

.rd-guide-note {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #4d5653;
}

.rd-file-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.rd-pdf-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.78rem 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  min-width: 210px;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.rd-pdf-btn:hover,
.rd-pdf-btn:focus-visible {
  transform: translateY(-1px);
}

.rd-pdf-btn-primary {
  background: #c49826;
  color: #ffffff;
  border: 1px solid #b3881d;
  box-shadow: 0 6px 16px rgba(196, 152, 38, 0.22);
}

.rd-pdf-btn-primary:hover,
.rd-pdf-btn-primary:focus-visible {
  background: #b0861c;
  color: #ffffff;
}

.rd-pdf-btn-secondary {
  background: #eff5f2;
  color: #23423b;
  border: 1px solid #c6d7cf;
}

.rd-pdf-btn-secondary:hover,
.rd-pdf-btn-secondary:focus-visible {
  background: #e1ede8;
  color: #1b352f;
}

.rd-pdf-btn-title {
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.25;
}

.rd-pdf-btn-sub {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 0.15rem;
}

.rd-zip-row {
  margin-top: 0.85rem;
}

.rd-zip-link {
  font-size: 0.86rem;
  color: #3d6b62;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rd-bundle-zip-card,
.rd-more-card {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 18px;
  background: #fbfaf8;
  border: 1px solid #dbe4df;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
}

.rd-bundle-zip-card h2,
.rd-more-card h2 {
  font-family: var(--font-heading, "Playfair Display", Georgia, serif);
  font-size: 1.28rem;
  margin: 0 0 0.35rem;
}

.rd-bundle-zip-card p:last-child,
.rd-more-card p:last-child {
  margin: 0;
  color: #4f5855;
  max-width: 38rem;
}

.rd-journal-card {
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 18px;
  background: #eff5f2;
  border: 1px solid #cde0d8;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
}

.rd-journal-card h2 {
  font-family: var(--font-heading, "Playfair Display", Georgia, serif);
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
  color: #1f332e;
}

.rd-journal-copy p:last-child {
  margin: 0;
  color: #3f524c;
  font-size: 0.94rem;
  line-height: 1.5;
}

.rd-journal-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.rd-journal-fields input[type="email"] {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid #bfd2ca;
  background: #ffffff;
  font-size: 0.95rem;
  color: #26312b;
}

.rd-journal-form .bs-feedback {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.rd-journal-form .bs-feedback--error {
  color: #9e2f28;
}

.rd-journal-form .bs-feedback--success {
  color: #265448;
  font-weight: 600;
}

@media (max-width: 820px) {
  .rd-journal-card {
    grid-template-columns: 1fr;
  }
}

.rd-support-note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8e5;
  font-size: 0.88rem;
  color: #5b6561;
}

.rd-support-note a {
  color: #3d6b62;
  font-weight: 600;
}

@media (max-width: 680px) {
  .rd-guide-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 1rem;
  }

  .rd-file-buttons {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
  }

  .rd-pdf-btn {
    width: 100%;
    min-width: 0;
  }

  .rd-zip-row {
    grid-column: 1 / -1;
  }

  .rd-copy-btn {
    width: 100%;
    justify-content: center;
  }
}
