.resource-hub { background: #fff; color: #10283f; font-family: 'DM Sans', sans-serif; }
.hub-wrap { width: min(1080px, calc(100% - 64px)); margin-inline: auto; padding-block: clamp(44px, 6vw, 84px) 64px; }
.resource-hub :is(h1,h2,h3) { margin: 0; font-family: inherit; color: inherit; text-wrap: balance; }
.resource-hub .hub-intro h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.05; font-weight: 650; letter-spacing: -.055em; }
.resource-hub h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 650; }
.resource-hub p { color: #40556a; }
.hub-intro p { max-width: 40em; margin: 15px 0 4px; }
.hub-intro a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; color: #184b99; font-weight: 650; text-underline-offset: 4px; }
.resource-hub :is(#practical-tools, #life-changes, #resource-finder, #finder-interactive) { scroll-margin-block-start: 100px; }
.hub-tools, .hub-topics, .hub-finder, .hub-quote { margin-top: clamp(32px, 5vw, 64px); }
.hub-tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 18px; }
.hub-tool-grid > a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 2.3vw, 32px);
  border: 1px solid #d7e0e8;
  border-radius: 17px;
  color: #10283f;
  background: #f5f7fa;
  text-decoration: none;
  transition: background-color .15s ease;
}
.hub-tool-grid h3 { font-size: clamp(1.22rem, 2.3vw, 1.55rem); line-height: 1.22; letter-spacing: -.035em; font-weight: 650; }
.hub-tool-grid p { margin: 12px 0 20px; }
.hub-tool-grid > a > span { margin-top: auto; color: #184b99; font-weight: 650; }
.hub-tool-grid i { font-style: normal; margin-left: .25em; }
.hub-tool-grid > a:first-child { color: white; background: #17314f; border-color: #17314f; }
.hub-tool-grid > a:first-child p { color: #e5ecf6; }
.hub-tool-grid > a:first-child > span { color: white; }
.hub-tool-grid a:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.hub-topic-list { margin-top: 16px; border-top: 1px solid #ced8e2; }
.hub-topic-list details { border-bottom: 1px solid #ced8e2; }
.hub-topic-list summary { min-height: 54px; cursor: pointer; padding: 13px 4px; color: #19395b; font-weight: 650; }
.hub-topic-list ul { margin: 0; list-style: none; padding: 0 4px 16px 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 20px; }
.hub-topic-list li { margin: 0; }
.hub-topic-list a { min-height: 44px; display: flex; align-items: center; padding-block: 6px; color: #184b99; text-underline-offset: 3px; }
.hub-finder > p { margin: 8px 0 18px; }
.resource-hub #finder-interactive { background: #f5f7fa; border: 1px solid #d7e0e8; border-radius: 17px; padding: clamp(18px, 3vw, 32px); }
.resource-hub .finder-fields select { border: 1px solid #74879a; border-radius: 7px; min-height: 48px; font-size: 1rem; }
.resource-hub .finder-actions .button { background: #1854bc; color: #fff; border-radius: 99px; min-height: 48px; padding: 10px 22px; }
.resource-hub #finder-links a { border-radius: 10px; }
.resource-hub #finder-links h3 { margin: 8px 0; }
.resource-hub #finder-result :is(h3,p) { text-wrap: initial; }
.hub-quote { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ced8e2; padding-top: 28px; }
.hub-quote p { margin: 8px 0 0; }
.hub-quote a { flex: none; min-height: 50px; padding: 12px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: #1854bc; color: #fff; border-radius: 99px; font-weight: 650; text-decoration: none; }
.resource-hub :is(a,button,select,summary):focus-visible { outline: 3px solid #1854bc; outline-offset: 3px; }
.hub-quote a:hover, .resource-hub .finder-actions .button:hover { background: #103e94; }
@media (max-width: 760px) {
  .hub-wrap { width: min(600px, calc(100% - 36px)); padding-block: 34px 42px; }
  .hub-tool-grid, .resource-hub .finder-fields, .resource-hub #finder-links, .hub-topic-list ul { grid-template-columns: minmax(0,1fr); }
  .hub-tool-grid { gap: 10px; }
  .hub-tool-grid p { margin: 7px 0 9px; }
  .hub-topic-list ul { padding-inline-start: 12px; }
  .hub-quote { align-items: flex-start; flex-direction: column; }
  .resource-hub .finder-actions p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-tool-grid > a { transition: none; }
}
