/* ══ RESOURCE / ANSWER PAGES — new visual system (tokens from nh-base.css) ══ */
.res-main { background: #fff; }
.res-main .container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.res-body .container { max-width: 860px; }

/* hero (navy, matches .nhp-hero) */
.res-hero { position: relative; overflow: hidden; color: #fff; padding: 36px 0 52px; border-bottom: 0; background:
  radial-gradient(60% 80% at 8% 40%, rgba(37,208,255,.16) 0%, rgba(37,208,255,0) 60%),
  radial-gradient(45% 60% at 92% 20%, rgba(70,110,200,.28) 0%, rgba(70,110,200,0) 60%),
  linear-gradient(120deg, #0a1e3d 0%, #0d2a55 48%, #0a1c3a 100%); }
.res-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-55deg, rgba(255,255,255,.035) 0 3px, transparent 3px 14px);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 18%, transparent 42%); mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 18%, transparent 42%); }
.res-hero .container { position: relative; }
.res-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 28px; line-height: 1.5; }
.res-crumb a { color: rgba(255,255,255,.85); text-decoration: none; min-height: 24px; display: inline-flex; align-items: center; }
.res-crumb a:hover { color: var(--nh-cyan); }
.res-crumb span { color: rgba(255,255,255,.45); margin: 0; }
.res-crumb > span:last-child { color: #fff; }
.res-hero h1 { font-family: var(--nh-font); font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; color: #fff; max-width: 920px; margin: 0 0 20px; }
.res-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; font-size: .85rem; color: rgba(255,255,255,.78); }
.res-byline svg { color: var(--nh-cyan); flex-shrink: 0; }
.res-byline a { color: #fff !important; }
.res-byline .res-byline-sep { opacity: .5; }
.res-answer { font-size: 1.1rem; line-height: 1.65; color: var(--nh-ink); background: #fff; border-left: 4px solid var(--nh-cyan); border-radius: 0 12px 12px 0; padding: 18px 22px; box-shadow: 0 12px 30px rgba(5,12,28,.25); max-width: 860px; margin: 0; }
.res-answer a { color: var(--nh-cyan-d); }
.res-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 860px; margin: 28px 0 0; }
.res-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--nh-r-md); padding: 20px 16px; text-align: center; }
.res-stat b { display: block; font-family: var(--nh-font); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--nh-cyan); }
.res-stat span { display: block; font-size: .82rem; color: rgba(255,255,255,.78); margin-top: 8px; }
@media(max-width:640px){ .res-stats { grid-template-columns: repeat(2, 1fr); } .res-hero { padding: 24px 0 40px; } .res-crumb { margin-bottom: 20px; } }

