/* ══════════════════════════════════════════════════════════
   SCHOLAR NAIJA: RAMAT POLYTECHNIC STYLESHEET
   Theme: Dynamic, Modern, Highly Readable
══════════════════════════════════════════════════════════ */

/* █ VARIABLES █ */
:root {
  /* Color Palette */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --text-main: #334155;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  
  --primary: #1e1b4b; /* Deep Indigo */
  --primary-light: #3730a3;
  --accent: #ea580c; /* Terracotta / Orange */
  --accent-hover: #c2410c;
  --gold: #eab308;
  --gold-light: #fef08a;

  /* Typography */
  --font-sans: 'Karla', sans-serif;
  --font-serif: 'Fraunces', serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing & Layout */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.12);
}

/* █ RESET & BASE █ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* █ PROGRESS BAR █ */
.rp-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 10000;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* █ HEADER █ */
.rp-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.rp-header--solid {
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.rp-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rp-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
}

.rp-header--solid .rp-logo, 
.rp-header--solid .rp-back-btn,
.rp-header--solid .rp-nav__link {
  color: var(--primary);
}

.rp-nav {
  display: none;
  gap: 1.5rem;
}

.rp-nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  transition: var(--transition);
  position: relative;
}

.rp-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.rp-nav__link:hover::after {
  width: 100%;
}

.rp-header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rp-back-btn {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.rp-header--solid .rp-back-btn {
  border-color: var(--primary);
}

.rp-back-btn:hover {
  background: var(--primary);
  color: #fff !important;
  border-color: var(--primary);
}

/* Burger Menu */
.rp-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.rp-burger span {
  width: 25px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

/* Mobile Nav */
.rp-mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
}

.rp-mobile-nav--open {
  transform: translateY(0);
}

.rp-mn-link {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

/* █ HERO █ */
.rp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--primary);
  color: #fff;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.rp-hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.rp-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

.rp-hero__sun {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.15;
  border-radius: 50%;
  filter: blur(40px);
}

.rp-hero__body {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.rp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

.rp-eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.rp-hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -1px;
}

.rp-hero__title--accent {
  color: var(--accent);
  display: block;
}

.rp-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #cbd5e1;
  max-width: 650px;
}

.rp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.rp-btn {
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-sans);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rp-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.rp-btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.rp-btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}

.rp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Institutional Ledger */
.rp-ledger {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1000px;
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}

.rp-ledger__item {
  display: flex;
  flex-direction: column;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.rp-ledger__item:last-child {
  border-right: none;
}

.rp-ledger__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.rp-ledger__value {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

/* █ TOC CHIPS █ */
.rp-toc {
  background: var(--bg-surface);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 70px;
  z-index: 90;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.rp-toc::-webkit-scrollbar {
  display: none;
}

.rp-toc__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 1rem;
}

.rp-toc__chip {
  background: var(--bg-body);
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.rp-toc__chip:hover {
  background: var(--primary-light);
  color: #fff;
  border-color: var(--primary-light);
}

/* █ LAYOUT SYSTEM █ */
.rp-wrap {
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.rp-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .rp-layout {
    grid-template-columns: 1fr 320px;
  }
}

/* █ MAIN ARTICLE █ */
.rp-section {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
}

.rp-section__tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.rp-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.rp-tag--indigo { background: #e0e7ff; color: #3730a3; }
.rp-tag--terracotta { background: #ffedd5; color: #c2410c; }
.rp-tag--gold { background: #fef08a; color: #854d0e; }

.rp-section__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 700;
}

.rp-section__title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.rp-section__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
}

/* Typography inside content */
.rp-content h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-heading);
  position: relative;
  padding-left: 1rem;
}

.rp-content h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.rp-content p {
  margin-bottom: 1.5rem;
}

.rp-blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary);
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

/* █ GRIDS & CARDS █ */
.rp-fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.rp-fact-card {
  background: var(--bg-body);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-top: 4px solid;
  transition: var(--transition);
}

.rp-fact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.rp-fact-card--indigo { border-color: var(--primary); }
.rp-fact-card--terracotta { border-color: var(--accent); }
.rp-fact-card--gold { border-color: var(--gold); }

.rp-fact-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.rp-fact-card h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.rp-fact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* School Cards */
.rp-school-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.rp-school-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

@media (min-width: 600px) {
  .rp-school-card {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.rp-school-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.rp-school-card__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: #f1f5f9;
  line-height: 1;
}

.rp-school-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.rp-school-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}

.rp-school-card__tag {
  background: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  margin-top: 1rem;
  align-self: flex-start;
}

@media (min-width: 600px) {
  .rp-school-card__tag {
    margin-top: 0;
    align-self: center;
  }
}

/* █ AFFILIATES & CALLOUTS █ */
.rp-affiliate {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-md);
}

