/* Round five (7 October 2026): the SME story. Layered after r4c.css.
   The hero is two columns: the headline and the scan. Then the two readers, the six situations, the rules band,
   the record and the closing call. Only transform and opacity move. */

/* ---------------------------------------------------------------- hero */
.m .hero-r5 { padding: 150px 0 88px; background: #001F47; }
.m .hero-r5 .hero-ground { bottom: 0; background:
  radial-gradient(900px 560px at 20% -10%, rgba(0, 108, 192, .45), rgba(0, 108, 192, 0) 70%),
  radial-gradient(700px 420px at 100% 80%, rgba(0, 108, 192, .22), rgba(0, 108, 192, 0) 70%); }
.m .hero-top5 { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, 520px); gap: 64px; align-items: center; }
.m .hero-r5 .h-display { max-width: 12ch; margin: 22px 0 0; font-size: 72px; line-height: .98; text-wrap: balance; }
.m .hero-r5 .lead { max-width: 34em; margin: 26px 0 0; font-size: 18px; text-wrap: pretty; }
.m .hero-r5 .actions { margin-top: 32px; gap: 26px; align-items: center; }
.m .hero-pill--static { cursor: default; }
.m .hero-pill--static:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); }

/* ---------------------------------------------------------------- the scan: one sentence with slots */
.m .scan { position: relative; padding: 28px 28px 24px; border-radius: 24px; background: #fff; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .5); box-shadow: 0 30px 80px rgba(0, 10, 30, .35); }
.m .scan-k { display: block; font: 500 12px/1 var(--f-mono); letter-spacing: .11em; text-transform: uppercase; color: var(--accent); }
.m .scan-h { margin: 10px 0 0; font: 500 26px/1.1 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }
.m .scan-note { margin: 10px 0 0; font-size: 13.5px; line-height: 1.45; color: #56657C; }
.m .scan-sent { margin: 18px 0 0; padding: 16px 18px; border-radius: 16px; background: #F4F7FB; font: 400 21px/1.55 var(--f-display); color: var(--ink); text-wrap: pretty; }
.m .slot { all: unset; box-sizing: border-box; cursor: pointer; display: inline; padding: 1px 2px 2px; margin: 0 1px; border-bottom: 2px dashed #8EB2E2; color: #56657C; font-style: italic; border-radius: 4px 4px 0 0;
  transition: background-color .15s, color .15s, border-color .15s; }
.m .slot.is-set { color: var(--brand); font-style: normal; font-weight: 500; border-bottom-style: solid; border-bottom-color: #BBD3F3; }
.m .slot.is-none { color: #56657C; font-weight: 400; }
.m .slot.is-on { background: #DCEBFB; border-bottom-color: var(--brand); color: var(--ink); }
.m .slot:hover { background: #E9F1FA; }
.m .slot:focus-visible { outline: 2px solid #001F47; outline-offset: 2px; }
.js-motion .slot.is-new { animation: slot-in .45s var(--ease) both; }
@keyframes slot-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.m .slot { display: inline-block; }
.m .scan-sofar { margin: 10px 0 0; min-height: 1.2em; font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; color: var(--brand); }
.m .scan-sofar:empty { display: none; }
.m .scan-line .slot { border-bottom-color: #BBD3F3; }
.m .scan-tray { margin-top: 16px; }
.m .scan-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.m .scan-step legend { padding: 0; margin-bottom: 12px; font: 600 15px/1.3 var(--f-body); color: var(--ink); }
.m .scan-n { color: #56657C; font-weight: 500; }
.m .scan-q:focus { outline: none; }
.m .scan-q:focus-visible { outline: 2px solid #001F47; outline-offset: 3px; border-radius: 4px; }
.m .scan-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.m .scan-opt { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid #D5DDE8; background: #fff; font: 500 14px/1.3 var(--f-body); color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.m .scan-opt:hover { border-color: #8EB2E2; }
.m .scan-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m .scan-opt:has(input:checked) { background: var(--brand); border-color: var(--brand); color: #fff; }
.m .scan-opt:has(input:focus-visible) { outline: 2px solid #001F47; outline-offset: 2px; }
.m .scan-sub { margin: 14px 0 0; padding: 0; border: 0; min-width: 0; }
.m .scan-sub legend { margin-bottom: 10px; font: 600 14px/1.3 var(--f-body); }
.m .scan-msg { min-height: 1.2em; margin: 10px 0 0; font-size: 14px; color: #7A2E26; }
.m .scan-msg:empty { display: none; }
.m .scan-acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.m .scan-acts .btn { height: 46px; padding: 0 22px; }
.m .scan-acts .btn-ghost { color: var(--ink); border-color: #D5DDE8; }
.m .scan-acts--end { justify-content: flex-start; flex-wrap: wrap; margin-top: 22px; }
.m .scan-out { padding-top: 6px; }
.js-motion .scan-out.is-in { animation: scan-in .5s var(--ease) both; }
@keyframes scan-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.m .scan-rh { margin: 0; font: 500 24px/1.15 var(--f-display); color: var(--ink); }
.m .scan-rh:focus { outline: none; }
.m .scan-rh:focus-visible { outline: 2px solid #001F47; outline-offset: 4px; border-radius: 4px; }
.m .scan-line { margin: 12px 0 0; padding: 14px 18px; border-radius: 16px; background: #F4F7FB; font: 400 18px/1.5 var(--f-display); color: var(--brand); }
.m .scan-h4 { margin: 22px 0 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.m .scan-lines, .m .scan-p { margin: 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.m .scan-lines li { padding: 9px 0; border-top: 1px solid var(--rule); }
.m .scan-lines li:first-child { border-top: 0; padding-top: 0; }
/* the timeline: thirty months from today, the likely rules placed on it */
.m .scan-tl { margin: 4px 0 14px; }
.m .tl-axis { position: relative; height: 118px; margin: 0 8px; }
.m .tl-axis::before { content: ''; position: absolute; left: 0; right: 0; top: 58px; height: 2px; background: #D5DDE8; border-radius: 1px; }
.m .tl-you { position: absolute; top: 52px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.m .tl-you i { width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px #DCEBFB; }
.m .tl-you b { font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.m .tl-year { position: absolute; top: 66px; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); color: #9AA5B5; }
.m .tl-year::before { content: ''; display: block; width: 1px; height: 8px; margin: 0 auto 4px; background: #D5DDE8; }
.m .tl-mark { position: absolute; bottom: 48px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--ink); }
.m .tl-mark b { order: -1; }
.m .tl-mark i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 11px/1 var(--f-mono); font-style: normal; box-shadow: 0 0 0 3px #fff; transition: transform .15s; }
.m .tl-mark:hover i { transform: scale(1.12); }
.m .tl-mark b { font: 600 12px/1.2 var(--f-body); color: var(--ink); white-space: nowrap; }
.m .tl-mark.tl-row1 { top: auto; bottom: 4px; }
.m .tl-mark.tl-row1 b { order: -1; }
.m .tl-row1 ~ .tl-you b, .m .tl-you b { position: relative; }
.m .r-n { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px; border-radius: 50%; background: var(--brand); color: #fff; font: 600 10.5px/1 var(--f-mono); font-style: normal; vertical-align: -3px; }
.m .tl-later { margin: 6px 8px 0; font: 500 12px/1.4 var(--f-mono); color: #56657C; }
/* the ladder: nine readiness levels, the reader's band and the next rung */
.m .scan-ld { margin: 22px 0 14px; }
.m .ld { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; margin: 0; padding: 0; list-style: none; align-items: end; height: 96px; }
.m .ld li { position: relative; display: grid; align-content: end; justify-items: center; height: calc(28px + var(--n) * 7px); border-radius: 6px 6px 2px 2px; background: #E4EDF8; font: 600 12px/1 var(--f-mono); color: #56657C; padding-bottom: 8px; }
.m .ld li.is-you { background: var(--brand); color: #fff; }
.m .ld li.is-next { background: #8EB2E2; color: #001F47; }
.m .ld li b { position: absolute; top: -18px; font: 600 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.m .ld li.is-next b { color: #56657C; }
.m .scan-rules { display: grid; gap: 8px; }
.m .scan-rule { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid #D5DDE8; background: #FBFBFD; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.m .scan-rule:hover { border-color: #003B7A; }
.m .scan-rule .r-ref { font: 500 12px/1.3 var(--f-mono); color: #56657C; }
.m .scan-rule-t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.m .scan-rule-t strong { font: 600 15px/1.3 var(--f-body); }
.m .scan-rule .tag { font-size: 11px; }
.m .scan-rule-q { flex-basis: 100%; font-size: 13.5px; line-height: 1.45; color: #56657C; }
.m .scan-start { padding: 16px 18px; border-radius: 14px; background: #EDF4FD; }
.m .scan-start strong { display: block; font: 600 16px/1.3 var(--f-body); color: var(--ink); }
.m .scan-start p { margin: 6px 0 10px; font-size: 15px; line-height: 1.5; color: var(--body); }
.m .scan-start .link-arrow { font-size: 14.5px; }
.m .scan-fine { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: #56657C; }
.m .scan-nojs { margin: 16px 0 0; font-size: 14.5px; }

/* ---------------------------------------------------------------- the two readers */
.m .kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.m .kind { padding: 32px 34px; border-radius: 24px; border: 1px solid var(--card-line); background: #fff; }
.m .kind-h { margin: 0 0 14px; font: 500 28px/1.12 var(--f-display); letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.m .kind p { margin: 0 0 18px; font-size: 16px; line-height: 1.55; }

/* ---------------------------------------------------------------- the situations */
.m .xp-link { grid-template-columns: minmax(0, 1fr) auto; }
.m .xp-trigger .xp-field { margin-top: auto; }
.m .xp-ctl { display: none; }

/* ---------------------------------------------------------------- the rules band */
.m .marquee a.mq-item { color: inherit; text-decoration: none; }
.m .marquee a.mq-item:hover b { text-decoration: underline; }

/* ---------------------------------------------------------------- the record */
.m .proof-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.m .ps { display: flex; flex-direction: column; padding: 28px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--card-line); }
.m .ps-k { display: block; margin-bottom: 12px; font: 500 24px/1.1 var(--f-display); letter-spacing: -0.01em; color: var(--brand); }
.m .ps p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; }
.m .ps .link-arrow { margin-top: auto; font-size: 14.5px; }

/* ---------------------------------------------------------------- the closing call */
.m .close-band .close-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.m .close-band .h-section { margin-bottom: 14px; }
.m .close-band .intro { max-width: 36em; margin: 0; }
.m .close-band .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.m .close-band .link-arrow { color: #fff; }

/* ---------------------------------------------------------------- how we help */
.m .svc-group + .svc-group { margin-top: 56px; }
.m .svc-group-head { padding: 0 0 18px; border-bottom: 1px solid var(--rule); }
.m .svc-group-head .h-sub { margin: 0 0 6px; }
.m .svc-group-head p { margin: 0; color: var(--muted); }
.m .sr-official { display: block; margin-top: 6px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.m .expect-steps { counter-reset: none; }
.m .expect-steps li strong { display: block; margin-bottom: 4px; }

/* ---------------------------------------------------------------- the regulation index */
.m .rules-nav { padding: 18px 0; }
.m .rules-nav .popular { margin: 0; }
.m .rules-topic { padding: 48px 0; }
.m .rules-topic .h-sub { margin-bottom: 18px; }
.m .rules-row .r-tags { display: flex; gap: 6px; margin-top: 8px; }
.m .rules-row .tag { font-size: 11px; }

/* ---------------------------------------------------------------- phones and tablets */
@media (max-width: 1100px) {
  .r2.m .hero-top5 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .r2.m .hero-r5 .h-display { font-size: 60px; max-width: 14ch; }
  .r2.m .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r2.m .close-band .close-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  .r2.m .kinds { grid-template-columns: minmax(0, 1fr); }
  .r2.m .hero-r5 { padding: 112px 0 56px; }
  .r2.m .hero-r5 .h-display { font-size: 44px; line-height: 1.02; }
  .r2.m .hero-r5 .lead { font-size: 17px; margin-top: 18px; }
  .r2.m .hero-r5 .lead-more { display: none; }
  .r2.m .hero-r5 .actions { margin-top: 22px; }
  .r2.m .scan { padding: 22px 18px 18px; }
  .r2.m .scan-h { font-size: 22px; }
}
@media (max-width: 600px) {
  .r2.m .proof-strip { grid-template-columns: minmax(0, 1fr); }
  .r2.m .scan-acts { flex-direction: column-reverse; }
  .r2.m .scan-acts .btn { width: 100%; }
}

/* fixes from the first render (7 Oct 2026) */
.m .scan .link-arrow { color: var(--brand); }
.m .svc-hero .h-page { overflow: visible; max-width: none; }
.m .svc-hero .h-page em { font-size: 1em; }

/* ---------------------------------------------------------------- the Offerings menu (8 Oct 2026) */
.m .nav-group { position: relative; display: inline-flex; align-items: center; }
.m .nav-parent { all: unset; box-sizing: border-box; cursor: pointer; white-space: nowrap; color: var(--nav-ink, #fff); padding: 8px 0;
  border-bottom: 2px solid transparent; font: 500 13px/1 var(--f-display); letter-spacing: .09em; text-transform: uppercase; }
.m .nav-parent::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.m .nav-parent:hover { border-bottom-color: rgba(255, 255, 255, .5); }
.m .nav-group.is-active .nav-parent { border-bottom-color: currentColor; }
.m .nav-parent:focus-visible { outline: 2px solid #8CC4F8; outline-offset: 2px; }
.m .nav-sub { display: none; position: absolute; left: 0; top: calc(100% + 10px); z-index: 70; list-style: none; margin: 0; padding: 6px; min-width: 220px;
  background: #fff; border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 10, 30, .25); border: 1px solid #E3E8EF; }
.m .nav-group.is-open .nav-sub { display: block; }
@media (hover: hover) and (min-width: 1101px) { .m .nav-group:hover .nav-sub { display: block; } }
.m .main-nav .nav-sub a { display: block; padding: 10px 12px; border: 0; border-radius: 9px; color: var(--ink); text-decoration: none; font: 500 14px/1.2 var(--f-body); letter-spacing: 0; text-transform: none; }
.m .main-nav .nav-sub a:hover { background: #EEF3F9; }
.m .main-nav .nav-sub a[aria-current] { background: #001F47; color: #fff; }
@media (max-width: 1100px) {
  .r2.m .nav-group { display: block; }
  .r2.m .nav-parent { display: block; width: 100%; text-align: left; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 20px; letter-spacing: .02em; text-transform: none; font-family: var(--f-body); }
  .r2.m .nav-parent::after { display: none; }
  .r2.m .nav-sub, .r2.m .nav-group.is-open .nav-sub { display: block; position: static; min-width: 0; padding: 0 0 0 18px; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .r2.m .main-nav .nav-sub a { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); border-radius: 0; color: #fff; font-size: 18px; }
  .r2.m .main-nav .nav-sub a:hover { background: none; }
  .r2.m .main-nav .nav-sub a[aria-current] { background: none; text-decoration: underline; text-underline-offset: 5px; }
}

/* ---------------------------------------------------------------- the two kinds of SMEs, with photographs */
.m .kinds-band .intro { color: #C9D6E6; }
.m .kind { padding: 0; overflow: hidden; display: flex; flex-direction: column; border: 0; background: #fff;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.m .kind:hover { transform: translateY(-5px); box-shadow: 0 28px 60px rgba(0, 5, 20, .35); }
.m .kind-img { aspect-ratio: 16 / 9; overflow: hidden; background: #0B1F3A; }
.m .kind-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.m .kind:hover .kind-img img { transform: scale(1.04); }
.m .kind-body { display: flex; flex-direction: column; flex: 1; padding: 26px 30px 30px; }
.m .kind-chip { align-self: flex-start; margin-bottom: 14px; padding: 6px 10px; border-radius: 99px; background: #EDF4FD; color: var(--brand); font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.m .kind .kind-h { color: var(--ink); }
.m .kind p { color: var(--body); }
.m .kind .link-arrow { margin-top: auto; color: var(--brand); }
@media (prefers-reduced-motion: reduce) { .m .kind, .m .kind-img img { transition: none; } .m .kind:hover { transform: none; } .m .kind:hover .kind-img img { transform: none; } }

/* ---------------------------------------------------------------- the Suite page hero with the carousel */
.m .suite-hero5 .h-display { font-size: 84px; }
.m .suite-hero5 .lead { max-width: 720px; }
.m .same-band .ps p { margin-bottom: 0; }
@media (max-width: 900px) { .r2.m .suite-hero5 .h-display { font-size: 44px; } }
/* the kind cards sit on the deep band, which lightens --ink and --body for its own text */
.m .band--deep .kind .kind-h { color: #15171D; }
.m .band--deep .kind p { color: #4A4436; }
.m .band--deep .kind .link-arrow { color: #003B7A; }

/* 8 Oct 2026, from the review of the render:
   the mask around each rising heading word (overflow hidden, bottom-aligned) clipped the italic's tails and dropped the
   serif word below the baseline. The mask is now a clip-path with room around the glyphs, and the words sit on the
   baseline again. The padding hack on the italic is no longer needed. */
.js-motion .mr .mw { overflow: visible; vertical-align: baseline; padding-bottom: 0; margin-bottom: 0; clip-path: inset(-.3em -.5em -.4em -.25em); }
.m .h-display em, .m .h-section em { padding: 0; margin: 0; letter-spacing: -0.015em; }
/* the Offerings menu: an invisible bridge over the gap between the button and the list, so the pointer can cross it */
@media (hover: hover) and (min-width: 1101px) {
  .m .nav-group::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
}

/* 8 Oct 2026, review of the Suite page:
   the sticky tool nav no longer scrolls sideways with its last name cut off: the pills stay, and only the tool in view
   shows its full name. The accordion loses the 30 px that hung under every question. */
.m .sn-row { justify-content: center; overflow: visible; flex-wrap: wrap; }
.m .suite-nav a:not(.is-on) .sn-name { display: none; }
.m .suite-nav a:not(.is-on) { padding-right: 6px; }
.m .qa .q { margin-bottom: 0; padding: 22px 0; }
.m .qa .qa-a { padding: 0 0 24px; }
.m .qa .qa-a > p { margin: 0; }

/* 8 Oct 2026: running text is justified (the user's call). Headings, buttons, labels, forms and the last line of each
   paragraph stay left; hyphenation keeps the word gaps even. */
.m p, .m .ts-points li, .m .expect li, .m .scan-lines li, .m .sr-for, .m .lc-line, .m .ed-answer, .m .qa-a p, .m dd {
  text-align: justify; text-align-last: left; hyphens: auto; -webkit-hyphens: auto; text-justify: inter-word; }
.m .hero-top4 .lead, .m .hero-top4 p, .m .sw-copy p, .m .form-msg, .m .scan-note, .m .scan-fine, .m .checked, .m .src, .m .cs-src,
.m .tl-card p, .m .tl-next-what, .m .popular, .m .byline, .m .f-base span, .m .intent span, .m .field label, .m .meter-key span { text-align: left; text-align-last: auto; }
.m .hero-top4 .lead, .m .hero-top4 p { text-align: center; }
