/* Meridian Shift shared base. Tokens match the homepage widget exactly. */
.ms-pg *{box-sizing:border-box}
.ms-pg{
  --navy:#1C2B4A; --navy-deep:#141F36; --gold:#C9922A; --gold-lt:#E8B455;
  --steel:#3A6EA8; --light:#F0F4F8; --white:#FFFFFF; --text:#1A1A1A;
  --muted:#6B7280; --border:#D1D9E6;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'DM Sans','Segoe UI',sans-serif;
  --frame:1640px; --measure:920px;
  --px:clamp(1.25rem,4vw,4rem); --section:clamp(4rem,8vw,7rem);
  font-family:var(--sans); color:var(--text); line-height:1.7;
}
/* Bands run edge to edge. One frame inside them, so every element shares a left edge. */
.ms-pg .container{max-width:var(--frame);margin:0 auto;padding:0 var(--px)}
/* Prose caps its measure but stays left-aligned to the frame. */
.ms-pg .narrow{max-width:var(--measure);margin-left:0;margin-right:0}
.ms-pg .label{font-family:var(--sans);font-size:.72rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);display:block;margin-bottom:1rem}
.ms-pg h1,.ms-pg h2,.ms-pg h3{font-family:var(--serif);color:var(--navy);line-height:1.15;margin:0 0 1rem}
.ms-pg h1{font-size:clamp(2.2rem,4.4vw,3.9rem);font-weight:800;max-width:26ch}
.ms-pg h2{font-size:clamp(1.7rem,3vw,2.6rem);font-weight:800;margin-top:0;max-width:30ch}
.ms-pg h3{font-size:clamp(1.15rem,1.7vw,1.42rem);font-weight:700}
.ms-pg p{margin:0 0 1.15rem;font-size:1.03rem;max-width:var(--measure)}
.ms-pg a{color:var(--steel)}
.ms-pg .btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 2rem;border-radius:3px;
  font-family:var(--sans);font-size:.82rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  text-decoration:none;border:1.5px solid transparent;transition:.2s}
