/* Retentio — Resources page.
 * Tokens come from global.css (--navy, --blue, --pink, --ink, --muted, --line).
 * Cards: a solid 2px navy outline for every tile, a brighter blue outline on
 * hover, keyboard focus and selection. No tool has its own colour.
 */

.nav-links .is-current { color: var(--navy); }
.nav-dropdown-menu-compact { min-width: 180px; }
.about-brand img { width: auto; height: 36px; object-fit: contain; }

/* ---- shared bits ---- */
.rp-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6d86;
}
.rp-dash {
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.rp-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(74, 77, 184, 0.25);
}
.rp-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.rp-btn-ghost { background: transparent; color: var(--navy); }
.rp-btn-ghost:hover { background: transparent; color: var(--blue); }

/* ---- hero ---- */
.rp-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #fbfbfd 0%, #f6f4ff 100%);
}
.rp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.rp-title {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: #1e1b45;
}
.rp-lede {
  margin: 0 0 28px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.rp-micro { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.rp-hero-art img { display: block; width: 100%; height: auto; }

/* ---- tool tiles ---- */
.rp-tools { padding: 40px 0 56px; scroll-margin-top: 90px; }
.rp-h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: #1e1b45;
}
.rp-sub { margin: 0 0 28px; font-size: 16px; color: var(--muted); }

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

.rp-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 2px solid var(--navy);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f6ff 100%);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(74, 77, 184, 0.18);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.rp-card:hover {
  border-color: var(--blue);
  box-shadow: 0 12px 28px rgba(74, 77, 184, 0.16);
  transform: translateY(-2px);
}
.rp-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-color: var(--blue);
}
.rp-card:active,
.rp-card.is-selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(74, 77, 184, 0.18);
  transform: none;
}

.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.rp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #eceafc;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}
.rp-clock { flex: none; }
.rp-card-title {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #1e1b45;
}
.rp-card-text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.rp-card-art {
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(45, 46, 110, 0.08);
}
.rp-card-art img { display: block; width: 100%; height: auto; }

/* ---- closing band ---- */
.rp-cta { padding: 0 0 56px; }
.rp-cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f3f0ff 0%, #ece8fd 100%);
}
.rp-cta-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #1e1b45;
}
.rp-cta-text { margin: 0 0 24px; max-width: 52ch; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.rp-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.rp-cta-art img { display: block; width: 100%; height: auto; }

/* ---- footer ---- */
.rp-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.rp-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.rp-footer-brand img { display: block; height: 36px; width: auto; }
.rp-footer-brand p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.rp-footer-links { display: flex; flex-wrap: wrap; gap: 28px; }
.rp-footer-links a { font-size: 14px; font-weight: 500; color: #54556e; text-decoration: none; }
.rp-footer-links a:hover { color: var(--navy); }
.rp-footer-links a:focus-visible,
.rp-footer-brand a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .rp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .rp-hero-art { max-width: 520px; }
  .rp-grid { grid-template-columns: 1fr; }
  .rp-cta-box { grid-template-columns: 1fr; padding: 32px 26px; }
  .rp-cta-art { max-width: 380px; }
}
@media (max-width: 520px) {
  .rp-hero { padding: 40px 0 28px; }
  .rp-card { grid-template-columns: 1fr; padding: 18px; }
  .rp-card-art { max-width: 132px; padding: 8px; }
  .rp-cta-actions .rp-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .rp-card, .rp-btn { transition: none; }
  .rp-card:hover, .rp-btn:hover { transform: none; }
}
