/* ============================================================
   Advisor Resources
   Page-specific composition on the CSG 2026 premium system.
   ============================================================ */

.resources-landing {
  background: var(--paper);
  color: var(--ink);
}

.res-gtm-frame {
  display: none;
  visibility: hidden;
}

.resources-landing h1,
.resources-landing h2,
.resources-landing h3,
.resources-landing p {
  margin-top: 0;
}

.resources-landing a:focus-visible {
  outline: 3px solid rgba(17, 189, 191, 0.48);
  outline-offset: 4px;
}

.resources-landing section[id] {
  scroll-margin-top: calc(var(--chrome-h) + 3.25rem);
}

/* Motion is opt-in so content remains visible if JavaScript does not run. */
@media (prefers-reduced-motion: no-preference) {
  .res-motion .res-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.58s ease var(--res-delay, 0ms),
      transform 0.68s cubic-bezier(0.22, 1, 0.36, 1) var(--res-delay, 0ms);
    will-change: opacity, transform;
  }

  .res-motion .res-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    will-change: auto;
  }

  .res-motion .res-panel-paths > a {
    opacity: 0;
    transform: translateX(8px);
    transition:
      opacity 0.42s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.2s ease;
  }

  .res-motion .res-hero-panel.is-ready .res-panel-paths > a {
    opacity: 1;
    transform: translateX(0);
  }

  .res-motion .res-hero-panel.is-ready .res-panel-paths > a:nth-child(1) { transition-delay: 0.22s; }
  .res-motion .res-hero-panel.is-ready .res-panel-paths > a:nth-child(2) { transition-delay: 0.3s; }
  .res-motion .res-hero-panel.is-ready .res-panel-paths > a:nth-child(3) { transition-delay: 0.38s; }
}

/* Hero */
.resources-landing .res-hero {
  padding: 4.75rem 0 5.25rem;
}

.resources-landing .res-hero::before {
  background-size: 44px 44px;
  opacity: 0.6;
}

.res-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(2.75rem, 6vw, 5.5rem);
  position: relative;
  z-index: 1;
}

.res-hero-copy h1 {
  max-width: 730px;
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(2.65rem, 4.8vw, 4rem);
  font-weight: 300 !important;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-shadow: none;
}

.res-hero-lede {
  max-width: 680px;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
  line-height: 1.7;
}

.res-hero-support {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.7;
}

.res-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.res-btn-primary {
  min-height: 54px;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-color: var(--cta);
  border-radius: 8px;
  background: var(--cta);
  color: var(--paper);
  box-shadow: none;
}

.res-btn-primary:hover {
  border-color: var(--cta-hover);
  background: var(--cta-hover);
  color: var(--paper);
}

.res-hero-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.3rem;
}

.res-hero-text-link:hover {
  color: var(--teal);
  text-decoration-color: var(--teal);
}

.res-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.res-hero-trust li {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.res-hero-panel {
  padding: 1.75rem;
  background: #162b49;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.res-panel-kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.res-panel-kicker > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.res-hero-panel h2 {
  margin: 0;
  color: var(--paper);
  font-size: 1.55rem;
  font-weight: 400 !important;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.res-panel-paths {
  display: grid;
  margin-top: 1.3rem;
}

.res-panel-paths > a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--paper);
  text-decoration: none;
}

