/* Roots & Reason™ — division page styles */

:root {
  --rr-earth: #121410;
  --rr-earth-light: #1a1c17;
  --rr-tan: #a69076;
  --rr-tan-dim: rgba(166, 144, 118, 0.22);
  --rr-brown: #6b5344;
  --rr-green: #587a5c;
  --rr-green-dim: rgba(88, 122, 92, 0.22);
  --rr-green-soft: #6d916f;
  --rr-warm-white: #f2ede4;
  --rr-warm-muted: #c4bdb2;
  --rr-serif: Georgia, "Times New Roman", Times, serif;
}

.rr-page {
  --division-accent: var(--rr-green);
  --division-glow: rgba(88, 122, 92, 0.32);
  --rr-gold: #c4a068;
  --rr-gold-dim: rgba(196, 160, 104, 0.28);
  --rr-text: #2a2d28;
  --rr-muted: rgba(42, 45, 40, 0.68);
  --rr-faint: rgba(42, 45, 40, 0.45);
  --rr-hairline: rgba(88, 122, 92, 0.32);
  --rr-hairline-green: rgba(88, 122, 92, 0.38);
  --rr-surface: #ffffff;
  --rr-surface-soft: #f7f3ec;
  color: var(--rr-text);
  background-color: #f0ebe0;
  background-image:
    radial-gradient(ellipse 78% 52% at 14% 0%, rgba(88, 122, 92, 0.34), transparent 54%),
    radial-gradient(ellipse 62% 46% at 88% 100%, rgba(196, 160, 104, 0.3), transparent 48%),
    linear-gradient(180deg, rgba(88, 122, 92, 0.14) 0%, rgba(196, 160, 104, 0.08) 55%, #f0ebe0 100%);
}

/* ── Hero brand frame ── */
.rr-brand-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  margin-bottom: 22px;
  background:
    linear-gradient(165deg, rgba(242, 237, 228, 0.14) 0%, rgba(166, 144, 118, 0.1) 100%);
  border: 1px solid rgba(166, 144, 118, 0.32);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(242, 237, 228, 0.1) inset,
    0 10px 28px rgba(0, 0, 0, 0.18);
}

.rr-hero-logo {
  display: block;
  max-width: min(132px, 36vw);
  max-height: 132px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0;
}

/* ── Section rhythm ── */
.rr-page .rr-section-gap {
  margin: 60px 0;
}

.rr-hero {
  position: relative;
  padding: 20px 0 28px;
}

.rr-mission {
  margin-top: 8px;
}

/* ── Field Materials ── */
.rr-field-materials {
  padding: 36px 36px 32px;
  border: 1px solid rgba(166, 144, 118, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(109, 143, 111, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(242, 237, 228, 0.03) 0%, transparent 120px),
    var(--rr-earth-light);
  position: relative;
}

.rr-field-materials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 36px;
  right: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--rr-green), var(--rr-tan), transparent);
  opacity: 0.6;
  border-radius: 0 0 2px 2px;
}

.rr-materials-head {
  margin-bottom: 32px;
  max-width: 54ch;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(166, 144, 118, 0.16);
}

.rr-materials-title {
  font-family: var(--rr-serif);
  font-size: clamp(28px, 4.2vw, 36px);
  font-weight: 400;
  margin: 0;
  color: var(--rr-warm-white);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.rr-materials-intro {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--rr-warm-muted);
  font-style: normal;
}

