/* Subpage components for Jordon Murphy Health v4 expansion.
   Built on the homepage tokens in /assets/site.css. */

.sp-hero{ background:linear-gradient(135deg,#2a1454 0%,#4c1d95 55%,#7c3aed 130%); color:#fff; padding:196px 0 96px; position:relative; overflow:hidden; }
.sp-hero::after{ content:""; position:absolute; right:-160px; top:-160px; width:520px; height:520px; border-radius:50%; background:radial-gradient(circle,rgba(255,255,255,.14),transparent 65%); pointer-events:none; }
.sp-hero .kicker{ color:#c4b5fd; }
.sp-hero h1{ color:#fff; font-size:clamp(2.1rem,4.6vw,3.3rem); font-weight:800; letter-spacing:-.03em; line-height:1.08; margin:14px 0 18px; max-width:640px; }
.sp-hero__lead{ color:rgba(255,255,255,.86); font-size:1.08rem; line-height:1.7; max-width:600px; margin-bottom:30px; }
.sp-hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; position:relative; z-index:1; }
.sp-hero__photo{ border-radius:24px; overflow:hidden; box-shadow:0 30px 70px -25px rgba(20,8,50,.55); }
.sp-hero__photo img{ display:block; width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }
.sp-hero .btn-row{ display:flex; gap:14px; flex-wrap:wrap; }
.sp-checks{ list-style:none; margin:26px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.sp-checks li{ display:flex; gap:12px; align-items:flex-start; color:rgba(255,255,255,.92); font-size:.99rem; line-height:1.55; }
.sp-checks .ck{ margin-top:2px; }
.ck{ display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:var(--purple); color:#fff; flex-shrink:0; }
.sp-hero .ck{ background:rgba(255,255,255,.18); }

.sp-crumb{ font-size:.83rem; color:var(--muted); margin-bottom:22px; display:flex; gap:8px; flex-wrap:wrap; }
.sp-crumb a{ color:var(--purple-deep); font-weight:600; }
.sp-hero .sp-crumb{ color:rgba(255,255,255,.65); }
.sp-hero .sp-crumb a{ color:#ddd6fe; }

.sp-section{ padding:96px 0; }
.sp-section--soft{ background:var(--bg-soft); }
.sp-section--tight{ padding:64px 0; }
.sp-prose{ max-width:760px; }
.sp-prose h2{ font-size:clamp(1.55rem,3vw,2.1rem); font-weight:800; color:var(--ink-deep,#241243); letter-spacing:-.02em; margin:0 0 18px; }
.sp-prose h3{ font-size:1.13rem; font-weight:700; color:var(--ink); margin:26px 0 8px; }
.sp-prose p{ color:var(--body); line-height:1.75; margin:0 0 16px; font-size:1.0rem; }
.sp-prose ul{ margin:0 0 18px; padding-left:22px; color:var(--body); line-height:1.7; }
.sp-prose li{ margin-bottom:8px; }
.sp-prose a{ color:var(--purple-deep); font-weight:600; }
.sp-group{ margin-bottom:56px; }
.sp-group:last-child{ margin-bottom:0; }

.faq-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:36px; }
.faq-card{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 28px; box-shadow:var(--shadow-sm); }
.faq-card h3{ font-size:1.02rem; font-weight:700; color:var(--ink); margin:0 0 10px; line-height:1.45; }
.faq-card p{ color:var(--body); line-height:1.65; margin:0; font-size:.96rem; }

.sp-xgrid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:18px; margin-top:36px; }

.state-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; margin-top:40px; }
.state-card{ display:block; background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 24px; box-shadow:var(--shadow-sm); transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.state-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:rgba(124,58,237,.3); }
.state-card__name{ font-family:Sora,sans-serif; font-weight:700; font-size:1.06rem; color:var(--ink); display:flex; justify-content:space-between; align-items:center; }
.state-card__abbr{ color:var(--purple); font-size:.8rem; font-weight:800; letter-spacing:.08em; }
.state-card p{ color:var(--muted); font-size:.9rem; line-height:1.55; margin:8px 0 0; }

.chip-grid{ display:flex; flex-wrap:wrap; gap:8px; }
.chip-grid span{ background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); color:#fff; border-radius:999px; padding:7px 13px; font-size:.82rem; font-weight:600; letter-spacing:.04em; }

.trust-band{ display:flex; gap:28px; align-items:center; flex-wrap:wrap; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow-sm); padding:32px 38px; }
.trust-band__npn{ display:flex; align-items:center; gap:12px; font-family:Sora,sans-serif; font-weight:700; color:var(--ink); font-size:1.05rem; }
.trust-band p{ color:var(--body); line-height:1.65; flex:1; min-width:260px; margin:0; }

.blog-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:22px; margin-top:44px; }
.post-card{ background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; transition:transform .25s ease, box-shadow .25s ease; }
.post-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.post-card img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
.post-card__body{ padding:24px 26px 28px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-card__meta{ display:flex; gap:10px; align-items:center; font-size:.8rem; color:var(--muted); flex-wrap:wrap; }
.badge{ background:var(--bg-soft-2); color:var(--purple-deep); font-weight:700; font-size:.72rem; letter-spacing:.07em; text-transform:uppercase; border-radius:999px; padding:5px 11px; }
.post-card h3{ font-size:1.14rem; font-weight:700; color:var(--ink); line-height:1.4; margin:0; }
.post-card h3 a{ color:inherit; }
.post-card p{ color:var(--body); line-height:1.6; font-size:.94rem; margin:0; flex:1; }
.post-card__more{ color:var(--purple); font-weight:700; font-size:.9rem; display:inline-flex; gap:6px; align-items:center; }

.byline{ display:flex; gap:14px; align-items:center; color:var(--muted); font-size:.9rem; margin:20px 0 30px; flex-wrap:wrap; }
.byline img{ width:44px; height:44px; border-radius:50%; object-fit:cover; }
.byline strong{ color:var(--ink); }
.backlink{ display:inline-flex; gap:8px; align-items:center; color:var(--purple-deep); font-weight:700; font-size:.92rem; margin-bottom:8px; }
.post-hero-img{ width:100%; border-radius:22px; aspect-ratio:16/8; object-fit:cover; display:block; margin-bottom:44px; box-shadow:var(--shadow-md); }
.author-card{ display:flex; gap:22px; background:var(--bg-soft); border:1px solid var(--line); border-radius:20px; padding:30px 34px; margin-top:56px; align-items:flex-start; }
.author-card img{ width:92px; height:92px; border-radius:18px; object-fit:cover; flex-shrink:0; }
.author-card h3{ margin:0 0 6px; font-size:1.12rem; color:var(--ink); }
.author-card p{ color:var(--body); line-height:1.65; margin:0 0 10px; font-size:.96rem; }
.cta-card{ background:linear-gradient(135deg,#2a1454,#4c1d95); border-radius:22px; padding:44px 46px; margin-top:28px; color:#fff; display:flex; gap:30px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.cta-card h3{ color:#fff; font-size:1.5rem; margin:0 0 8px; letter-spacing:-.02em; }
.cta-card p{ color:rgba(255,255,255,.85); margin:0; line-height:1.65; max-width:520px; }

.ref-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:48px; align-items:start; }
.ref-formcard{ background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:0 24px 60px -24px rgba(76,29,149,.28); padding:30px 30px 24px; position:sticky; top:132px; }
.ref-formcard h2{ font-size:1.25rem; font-weight:800; color:var(--ink-deep,#241243); letter-spacing:-.02em; margin:0 0 4px; }
.ref-formcard .btn{ width:100%; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.copyrow{ display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }

.sp-legal{ padding:190px 0 96px; }
.sp-legal h1{ font-size:clamp(2rem,4vw,2.8rem); font-weight:800; letter-spacing:-.03em; color:var(--ink); margin:10px 0 26px; }

@media (max-width: 960px){
  .sp-hero{ padding:170px 0 72px; }
  .sp-hero__grid, .ref-grid{ grid-template-columns:1fr; gap:36px; }
  .faq-grid{ grid-template-columns:1fr; }
  .sp-section{ padding:72px 0; }
  .ref-formcard{ position:static; }
  .author-card{ flex-direction:column; }
  .cta-card{ padding:34px 28px; }
}

/* ============ PARITY LAYER 2026-10-13 (subpages) ============
   Measured benchmark geometry per HOMEPAGE-METRICS.md, Jordon theme.
   Shared chrome and components mirror the homepage parity layer values
   exactly; subpage-only components aligned to the same scale. */

/* Container: max 1280, content 1216 at desktop */
.container{ max-width:1280px; padding:0 16px; }
@media (min-width:640px){ .container{ padding:0 24px; } }
@media (min-width:1024px){ .container{ padding:0 32px; } }

/* Utility bar: 36px at all widths, 14px type */
body{ padding-top:36px; }
.v4-utilitybar{ height:36px; font-size:14px; }
.v4-utilitybar__inner{ height:36px; }
.nav{ top:36px; }
.v4-utilitybar__phone{ font-size:14px; }
.v4-utilitybar__license svg{ width:16px; height:16px; }
.v4-utilitybar__phone svg{ width:14px; height:14px; }

/* Header: py 14, logo 40, name 18/700, tag 11/500 ls .1em, nav gap 28 links 14, CTAs h32 r6 */
.nav{ padding:14px 0; }
.v4-logo img{ width:40px; height:40px; }
.v4-logo__name{ font-size:18px; font-weight:700; letter-spacing:-.025em; }
.v4-logo__tag{ font-size:11px; font-weight:500; letter-spacing:.1em; }
.nav__links{ gap:28px; }
.nav__links a{ font-size:14px; }
.nav__cta{ gap:8px; }
.nav__callpill{ height:32px; padding:0 12px; font-size:14px; font-weight:500; border-radius:6px; border-width:1px; }
.nav__cta .btn{ height:32px; padding:0 12px; font-size:14px; font-weight:500; border-radius:6px; }

/* Section rhythm: 96px at all widths, 64px tight bands */
section{ padding:96px 0; }
.sp-section{ padding:96px 0; }
.sp-section--tight{ padding:64px 0; }

/* Section header pattern: eyebrow 14/600/.1em mb12; H2 30 to 36/700 lh1.11 mb16; lead 18/1.556; block mb56 */
.kicker{ font-size:14px; font-weight:600; letter-spacing:.1em; margin-bottom:12px; }
.v4-head{ margin-bottom:56px; }
.v4-head h2{ font-size:30px; font-weight:700; letter-spacing:-.025em; line-height:1.11; margin-bottom:16px; }
@media (min-width:1024px){ .v4-head h2{ font-size:36px; } }
.v4-head p{ font-size:18px; line-height:1.556; }

/* Large CTAs in button rows (48px, 16/600, radius 8) */
.btn-row{ gap:16px; }
.btn-row .btn{ height:48px; padding:0 32px; font-size:16px; font-weight:600; border-radius:8px; }

/* Subpage hero: homepage hero spacing and type scale */
.sp-hero{ padding:80px 0 96px; }
@media (min-width:1024px){ .sp-hero{ padding:112px 0 128px; } }
.sp-hero__grid{ gap:48px; }
@media (min-width:1024px){ .sp-hero__grid{ grid-template-columns:1.15fr 1fr; gap:64px; } }
.sp-hero h1{ font-size:36px; font-weight:700; letter-spacing:-.025em; line-height:1.08; margin:14px 0 20px; }
@media (min-width:640px){ .sp-hero h1{ font-size:48px; } }
.sp-hero__lead{ font-size:18px; line-height:1.625; max-width:576px; margin-bottom:32px; }
.sp-checks{ margin-top:24px; gap:10px; }
.sp-checks li{ gap:10px; font-size:14px; line-height:1.5; }
.ck{ width:18px; height:18px; }
.ck svg{ width:11px; height:11px; }
.sp-crumb{ font-size:14px; margin-bottom:24px; }

/* Prose: 672px text column, H2 head pattern, body 16/1.625 */
.sp-prose{ max-width:672px; }
.sp-prose h2{ font-size:30px; font-weight:700; letter-spacing:-.025em; line-height:1.11; margin:0 0 16px; }
@media (min-width:1024px){ .sp-prose h2{ font-size:36px; } }
.sp-prose h3{ font-size:18px; margin:26px 0 8px; }
.sp-prose p{ font-size:16px; line-height:1.625; margin:0 0 16px; }
.sp-prose ul{ line-height:1.625; }
.sp-group{ margin-bottom:56px; }

/* Static FAQ cards (service pages): card spec padding 32 radius 16, grid gap 32 */
.faq-grid{ gap:32px; margin-top:0; }
.faq-card{ border-radius:16px; padding:32px; }
.faq-card h3{ font-size:18px; margin:0 0 8px; }
.faq-card p{ font-size:14px; line-height:1.625; }

/* Cross-link cards: homepage service card spec */
.sp-xgrid{ gap:32px; margin-top:0; }
.v4-card{ padding:32px; border-radius:16px; }
.v4-card:hover{ transform:none; border-color:rgba(124,58,237,.3); box-shadow:var(--shadow-sm); }
.v4-card__icon{ width:44px; height:44px; border-radius:12px; margin-bottom:20px; }
.v4-card__icon svg{ width:20px; height:20px; }
.v4-card h3{ font-size:18px; margin-bottom:8px; }
.v4-card p{ font-size:14px; line-height:1.625; margin-bottom:16px; }
.v4-card a{ font-size:14px; }

/* Coverage: state chips, state cards, trust band */
.chip-grid{ margin-top:0 !important; gap:8px; }
.chip-grid span{ padding:4px 12px; font-size:12px; font-weight:500; letter-spacing:.04em; }
.state-grid{ gap:24px; margin-top:32px; }
.state-card{ border-radius:16px; padding:24px; }
.state-card:hover{ transform:none; border-color:rgba(124,58,237,.3); box-shadow:var(--shadow-md); }
.state-card__name{ font-size:18px; }
.state-card__abbr{ font-size:12px; letter-spacing:.1em; }
.state-card p{ font-size:14px; line-height:1.625; margin:8px 0 0; }
.trust-band{ border-radius:16px; padding:32px; gap:24px; }
.trust-band p{ line-height:1.625; }

/* Referral steps: homepage steps spec with ghost numerals */
.v4-steps{ gap:32px; counter-reset:step; }
.v4-step{ position:relative; padding:32px; border-radius:16px; counter-increment:step; }
.v4-step::after{ content:"0" counter(step); position:absolute; top:24px; right:28px; font-family:'Sora',sans-serif; font-size:36px; font-weight:700; line-height:1; color:rgba(76,29,149,.07); }
.v4-step__num{ width:44px; height:44px; border-radius:12px; font-size:14px; margin-bottom:20px; }
.v4-step h3{ font-size:18px; margin-bottom:8px; }
.v4-step p{ font-size:14px; line-height:1.625; }

/* Referral form card: homepage form card spec (header band, body 24, sticky top 96) */
.ref-formcard{ border-radius:16px; padding:0; overflow:hidden; top:96px; }
.ref-formcard h2{ font-size:18px; font-weight:700; letter-spacing:-.025em; padding:20px 24px 0; margin:0; }
.ref-formcard .v4-formcard__sub{ font-size:14px; margin:0; padding:0 24px 20px; border-bottom:1px solid var(--line); }
.ref-formcard form{ padding:24px; }
.ref-formcard .btn{ height:48px; padding:0 16px; font-size:16px; font-weight:600; border-radius:8px; }

/* Form fields: homepage form spec */
.v4-field{ margin-bottom:16px; }
.v4-field label{ font-size:14px; margin-bottom:8px; }
.v4-field input, .v4-field select, .v4-field textarea{ padding:10px 14px; border-radius:8px; font-size:14px; background:#FBFAFE; }
.v4-formrow{ gap:16px; }
.v4-consent{ font-size:12px; line-height:1.625; }
.v4-consent input{ width:16px; height:16px; }
.copyrow{ margin-top:24px; }
.copyrow .btn{ height:36px; padding:0 16px; font-size:14px; font-weight:500; border-radius:6px; }

/* FAQ accordions: homepage FAQ item spec, 768px content column */
.faq-list{ max-width:768px; }
.faq-item{ border-radius:12px; }
.faq-item::before{ display:none; }
.faq-q{ padding:16px 24px; font-size:14px; font-weight:600; font-family:'Inter',sans-serif; }
.faq-q svg{ width:16px; height:16px; }
.faq-a__inner{ padding:0 24px 16px; font-size:14px; line-height:1.625; max-width:none; }

/* Blog index cards */
.blog-grid{ gap:24px; margin-top:0; }
.post-card{ border-radius:16px; }
.post-card:hover{ transform:none; box-shadow:var(--shadow-md); }
.post-card__body{ padding:24px; }
.post-card__meta{ font-size:12px; }
.badge{ padding:4px 12px; font-size:12px; font-weight:600; letter-spacing:.05em; }
.post-card h3{ font-size:18px; line-height:1.35; }
.post-card p{ font-size:14px; line-height:1.625; }
.post-card__more{ font-size:14px; font-weight:600; }

/* Blog post elements */
.backlink{ font-size:14px; font-weight:600; }
.byline{ font-size:14px; }
.post-hero-img{ border-radius:24px; margin-bottom:48px; }
.author-card{ border-radius:16px; padding:32px; margin-top:56px; }
.author-card img{ border-radius:16px; }
.author-card h3{ font-size:18px; margin:0 0 8px; }
.author-card p{ font-size:14px; line-height:1.625; }
.cta-card{ border-radius:16px; padding:32px; margin-top:32px; }
.cta-card h3{ font-size:20px; margin:0 0 4px; }
.cta-card p{ font-size:14px; line-height:1.625; }
.cta-card .btn{ height:36px; padding:0 16px; font-size:14px; font-weight:500; border-radius:6px; }

/* Legal pages: standard section rhythm, H1 on the type scale */
.sp-legal{ padding:96px 0; }
.sp-legal h1{ font-size:36px; font-weight:700; letter-spacing:-.025em; line-height:1.08; margin:10px 0 24px; }
@media (min-width:640px){ .sp-legal h1{ font-size:48px; } }

/* Final CTA: homepage parity (container 896 content, H2 30 to 48, buttons radius 6) */
.v4-final .container{ max-width:960px; }
.v4-final h2{ font-size:30px; font-weight:700; line-height:1; letter-spacing:-.025em; margin:0 auto 20px; max-width:none; }
@media (min-width:1024px){ .v4-final h2{ font-size:48px; } }
.v4-final p{ font-size:18px; line-height:1.556; max-width:672px; margin:0 auto 36px; }
.v4-final .btn{ height:48px; padding:0 32px; font-size:16px; font-weight:600; border-radius:6px; }
.v4-final .btn--outline-w{ border-width:1px; border-color:rgba(255,255,255,.4); }

/* Footer: padding 64/32, 12-col grid spans 5/3/2/2, headings and lists on spec, bottom row mt56 pt32 */
footer{ padding:64px 0 32px; }
@media (min-width:768px){
  .footer-grid{ grid-template-columns:repeat(12,1fr); gap:40px; }
  .footer-grid > .footer-brand{ grid-column:span 5; }
  .footer-grid > .footer-col:nth-child(2){ grid-column:span 3; }
  .footer-grid > .footer-col:nth-child(3){ grid-column:span 2; }
  .footer-grid > .footer-col:nth-child(4){ grid-column:span 2; }
}
@media (min-width:1024px){ .footer-grid{ gap:32px; } .footer-grid > .footer-brand{ padding-right:24px; } }
.footer-brand .logo{ padding:6px 10px; border-radius:12px; }
.footer-brand .logo__img{ height:36px; width:auto; max-width:none; }
.footer-brand p{ margin-top:20px; margin-bottom:24px; font-size:14px; line-height:1.625; max-width:384px; }
.footer-social a{ width:36px; height:36px; border-radius:8px; }
.footer-social svg{ width:16px; height:16px; }
.footer-col h4{ font-size:14px; font-weight:600; letter-spacing:.1em; margin-bottom:20px; }
.footer-col ul{ gap:10px; }
.footer-grid > .footer-col:nth-child(2) ul{ gap:14px; }
.footer-col a, .footer-col span{ font-size:14px; }
.footer-bottom{ margin-top:56px; padding-top:32px; font-size:12px; }
