/* The inside pages that still carry their own body (the free tools, the role and problem pages, Help, Guide, Training):
   the shared header and footer around them, and their own CSS scoped to <main class="pg-old"> so it never reaches the menu.
   site.css's plain-element rules (section padding, h2 size) are undone inside, with the lowest weight, so each page keeps its look. */
.pg-old{display:block;position:relative;overflow-x:clip}
.pg-old :where(section){padding-block:0}
.pg-old :where(h2){font-size:revert;font-weight:revert;letter-spacing:normal}
.pg-old :where(h3){font-size:revert;font-weight:revert}
.pg-old :where(h1,h2,h3,h4){overflow-wrap:break-word}
/* the old header's links, as chips under the menu; the old footer's line, quiet, at the end */
.pg-old .pg-links{display:flex;flex-wrap:wrap;gap:8px;max-width:1180px;margin:0 auto;padding:14px 20px 4px}
.pg-old .pg-links a{display:inline-flex;align-items:center;min-height:44px;padding:6px 16px;border:1.5px solid #E2E7EE;border-radius:999px;background:#fff;color:#0F1B30;font:600 15px/1.2 var(--sans);text-decoration:none}
.pg-old .pg-links a:hover{border-color:var(--gold-hi)}
.pg-old .pg-foot{display:flex;flex-wrap:wrap;gap:6px 20px;align-items:center;justify-content:center;margin:0;padding:22px max(20px,calc(50% - 570px)) 30px;background:#FBF8F2;color:#4F5F72;font:500 14.5px/1.5 var(--sans);text-align:center;border-top:1px solid #E2E7EE}
.pg-old .pg-foot a{display:inline-flex;align-items:center;min-height:44px;color:#0F1B30;font-weight:650}
.pg-old .pg-foot .badge,.pg-old .pg-foot span{font-family:var(--sans);letter-spacing:normal;text-transform:none;font-size:14.5px}
.pg-old .pg-foot .badge{background:none;color:inherit;padding:0}
@media print{.pg-links,.pg-foot{display:none}}
/* a navy band that used to start under the old header gets its breathing room back */
.pg-old>.top{padding-top:clamp(28px,4vw,48px)}
/* Help, Guide and Training, the 12 Nov 2026 design (mockup site-help) */
.pg-old .hx-hero{background:var(--tint,#F5F7FA);padding:clamp(40px,6vw,72px) 20px clamp(36px,5vw,56px);text-align:center}
.pg-old .hx-in{max-width:780px;margin:0 auto}
.pg-old .hx-hero .kick{font:700 12.5px/1.2 var(--sans);letter-spacing:.11em;text-transform:uppercase;color:#A87A2C}
.pg-old .hx-hero h1{margin-top:12px;font:760 clamp(34px,5vw,56px)/1.06 var(--sans);letter-spacing:-.022em;color:#0F1B30}
.pg-old .hx-hero h1 em{font-style:normal;color:#C9973F}
.pg-old .hx-hero .sub{margin:14px auto 0;max-width:40em;color:#4F5F72;font:400 clamp(16px,1.6vw,18.5px)/1.5 var(--sans)}
.pg-old .hx-search{max-width:680px;margin:26px auto 0;position:relative}
.pg-old .hx-search input{width:100%;min-height:56px;padding:14px 18px 14px 48px;border:1.5px solid #D9DEE6;border-radius:14px;background:#fff;color:#0F1B30;font:400 16.5px/1.3 var(--sans);box-shadow:0 10px 30px -20px rgba(15,42,67,.35)}
.pg-old .hx-search input:focus-visible{outline:3px solid var(--focus-out,#0F1B30);outline-offset:2px;box-shadow:0 0 0 2px var(--focus-in,#fff)}
.pg-old .hx-search .si{position:absolute;left:17px;top:50%;transform:translateY(-50%);opacity:.55}
.pg-old .hx-roles{justify-content:center;margin-top:18px}
.pg-old .hx-roles .chip{min-height:44px;font-family:var(--sans)}
.pg-old .hx-band{background:#FBF8F2;margin:0 calc(50% - 50vw);padding:clamp(32px,5vw,56px) calc(50vw - 50%)}
.pg-old .hx-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;margin-bottom:18px}
.pg-old .hx-band h2,.pg-old .hx-two h2{font:730 clamp(24px,3vw,34px)/1.15 var(--sans);letter-spacing:-.015em;color:#0F1B30}
.pg-old .lnk{display:inline-flex;align-items:center;min-height:44px;color:#0F1B30;font:650 16px/1.2 var(--sans);text-decoration:underline;text-decoration-color:#D4A24C;text-underline-offset:4px;text-decoration-thickness:2px}
.pg-old .hx-prods{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pg-old .hx-p{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);gap:2px 12px;align-content:start;background:#fff;border:1px solid #E2E7EE;border-top:3px solid var(--c);border-radius:14px;padding:16px;text-decoration:none;color:#0F1B30;min-height:44px}
.pg-old .hx-p:hover{box-shadow:0 12px 26px -18px rgba(15,42,67,.45)}
.pg-old .hx-p i{grid-row:span 3;width:36px;height:36px;border-radius:10px;background:var(--c);color:#fff;display:grid;place-items:center;font:800 15px/1 var(--sans);font-style:normal}
.pg-old .hx-p b{font:650 17px/1.3 var(--sans)}
.pg-old .hx-p small{color:#4F5F72;font:400 14px/1.45 var(--sans)}
.pg-old .hx-p em{font:700 13.5px/1.4 var(--sans);font-style:normal;color:#A87A2C;margin-top:4px}
.pg-old .hx-two{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);padding:clamp(32px,5vw,56px) 0 10px}
.pg-old .hx-pop{list-style:none;margin:12px 0 0;padding:0}
.pg-old .hx-pop li{border-bottom:1px solid #E2E7EE}
.pg-old .hx-pop button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 4px;border:0;background:none;color:#0F1B30;font:600 16.5px/1.35 var(--sans);text-align:left;cursor:pointer}
.pg-old .hx-pop button:hover>span{text-decoration:underline;text-decoration-color:#D4A24C;text-underline-offset:4px}
.pg-old .hx-pop small{color:#4F5F72;font-weight:500;white-space:nowrap}
.pg-old .hx-les{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}
.pg-old .hx-les a{display:block;background:#fff;border:1px solid #E2E7EE;border-radius:12px;padding:14px;text-decoration:none;color:#0F1B30;min-height:44px}
.pg-old .hx-les a:hover{border-color:#D4A24C}
.pg-old .hx-les b{display:block;font:650 16.5px/1.3 var(--sans)}
.pg-old .hx-les small{display:block;margin-top:6px;color:#4F5F72;font:400 14px/1.4 var(--sans)}
.pg-old .hx-hand{margin-top:16px;background:#0F2A43;color:#EAF0F7;border-radius:16px;padding:22px 24px}
.pg-old .hx-hand h3{font:700 21px/1.25 var(--sans);color:#fff}
.pg-old .hx-hand p{margin-top:6px;color:#C9D4E2;font:400 16px/1.5 var(--sans)}
.pg-old .hx-hand .sl-btns{margin-top:16px}
.pg-old .hx-hand .btn{font-family:var(--sans);font-size:16px;padding:12px 22px;border-radius:12px}
.pg-old .hx-more{margin-top:12px}
@media (max-width:900px){.pg-old .hx-prods{grid-template-columns:repeat(2,minmax(0,1fr))}.pg-old .hx-two{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.pg-old .hx-prods{grid-template-columns:minmax(0,1fr)}.pg-old .hx-les{grid-template-columns:minmax(0,1fr)}}
.pg-old .hx-roles .chip{padding:6px 16px;border:1.5px solid #E2E7EE;background:#fff;color:#0F1B30;font-size:15px;font-weight:600}
.pg-old .hx-roles .chip[aria-pressed="true"]{background:#0F2A43;border-color:#0F2A43;color:#fff}
.pg-old .hx-hand .btn-gold{background:linear-gradient(135deg,#D4A24C,#C9973F);color:#0F2A43;border:0}
.pg-old .hx-hand .btn-ghostw{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.4)}
@media (max-width:640px){.pg-old a.btn,.pg-old button.btn,.pg-old .btn{min-height:44px}}
.pg-old .hx-roles a.chip{text-decoration:none;padding:6px 16px;border:1.5px solid #E2E7EE;background:#fff;color:#0F1B30;font:600 15px/1.2 var(--sans)}
.pg-old .hx-roles a.chip[aria-current="page"]{background:#0F2A43;border-color:#0F2A43;color:#fff}
/* the guide's and the training's side menu sit under the sticky site menu, not behind it */
.pg-old .wrap .side{top:72px;height:calc(100vh - 72px)}
@media (max-width:900px){.pg-old .wrap .side{top:auto;height:auto}}
/* phone widths: nothing wider than the screen */
@media (max-width:860px){.pg-old div.wrap{grid-template-columns:minmax(0,1fr)}.pg-old nav.side{min-width:0}}
.pg-old .pathpanel .ph{flex-wrap:wrap}
.pg-old .runbar{flex-wrap:wrap}
@media (max-width:420px){.pg-old .mgrid{grid-template-columns:minmax(0,1fr)!important}.pg-old .mod{min-width:0}}
.pg-old .pill{white-space:normal;max-width:100%}
.pg-old h3:has(>.pill){flex-wrap:wrap}.pg-old h3>.pill{min-width:0}
/* 44 px targets on a phone: the old pages' buttons, chips, boxes and lone links */
@media (max-width:640px){
  .pg-old a.btn,.pg-old button:not(.tile):not(.pcard),.pg-old select,.pg-old input:not([type=checkbox]):not([type=radio]):not([type=range]),.pg-old .see,.pg-old a.back,.pg-old .heromobile a,.pg-old .egs button{min-height:44px}
  .pg-old .see,.pg-old a.back,.pg-old .heromobile a.logo,.pg-old a.allfree,.pg-old .otherroles a{display:inline-flex;align-items:center;min-height:44px}
  .pg-old input[type=checkbox],.pg-old input[type=radio]{width:22px;height:22px}
}
/* Mobile system (Francis, 19 Nov 2026): the old pages follow the same phone rules as the rest of the site: one 44px button height with a one-line label,
   cards one column at 15px text (the tool cards were two across at 12.5px), a button's label keeps its own colour (grey words on the gold button read at 2:1). */
@media (max-width:640px){
  .pg-old .btn,.pg-old a.btn,.pg-old button.btn,.pg-old .cta,.pg-old .nav .cta{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;padding:0 16px;white-space:nowrap;line-height:1;font-size:clamp(14px,4.2vw,15.5px);max-width:100%}
  .pg-old .btn span,.pg-old .cta span{color:inherit;white-space:nowrap}
  .pg-old .nav .cta{height:40px;min-height:40px;padding:0 14px}
  .pg-old .grid{grid-template-columns:minmax(0,1fr)!important}
  .pg-old .card{padding:16px;border-radius:14px}
  .pg-old .card p{font-size:15px;line-height:1.5}
  .pg-old .card h3{font-size:18px}
  .pg-old .card .cta{align-self:stretch}
  .pg-old .eq,.pg-old .tag,.pg-old .trust{font-size:12px}
  .pg-old .wrap{padding-left:16px;padding-right:16px}
  .pg-old .hero{padding:24px 16px 4px}
  .pg-old .final{padding:32px 16px 40px;margin-top:32px}
  .pg-old .cbtns{flex-direction:column;align-items:stretch}
  .pg-old .cbtns .btn{width:100%}
}
@media (max-width:900px){.pg-old .cta,.pg-old a.cta{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;padding:0 16px;white-space:nowrap}}
/* a button's label keeps its own colour at every width (grey words on the gold button read at about 2:1) */
.pg-old .btn span,.pg-old .cta span{color:inherit}