.rr-materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rr-material-card {
  border: 1px solid rgba(166, 144, 118, 0.25);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(242, 237, 228, 0.03);
  box-shadow:
    0 1px 0 rgba(242, 237, 228, 0.04) inset,
    0 12px 32px rgba(0, 0, 0, 0.22);
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.rr-material-card:hover {
  border-color: rgba(109, 143, 111, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(242, 237, 228, 0.06) inset,
    0 16px 40px rgba(0, 0, 0, 0.28);
}

.rr-material-doc {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(180deg, rgba(242, 237, 228, 0.06) 0%, rgba(166, 144, 118, 0.04) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 13px,
      rgba(166, 144, 118, 0.07) 13px,
      rgba(166, 144, 118, 0.07) 14px
    );
  border-bottom: 1px solid rgba(166, 144, 118, 0.2);
  position: relative;
  margin: 14px 14px 0;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(166, 144, 118, 0.15);
  border-bottom: none;
  box-shadow: 2px 0 0 rgba(109, 143, 111, 0.35) inset;
}

.rr-material-doc::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  height: 6px;
  background: rgba(166, 144, 118, 0.2);
  border-radius: 2px;
}

.rr-material-doc::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 18px;
  right: 36px;
  height: 3px;
  background: rgba(166, 144, 118, 0.1);
  border-radius: 2px;
}

.rr-material-doc-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rr-tan);
  opacity: 0.7;
  font-weight: 600;
}

.rr-material-name {
  font-family: var(--rr-serif);
  font-size: 16px;
  letter-spacing: 0.02em;
  margin: 18px 20px 8px;
  color: var(--rr-warm-white);
  font-weight: 400;
  line-height: 1.35;
}

.rr-material-note {
  margin: 0 20px 20px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--rr-warm-muted);
  font-style: italic;
}

@media (max-width: 720px) {
  .rr-brand-frame {
    padding: 12px 14px;
    margin-bottom: 18px;
  }

  .rr-hero-logo {
    max-width: min(120px, 34vw);
    max-height: 120px;
  }

  .rr-materials-grid {
    grid-template-columns: 1fr;
  }

  .rr-field-materials {
    padding: 28px 22px 26px;
  }

  .rr-field-materials::before {
    left: 22px;
    right: 22px;
  }

  .rr-materials-head {
    margin-bottom: 26px;
    padding-bottom: 16px;
  }

  .rr-page .rr-section-gap {
    margin: 44px 0;
  }

  .rr-hero {
    padding: 16px 0 24px;
  }
}


/* ── Hero typography ── */

.rr-hero-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rr-tan);
  margin-bottom: 16px;
}

.rr-title {
  font-family: var(--rr-serif);
  font-size: clamp(34px, 5.5vw, 46px);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.15;
  color: var(--rr-warm-white);
}

.rr-root-line {
  width: 100%;
  max-width: 320px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--rr-green) 0%,
    var(--rr-gold) 55%,
    transparent 100%
  );
  margin: 22px 0 0;
  opacity: 0.9;
}

.rr-lead {
  margin: 26px 0 0;
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.85;
  color: var(--rr-warm-muted);
}

.rr-lead strong {
  color: var(--rr-warm-white);
  font-weight: 500;
}

.rr-principles {
  margin: 22px 0 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rr-brown);
  font-style: italic;
}

.rr-principles em {
  font-style: normal;
  color: var(--rr-green-soft);
}

/* ── Mission ── */
.rr-mission {
  border: 1px solid var(--rr-tan-dim);
  border-radius: var(--radius);
  background: var(--rr-earth-light);
  padding: 32px 32px 30px;
  position: relative;
}

.rr-mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--rr-green), var(--rr-tan));
  border-radius: 0 0 2px 2px;
  opacity: 0.6;
}

.rr-mission-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rr-green-soft);
  margin-bottom: 10px;
}

.rr-mission-title {
  font-family: var(--rr-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  margin: 0 0 14px;
  color: var(--rr-warm-white);
  line-height: 1.35;
}

.rr-mission p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--rr-warm-muted);
  max-width: 62ch;
}

.rr-mission p:last-child {
  margin-bottom: 0;
}

.rr-mission-emphasis {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 14px;
  border-left: 3px solid var(--rr-green);
  background: rgba(88, 122, 92, 0.18);
  color: var(--rr-warm-white) !important;
  font-size: 13px !important;
  border-radius: 0 8px 8px 0;
}

