@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Lora:wght@400;500;600;700&display=swap");

:root {
  --rl-bg: #f8fafc;
  --rl-bg-soft: #f1f5f9;
  --rl-card: #ffffff;
  --rl-card-hover: #f8fffb;
  --rl-text: #0f172a;
  --rl-text-soft: #334155;
  --rl-muted: #64748b;
  --rl-border: #e2e8f0;
  --rl-primary: #059669;
  --rl-primary-hover: #047857;
  --rl-primary-soft: rgba(5, 150, 105, .09);
  --rl-gold: #a66c21;
  --rl-shadow: 0 20px 55px rgba(15, 23, 42, .1);
  --rl-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rl-serif: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.research-library {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--rl-text);
  background:
    radial-gradient(circle at 85% 5%, rgba(16, 185, 129, .09), transparent 34rem),
    var(--rl-bg);
  font-family: var(--rl-sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
.research-library *, .research-library *::before, .research-library *::after { box-sizing: border-box; }
.research-library main a, .rl-footer a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.research-library main a:hover, .rl-footer a:hover { color: var(--rl-primary); }
.research-library button { font-family: var(--rl-sans); }
.research-library :focus-visible { outline: 3px solid rgba(16, 185, 129, .55); outline-offset: 3px; }
.rl-shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }

.rl-brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff !important; font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.rl-brand:hover { opacity: .82; }
.rl-brand img { display: block; width: 32px; height: 32px; }
.rl-button, .rl-footer-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1rem;
  border: 0;
  border-radius: .65rem;
  color: #064e3b !important;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.rl-button, .rl-footer-cta { color: #fff !important; background: var(--rl-primary); }
.rl-button:hover, .rl-footer-cta:hover { color: #fff !important; background: var(--rl-primary-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 185, 129, .2); }
.rl-button-secondary { color: var(--rl-primary) !important; background: transparent; border: 1px solid currentColor; box-shadow: none; }
.rl-button-secondary:hover { color: #fff !important; border-color: var(--rl-primary-hover); }
.rl-button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.rl-feature .rl-button-row { margin-top: 1.5rem; }
.rl-feature .rl-button-secondary { color: #d1fae5 !important; border-color: rgba(209, 250, 229, .55); }
.rl-feature .rl-button-secondary:hover { background: rgba(255, 255, 255, .1); border-color: #d1fae5; }

.rl-kicker { color: var(--rl-primary); font-size: .7rem; font-weight: 900; letter-spacing: .24em; line-height: 1.3; text-transform: uppercase; }
.rl-display { max-width: 850px; margin: 1rem 0 1.35rem; font: 700 clamp(2.75rem, 6vw, 5.25rem)/.96 var(--rl-serif); letter-spacing: -.05em; }
.rl-dek { max-width: 720px; color: var(--rl-text-soft); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.rl-rule { height: 1px; margin: 0; border: 0; background: var(--rl-border); }
.rl-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.1rem; color: var(--rl-muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rl-meta span + span::before { content: "·"; margin-right: 1.1rem; color: var(--rl-primary); }

.rl-masthead { padding: 7.25rem 0 3.25rem; border-bottom: 1px solid var(--rl-border); }
.rl-masthead-inner { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); align-items: center; gap: 4rem; }
.rl-masthead .rl-meta { margin-top: 1.4rem; justify-content: flex-start; }
.rl-hero-actions { justify-self: end; }
.rl-hero-actions[hidden] { display: none !important; }
.rl-hero-actions .rl-button { min-height: 58px; padding-inline: 2rem; border-radius: .8rem; font-size: .8rem; }
.rl-masthead .rl-breadcrumbs { margin-bottom: 1.35rem; }
.rl-section { padding: 5rem 0; }
.rl-after-masthead { padding-top: 2.5rem; }
.rl-section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.rl-section-heading h2 { margin: 0; font: 700 clamp(1.75rem, 3vw, 2.75rem)/1.08 var(--rl-serif); letter-spacing: -.035em; }
.rl-section-heading p { max-width: 420px; margin: 0; color: var(--rl-muted); font-size: .95rem; }

.rl-feature {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 410px;
  overflow: hidden;
  color: #f8fafc;
  background: linear-gradient(135deg, #064e3b, #0f2934);
  border: 1px solid rgba(52, 211, 153, .22);
  border-radius: 1.5rem;
  box-shadow: var(--rl-shadow);
}
.rl-feature-copy { padding: clamp(2rem, 5vw, 4.5rem); align-self: end; }
.rl-feature h2 { max-width: 660px; margin: .7rem 0 1.2rem; font: 700 clamp(2.1rem, 4vw, 3.75rem)/1.08 var(--rl-serif); letter-spacing: -.035em; }
.rl-feature h2 a { text-decoration-thickness: .055em; text-underline-offset: .1em; text-decoration-skip-ink: auto; }
.rl-feature p { max-width: 540px; color: rgba(236, 253, 245, .76); }
.rl-feature-art {
  min-height: 300px;
  position: relative;
  background:
    radial-gradient(circle at 54% 45%, rgba(214, 169, 93, .32), transparent 17%),
    linear-gradient(135deg, rgba(52, 211, 153, .16), transparent 58%),
    repeating-linear-gradient(90deg, transparent 0 37px, rgba(255, 255, 255, .08) 38px 39px);
}
.rl-feature-art::before, .rl-feature-art::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; }
.rl-feature-art::before { width: 380px; height: 380px; right: -80px; top: 38px; }
.rl-feature-art::after { width: 220px; height: 220px; right: 0; top: 118px; }

.rl-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rl-card { display: block; min-height: 280px; padding: 1.75rem; color: inherit !important; background: var(--rl-card); border: 1px solid var(--rl-border); border-radius: 1rem; box-shadow: 0 10px 32px rgba(0, 0, 0, .08); cursor: pointer; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.rl-card:hover, .rl-card:focus-visible { color: inherit !important; background: var(--rl-card-hover); border-color: rgba(16, 185, 129, .55); transform: translateY(-4px); box-shadow: var(--rl-shadow); }
.rl-card h3 { margin: 2.25rem 0 .7rem; font: 700 1.65rem/1.14 var(--rl-serif); letter-spacing: -.025em; }
.rl-card p { margin: 0; color: var(--rl-muted); font-size: .9rem; }
.rl-card-label { color: var(--rl-primary); font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rl-card-arrow { display: inline-block; margin-top: 1.5rem; color: var(--rl-primary) !important; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.rl-journey-collection { padding-top: 1rem; }
.rl-journey-feature { margin-bottom: 2.5rem; }
.rl-journey-card { min-height: 250px; }
.rl-journey-card h3 { margin-top: 1.7rem; }
.rl-collection-actions { margin: -.5rem 0 2rem; text-align: right; }
.rl-journey-heading { margin-top: 4.5rem; }
.rl-library-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rl-collection-panel { position: relative; min-height: 410px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 4vw, 3.5rem); overflow: hidden; background: var(--rl-card); border: 1px solid var(--rl-border); border-radius: 1.4rem; box-shadow: var(--rl-shadow); cursor: pointer; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.rl-collection-panel:hover, .rl-collection-panel:has(h2 a:focus-visible) { border-color: rgba(16, 185, 129, .55); transform: translateY(-4px); box-shadow: 0 24px 64px rgba(15, 23, 42, .14); }
.rl-collection-panel-journey { background: linear-gradient(145deg, var(--rl-card), var(--rl-primary-soft)); border-color: rgba(16, 185, 129, .35); }
.rl-collection-panel h2 { margin: .7rem 0 1rem; font: 700 clamp(1.9rem, 3.5vw, 3rem)/1.12 var(--rl-serif); letter-spacing: -.035em; }
.rl-collection-panel h2 a { text-decoration-thickness: .055em; text-underline-offset: .1em; text-decoration-skip-ink: auto; }
.rl-collection-panel h2 a::after { content: ""; position: absolute; inset: 0; }
.rl-collection-panel p { color: var(--rl-muted); }
.rl-panel-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .2rem 1rem; align-items: center; margin-top: auto; padding-top: 1.5rem; }
.rl-umbrella-note { max-width: 720px; margin: 2rem auto 0; color: var(--rl-muted); font-size: .82rem; text-align: center; }
.rl-collection-heading { margin-top: 0; }

.rl-article { padding: 7.5rem 0 6rem; }
.rl-breadcrumbs { margin-bottom: 1.75rem; color: var(--rl-muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.rl-article-hero { display: grid; grid-template-columns: minmax(0, 900px) minmax(220px, 1fr); align-items: center; gap: 4rem; padding-bottom: 3rem; }
.rl-article-header { max-width: 900px; }
.rl-article-header h1 { margin: .8rem 0 1.35rem; font: 700 clamp(2.6rem, 5vw, 4.75rem)/.98 var(--rl-serif); letter-spacing: -.05em; }
.rl-article-layout { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 5rem; align-items: start; }
.rl-prose { font: 400 1.18rem/1.75 var(--rl-serif); }
.rl-prose > p:first-child { color: var(--rl-text-soft); font-size: 1.4rem; line-height: 1.55; }
.rl-prose h2 { margin: 3.5rem 0 1rem; font: 700 2.25rem/1.15 var(--rl-serif); letter-spacing: -.035em; }
.rl-prose h3 { margin: 2.5rem 0 .65rem; font: 700 1.65rem/1.2 var(--rl-serif); }
.rl-prose p { margin: 0 0 1.4rem; }
.rl-prose ul, .rl-prose ol { padding-left: 1.35rem; }
.rl-prose li { margin: .5rem 0; }
.rl-aside { position: sticky; top: 96px; padding: 1.25rem; color: var(--rl-muted); background: var(--rl-card); border: 1px solid var(--rl-border); border-radius: 1rem; font-size: .8rem; }
.rl-aside h2 { margin: 0 0 .8rem; color: var(--rl-text); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.rl-aside h2:not(:first-child) { margin-top: 1.5rem; }
.rl-aside ul { list-style: none; padding: 0; margin: 0; }
.rl-aside li { margin: .65rem 0; }
.rl-sources { margin-top: 4rem; padding: 2rem; background: var(--rl-card); border: 1px solid var(--rl-border); border-radius: 1rem; }
.rl-sources > h2 { margin-top: 0; }
.rl-source-label { color: var(--rl-primary); font: 800 .66rem/1.4 var(--rl-sans); letter-spacing: .1em; text-transform: uppercase; }
.rl-source-note { margin-top: .65rem; color: var(--rl-muted); font: .78rem/1.55 var(--rl-sans); }
.rl-cta { display: flex; justify-content: space-between; gap: 2rem; align-items: center; margin-top: 4rem; padding: 2rem; background: var(--rl-primary-soft); border: 1px solid rgba(16, 185, 129, .32); border-radius: 1rem; }
.rl-cta h2 { margin: 0; font: 700 1.85rem/1.15 var(--rl-serif); }
.rl-citations { display: inline-flex; gap: .18rem; margin-left: .2rem; vertical-align: super; font: 800 .6rem var(--rl-sans); }
.rl-citations a { color: var(--rl-primary) !important; text-decoration: none; }
.rl-path-list { display: grid; gap: .75rem; padding: 0 !important; counter-reset: none; list-style: none; }
.rl-path-list li { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; margin: 0; padding: 1rem 1.1rem; background: var(--rl-card); border: 1px solid var(--rl-border); border-radius: .8rem; }
.rl-path-list strong { color: var(--rl-primary); font: 800 .68rem/1.6 var(--rl-sans); letter-spacing: .1em; text-transform: uppercase; }
.rl-preview-note { margin-top: 1.5rem !important; padding: 1rem 1.15rem; color: var(--rl-muted); background: var(--rl-primary-soft); border-left: 3px solid var(--rl-primary); font: .86rem/1.6 var(--rl-sans); }
.rl-custom-builder { margin-top: 4rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: linear-gradient(135deg, var(--rl-primary-soft), transparent); border: 1px solid rgba(16, 185, 129, .28); border-radius: 1rem; }
.rl-custom-builder h2 { margin-top: .6rem; }
.rl-topic-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.rl-topic-links a { padding: .55rem .75rem; color: var(--rl-primary) !important; background: var(--rl-card); border: 1px solid var(--rl-border); border-radius: 999px; font: 800 .7rem/1.2 var(--rl-sans); text-decoration: none; }
.rl-topic-links a:hover { border-color: var(--rl-primary); }
.rl-journey-cta { display: block; }
.rl-journey-cta .rl-button-row { margin-top: 1.5rem; }

.rl-footer { padding: 4rem 0 2rem; color: #64748b; background: #0f1923; border-top: 1px solid #1e2d3d; }
.rl-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 3rem; padding-bottom: 3.5rem; }
.rl-footer-brand p { max-width: 300px; margin: 1rem 0 1.2rem; font-size: .78rem; line-height: 1.7; }
.rl-footer .rl-brand { font-size: 1.1rem; }
.rl-footer .rl-brand img { width: 28px; height: 28px; opacity: .82; }
.rl-footer nav, .rl-footer nav div { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.rl-footer h2 { margin: 0 0 .35rem; color: #94a3b8; font-size: .65rem; font-weight: 900; letter-spacing: .25em; text-transform: uppercase; }
.rl-footer nav a { color: #64748b; font-size: .76rem; text-decoration: none; }
.rl-footer nav a:hover { color: #34d399; }
.rl-footer-cta { min-height: 38px; }
.rl-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; border-top: 1px solid #1e2d3d; }
.rl-footer-bottom p { margin: 0; font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.rl-consent { position: fixed; z-index: 250; right: 1.25rem; bottom: 1.25rem; width: min(420px, calc(100% - 2.5rem)); padding: 1rem; color: #e2e8f0; background: #111c2b; border: 1px solid #334155; border-radius: 1rem; box-shadow: var(--rl-shadow); font-size: .8rem; }
.rl-consent[hidden] { display: none; }
.rl-consent p { margin: 0 0 .8rem; }
.rl-consent div { display: flex; flex-wrap: wrap; gap: .6rem; }
.rl-consent button { min-height: 40px; padding: .6rem .8rem; color: #cbd5e1; background: transparent; border: 1px solid #475569; border-radius: .6rem; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.rl-consent button:last-child { color: #fff; background: #059669; border-color: #059669; }

@media (max-width: 1023px) {
  .rl-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rl-article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 2.5rem; }
}

@media (max-width: 760px) {
  .rl-shell { width: min(100% - 32px, 620px); }
  .rl-masthead, .rl-article { padding-top: 6.5rem; }
  .rl-masthead { padding-bottom: 2.75rem; }
  .rl-masthead-inner { display: block; }
  .rl-article-hero { display: block; padding-bottom: 3rem; }
  .rl-masthead .rl-meta { justify-content: center; text-align: center; }
  .rl-hero-actions { display: flex; width: 100%; justify-content: flex-start; margin-top: 1.5rem; }
  .rl-hero-actions .rl-button { min-height: 44px; padding-inline: 1.35rem; border-radius: .65rem; font-size: .68rem; }
  .rl-feature, .rl-article-layout { grid-template-columns: 1fr; gap: 2rem; }
  .rl-library-split { grid-template-columns: 1fr; }
  .rl-display { font-size: clamp(2.5rem, 13vw, 3.8rem); }
  .rl-section { padding: 3.5rem 0; }
  .rl-after-masthead { padding-top: 2rem; }
  .rl-section-heading { display: block; }
  .rl-section-heading p { margin-top: .8rem; }
  .rl-feature { border-radius: 1.1rem; }
  .rl-feature h2 { font-size: clamp(2rem, 11vw, 3.1rem); line-height: 1.1; }
  .rl-feature-art { min-height: 190px; }
  .rl-card-grid { grid-template-columns: 1fr; }
  .rl-card { min-height: 0; }
  .rl-article-header h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .rl-aside { position: static; order: -1; }
  .rl-prose { font-size: 1.08rem; }
  .rl-prose > p:first-child { font-size: 1.25rem; }
  .rl-sources { padding: 1.25rem; }
  .rl-cta { display: block; padding: 1.5rem; }
  .rl-cta .rl-button { width: 100%; margin-top: 1.2rem; }
  .rl-button-row { align-items: stretch; flex-direction: column; }
  .rl-button-row .rl-button { width: 100%; margin-top: 0; white-space: normal; text-align: center; }
  .rl-path-list li { grid-template-columns: 1fr; gap: .25rem; }
  .rl-collection-actions { text-align: left; }
  .rl-collection-panel { min-height: 340px; padding: 1.6rem; }
  .rl-collection-panel h2 { font-size: clamp(1.9rem, 9vw, 2.65rem); line-height: 1.14; }
  .rl-panel-actions { align-items: flex-start; flex-direction: column; }
  .rl-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem; }
  .rl-footer-brand { grid-column: 1 / -1; }
  .rl-footer-bottom { flex-direction: column; }
}

@media (max-width: 430px) {
  .rl-brand { font-size: 1.05rem; }
  .rl-footer-grid { grid-template-columns: 1fr; }
  .rl-footer-brand { grid-column: auto; }
  .rl-consent { right: .75rem; bottom: .75rem; width: calc(100% - 1.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .research-library main a, .rl-footer a, .research-library button, .rl-card { transition: none; }
}