:root {
  --resource-navy: #0b1235;
  --resource-yellow: #f7b719;
  --resource-ink: #171b2d;
  --resource-muted: #667085;
  --resource-line: #e7e9ef;
  --resource-wash: #f5f7fb;
}

.resources-page, .article-page { background: #fff; color: var(--resource-ink); }
.resources-page { position: relative; overflow: hidden; background: #f7f8fa; }
.resources-wrap { position: relative; z-index: 1; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.resources-intro { padding: 3.25rem 0 2.75rem; background: #f7f8fa; }
.resources-intro h1 { max-width: 720px; margin: 0; color: var(--resource-navy); font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; }
.resources-lead { max-width: 660px; margin: 1.15rem 0 0; color: var(--resource-muted); font-size: 1.05rem; line-height: 1.7; }
.resources-list { padding: .75rem 0 7rem; background: transparent; }
.resources-orbit { position: absolute; z-index: 0; width: 680px; height: 680px; border: 92px solid #ffb320; border-radius: 50%; pointer-events: none; opacity: .14; right: -390px; top: 90px; transform: translateY(var(--resources-drift, 0px)) rotate(-20deg); transition: transform .16s linear; }
.resources-orbit-blue { width: 830px; height: 830px; right: -430px; top: 760px; border-width: 118px; border-color: #c6d0e0; opacity: .28; transform: translateY(calc(var(--resources-drift, 0px) * -.45)); }
.resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.resource-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 250px; padding: 1.8rem; overflow: hidden; border: 1px solid var(--resource-line); border-radius: 1.2rem; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.resource-card:hover { transform: translateY(-3px); border-color: #d4d8e2; box-shadow: 0 18px 45px rgba(11,18,53,.08); }
.resource-card-number { position: absolute; z-index: 0; top: 1.15rem; right: 1.5rem; color: #ffb320; font-size: 4rem; line-height: 1; font-weight: 700; letter-spacing: -.06em; opacity: .3; }
.resource-card h2 { max-width: calc(100% - 4.5rem); margin: 0 0 1.05rem; color: var(--resource-navy); font-size: 1.42rem; line-height: 1.27; font-weight: 600; letter-spacing: -.025em; }
.resource-card h2, .resource-card > p, .resource-card-footer { position: relative; z-index: 1; }
.resource-card h2 a { color: inherit; text-decoration: none; }
.resource-card h2 a::after { content: ""; position: absolute; inset: 0; }
.resource-card > p { max-width: 92%; margin: 0 0 1.5rem; color: var(--resource-muted); line-height: 1.62; font-size: .92rem; }
.resource-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--resource-line); color: #8a93a5; font-size: .78rem; }
.resource-card-link { position: relative; z-index: 1; color: var(--resource-navy); font-size: .84rem; font-weight: 700; text-decoration: none; }

.article-hero { padding: 2.75rem 0 3rem; background: #f7f8fa; border-bottom: 1px solid var(--resource-line); }
.article-wrap { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.article-breadcrumb { display: flex; gap: .55rem; align-items: center; margin-bottom: 2rem; color: #8991a3; font-size: .78rem; }
.article-breadcrumb a { color: inherit; text-decoration: none; }
.article-breadcrumb a:hover { color: var(--resource-navy); }
.article-hero h1 { margin: 0; color: var(--resource-navy); font-size: clamp(2rem, 3.5vw, 2.75rem); line-height: 1.12; letter-spacing: -.038em; font-weight: 600; }
.article-deck { max-width: 760px; margin: 1.6rem 0 0; color: #535d73; font-size: 1.14rem; line-height: 1.72; }
.article-byline { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin-top: 2rem; color: #7b8496; font-size: .78rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 280px; align-items: start; gap: 5rem; padding-top: 5rem; padding-bottom: 6rem; }
.article-content section { margin-bottom: 3.6rem; }
.article-content h2 { margin: 0 0 1.25rem; color: var(--resource-navy); font-size: 1.65rem; line-height: 1.25; letter-spacing: -.025em; font-weight: 600; }
.article-content p { margin: 0 0 1.15rem; color: #3f4758; font-size: 1rem; line-height: 1.85; }
.article-notice { margin: 0 0 3rem; padding: 1.15rem 1.25rem; border-left: 4px solid var(--resource-yellow); background: #fffae9; color: #684e08; }
.article-notice p { margin: 0; color: inherit; font-size: .9rem; line-height: 1.65; }
.article-checklist { display: grid; gap: .75rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.article-checklist li { position: relative; padding: .9rem 1rem .9rem 2rem; border-radius: .65rem; background: var(--resource-wash); color: #343b4c; font-size: .93rem; line-height: 1.55; }
.article-checklist li::before { content: ""; position: absolute; top: 1.35rem; left: 1rem; width: 6px; height: 6px; border-radius: 50%; background: var(--resource-yellow); }
.article-sources { padding-top: 2.5rem; border-top: 1px solid var(--resource-line); }
.article-sources h2 { font-size: 1.15rem; }
.article-sources ul { padding-left: 1.2rem; }
.article-sources li { margin-bottom: .75rem; color: var(--resource-muted); font-size: .88rem; }
.article-sources a { color: #294d9b; text-underline-offset: 3px; }
.article-side { position: sticky; top: 100px; }
.article-module-card { padding: 1.5rem; border-radius: 1rem; background: var(--resource-navy); color: #fff; }
.article-side-label { margin: 0 0 1.5rem; color: #aab2c8; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.article-module-card h2 { margin: 0 0 .8rem; font-size: 1.4rem; font-weight: 600; }
.article-module-card > p:not(.article-side-label) { margin: 0 0 1.5rem; color: #c4cada; font-size: .86rem; line-height: 1.6; }
.article-module-card a { color: #ffd15a; font-size: .83rem; font-weight: 700; text-decoration: none; }
.related-resources { padding: 4.5rem 0 6rem; background: var(--resource-wash); border-top: 1px solid var(--resource-line); }
.related-resources h2 { margin: 0 0 1.5rem; color: var(--resource-navy); font-size: 1.55rem; font-weight: 600; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-card { display: flex; flex-direction: column; min-height: 150px; padding: 1.25rem; border: 1px solid var(--resource-line); border-radius: .8rem; background: #fff; text-decoration: none; }
.related-card strong { color: var(--resource-navy); font-size: .96rem; line-height: 1.45; font-weight: 600; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 1rem; }
  .article-side { position: static; }
  .article-module-card { max-width: 520px; }
}

@media (max-width: 700px) {
  .resources-wrap, .article-wrap { width: min(100% - 28px, 1120px); }
  .resources-intro { padding: 2.5rem 0 2rem; }
  .resources-grid, .related-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 0; }
  .article-hero { padding: 3rem 0; }
  .article-breadcrumb { margin-bottom: 2.5rem; }
  .article-layout { padding-top: 3.5rem; padding-bottom: 4rem; }
  .resources-orbit { right: -560px; opacity: .1; }
  .resources-orbit-blue { right: -650px; opacity: .18; }
}

@media (prefers-reduced-motion: reduce) {
  .resources-orbit { transform: none; transition: none; }
}
