/* ============================================================
   RESOURCES PAGE — resources.css
   Scoped to body.is-resources-page  |  prefix: .rp-
   Design tokens: --ink, --fire, --fire2, --chalk, --mist,
                  --mid, --border, --green, --w, --r1, --r2
   ============================================================ */

/* ── Reset & scope ────────────────────────────────────────── */
body.is-resources-page *,
body.is-resources-page *::before,
body.is-resources-page *::after { box-sizing: border-box; }
body.is-resources-page { background: var(--mist, #f5f7fa); }
/* reset margins on typographic elements only — avoids specificity conflict with layout classes */
body.is-resources-page h1, body.is-resources-page h2, body.is-resources-page h3,
body.is-resources-page h4, body.is-resources-page h5, body.is-resources-page h6,
body.is-resources-page p, body.is-resources-page ul, body.is-resources-page ol,
body.is-resources-page li, body.is-resources-page figure, body.is-resources-page blockquote { margin: 0; padding: 0; }

/* ── Design tokens (fallbacks) ────────────────────────────── */
body.is-resources-page {
  --ink:    #0d1117;
  --fire:   #ff4d00;
  --fire2:  #ff7a3d;
  --chalk:  #fff;
  --mist:   #f5f7fa;
  --mid:    #6b7280;
  --border: #e5e7eb;
  --green:  #10b981;
  --w:      min(1200px, 100% - 48px);
  --r1:     .5rem;
  --r2:     1rem;
  --ff-head: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ── Shared container ─────────────────────────────────────── */
.rp-container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Reveal animation ─────────────────────────────────────── */
.rp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.rp-revealed {
  opacity: 1;
  transform: none;
}

/* ── Section labels & headings ────────────────────────────── */
.rp-section-label {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(255, 77, 0, 0.08);
  border: 1px solid rgba(255, 77, 0, 0.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.rp-label-light { color: #fff; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }

.rp-section-h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
}
.rp-h2-light { color: var(--chalk); }

.rp-section-sub {
  font-family: var(--ff-body);
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.rp-inline-link {
  color: var(--fire);
  text-decoration: none;
  font-weight: 600;
}
.rp-inline-link:hover { text-decoration: underline; }

/* ── Pill ─────────────────────────────────────────────────── */
.rp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 77, 0, 0.1);
  border: 1px solid rgba(255, 77, 0, 0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fire2);
  margin-bottom: 18px;
}
.rp-dot {
  width: 7px; height: 7px;
  background: var(--fire);
  border-radius: 50%;
  animation: rp-pulse 2s ease-in-out infinite;
}
@keyframes rp-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.65)} }

/* ── Buttons ──────────────────────────────────────────────── */
.rp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fire);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--r1);
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.rp-btn-primary:hover { background: #e04400; transform: translateY(-1px); }
.rp-mt { margin-top: 24px; }

.rp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--r1);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.rp-btn-ghost:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

/* ============================================================
   HERO
   ============================================================ */