/* ── Section headers ── */
.rr-section {
  margin-top: 8px;
}

.rr-section-head {
  margin-bottom: 24px;
}

.rr-section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rr-tan);
  margin-bottom: 8px;
}

.rr-section-title {
  font-family: var(--rr-serif);
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 400;
  margin: 0;
  color: var(--rr-warm-white);
}

.rr-section-desc {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-warm-muted);
}

/* ── Program map ── */
.rr-programs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.rr-program {
  padding: 22px 22px 20px;
  border: 1px solid rgba(88, 122, 92, 0.28);
  border-radius: var(--radius);
  background: rgba(26, 28, 23, 0.6);
  transition: border-color 140ms ease, background 140ms ease;
}

.rr-program:hover {
  border-color: rgba(88, 122, 92, 0.52);
  background: rgba(26, 28, 23, 0.85);
}

.rr-program-icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.7;
}

.rr-program-title {
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--rr-warm-white);
  font-weight: 500;
}

.rr-program-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rr-warm-muted);
}

/* ── How it works ── */
.rr-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 24px 20px;
  border: 1px solid var(--rr-tan-dim);
  border-radius: var(--radius);
  background: var(--rr-earth-light);
  justify-content: center;
}

.rr-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
  min-width: 90px;
}

.rr-step-name {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--rr-warm-white);
  font-weight: 500;
}

.rr-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rr-tan);
  margin-bottom: 10px;
}

.rr-step-grow .rr-step-dot {
  background: var(--rr-green);
  box-shadow: 0 0 12px var(--rr-green-dim);
}

.rr-step-grow .rr-step-name {
  color: var(--rr-green-soft);
}

.rr-flow-arrow {
  color: var(--rr-brown);
  font-size: 14px;
  padding: 0 4px;
  opacity: 0.5;
}

@media (max-width: 720px) {
  .rr-flow {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
  }

  .rr-step {
    flex-direction: row;
    gap: 14px;
    text-align: left;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(166, 144, 118, 0.1);
    min-width: auto;
  }

  .rr-step:last-child {
    border-bottom: none;
  }

  .rr-step-dot {
    margin-bottom: 0;
    flex-shrink: 0;
    margin-top: 4px;
  }

  .rr-flow-arrow {
    display: none;
  }
}

/* ── CTA ── */
.rr-cta {
  border: 1px solid rgba(109, 143, 111, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(
    160deg,
    rgba(109, 143, 111, 0.08) 0%,
    rgba(166, 144, 118, 0.06) 100%
  );
  padding: 28px 28px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.rr-cta-copy {
  flex: 1;
  min-width: 240px;
}

.rr-cta-title {
  font-family: var(--rr-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--rr-warm-white);
  margin: 0 0 8px;
}

.rr-cta-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rr-warm-muted);
  max-width: 42ch;
}

.rr-cta-email {
  font-size: 12px;
  color: var(--rr-tan);
  margin-top: 10px;
  letter-spacing: 0.03em;
}

.rr-btn-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--rr-green);
  color: var(--rr-earth);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border: none;
  transition: filter 120ms ease, box-shadow 120ms ease;
  white-space: nowrap;
}

.rr-btn-mail:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 24px var(--rr-green-dim);
  color: var(--rr-earth);
}

.rr-btn-mail svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ── Division links ── */
.rr-divisions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 4px;
}

.rr-divisions a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-brown);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}

.rr-divisions a:hover {
  color: var(--rr-green-soft);
  border-bottom-color: var(--rr-green-soft);
}

.rr-divisions a.is-hub {
  color: var(--rr-tan);
}

.rr-divisions a.is-hub:hover {
  color: var(--rr-warm-white);
  border-bottom-color: var(--rr-tan);
}

/* ── Footer ── */
.rr-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rr-footer-brand {
  font-family: var(--rr-serif);
  font-size: 13px;
  color: var(--rr-green-soft);
}

.rr-footer-parent {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-brown);
}