/* body (matches .nhp-prose) */
.res-body { padding: 48px 0 24px; color: var(--nh-body); font-size: 1.02rem; line-height: 1.75; }
.res-body h2 { font-family: var(--nh-font); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--nh-ink); margin: 40px 0 14px; }
.res-body h2:first-child { margin-top: 0; }
.res-body h3 { font-family: var(--nh-font); font-size: 1.15rem; font-weight: 800; color: var(--nh-ink); margin: 28px 0 10px; }
.res-body p { font-size: 1.02rem; line-height: 1.75; color: var(--nh-body); margin: 0 0 16px; }
.res-body a { color: var(--nh-cyan-d); text-decoration: underline; text-underline-offset: 3px; }
.res-body ul, .res-body ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.res-body ul li { position: relative; padding: 0 0 10px 28px; font-size: 1.02rem; line-height: 1.65; color: var(--nh-body); }
.res-body ul li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--nh-cyan-d); }
.res-body ol { counter-reset: r; }
.res-body ol li { position: relative; padding: 0 0 12px 42px; font-size: 1.02rem; line-height: 1.65; color: var(--nh-body); counter-increment: r; }
.res-body ol li::before { content: counter(r); position: absolute; left: 0; top: .1em; width: 28px; height: 28px; border-radius: 8px; background: var(--nh-ink); color: #fff; font-family: var(--nh-font); font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.res-body strong { color: var(--nh-ink); }
.res-body blockquote { margin: 20px 0; padding: 18px 22px; border-left: 4px solid var(--nh-cyan); background: var(--nh-band); border-radius: 0 12px 12px 0; color: var(--nh-ink); font-weight: 500; }

/* comparison table (matches .nhp-table) */
.res-table-wrap { overflow-x: auto; border: 1.5px solid var(--nh-line); border-radius: var(--nh-r-md); background: #fff; margin: 20px 0 28px; }
table.res-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
table.res-table th, table.res-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--nh-line); vertical-align: top; line-height: 1.5; color: var(--nh-body); }
table.res-table thead th { background: var(--nh-navy); color: #fff; font-weight: 800; }
table.res-table thead th:first-child { background: var(--nh-navy); }
table.res-table tbody th { font-weight: 800; color: var(--nh-ink); background: #f6f8fb; width: 28%; }
table.res-table tbody td { color: var(--nh-body); }
table.res-table tr:last-child th, table.res-table tr:last-child td { border-bottom: none; }

/* faq (matches .nh-faq-item) */
.res-faq { margin: 16px 0 0; display: grid; gap: 10px; }
.res-faq details { border: 1.5px solid var(--nh-line); border-radius: var(--nh-r-sm); margin: 0; background: #fff; transition: border-color .2s; }
.res-faq details[open] { border-color: var(--nh-cyan); box-shadow: none; }
.res-faq summary { list-style: none; cursor: pointer; padding: 16px 18px; min-height: 48px; font-family: var(--nh-font); font-weight: 700; font-size: 1rem; color: var(--nh-ink); display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.res-faq summary::-webkit-details-marker { display: none; }
.res-faq summary svg { flex-shrink: 0; color: var(--nh-ink); transition: transform .2s; }
.res-faq details[open] summary svg { transform: rotate(180deg); }
.res-faq .res-faq-a { padding: 0 18px 18px; font-size: .95rem; line-height: 1.6; color: var(--nh-body); }

/* related (matches .nhp-card) */
.res-related { margin: 44px 0 10px; }
.res-related h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 18px; }
.res-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 8px; }
.res-related-grid a { display: block; padding: 20px 20px 22px; border: 1.5px solid var(--nh-line); border-radius: var(--nh-r-md); background: #fff; text-decoration: none; color: var(--nh-ink); font-weight: 800; font-size: 1rem; line-height: 1.3; transition: transform .25s var(--nh-ease), box-shadow .25s, border-color .2s; }
.res-related-grid a:hover { border-color: var(--nh-ink); box-shadow: var(--nh-sh); transform: translateY(-3px); }
.res-related-grid a span { display: block; }
.res-related-grid a span + span { font-weight: 400; font-size: .88rem; color: var(--nh-body); margin-top: 6px; line-height: 1.45; }
@media(max-width:1024px){ .res-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media(max-width:640px){ .res-related-grid { grid-template-columns: 1fr; } }

/* cta (matches .nh-cta-box) */
.res-cta { margin: 48px 0 40px; background: var(--nh-band); border-radius: var(--nh-r-lg); padding: 36px 40px; text-align: left; display: grid; grid-template-columns: 1.4fr auto; gap: 24px 32px; align-items: center; }
.res-cta h2 { color: var(--nh-ink); margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 1.95rem); grid-column: 1; }
.res-cta p { color: var(--nh-body); margin: 0; max-width: 560px; font-size: .95rem; grid-column: 1; }
.res-cta .btn-tc { grid-column: 2; grid-row: 1 / span 2; justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px !important; border-radius: 999px !important; background: var(--nh-ink) !important; color: #fff !important; text-decoration: none; font-family: var(--nh-font) !important; font-size: .95rem !important; font-weight: 800 !important; letter-spacing: 0 !important; text-transform: none !important; border: 2px solid var(--nh-ink) !important; box-shadow: none !important; text-shadow: none !important; animation: none !important; transition: transform .2s var(--nh-ease), background .2s; white-space: nowrap; }
.res-cta .btn-tc:hover { transform: translateY(-2px); background: #1c2f4f !important; border-color: #1c2f4f !important; box-shadow: none !important; }
@media(max-width:768px){ .res-cta { grid-template-columns: 1fr; padding: 26px 20px; } .res-cta .btn-tc { grid-column: 1; grid-row: auto; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .res-related-grid a, .res-cta .btn-tc, .res-faq summary svg { transition: none; } .res-related-grid a:hover, .res-cta .btn-tc:hover { transform: none; } }

/* byline author link (was an inline style) */
.res-byline a { color: inherit; text-decoration: underline; }