.rp-affiliate--gold { background: linear-gradient(135deg, #fef08a 0%, #eab308 100%); color: var(--text-heading); }
.rp-affiliate--terracotta { background: linear-gradient(135deg, #fdba74 0%, var(--accent) 100%); }

.rp-affiliate__badge {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.rp-affiliate__badge--gold { background: rgba(0,0,0,0.1); }
.rp-affiliate__badge--terracotta { background: rgba(0,0,0,0.2); }

.rp-affiliate__body {
  font-size: 1.1rem;
  line-height: 1.5;
}

.rp-affiliate__cta {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: var(--transition);
}

.rp-affiliate__cta:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

.rp-affiliate__cta--gold { background: var(--primary); color: #fff; }
.rp-affiliate__cta--terracotta { background: #fff; color: var(--accent); }

/* █ FAQ █ */
.rp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.rp-faq-item {
  background: var(--bg-body);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rp-faq-q {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}

.rp-faq-q::-webkit-details-marker { display: none; }

.rp-faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.rp-faq-item[open] .rp-faq-q::after {
  transform: rotate(45deg);
}

.rp-faq-item[open] .rp-faq-q {
  background: #f1f5f9;
}

.rp-faq-a {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.rp-faq-a p {
  margin: 1rem 0 0;
}

/* █ ADS █ */
.rp-ad {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rp-ad__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.rp-ad--leader { margin: 2rem auto; max-width: 900px; }
.rp-ad--sidebar { margin: 0 0 2rem; }

/* █ PAGE NAV █ */
.rp-page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  border-top: 2px solid #e2e8f0;
  padding-top: 2rem;
}

.rp-pagenav-btn {
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid #e2e8f0;
  color: var(--primary);
  transition: var(--transition);
}

.rp-pagenav-btn:hover {
  border-color: var(--primary);
  background: var(--bg-body);
}

.rp-pagenav-btn--next {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.rp-pagenav-btn--next:hover {
  background: var(--primary-light);
  color: #fff;
}

/* █ SIDEBAR █ */
.rp-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rp-stoc__title, .rp-sw__title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.rp-sidebar-toc {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.rp-stoc__link {
  display: block;
  padding: 0.5rem 0;
  color: var(--text-main);
  font-size: 0.95rem;
  border-left: 2px solid transparent;
  padding-left: 1rem;
  transition: var(--transition);
}

.rp-stoc__link:hover, .rp-stoc__link--active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}

.rp-sidebar-widget {
  background: var(--bg-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
}

.rp-sw-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.rp-sw-row:last-child {
  border-bottom: none;
}

.rp-sw-row span { color: var(--text-muted); }
.rp-sw-row strong { color: var(--primary); }

.rp-sidebar-aff {
  background: var(--primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.rp-sidebar-aff--gold {
  background: var(--gold);
  color: var(--text-heading);
}

.rp-saff__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255,255,255,0.2);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.rp-saff__tag--gold { background: rgba(0,0,0,0.1); }

.rp-saff__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.rp-saff__desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.rp-saff__btn {
  display: block;
  text-align: center;
  background: #fff;
  color: var(--primary);
  padding: 0.75rem;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}

.rp-saff__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.rp-saff__btn--gold { background: var(--primary); color: #fff; }

/* █ FOOTER █ */
.rp-footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}

.rp-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .rp-footer__inner {
    grid-template-columns: 1fr 2fr;
  }
}

.rp-footer-logo {
  color: #fff;
  margin-bottom: 1rem;
}

.rp-footer__brand p {
  font-size: 0.95rem;
  max-width: 300px;
}

.rp-footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rp-footer__links a {
  transition: color 0.2s;
}

.rp-footer__links a:hover {
  color: var(--accent);
}

.rp-footer__copy {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* █ UTILITIES & ANIMATIONS █ */
.rp-btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}

.rp-btt--show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rp-btt:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
}

/* Scroll Reveals */
.rp-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.rp-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* █ MEDIA QUERIES █ */
@media (min-width: 768px) {
  .rp-burger { display: none; }
  .rp-nav { display: flex; }
  .rp-mobile-nav { display: none !important; }
  .rp-section { padding: 3rem 4rem; }
}

@media (max-width: 767px) {
  .rp-header__right .rp-back-btn { display: none; }
  .rp-ledger { flex-direction: column; padding: 1rem; }
  .rp-ledger__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; align-items: center; }
  .rp-ledger__item:last-child { border-bottom: none; }
  .rp-hero__eyebrow { font-size: 0.7rem; }
  .rp-toc__chip { font-size: 0.8rem; }
  .rp-section { padding: 1.5rem; }
  .rp-section__title { font-size: 1.8rem; }
  .rp-page-nav { flex-direction: column; }
  .rp-pagenav-btn--next { margin-left: 0; text-align: center; }
  .rp-btt { bottom: 1rem; right: 1rem; width: 45px; height: 45px; }
}