/* ── RR light surface overrides (.rr-page only) ── */
.rr-page .rr-brand-frame {
  background:
    linear-gradient(165deg, rgba(88, 122, 92, 0.1) 0%, #faf6ef 42%, rgba(245, 240, 232, 0.98) 100%);
  border-color: rgba(88, 122, 92, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(196, 160, 104, 0.18),
    0 10px 28px rgba(42, 45, 40, 0.08);
}

.rr-page .rr-hero-kicker {
  color: var(--rr-green);
}

.rr-page .rr-title {
  color: var(--rr-text);
}

.rr-page .rr-lead {
  color: var(--rr-muted);
}

.rr-page .rr-lead strong {
  color: var(--rr-text);
}

.rr-page .rr-root-line {
  opacity: 1;
}

.rr-page .rr-principles {
  color: var(--rr-green);
}

.rr-page .rr-principles em {
  color: var(--rr-gold);
}

.rr-page .hr {
  background: linear-gradient(90deg, var(--rr-green), var(--rr-gold), transparent);
  opacity: 0.78;
  height: 2px;
}

.rr-page .footer {
  color: var(--rr-faint);
  border-top: 2px solid rgba(88, 122, 92, 0.35);
  background: linear-gradient(180deg, #dce8dc 0%, #d4e0d2 100%);
}

.rr-page .rr-mission {
  background: linear-gradient(165deg, rgba(88, 122, 92, 0.1) 0%, #f7f3ec 38%, #faf8f4 100%);
  border-color: rgba(88, 122, 92, 0.38);
  border-top: 2px solid rgba(196, 160, 104, 0.45);
}

.rr-page .rr-mission::before {
  background: linear-gradient(90deg, var(--rr-green), var(--rr-gold));
  opacity: 0.92;
  height: 3px;
}

.rr-page .rr-field-materials::before {
  background: linear-gradient(90deg, var(--rr-green), var(--rr-gold), transparent);
  opacity: 0.88;
  height: 3px;
}

.rr-page .rr-mission-label {
  color: #3d5240;
}

.rr-page .rr-mission-title {
  color: var(--rr-text);
}

.rr-page .rr-mission p {
  color: var(--rr-muted);
}

.rr-page .rr-mission-emphasis {
  background: rgba(88, 122, 92, 0.2);
  color: var(--rr-text) !important;
  border-left-color: var(--rr-green);
}

.rr-page .rr-section-label {
  color: #3d5240;
}

.rr-page .rr-section-title {
  color: var(--rr-text);
}

.rr-page .rr-section-desc {
  color: var(--rr-muted);
}

.rr-page .rr-section-head {
  border-bottom: 2px solid rgba(88, 122, 92, 0.28);
  padding-bottom: 12px;
}

.rr-page .rr-program {
  background: var(--rr-surface);
  border-color: rgba(88, 122, 92, 0.32);
  border-left: 3px solid var(--rr-green);
  border-top: 2px solid rgba(196, 160, 104, 0.42);
}

.rr-page .rr-program:hover {
  border-color: rgba(88, 122, 92, 0.48);
  border-left-color: var(--rr-green-soft);
  background: #f5faf5;
  box-shadow: 0 4px 22px rgba(88, 122, 92, 0.16);
}

.rr-page .rr-program-title {
  color: var(--rr-text);
}

.rr-page .rr-program-desc {
  color: var(--rr-muted);
}

.rr-page .rr-flow {
  background: linear-gradient(180deg, #dce8dc 0%, rgba(196, 160, 104, 0.12) 55%, #ebe5da 100%);
  border-color: rgba(88, 122, 92, 0.38);
  border-top: 2px solid rgba(196, 160, 104, 0.52);
}

.rr-page .rr-step-dot {
  background: var(--rr-gold);
}

.rr-page .rr-step-grow .rr-step-dot {
  background: var(--rr-green);
  box-shadow: 0 0 14px rgba(88, 122, 92, 0.35);
}

.rr-page .rr-step-name {
  color: var(--rr-text);
}

.rr-page .rr-step-grow .rr-step-name {
  color: var(--rr-green);
}

@media (max-width: 720px) {
  .rr-page .rr-step {
    border-bottom-color: var(--rr-hairline);
  }
}

.rr-page .rr-field-materials {
  background:
    linear-gradient(165deg, rgba(88, 122, 92, 0.18) 0%, rgba(196, 160, 104, 0.12) 42%, transparent 68%),
    #eef4ea;
  border-color: rgba(88, 122, 92, 0.4);
  border-top: 2px solid rgba(196, 160, 104, 0.48);
}

.rr-page .rr-materials-title {
  color: var(--rr-text);
}

.rr-page .rr-materials-intro {
  color: var(--rr-muted);
}

.rr-page .rr-materials-head {
  border-bottom-color: rgba(88, 122, 92, 0.28);
}

.rr-page .rr-material-card {
  background: var(--rr-surface);
  border-color: rgba(88, 122, 92, 0.28);
  border-top: 2px solid rgba(196, 160, 104, 0.38);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 24px rgba(42, 45, 40, 0.06);
}

.rr-page .rr-material-card:hover {
  border-color: rgba(88, 122, 92, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 12px 32px rgba(88, 122, 92, 0.18);
}

.rr-page .rr-material-doc {
  background:
    linear-gradient(180deg, rgba(245, 240, 232, 0.8) 0%, rgba(235, 229, 218, 0.6) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 13px,
      rgba(88, 122, 92, 0.1) 13px,
      rgba(88, 122, 92, 0.1) 14px
    );
  border-color: rgba(88, 122, 92, 0.28);
  box-shadow: 3px 0 0 rgba(196, 160, 104, 0.45) inset;
}

.rr-page .rr-material-name {
  color: var(--rr-text);
}

.rr-page .rr-material-note {
  color: var(--rr-muted);
}

.rr-page .rr-cta {
  background: linear-gradient(160deg, #2a2d28 0%, #1f221e 100%);
  border-color: rgba(88, 122, 92, 0.52);
  border-top: 2px solid rgba(196, 160, 104, 0.42);
}

.rr-page .rr-cta-title {
  color: var(--rr-warm-white);
}

.rr-page .rr-cta-text {
  color: rgba(242, 237, 228, 0.72);
}

.rr-page .rr-cta-email {
  color: var(--rr-gold);
}

.rr-page .rr-btn-mail {
  background: var(--rr-green);
  color: #f2ede4;
}

.rr-page .rr-btn-mail:hover {
  color: #f2ede4;
  box-shadow: 0 0 28px rgba(88, 122, 92, 0.38);
}

.rr-page .rr-divisions a {
  color: var(--rr-brown);
}

.rr-page .rr-divisions a:hover {
  color: var(--rr-green);
  border-bottom-color: var(--rr-green);
}

.rr-page .rr-divisions a.is-hub {
  color: var(--rr-muted);
}

.rr-page .rr-divisions a.is-hub:hover {
  color: var(--rr-text);
  border-bottom-color: var(--rr-gold);
}

.rr-page .rr-footer-brand {
  color: var(--rr-green);
}

.rr-page .rr-footer-parent {
  color: var(--rr-muted);
}

/* ── Course packet, paths, weeks ── */
.rr-course-packet {
  padding-bottom: 4px;
}

.rr-packet-placeholder {
  margin: 0;
  padding: 20px 22px;
  border: 1px dashed rgba(88, 122, 92, 0.45);
  border-left: 3px solid var(--rr-green);
  border-radius: var(--radius);
  background: rgba(88, 122, 92, 0.08);
  font-size: 14px;
  line-height: 1.7;
  color: var(--rr-text);
  font-weight: 500;
}

.rr-packet-download-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.rr-packet-download {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: var(--radius);
  background: var(--rr-green);
  color: #f2ede4;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.rr-packet-download:hover {
  color: #f2ede4;
  box-shadow: 0 0 28px rgba(88, 122, 92, 0.38);
  transform: translateY(-1px);
}

.rr-packet-note {
  margin: 0;
  font-size: 12px;
  color: var(--rr-brown);
  letter-spacing: 0.03em;
}

.rr-hero-subtitle {
  margin: -4px 0 14px;
  font-family: var(--rr-serif);
  font-size: clamp(15px, 2.2vw, 18px);
  font-style: italic;
  color: var(--rr-green);
}

.rr-framework-body p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-muted);
  max-width: 62ch;
}

.rr-framework-body p:last-child {
  margin-bottom: 0;
}

.rr-agreement-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  max-width: 62ch;
}

.rr-agreement-list li {
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-muted);
  margin-bottom: 8px;
}

.rr-agreement-sentence {
  padding: 14px 16px;
  border-left: 3px solid var(--rr-green);
  background: rgba(88, 122, 92, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.rr-agreement-sentence em {
  display: block;
  margin-top: 8px;
  font-style: italic;
  color: var(--rr-text);
}

.rr-values-list {
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 62ch;
}

.rr-value dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--rr-text);
  margin-bottom: 4px;
}

.rr-value dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rr-muted);
}

.rr-week-subtitle {
  font-size: 12px;
  font-style: italic;
  color: var(--rr-green);
  letter-spacing: 0.04em;
}

.rr-integrity-quote,
.rr-declaration {
  margin: 0 0 12px;
  padding: 16px 18px;
  border-left: 3px solid var(--rr-gold);
  background: rgba(196, 160, 104, 0.1);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--rr-serif);
  font-size: 15px;
  line-height: 1.65;
  color: var(--rr-text);
}