.rp-hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0 clamp(60px, 8vw, 96px);
}
.rp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 75% 50%, rgba(255,77,0,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(16,185,129,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.rp-hero-inner {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}
.rp-hero-h1 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--chalk);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.rp-hero-sub {
  font-family: var(--ff-body);
  font-size: 1.075rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}
.rp-hero-links { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.rp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.rp-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.rp-breadcrumb a:hover { color: var(--fire2); }
.rp-breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Resource library card ────────────────────────────────── */
.rp-library-card {
  background: linear-gradient(135deg, #1a1f2e 0%, #12161f 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r2);
  padding: 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.rp-lib-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rp-lib-icon { font-size: 1.8rem; }
.rp-lib-title {
  font-family: var(--ff-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}
.rp-lib-sub {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.rp-lib-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.rp-lib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r1);
  padding: 10px 14px;
}
.rp-lib-type-icon { font-size: 1.1rem; flex-shrink: 0; }
.rp-lib-item-text { flex: 1; min-width: 0; }
.rp-lib-item-name {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rp-lib-item-type {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
}
.rp-lib-badge {
  font-family: var(--ff-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.rp-badge-pdf      { background: rgba(239,68,68,0.15);  color: #ef4444; }
.rp-badge-video    { background: rgba(139,92,246,0.15); color: #8b5cf6; }
.rp-badge-template { background: rgba(16,185,129,0.15); color: #10b981; }
.rp-badge-guide    { background: rgba(59,130,246,0.15); color: #3b82f6; }
.rp-lib-footer {
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.rp-lib-count {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   GUIDES GRID
   ============================================================ */
.rp-guides {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--chalk);
}
.rp-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rp-resource-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.rp-resource-card:hover {
  box-shadow: 0 8px 32px rgba(13,17,23,0.1);
  transform: translateY(-3px);
  border-color: rgba(255,77,0,0.2);
}
.rp-res-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rp-res-icon { font-size: 1.8rem; }
.rp-res-type {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.rp-type-res-red    { background: rgba(239,68,68,0.1);  color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.rp-type-res-blue   { background: rgba(59,130,246,0.1); color: #3b82f6; border: 1px solid rgba(59,130,246,0.2); }
.rp-type-res-green  { background: rgba(16,185,129,0.1); color: #10b981; border: 1px solid rgba(16,185,129,0.2); }
.rp-type-res-purple { background: rgba(139,92,246,0.1); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.2); }
.rp-type-res-orange { background: rgba(255,77,0,0.1);   color: var(--fire); border: 1px solid rgba(255,77,0,0.2); }
.rp-type-res-teal   { background: rgba(20,184,166,0.1); color: #14b8a6; border: 1px solid rgba(20,184,166,0.2); }

.rp-res-title {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.rp-res-desc {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
  flex: 1;
}
.rp-res-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--fire);
  text-decoration: none;
  transition: gap 0.2s;
}
.rp-res-btn:hover { gap: 10px; }

/* ============================================================
   TOOLS
   ============================================================ */
.rp-tools {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--mist);
}
.rp-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rp-tool-card {
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.rp-tool-card:hover { box-shadow: 0 6px 24px rgba(13,17,23,0.08); }
.rp-tool-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.rp-tool-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.rp-tool-tag {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  padding: 3px 10px;
}
.rp-tool-desc {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.65;
}

/* ============================================================
   LEARNING PATH
   ============================================================ */
.rp-learning {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--chalk);
}
.rp-learning-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}
.rp-learning-text {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 28px;
}
.rp-learning-steps { display: flex; flex-direction: column; gap: 14px; }
.rp-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.rp-step-num {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--fire), var(--fire2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.rp-step-text {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.6;
  padding-top: 4px;
}
.rp-step-text strong { color: var(--ink); font-weight: 700; }

/* course card */
.rp-course-card {
  background: linear-gradient(135deg, var(--ink) 0%, #1a1f2e 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r2);
  padding: 32px;
}
.rp-course-badge {
  display: inline-block;
  background: rgba(255,77,0,0.15);
  border: 1px solid rgba(255,77,0,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fire2);
  margin-bottom: 16px;
}
.rp-course-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.rp-course-host {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.rp-course-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.rp-course-features li {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}
.rp-course-cta {
  display: block;
  text-align: center;
  background: var(--fire);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--r1);
  text-decoration: none;
  transition: background 0.2s;
}
.rp-course-cta:hover { background: #e04400; }

/* ============================================================
   GLOSSARY
   ============================================================ */
.rp-glossary {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--mist);
}
.rp-glossary-inner {
  background: var(--chalk);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.rp-glossary-icon { font-size: 3rem; flex-shrink: 0; }
.rp-glossary-h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
}
.rp-glossary-text {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================================
   MEDIA SECTION (DARK)
   ============================================================ */
.rp-media {
  background: var(--ink);
  padding: clamp(64px, 9vw, 96px) 0;
}
.rp-media-sub {
  font-family: var(--ff-body);
  font-size: 1.02rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.rp-media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.rp-media-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r2);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}
.rp-media-card:hover {
  border-color: rgba(255,77,0,0.3);
  background: rgba(255,77,0,0.04);
}
.rp-media-icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.rp-media-title {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.rp-media-desc {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 18px;
}
.rp-media-link {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fire2);
  text-decoration: none;
  transition: color 0.2s;
}
.rp-media-link:hover { color: var(--fire); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.rp-newsletter {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--chalk);
}
.rp-newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}
.rp-nl-h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 14px;
}
.rp-nl-text {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 20px;
}
.rp-nl-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rp-nl-benefits li {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.6;
}

/* newsletter form */
.rp-nl-form-wrap {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px;
}
.rp-nl-form { display: flex; flex-direction: column; gap: 14px; }
.rp-nl-field-group { display: flex; flex-direction: column; }
.rp-nl-input {
  width: 100%;
  background: var(--chalk);
  border: 1.5px solid var(--border);
  border-radius: var(--r1);
  padding: 12px 16px;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}
.rp-nl-input::placeholder { color: #9ca3af; }
.rp-nl-input:focus { border-color: var(--fire); }
.rp-nl-submit {
  width: 100%;
  background: var(--fire);
  color: #fff;
  border: none;
  border-radius: var(--r1);
  padding: 14px 24px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.rp-nl-submit:hover { background: #e04400; transform: translateY(-1px); }
.rp-nl-privacy {
  font-family: var(--ff-body);
  font-size: 0.72rem;
  color: var(--mid);
  text-align: center;
}

/* ============================================================
   FAQ
   ============================================================ */
.rp-faq {
  padding: clamp(64px, 9vw, 100px) 0;
  background: var(--mist);
}
.rp-faq-wrap { max-width: 800px; }
.rp-faq-list { display: flex; flex-direction: column; margin-top: 16px; }
.rp-faq-item { border-bottom: 1px solid var(--border); }
.rp-faq-item:first-child { border-top: 1px solid var(--border); }
.rp-faq-q {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.rp-faq-q:hover { color: var(--fire); }
.rp-faq-icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--fire);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}
.rp-faq-open .rp-faq-icon { transform: rotate(45deg); }
.rp-faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}
.rp-faq-a p {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.8;
  padding-bottom: 20px;
}

/* ============================================================
   INTERNAL NAV
   ============================================================ */
.rp-internal {
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--chalk);
}
.rp-int-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rp-int-card {
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}
.rp-int-card:hover { box-shadow: 0 6px 24px rgba(13,17,23,0.08); }
.rp-int-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.rp-int-card h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.rp-int-card p {
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 14px;
}
.rp-int-card a {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fire);
  text-decoration: none;
}
.rp-int-card a:hover { text-decoration: underline; }

/* ── AdSense ──────────────────────────────────────────────── */
.rp-adsense-wrap {
  max-width: var(--w);
  margin: 0 auto;
  padding: 24px 24px;
}

/* ============================================================
   RESPONSIVE — 900px
   ============================================================ */
@media (max-width: 900px) {
  .rp-hero-inner          { grid-template-columns: 1fr; gap: 40px; }
  .rp-hero-panel          { display: flex; justify-content: center; }
  .rp-library-card        { max-width: 420px; width: 100%; }
  .rp-resources-grid      { grid-template-columns: repeat(2, 1fr); }
  .rp-tools-grid          { grid-template-columns: repeat(2, 1fr); }
  .rp-learning-inner      { grid-template-columns: 1fr; }
  .rp-newsletter-inner    { grid-template-columns: 1fr; }
  .rp-int-grid            { grid-template-columns: repeat(2, 1fr); }
  .rp-glossary-inner      { padding: 32px; flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE — 600px
   ============================================================ */
@media (max-width: 600px) {
  .rp-resources-grid   { grid-template-columns: 1fr; }
  .rp-tools-grid       { grid-template-columns: 1fr; }
  .rp-media-grid       { grid-template-columns: 1fr; }
  .rp-int-grid         { grid-template-columns: 1fr; }
  .rp-hero-links       { flex-direction: column; }
  .rp-btn-primary,
  .rp-btn-ghost        { justify-content: center; text-align: center; }
  .rp-glossary-inner   { padding: 24px 20px; }
}