.res-panel-number {
  padding-top: 0.1rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.res-panel-paths strong,
.res-panel-paths small {
  display: block;
}

.res-panel-paths strong {
  color: var(--paper);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
}

.res-panel-paths small {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.res-panel-paths b {
  padding-top: 0.1rem;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s ease, transform 0.2s ease;
}

.res-panel-paths > a:hover b {
  color: var(--teal);
  transform: translateX(3px);
}

@media (prefers-reduced-motion: no-preference) {
  .res-hero-copy,
  .res-hero-panel {
    animation: res-hero-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .res-hero-panel {
    animation-delay: 0.12s;
  }

  @keyframes res-hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Overview band and page navigation */
.res-proof {
  background: #fbfcfe;
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.res-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.res-proof-item {
  min-width: 0;
  min-height: 132px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  text-align: left;
}

.res-proof-item + .res-proof-item {
  border-left: 1px solid var(--gray-300);
}

.res-proof-value {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  white-space: nowrap;
}

.res-proof-value b {
  color: var(--navy);
  font-size: clamp(2.5rem, 3.2vw, 3.25rem);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.res-proof-value small {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.res-proof-copy {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.res-page-nav {
  display: block;
  position: sticky;
  top: var(--chrome-h);
  z-index: 900;
  background: rgba(247, 249, 252, 0.96);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: 0 5px 16px rgba(0, 22, 61, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.res-page-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem 1.5rem;
  min-height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
}

.res-page-nav-inner::-webkit-scrollbar {
  display: none;
}

.res-page-nav span,
.res-page-nav a {
  flex: 0 0 auto;
  font-size: 0.78rem;
}

.res-page-nav span {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.res-page-nav a {
  padding: 0.45rem 0;
  position: relative;
  color: var(--gray-700);
  font-weight: 500;
}

.res-page-nav a::after {
  content: '';
  height: 2px;
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  background: var(--teal-ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.res-page-nav a:hover {
  color: var(--cta);
}

.res-page-nav a[aria-current="location"] {
  color: var(--navy);
  font-weight: 600;
}

.res-page-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

/* Shared section typography */
.res-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: 3.25rem;
}

.res-section-heading h2,
.res-specialist-intro h2 {
  max-width: 680px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  font-weight: 300 !important;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.res-section-heading > p,
.res-specialist-intro > p {
  margin: 0 0 0.2rem;
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.75;
}

.res-section-heading--compact {
  margin-bottom: 2.5rem;
}

/* Start paths */
.res-start {
  padding: 4.75rem 0 5.25rem;
  background: var(--paper);
}

.res-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.res-path-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-top: 3px solid var(--navy);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.res-path-card:nth-child(2) {
  border-top-color: var(--teal-ink);
}

.res-path-card:nth-child(3) {
  border-top-color: var(--cta);
}

.res-path-card:hover {
  border-color: rgba(30, 64, 175, 0.45);
  box-shadow: 0 12px 28px rgba(0, 22, 61, 0.07);
  transform: translateY(-3px);
}

.res-path-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.res-path-top span,
.res-path-top small {
  color: var(--gray-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-path-top span {
  color: var(--teal-ink);
}

.res-path-card h3 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.res-path-card > p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.96rem;
  line-height: 1.65;
}

.res-path-card ul {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border-top: 1px solid var(--gray-300);
  list-style: none;
}

.res-path-card li {
  padding: 0.65rem 0 0.65rem 1rem;
  position: relative;
  border-bottom: 1px solid var(--gray-300);
  color: var(--ink);
  font-size: 0.83rem;
  line-height: 1.45;
}

.res-path-card li::before {
  content: '';
  width: 5px;
  height: 5px;
  position: absolute;
  top: 1.02rem;
  left: 0;
  background: var(--teal-ink);
  border-radius: 50%;
}

.res-path-card > a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  margin-top: auto;
  color: var(--cta);
  font-size: 0.88rem;
  font-weight: 600;
}

.res-path-card > a:hover {
  color: var(--cta-hover);
  gap: 0.65rem;
}

/* Working tools */
.res-toolkit {
  padding: 5.5rem 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--gray-300);
  border-bottom: 1px solid var(--gray-300);
}

.res-assessment-feature {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
}

.res-assessment-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.res-tool-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--teal-ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-assessment-copy h3,
.res-document-copy h3 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.res-assessment-copy > p {
  margin: 0;
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
}

.res-assessment-facts {
  display: grid;
  margin: 1.5rem 0;
  border-top: 1px solid var(--gray-300);
}

.res-assessment-facts > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-300);
}

.res-assessment-facts strong,
.res-assessment-facts span {
  font-size: 0.82rem;
  line-height: 1.45;
}

.res-assessment-facts strong {
  color: var(--navy);
  font-weight: 600;
}

.res-assessment-facts span {
  color: var(--gray-700);
}

.res-access-note {
  display: block;
  margin-top: 0.7rem;
  color: var(--gray-text);
  font-size: 0.75rem;
}

.res-assessment-visual {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: clamp(1rem, 2.5vw, 2rem);
  background: #08172b;
}

.res-assessment-visual img {
  width: 100%;
  border-radius: 6px;
}

.res-assessment-visual figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.res-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.res-document-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: 12px;
}

.res-document-cover,
.res-intake-sheet {
  width: 180px;
  min-height: 242px;
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 10px 12px 0 rgba(0, 22, 61, 0.08);
}

.res-document-cover {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: var(--paper);
  background: linear-gradient(160deg, #09172a, #112d4d);
}

.res-cover-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.res-cover-title small,
.res-cover-title strong,
.res-cover-title span {
  display: block;
}

.res-cover-title small {
  margin-bottom: 0.45rem;
  color: var(--teal);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.res-cover-title strong {
  color: var(--paper);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.03;
}

.res-cover-title span {
  max-width: 125px;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.5rem;
  line-height: 1.4;
}

.res-cover-rings {
  display: flex;
  align-items: center;
  gap: 0.18rem;
}

.res-cover-rings i,
.res-intake-scale i {
  width: 15px;
  height: 15px;
  border: 3px solid var(--teal);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-22deg);
}

.res-cover-rings i:nth-child(2) { border-color: #0aa6c2; border-right-color: transparent; }
.res-cover-rings i:nth-child(3) { border-color: #178ac7; border-right-color: transparent; }
.res-cover-rings i:nth-child(4) { border-color: #2f6fc2; border-right-color: transparent; }
.res-cover-rings i:nth-child(5) { border-color: #4658b3; border-right-color: transparent; }
.res-cover-rings i:nth-child(6) { border-color: #5b4b9e; border-right-color: transparent; }

.res-intake-sheet {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--gray-300);
}

.res-intake-sheet::after {
  content: '';
  width: 42px;
  height: 4px;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--teal-ink);
}

.res-intake-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--navy);
}

.res-intake-head span {
  color: var(--navy);
  font-size: 0.5rem;
  font-weight: 600;
  line-height: 1.1;
}

.res-intake-head b {
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: right;
}

.res-intake-lines {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.res-intake-lines span {
  display: block;
  height: 18px;
  border-bottom: 1px solid var(--gray-300);
  background: linear-gradient(90deg, var(--gray-100) 0 32%, transparent 32% 36%, var(--gray-100) 36% 100%);
}

.res-intake-scale {
  display: flex;
  gap: 0.25rem;
  margin-top: 1.1rem;
}

.res-intake-scale i {
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.res-intake-sheet > small {
  margin-top: auto;
  color: var(--gray-text);
  font-size: 0.46rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.res-document-copy {
  min-width: 0;
}

.res-document-copy h3 {
  font-size: 1.55rem;
}

.res-document-copy > p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9rem;
  line-height: 1.6;
}

.res-document-copy ul {
  margin: 1rem 0 1.15rem;
  padding: 0;
  list-style: none;
}

.res-document-copy li {
  padding: 0.35rem 0 0.35rem 0.9rem;
  position: relative;
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.45;
}

.res-document-copy li::before {
  content: '';
  width: 4px;
  height: 4px;
  position: absolute;
  top: 0.78rem;
  left: 0;
  background: var(--teal-ink);
  border-radius: 50%;
}

.res-document-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cta);
  font-size: 0.86rem;
  font-weight: 600;
}

.res-document-link:hover {
  color: var(--cta-hover);
  gap: 0.65rem;
}

.res-document-note {
  display: block;
  margin-top: 0.75rem;
  color: var(--gray-text);
  font-size: 0.68rem;
  line-height: 1.45;
}

/* Market Intelligence */
.res-market {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #071426, #102944);
}

.res-market::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 18% 20%, rgba(17, 189, 191, 0.11), transparent 48%);
  pointer-events: none;
}

.res-market .container {
  position: relative;
  z-index: 1;
}

.res-market-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.res-market-copy h2 {
  max-width: 610px;
  margin: 0 0 1rem;
  color: var(--paper);
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 300 !important;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.res-market-copy > p {
  max-width: 590px;
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
}

.res-market-copy .res-market-caution {
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.62);
  border-left: 2px solid var(--teal);
  font-size: 0.86rem;
}

.res-btn-light {
  margin-top: 0.75rem;
  border-color: var(--paper);
  border-radius: 8px;
  background: var(--paper);
  color: var(--navy);
}

.res-btn-light:hover {
  border-color: var(--teal);
  background: var(--teal);
  color: #06192c;
}

.res-market-preview {
  min-width: 0;
  display: block;
  overflow: hidden;
  position: relative;
  background: #0b1a2e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
}

.res-market-preview img {
  width: 100%;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.res-market-preview > span {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.35rem 1rem;
  padding: 1rem 1.2rem 1.15rem;
  background: rgba(7, 20, 38, 0.92);
}

.res-market-preview small,
.res-market-preview strong,
.res-market-preview b {
  display: block;
}

.res-market-preview small {
  grid-column: 1 / -1;
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-market-preview strong {
  color: var(--paper);
  font-size: 1.2rem;
  font-weight: 500;
}

.res-market-preview b {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
}

.res-market-preview:hover img {
  opacity: 1;
  transform: scale(1.018);
}

.res-market-preview:hover b {
  color: var(--teal);
}

.res-report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.res-report-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.res-report-card + .res-report-card {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.res-report-card > span {
  margin-bottom: 0.55rem;
  color: var(--teal);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-report-card > strong {
  color: var(--paper);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.res-report-card > p {
  margin: 0.65rem 0 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.55;
}

.res-report-card > b {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 600;
}

.res-report-card:hover {
  background: rgba(255, 255, 255, 0.04);
}

.res-report-card:hover > b {
  color: var(--teal);
}

.res-report-card--special {
  background: rgba(17, 189, 191, 0.045);
}

.res-market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-top: 1.5rem;
}

.res-market-footer p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  line-height: 1.55;
}

.res-market-footer p strong {
  color: rgba(255, 255, 255, 0.8);
}

.res-market-footer a {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
}

.res-market-footer a:hover {
  color: var(--paper);
}

/* Decision guide library */
.res-library {
  padding: 5.25rem 0;
  background: var(--paper);
}

.res-library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.res-library-group {
  min-width: 0;
  overflow: hidden;
  background: #fbfcfe;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.res-library-group:hover {
  border-color: #c5d2e7;
  box-shadow: 0 18px 42px rgba(1, 22, 61, 0.07);
  transform: translateY(-2px);
}

.res-library-head {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1.5rem 1.6rem 1.25rem;
  background: var(--paper);
  border-bottom: 1px solid var(--gray-300);
}

.res-library-head > span {
  color: var(--teal-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.res-library-head small {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--gray-text);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-library-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.res-library-links {
  display: grid;
  padding: 0 1.6rem;
}

.res-library-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 82px;
  padding: 1rem 0;
  color: var(--ink);
  border-bottom: 1px solid var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
}

.res-library-links a:last-child {
  border-bottom: 0;
}

.res-library-links a > span {
  min-width: 0;
}

.res-library-links strong,
.res-library-links small {
  display: block;
}

.res-library-links strong {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.res-library-links small {
  margin-top: 0.28rem;
  color: var(--gray-text);
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.45;
}

.res-library-links b {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 400;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.res-library-links a:hover strong {
  color: var(--cta);
}

.res-library-links a:hover b {
  color: var(--cta);
  border-color: var(--cta);
  transform: translateX(3px);
}

.res-library-links a:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 4px;
}

/* Specialist support */
.res-specialists {
  padding: 5.25rem 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--gray-300);
}

.res-specialist-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: 3rem;
}

.res-specialist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.res-specialist-card {
  min-width: 0;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--gray-300);
  border-radius: 10px;
}

.res-specialist-label {
  min-height: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-bottom: 1rem;
}

.res-specialist-label span,
.res-specialist-label b {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.res-specialist-label span {
  color: var(--teal-ink);
}

.res-specialist-label b {
  padding: 0.35rem 0.55rem;
  color: var(--cta);
  background: rgba(30, 64, 175, 0.07);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.res-specialist-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 500;
}

.res-specialist-card > p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.94rem;
  line-height: 1.65;
}

.res-specialist-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.res-specialist-card li {
  padding: 0.4rem 0.6rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 0.73rem;
  line-height: 1.35;
}

.res-specialist-card > a {
  display: inline-flex;
  gap: 0.45rem;
  color: var(--cta);
  font-size: 0.85rem;
  font-weight: 600;
}

.res-specialist-card > a:hover {
  color: var(--cta-hover);
  gap: 0.65rem;
}

.res-partner-note {
  max-width: 950px;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
  color: var(--gray-text);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

.res-partner-note strong {
  color: var(--gray-700);
}

/* Final CTA */
.res-final-cta {
  margin-top: 0;
  padding: clamp(5.5rem, 8vw, 7.5rem) 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(41, 75, 147, 0.24), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(17, 138, 141, 0.1), transparent 30%),
    linear-gradient(145deg, #081426 0%, #102744 100%);
}

.res-final-cta::before {
  opacity: 0.5;
}

.res-final-cta::after {
  content: '';
  position: absolute;
  top: -17rem;
  right: -12rem;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.res-final-cta .final-cta-inner {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 400px);
  gap: clamp(4rem, 8vw, 8rem);
}

.res-final-cta .final-cta-text {
  max-width: 720px;
}

.res-final-cta .final-cta-text h2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 720px;
  margin: 0 0 1.75rem;
  font-size: clamp(2rem, 2.7vw, 2.55rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.res-final-cta .final-cta-text h2 > span {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.res-final-cta .final-cta-text h2 > span:last-child {
  background: linear-gradient(145deg, rgba(34, 197, 200, 0.1), rgba(43, 76, 176, 0.16));
  border-color: rgba(96, 208, 211, 0.38);
}

.res-final-cta .final-cta-text h2 small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.res-final-cta .final-cta-text h2 > span:last-child small {
  color: #74d9dc;
}

.res-final-cta .final-cta-text > p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.res-final-cta .final-cta-assurances {
  max-width: 650px;
}

.res-final-cta .res-cta-card {
  position: relative;
  max-width: 400px;
  padding: 2.25rem;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 28px 70px rgba(1, 8, 20, 0.34);
}

.res-final-cta .res-cta-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--cta));
}

.res-final-cta .res-cta-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.res-final-cta .btn-final-primary {
  min-height: 56px;
}

.res-cta-card > p {
  margin: 0 0 1.25rem;
  color: var(--gray-700);
  font-size: 0.88rem;
  line-height: 1.6;
}

.res-cta-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--teal-ink);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-cta-card h3 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 1080px) {
  .res-document-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .res-document-cover,
  .res-intake-sheet {
    width: 150px;
    min-height: 218px;
  }

  .res-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .res-report-card:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .res-report-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 900px) {
  .res-final-cta {
    padding: 5rem 0;
  }

  .res-final-cta .final-cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .res-final-cta .res-cta-card {
    width: 100%;
    max-width: 520px;
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .res-final-cta .final-cta-text h2 {
    grid-template-columns: 1fr;
  }

  .res-final-cta .final-cta-text h2 > span {
    min-height: 150px;
  }
}

@media (max-width: 960px) {
  .res-hero-grid,
  .res-assessment-feature,
  .res-market-feature {
    grid-template-columns: 1fr;
  }

  .res-hero-panel {
    max-width: 640px;
  }

  .res-section-heading,
  .res-specialist-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .res-path-grid {
    grid-template-columns: 1fr;
  }

  .res-path-card {
    min-height: 0;
  }

  .res-document-grid {
    grid-template-columns: 1fr;
  }

  .res-document-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .res-document-cover,
  .res-intake-sheet {
    width: 180px;
    min-height: 242px;
  }

  .res-market-preview {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .resources-landing .res-hero {
    padding: 3.75rem 0 4rem;
  }

  .res-hero-grid {
    gap: 2.5rem;
  }

  .res-hero-copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.25rem);
  }

  .res-hero-lede {
    font-size: 1.05rem;
  }

  .res-start,
  .res-toolkit,
  .res-market,
  .res-library,
  .res-specialists {
    padding: 4.25rem 0;
  }

  .res-section-heading,
  .res-specialist-intro {
    margin-bottom: 2.25rem;
  }

  .res-section-heading h2,
  .res-specialist-intro h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }

  .res-assessment-copy {
    padding: 1.75rem;
  }

  .res-assessment-visual {
    min-height: 320px;
  }

  .res-library-grid,
  .res-specialist-grid {
    grid-template-columns: 1fr;
  }

  .res-market-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .res-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .res-hero-panel {
    padding: 1.4rem;
  }

  .res-panel-paths > a {
    grid-template-columns: 1.6rem minmax(0, 1fr) auto;
  }

  .res-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .res-proof-item:nth-child(3) {
    border-top: 1px solid var(--gray-300);
  }

  .res-proof-item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .res-proof-item:nth-child(odd) {
    border-left: 0;
  }

  .res-proof-item {
    min-height: 104px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    text-align: center;
  }

  .res-proof-copy {
    max-width: 150px;
  }

  .res-page-nav-inner > span {
    display: none;
  }

  .res-page-nav-inner {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .res-path-card,
  .res-specialist-card {
    padding: 1.4rem;
  }

  .res-library-head {
    padding: 1.35rem 1.25rem 1.1rem;
  }

  .res-library-links {
    padding: 0 1.25rem;
  }

  .res-partner-note {
    padding: 2.25rem 0.5rem 0;
  }

  .res-assessment-facts > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .res-assessment-visual {
    min-height: 230px;
  }

  .res-document-card {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 1.4rem;
  }

  .res-document-cover,
  .res-intake-sheet {
    width: 155px;
    min-height: 218px;
  }

  .res-market-feature {
    gap: 2.5rem;
  }

  .res-market-copy h2 {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .res-market-preview > span {
    grid-template-columns: 1fr;
  }

  .res-report-grid {
    grid-template-columns: 1fr;
  }

  .res-report-card + .res-report-card,
  .res-report-card:nth-child(3),
  .res-report-card:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .res-specialist-label {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .res-path-card,
  .res-market-preview img,
  .res-panel-paths b,
  .res-library-links b {
    transition: none;
  }
}