.rr-quote-note {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--rr-muted);
  max-width: 58ch;
}

.rr-packet-week-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(88, 122, 92, 0.38);
  border-radius: var(--radius);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rr-green);
  background: rgba(88, 122, 92, 0.08);
  text-decoration: none;
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease;
}

.rr-packet-week-link:hover {
  background: rgba(88, 122, 92, 0.16);
  border-color: rgba(88, 122, 92, 0.52);
  color: #3d5240;
}

.rr-paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.rr-path {
  padding: 22px 22px 20px;
  border: 1px solid rgba(88, 122, 92, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 18px rgba(42, 45, 40, 0.06);
}

.rr-path-title {
  font-family: var(--rr-serif);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--rr-text);
}

.rr-path-age {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-green);
  font-weight: 600;
}

.rr-path-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-muted);
}

.rr-weeks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rr-week-card {
  padding: 24px 24px 20px;
  border: 1px solid rgba(88, 122, 92, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 22px rgba(42, 45, 40, 0.07);
}

.rr-week-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(88, 122, 92, 0.22);
}

.rr-week-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rr-gold);
  font-weight: 600;
}

.rr-week-title {
  font-family: var(--rr-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  margin: 0;
  color: var(--rr-text);
}

.rr-week-fields {
  margin: 0;
  display: grid;
  gap: 14px;
}

.rr-week-field {
  margin: 0;
}

.rr-week-field dt {
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #3d5240;
  font-weight: 600;
  margin-bottom: 6px;
}

.rr-week-field dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-muted);
}