.ms-pg .btn-primary{background:var(--gold);color:var(--white);border-color:var(--gold)}
.ms-pg .btn-primary:hover{background:var(--gold-lt);border-color:var(--gold-lt)}
.ms-pg .btn-ghost{background:transparent;color:var(--navy);border-color:var(--border)}
.ms-pg .btn-ghost:hover{border-color:var(--navy)}
.ms-pg .btn-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.4)}
.ms-pg .btn-light:hover{border-color:#fff}
.ms-pg .pg-hero{background:var(--navy);color:#fff;padding:calc(var(--section)*.8) 0 calc(var(--section)*.7)}
.ms-pg .pg-hero h1{color:#fff}
.ms-pg .pg-hero .lede{font-size:1.14rem;color:rgba(255,255,255,.82);max-width:62ch;margin-bottom:0}
.ms-pg .sec{padding:var(--section) 0}
.ms-pg .sec-light{background:var(--light)}
.ms-pg .answer{background:var(--light);border-left:4px solid var(--gold);padding:1.5rem 1.75rem;margin:0 0 2.5rem;border-radius:3px;max-width:var(--measure)}
.ms-pg .sec-light .answer{background:#fff}
.ms-pg .answer p:last-child{margin-bottom:0}
.ms-pg .answer p{font-size:1.07rem}
.ms-pg .facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1.75rem;margin:2.5rem 0 0;padding:0;list-style:none;max-width:1100px}
.ms-pg .facts li{border-top:2px solid var(--gold);padding-top:1rem}
.ms-pg .facts b{display:block;font-family:var(--serif);font-size:2.1rem;font-weight:800;color:var(--navy);line-height:1}
.ms-pg .facts span{font-size:.88rem;color:var(--muted);display:block;margin-top:.4rem}
.ms-pg .qa{border-top:1px solid var(--border);padding:1.6rem 0;max-width:var(--measure)}
.ms-pg .qa:last-of-type{border-bottom:1px solid var(--border)}
.ms-pg .qa h3{margin-bottom:.6rem}
.ms-pg .qa p:last-child{margin-bottom:0}
/* Service rows: two columns on wide screens so the band earns its width. */
.ms-pg .svc{border-top:1px solid var(--border);padding:1.6rem 0;display:grid;grid-template-columns:minmax(200px,1fr) minmax(0,2.4fr);gap:0 2.5rem;max-width:1400px}
.ms-pg .svc:last-of-type{border-bottom:1px solid var(--border)}
.ms-pg .svc h3{margin:0}
.ms-pg .svc p{margin-bottom:0;color:#333;max-width:78ch}
@media(max-width:880px){.ms-pg .svc{grid-template-columns:1fr;gap:.5rem}}
.ms-pg .endcta{background:var(--navy-deep);color:#fff;padding:var(--section) 0;text-align:center}
.ms-pg .endcta h2,.ms-pg .endcta h1{color:#fff;max-width:none}
.ms-pg .endcta p{color:rgba(255,255,255,.8);max-width:56ch;margin:0 auto 2rem}
.ms-pg .actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}
.ms-pg .endcta .actions{justify-content:center}
/* Hero graphic sits full-bleed inside the frame. */
.ms-pg .hero-img{display:block;width:100%;height:auto;margin:0}
.ms-pg .hero-fig{margin:0;padding:0}
@media(max-width:700px){.ms-pg .facts{grid-template-columns:1fr 1fr;gap:1.25rem}}
/* Page head: plain text H1 on light, with the navy hero graphic directly beneath.
   Mirrors the coaching-article pattern and avoids two navy blocks repeating the same line. */
.ms-pg .pg-head{background:var(--white);padding:calc(var(--section)*.62) 0 calc(var(--section)*.42)}
.ms-pg .pg-head .label{color:var(--gold)}
.ms-pg .pg-head h1{color:var(--navy)}
.ms-pg .pg-head .lede{font-size:1.14rem;color:var(--muted);max-width:62ch;margin-bottom:0}

/* Service-page components: TOC, comparison table, signal list, figures. */
.ms-pg .toc{background:var(--light);border:1px solid var(--border);border-radius:4px;padding:1.4rem 1.75rem;margin:0 0 2.5rem;max-width:var(--measure)}
.ms-pg .toc-label{font-size:.7rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);display:block;margin-bottom:.7rem}
.ms-pg .toc ol{margin:0;padding-left:1.15rem}
.ms-pg .toc li{margin:.3rem 0;font-size:.97rem}
.ms-pg .toc a{color:var(--navy);text-decoration:none;border-bottom:1px solid transparent}
.ms-pg .toc a:hover{border-bottom-color:var(--gold)}
.ms-pg .tbl-wrap{overflow-x:auto;margin:0 0 1.6rem;max-width:1400px}
.ms-pg .ms-table{width:100%;border-collapse:collapse;font-size:.93rem;min-width:760px}
.ms-pg .ms-table th{background:var(--navy);color:#fff;text-align:left;padding:.85rem 1rem;font-weight:700;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.ms-pg .ms-table td{padding:.85rem 1rem;border-bottom:1px solid var(--border);vertical-align:top;color:#333}
.ms-pg .ms-table tbody tr:nth-child(odd){background:var(--light)}
.ms-pg .ms-table tbody tr:first-child td{background:#FBF3E2}
.ms-pg .signals{counter-reset:sig;list-style:none;padding:0;margin:0 0 1.4rem;max-width:var(--measure)}
.ms-pg .signals li{counter-increment:sig;position:relative;padding:.7rem 0 .7rem 3rem;border-top:1px solid var(--border)}
.ms-pg .signals li:last-child{border-bottom:1px solid var(--border)}
.ms-pg .signals li:before{content:counter(sig);position:absolute;left:0;top:.72rem;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--gold);color:#fff;font-weight:700;font-size:.88rem;display:flex;align-items:center;justify-content:center}
.ms-pg figure.ms-fig{margin:2rem 0;padding:0;max-width:1400px}
.ms-pg figure.ms-fig img{display:block;width:100%;height:auto;border:1px solid var(--border);border-radius:3px}
.ms-pg figure.ms-fig figcaption{font-size:.85rem;color:var(--muted);margin-top:.6rem}
.ms-pg .note{font-size:.9rem;color:var(--muted);border-top:1px solid var(--border);padding-top:1.1rem;margin-top:2rem}

/* Wide media sits as a sibling of the .narrow prose blocks, directly inside .container,
   so it fills the frame without any viewport math. Prose keeps its reading measure. */
.ms-pg .container > figure.ms-fig,
.ms-pg .container > .tbl-wrap{max-width:1400px;width:100%}