.rr-week-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(88, 122, 92, 0.18);
}

.rr-worksheet-placeholder {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px dashed rgba(88, 122, 92, 0.4);
  border-radius: var(--radius);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rr-brown);
  background: rgba(88, 122, 92, 0.06);
}

.rr-complete-placeholder {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid rgba(88, 122, 92, 0.28);
  border-radius: var(--radius);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rr-faint);
  background: rgba(42, 45, 40, 0.04);
  cursor: not-allowed;
  font-family: inherit;
}

.rr-how-to-use {
  padding-bottom: 4px;
}

.rr-how-list {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 62ch;
}

.rr-how-list li {
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-muted);
  margin-bottom: 10px;
}

.rr-how-list li:last-child {
  margin-bottom: 0;
}

.rr-page .rr-path {
  background: #faf8f4;
  border-color: rgba(88, 122, 92, 0.38);
}

.rr-page .rr-path-title {
  color: var(--rr-text);
}

.rr-page .rr-path-age {
  color: var(--rr-green);
}

.rr-page .rr-week-card {
  background: #faf8f4;
  border-color: rgba(88, 122, 92, 0.35);
}

.rr-page .rr-week-title {
  color: var(--rr-text);
}

.rr-page .rr-week-field dt {
  color: #3d5240;
}

.rr-page .rr-packet-placeholder {
  background: rgba(88, 122, 92, 0.12);
  border-color: rgba(88, 122, 92, 0.45);
  color: var(--rr-text);
}

.rr-page .rr-packet-download {
  background: var(--rr-green);
  color: #f2ede4;
}

.rr-page .rr-packet-download:hover {
  color: #f2ede4;
}

.rr-page .rr-hero-subtitle {
  color: var(--rr-green);
}

.rr-page .rr-framework-body p {
  color: var(--rr-muted);
}

.rr-page .rr-agreement-list li {
  color: var(--rr-muted);
}

.rr-page .rr-agreement-sentence {
  background: rgba(88, 122, 92, 0.12);
}

.rr-page .rr-value dt {
  color: var(--rr-text);
}

.rr-page .rr-value dd {
  color: var(--rr-muted);
}

.rr-page .rr-integrity-quote,
.rr-page .rr-declaration {
  background: rgba(196, 160, 104, 0.14);
  color: var(--rr-text);
}

.rr-page .rr-packet-week-link {
  color: #3d5240;
  background: rgba(88, 122, 92, 0.12);
}

.rr-page .rr-packet-week-link:hover {
  color: var(--rr-text);
}

@media (max-width: 720px) {
  .rr-week-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rr-worksheet-placeholder,
  .rr-complete-placeholder,
  .rr-packet-week-link {
    justify-content: center;
    text-align: center;
  }
}

/* ── Integrity gate & course interface ── */
.rr-integrity-gate {
  padding-bottom: 8px;
}

.rr-gate-form {
  max-width: 52ch;
}

.rr-gate-fieldset {
  margin: 0 0 16px;
  padding: 20px 22px;
  border: 1px solid rgba(88, 122, 92, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
}

.rr-gate-legend {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5240;
  font-weight: 600;
  margin-bottom: 14px;
  padding: 0;
}

.rr-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--rr-text);
  cursor: pointer;
}

.rr-gate-check:last-of-type {
  margin-bottom: 0;
}

.rr-gate-check input {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: var(--rr-green);
}

.rr-gate-error {
  margin: 0 0 12px;
  font-size: 13px;
  color: #8b4513;
}

.rr-gate-submit {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border: none;
  border-radius: var(--radius);
  background: var(--rr-green);
  color: #f2ede4;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.rr-gate-submit:hover {
  box-shadow: 0 0 28px rgba(88, 122, 92, 0.38);
  transform: translateY(-1px);
}

.rr-course-interface {
  padding-bottom: 8px;
}

.rr-course-intro {
  margin-bottom: 20px;
}

.rr-week-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.rr-week-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px solid rgba(88, 122, 92, 0.32);
  border-radius: var(--radius);
  background: #faf8f4;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, opacity 140ms ease;
}

.rr-week-nav-btn.is-unlocked:hover,
.rr-week-nav-btn.is-current {
  border-color: var(--rr-green);
  background: rgba(88, 122, 92, 0.14);
}

.rr-week-nav-btn.is-current {
  box-shadow: inset 0 0 0 1px rgba(88, 122, 92, 0.35);
}

.rr-week-nav-btn.is-locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.rr-week-nav-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--rr-gold);
}

.rr-week-nav-label {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rr-muted);
}

.rr-week-nav-btn.is-current .rr-week-nav-label {
  color: var(--rr-text);
  font-weight: 600;
}

.rr-week-modules {
  margin-bottom: 28px;
}

.rr-week-module {
  border: 2px solid rgba(88, 122, 92, 0.4);
  border-radius: var(--radius);
  background: #faf8f4;
  box-shadow: 0 8px 32px rgba(42, 45, 40, 0.08);
  overflow: hidden;
}

.rr-module-header {
  padding: 22px 24px 18px;
  background: linear-gradient(165deg, rgba(88, 122, 92, 0.14) 0%, rgba(196, 160, 104, 0.08) 100%);
  border-bottom: 1px solid rgba(88, 122, 92, 0.22);
}

.rr-module-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rr-green);
  font-weight: 600;
}

.rr-module-title {
  margin: 0;
  font-family: var(--rr-serif);
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  color: var(--rr-text);
}

.rr-module-body {
  padding: 22px 24px 24px;
}

.rr-module-block {
  margin-bottom: 20px;
}

.rr-module-block:last-of-type {
  margin-bottom: 0;
}

.rr-module-block-title {
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #3d5240;
  font-weight: 600;
}

.rr-module-block p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--rr-muted);
}

.rr-module-block p:last-child {
  margin-bottom: 0;
}

.rr-prompt-list,
.rr-checkpoint-list {
  margin: 0;
  padding-left: 1.2rem;
}

.rr-prompt-list li,
.rr-checkpoint-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--rr-muted);
  margin-bottom: 8px;
}

.rr-journal-continue {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--rr-green);
  background: rgba(88, 122, 92, 0.1);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--rr-muted);
}

.rr-journal-continue strong {
  color: var(--rr-text);
}

.rr-module-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(88, 122, 92, 0.2);
}

.rr-advance-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border: none;
  border-radius: var(--radius);
  background: var(--rr-green);
  color: #f2ede4;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: box-shadow 140ms ease;
}

.rr-advance-btn:hover {
  box-shadow: 0 0 24px rgba(88, 122, 92, 0.35);
}

.rr-packet-optional {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rr-brown);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rr-packet-optional:hover {
  color: var(--rr-green);
}

.rr-packet-secondary {
  padding: 20px 22px;
  border: 1px dashed rgba(88, 122, 92, 0.4);
  border-radius: var(--radius);
  background: rgba(88, 122, 92, 0.06);
}

.rr-packet-secondary-title {
  margin: 0 0 8px;
  font-family: var(--rr-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--rr-text);
}

.rr-packet-secondary-desc {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rr-muted);
  max-width: 58ch;
}

.rr-packet-download-secondary {
  background: transparent;
  color: var(--rr-green);
  border: 1px solid rgba(88, 122, 92, 0.45);
  font-size: 10px;
}

.rr-packet-download-secondary:hover {
  background: rgba(88, 122, 92, 0.12);
  color: #3d5240;
  box-shadow: none;
  transform: none;
}

.rr-reference {
  padding: 16px 20px;
  border: 1px solid rgba(88, 122, 92, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}

.rr-reference summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--rr-text);
  cursor: pointer;
  letter-spacing: 0.02em;
}

.rr-reference-body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(88, 122, 92, 0.18);
}

.rr-reference-section {
  margin-bottom: 16px;
}

.rr-reference-section:last-child {
  margin-bottom: 0;
}

.rr-reference-section h3 {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--rr-text);
}

.rr-reference-section p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--rr-muted);
}

.rr-page .rr-gate-fieldset {
  background: #faf8f4;
}

.rr-page .rr-week-module {
  background: #faf8f4;
}

.rr-page .rr-packet-secondary {
  background: rgba(88, 122, 92, 0.08);
}

@media (max-width: 720px) {
  .rr-week-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .rr-module-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rr-advance-btn,
  .rr-packet-optional {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .rr-week-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
