@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500;600&display=swap');   /* figures face: rates, references, amounts */
/* MS Pay UI components — one source of truth for buttons, switches, rolling numbers, beam.
   Rules: primary action = .btn.btn-primary (solid ink). Secondary = .btn-link.
   Small variant = .btn-sm. On dark surfaces add .on-dark. Nothing else styles a button. */

:root{
  --ui-ink:#191C1F; --ui-ink-hover:#33383E; --ui-grey:#5A6068; --ui-line:#EEF0F2;
  --ui-ease:cubic-bezier(.2,.8,.2,1);
}

/* ---------- Buttons ---------- */
.btn{
  box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border:0; cursor:pointer; font:inherit; font-weight:600; white-space:nowrap; text-decoration:none;
  user-select:none; -webkit-user-select:none; -webkit-tap-highlight-color:transparent;
  padding:16px 30px; border-radius:100px; font-size:16px; line-height:1.2;
}
.btn.btn-sm{ padding:11px 22px; font-size:14px }

/* Primary: solid ink. One flat colour and a quiet shadow, nothing that shines (team review: a gradient reads as disabled). */
.btn-primary{
  position:relative; color:#FFFFFF; background:#191C1F;
  box-shadow:0 1px 2px rgba(25,28,31,.12), 0 8px 20px -10px rgba(25,28,31,.45);
  transition: transform .28s var(--ui-ease), box-shadow .28s ease, background-color .2s ease;
}
.btn-primary:hover{ color:#FFFFFF; background:#33383E; transform:translateY(-1px); box-shadow:0 2px 4px rgba(25,28,31,.12), 0 12px 26px -12px rgba(25,28,31,.5) }
.btn-primary:active{ transform:scale(.97); transition-duration:.08s }
.btn-primary:focus-visible{ outline:2px solid #191C1F; outline-offset:3px }

/* Primary on a dark surface: solid white, ink text */
.btn-primary.on-dark{ color:#191C1F; background:#FFFFFF; box-shadow:0 1px 2px rgba(0,0,0,.2), 0 10px 24px -12px rgba(0,0,0,.6) }
.btn-primary.on-dark:hover{ color:#191C1F; background:#E6E8EB }
.btn-primary.on-dark:focus-visible{ outline-color:#FFFFFF }

/* Secondary: text link with a quiet underline that darkens on hover */
.btn-link{
  display:inline-flex; align-items:center; gap:8px; padding:16px 10px; font:inherit; font-size:16px; font-weight:600; white-space:nowrap;
  color:#191C1F; text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1.5px; text-decoration-color:#676D76;
  transition:text-decoration-color .2s ease; background:none; border:0; cursor:pointer;
}
.btn-link:hover{ color:#191C1F; text-decoration-color:#191C1F }
.btn-link.on-dark{ color:#FFFFFF; text-decoration-color:rgba(255,255,255,.45) }
.btn-link.on-dark:hover{ color:#FFFFFF; text-decoration-color:#FFFFFF }

/* ---------- Sliding switch (segmented control) ---------- */
.seg{ position:relative; display:inline-flex; gap:2px; padding:4px; border-radius:100px; background:rgba(25,28,31,.06) }
.seg > button{ position:relative; z-index:1; border:0; background:transparent; font:inherit; font-weight:600; font-size:14px;
  padding:7px 14px; border-radius:100px; color:#5A6068; cursor:pointer; transition:color .25s ease; white-space:nowrap }
.seg > button[aria-selected="true"]{ color:#191C1F }
.seg > .seg-thumb{ position:absolute; top:4px; bottom:4px; left:4px; width:0; border-radius:100px; background:#FFFFFF;
  box-shadow:0 1px 2px rgba(25,28,31,.10), 0 6px 16px -8px rgba(25,28,31,.30), inset 0 1px 0 rgba(255,255,255,.9);
  transition:left .32s var(--ui-ease), width .32s var(--ui-ease) }

/* ---------- Rolling numbers (odometer) ---------- */
.odo{ direction:ltr; unicode-bidi:isolate; display:inline-flex; font-variant-numeric:tabular-nums; line-height:1; vertical-align:baseline }
.odo > .odo-d{ position:relative; height:1em; overflow:hidden; width:.6em }
.odo > .odo-d > i{ display:block; font-style:normal; height:1em; transition:transform .8s var(--ui-ease) }
.odo > .odo-s{ width:auto }           /* separators: , . space */
.odo > .odo-s > i{ transform:none !important }

/* ---------- Border beam (one card per screen) ---------- */
@property --ui-beam { syntax:'<angle>'; inherits:false; initial-value:0deg }
.beam{ position:relative; isolation:isolate }
.beam::after{ content:""; position:absolute; inset:-1px; border-radius:inherit; padding:1.5px; pointer-events:none; z-index:2;
  background:conic-gradient(from var(--ui-beam), transparent 0 78%, rgba(255,255,255,.55) 90%, #FFFFFF 96%, transparent 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
  animation:ui-beam 6s linear infinite }
.beam.beam-light::after{ background:conic-gradient(from var(--ui-beam), transparent 0 78%, rgba(25,28,31,.5) 90%, #FFFFFF 96%, transparent 100%) }
@keyframes ui-beam{ to{ --ui-beam:360deg } }
.beam.beam-alt::after{ animation-delay:-3s }   /* paired cards: never lit at the same moment */

/* Switch fills its card on phones: equal columns, thumb follows the active option */
.seg.seg-fill{ display:grid; grid-auto-flow:column; grid-auto-columns:1fr; width:100% }
.seg.seg-fill > button{ text-align:center; padding-left:6px; padding-right:6px }
@media (max-width:767px){ .seg{ display:grid; grid-auto-flow:column; grid-auto-columns:1fr; width:100% } .seg > button{ text-align:center; padding:9px 6px } }

/* ---------- Header capsule (every page) ---------- */
/* Flat capsule: one solid tone and a hairline, no shine (team review: the specular made the logo hard to read). Paper by default; a page adds .ink to the nav over a dark hero. */
nav[data-nav]{background:transparent !important;border-bottom-color:transparent !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;padding:10px 12px 0}
nav[data-nav] > div:first-of-type{position:relative;isolation:isolate;border-radius:100px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  box-shadow:inset 0 0 0 1px rgba(25,28,31,.07),0 10px 28px -18px rgba(25,28,31,.35);
  transition:background .3s ease,box-shadow .3s ease}
html:not(.menu-open) nav.ink > div:first-of-type{
  background:rgba(17,19,22,.80);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.09),0 14px 32px -16px rgba(0,0,0,.7)}
html.menu-open nav[data-nav] > div:first-of-type{background:#fff;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  nav[data-nav] > div:first-of-type{background:rgba(255,255,255,.96)}
  html:not(.menu-open) nav.ink > div:first-of-type{background:rgba(14,16,19,.9)}
}
/* nav over the ink: same markup, inverted */
nav[data-nav]{transition:background-color .35s ease,border-color .35s ease}
html:not(.menu-open) nav.ink{background:transparent !important;border-bottom-color:transparent !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
html:not(.menu-open) nav.ink a:not(.btn){color:rgba(255,255,255,.7) !important}
html:not(.menu-open) nav.ink a[href="/"]:not(.btn),html:not(.menu-open) nav.ink a[href*="app.ms-pay"]{color:#fff !important}
html:not(.menu-open) nav.ink img{filter:invert(1) brightness(2)}
html:not(.menu-open) nav.ink .brand{color:#FFFFFF}
html:not(.menu-open) nav.ink .lang-btn,html:not(.menu-open) nav.ink .nav-menu-btn{color:#fff;background:rgba(255,255,255,.10)}
@media (max-width:767px){
  nav[data-nav]{padding:8px 10px 0}
  nav[data-nav] > div:first-of-type{padding:7px 7px 7px 18px !important;min-height:54px !important}
  nav[data-nav] > div:first-of-type > a:first-child img{height:24px !important}
  .nav-menu-btn{width:40px;height:40px}
}

@media (prefers-reduced-motion: reduce){
  .btn-primary, .btn-link, .seg > .seg-thumb, .odo > .odo-d > i{ transition:none !important }
  .beam::after{ animation:none !important }
}

/* dark surfaces: label grey lifts to keep 4.5:1 on ink */
[data-dark] [style*="color:#676D76"]{color:#A3A9B1 !important}

/* ── Page header: every subpage opens on the same ink as the home hero, with the planet's limb at its edge ── */
header[data-screen-label$="hero"],
section[data-screen-label$="hero dark"] > div{
  position:relative;isolation:isolate;overflow:hidden;color:#FFFFFF;border-radius:32px;
  background:
    radial-gradient(130% 150% at 80% 190%, rgba(244,239,230,0) 57%, rgba(244,239,230,.34) 57.5%, rgba(244,239,230,.06) 59.5%, rgba(244,239,230,0) 67%),
    radial-gradient(70% 80% at 14% -10%, rgba(244,239,230,.10) 0%, rgba(244,239,230,0) 60%),
    linear-gradient(180deg,#0B0D10 0%,#15181C 100%) !important;
}
header[data-screen-label$="hero"]{width:calc(100% - 80px) !important;max-width:1280px !important;box-sizing:border-box;margin:16px auto 72px !important;padding:104px 48px 88px !important;gap:22px !important}
section[data-screen-label$="hero dark"]{padding:16px 40px 72px !important}
section[data-screen-label$="hero dark"] > div{padding:104px 48px 88px !important}
section[data-screen-label$="hero dark"] shader-gradient,
section[data-screen-label$="hero dark"] > div > div[style*="radial-gradient"]{display:none !important}
header[data-screen-label$="hero"] > span:first-of-type,
section[data-screen-label$="hero dark"] > div > div > span:first-of-type{background:none !important;padding:0 !important;border-radius:0 !important;font-size:12px !important;font-weight:600 !important;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.58) !important}
header[data-screen-label$="hero"] h1,
section[data-screen-label$="hero dark"] h1{color:#FFFFFF !important;font-weight:600 !important;font-size:clamp(40px,5vw,64px) !important;letter-spacing:-.045em !important;line-height:1.02 !important}
header[data-screen-label$="hero"] > p,
section[data-screen-label$="hero dark"] p{color:rgba(255,255,255,.66) !important}
header[data-screen-label$="hero"] > p + p{color:rgba(255,255,255,.5) !important}
@media (max-width:767px){
  header[data-screen-label$="hero"]{width:calc(100% - 32px) !important;margin:8px auto 48px !important;padding:64px 22px 52px !important;border-radius:24px}
  section[data-screen-label$="hero dark"]{padding:8px 16px 48px !important}
  section[data-screen-label$="hero dark"] > div{padding:64px 22px 52px !important;border-radius:24px}
  header[data-screen-label$="hero"] h1,
  section[data-screen-label$="hero dark"] h1{font-size:clamp(34px,9.5vw,44px) !important}
  header[data-screen-label$="hero"] > p,
  section[data-screen-label$="hero dark"] p{font-size:16px !important}
}
@media (max-width:1023px){
  /* one phone CTA site-wide: the sticky bar carries Apply, so the header capsule does not repeat it */
  html.has-mcta nav[data-nav] > div:first-of-type > div:nth-child(3) > a.btn{display:none !important}
  html.has-mcta body{padding-bottom:76px}
}
@media (max-width:767px){ footer > div[style]{padding-left:24px !important;padding-right:24px !important} }

/* ── Ink tiles, one material: every dark tile (page headers, closing CTAs, the rails block) carries the brand globe, faint, behind its words — the same globe as the home hero and CTA. ui.js adds the layer. ── */
.ink-globe{background:#191C1F !important}
.ink-globe > .ink-globe-layer{position:absolute;inset:0;z-index:-1;opacity:.6;pointer-events:none}
.ink-globe > .ink-globe-wash{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 62% 60% at 50% 48%,rgba(20,22,25,.82),rgba(20,22,25,.45) 62%,rgba(20,22,25,0) 90%)}
.ink-globe > div[style*="radial-gradient"]:not(.ink-globe-wash){display:none !important}
div[style*="background:#191C1F;border-radius:32px"] > [data-globe]{opacity:.6 !important}   /* the home CTA's own globe, at the same strength */

/* ── Wordmark: the mark plus "MS Pay" set upright in the site face, flat and in one colour (team review: test upright, not italic). ── */
.brand{display:inline-flex;align-items:center;gap:9px;color:#191C1F;line-height:1;text-decoration:none}
.brand svg{height:17px;width:auto;display:block;flex:none}
.brand .brand-word{font-family:'Switzer',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-weight:700;font-size:21px;letter-spacing:-.03em;font-style:normal;white-space:nowrap}
footer .brand svg{height:16px} footer .brand .brand-word{font-size:20px}
@media (max-width:767px){ nav .brand svg{height:16px} nav .brand .brand-word{font-size:20px} }

/* ════════ System v2 (prototype) — one hand across every page ════════
   Text: ink · body · muted. Headings: one weight. Corners: pill · 8 · 12 · 20 · 32 (28 only for the demo panel, nested 8 inside).
   Phone gutter: 16 px for every section. */
:root{ --sys-ink:#191C1F; --sys-body:#5A6068; --sys-muted:#676D76; --sys-gutter:16px }
[style*="color:#3A3F45"],[style*="color: #3A3F45"]{color:var(--sys-body) !important}
[style*="color:#8A9099"],[style*="color: #8A9099"]{color:var(--sys-muted) !important}
h1,h2,h3{font-weight:600 !important}
[style*="border-radius:24px"],[style*="border-radius:22px"],[style*="border-radius:18px"]{border-radius:20px !important}
[style*="border-radius:16px"],[style*="border-radius:10px"]{border-radius:12px !important}
@media (max-width:767px){
  section[data-screen-label]:not(.hero),header[data-screen-label].hero-copy,.flow-sec{padding-left:var(--sys-gutter) !important;padding-right:var(--sys-gutter) !important}
  section[data-screen-label] section[data-screen-label]{padding-left:0 !important;padding-right:0 !important}
  header[data-screen-label$="hero"]{width:calc(100% - 2 * var(--sys-gutter)) !important}
  section[data-screen-label$="hero dark"]{padding-left:var(--sys-gutter) !important;padding-right:var(--sys-gutter) !important}
  /* tap targets: 44 px on phone; footer link rows 36 px */
  footer a{display:inline-flex;align-items:center;min-height:36px}
  .lang-btn,.nav-menu-btn{min-height:44px;min-width:44px}
}

/* "Try it" is an action: an ink text link with an arrow, not a beige tag */
.try{color:#191C1F !important;background:none !important;padding:10px 0 !important;border-radius:0 !important;font-size:15px !important;gap:8px;min-height:44px}
.try::after{content:"→";transition:transform .2s var(--ui-ease)}
.try:hover{background:none !important;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1.5px}
.try:hover::after{transform:translateX(3px)}

/* The phone Apply bar never shows on a wide screen, on any page */
@media (min-width:1024px){ .mobile-cta{display:none !important} }

/* Footer: one regulatory block, set in two columns; the duplicate regulator strip goes */
footer [style*="justify-content:center;padding:20px 0;border-top:1px solid #EEF0F2"]{display:none !important}
footer div:has(> [data-i18n="footer.reg.jersey"]){display:grid !important;grid-template-columns:1fr 1fr;gap:10px 48px !important;padding-top:28px !important;color:var(--sys-muted)}
footer div:has(> [data-i18n="footer.reg.jersey"]) > [data-i18n^="footer.reg."]{grid-column:1 / -1;max-width:1040px}
footer div:has(> [data-i18n="footer.reg.jersey"])::before{content:"Regulatory information";grid-column:1 / -1;order:-1;font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--sys-ink);margin-bottom:4px}
footer [data-i18n="footer.copyright"]{grid-column:1}
footer [data-i18n="footer.copyright"],footer [data-i18n="footer.office"]{order:99;padding-top:14px;border-top:1px solid #EEF0F2;color:var(--sys-muted)}
footer [data-i18n="footer.office"]{text-align:right;margin-left:-48px;padding-left:48px}
@media (max-width:767px){
  footer div:has(> [data-i18n="footer.reg.jersey"]){grid-template-columns:1fr;gap:10px !important}
  footer [data-i18n="footer.office"]{text-align:left;border-top:0;padding-top:0;margin-left:0;padding-left:0}
}

/* Legal pages: contents list */
.legal-body{position:relative}
.legal-toc{display:none}
.legal-jump{display:block;width:100%;margin:0 0 24px;padding:12px 14px;border-radius:12px;border:1px solid #E3E6E9;background:#FFFFFF;font:inherit;font-size:15px;color:#191C1F;min-height:44px}
.legal-body h2{scroll-margin-top:96px}
@media (min-width:1180px){
  .legal-body{max-width:1080px !important;display:grid !important;grid-template-columns:240px minmax(0,1fr);column-gap:56px;align-items:start}
  .legal-body > *{grid-column:2}
  .legal-toc{display:flex;flex-direction:column;gap:2px;grid-column:1;grid-row:1 / span 999;position:sticky;top:100px;max-height:calc(100vh - 120px);overflow:auto;font-size:13px}
  .legal-toc-t{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#191C1F;margin-bottom:8px}
  .legal-toc a{color:#676D76;padding:5px 0 5px 12px;border-left:2px solid #EEF0F2;text-decoration:none;line-height:1.35}
  .legal-toc a:hover{color:#191C1F}
  .legal-toc a.on{color:#191C1F;border-left-color:#191C1F}
  .legal-jump{display:none}
}

/* Licences: one card per entity — status first, then supervisor and reference, then the full legal line */
.lic-updated{margin:0 0 20px;font-size:14px;font-weight:600;color:var(--sys-muted)}
.lic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lic-card{background:#F7F8FA;border-radius:20px;padding:24px 26px;display:flex;flex-direction:column;gap:16px}
.lic-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.lic-top h2{margin:0;font-size:20px;letter-spacing:-.02em;color:var(--sys-ink)}
.lic-st{font-size:12px;font-weight:600;border-radius:100px;padding:5px 12px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.lic-st::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.lic-st.on{color:#0A7A3F;background:#E7F4EC}
.lic-st.off{color:#5A6068;background:#ECEEF1}
.lic-meta{margin:0;display:grid;grid-template-columns:auto 1fr;gap:6px 18px;font-size:14px}
.lic-meta > div{display:contents}
.lic-meta dt{color:var(--sys-muted)}
.lic-meta dd{margin:0;color:var(--sys-ink);font-weight:600}
.lic-legal{margin:0;padding-top:14px;border-top:1px solid #E6E8EB;font-size:13px;line-height:1.6;color:var(--sys-muted)}
@media (max-width:767px){ .lic-grid{grid-template-columns:1fr} .lic-card{padding:20px} }

/* Updates: the newest item leads the timeline itself (no separate duplicate card) */
section[data-screen-label="Featured"]{display:none !important}
[data-if="v1"] > div{background:#191C1F !important;color:#FFFFFF}
[data-if="v1"] > div h4{color:#FFFFFF !important}
[data-if="v1"] > div > div:first-child > span[style*="color:#676D76"]{color:#A3A9B1 !important}
[data-if="v1"] > div p,[data-if="v1"] > div [style*="color:#5A6068"]{color:#C6CBD2 !important}
[data-if="v1"] > div > div:first-child::after{content:"Latest";order:-1;font-size:12px;font-weight:600;color:#191C1F;background:#FFFFFF;border-radius:100px;padding:4px 12px}

/* FAQ: five topics, jump chips; topic label beside its questions on desktop */
.faq{display:flex;flex-direction:column;gap:56px}
.faq-jump{display:flex;flex-wrap:wrap;gap:8px}
.faq-jump a{font-size:14px;font-weight:600;color:#191C1F;background:#F4F5F7;border-radius:100px;padding:10px 16px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none}
.faq-jump a:hover{background:#E9EBEE}
.faq-group{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px 48px;scroll-margin-top:100px}
.faq-group h2{margin:0;font-size:20px;letter-spacing:-.02em;color:var(--sys-ink);position:sticky;top:100px;align-self:start}
.faq-list{display:flex;flex-direction:column;gap:10px}
/* one accordion component for FAQ and Careers */
.faq details{background:#F7F8FA;border-radius:20px !important}
.faq details summary span{transition:transform .25s var(--ui-ease)}
.faq details[open] summary span{transform:rotate(45deg)}
@media (max-width:767px){ .faq{gap:40px} .faq-group{grid-template-columns:1fr;gap:14px} .faq-group h2{position:static} }

/* Figures face: every rate, reference and registration number is set in one precise mono */
:root{--sys-mono:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,monospace}
.num,[data-cv-rate],.lic-meta dd.num,[data-trk-ref]{font-family:var(--sys-mono) !important;font-feature-settings:"tnum" 1;letter-spacing:-.01em}
.eyebrow-l{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--sys-muted)}

/* Page tiles: one signature line under the lede, specific to each page */
.tile-sig{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:4px}
.tile-sig > *{font-size:13px;font-weight:600;color:#E6E8EB;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);border-radius:100px;padding:7px 14px;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.tile-sig a:hover{background:rgba(255,255,255,.14)}
.tile-sig .dot{width:6px;height:6px;border-radius:50%;background:#3DDC84}
.tile-sig .dot.off{background:#8A9099}

/* Pricing */
.pr-quote{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.pr-copy{display:flex;flex-direction:column;gap:16px}
.pr-copy h2,.pr-head h2{margin:0;font-size:40px;line-height:1.08;letter-spacing:-.035em;color:var(--sys-ink);text-wrap:balance}
.pr-copy p{margin:0;font-size:16px;line-height:1.7;color:var(--sys-body);max-width:46ch}
.pr-points{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:14px}
.pr-points li{display:grid;grid-template-columns:72px 1fr;gap:12px;font-size:15px;line-height:1.55;color:var(--sys-body);padding-top:14px;border-top:1px solid #EEF0F2}
.pr-points b{color:var(--sys-ink);font-weight:600}
.pr-card{background:#FFFFFF;border-radius:20px;padding:22px;box-shadow:0 1px 2px rgba(25,28,31,.06),0 24px 48px -28px rgba(25,28,31,.35),inset 0 0 0 1px #EEF0F2;display:flex;flex-direction:column;gap:10px}
.pr-row{display:flex;flex-direction:column;gap:6px;background:#F7F8FA;border-radius:12px;padding:12px 14px}
.pr-row label{font-size:12px;font-weight:600;color:var(--sys-muted)}
.pr-in{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pr-in input,.pr-in output{font:inherit;font-family:var(--sys-mono);font-size:24px;font-weight:500;letter-spacing:-.02em;color:var(--sys-ink);border:0;background:transparent;padding:0;min-width:0;width:100%;outline:none}
.pr-in select{font:inherit;font-size:15px;font-weight:600;color:var(--sys-ink);background:#FFFFFF;border:0;border-radius:100px;padding:8px 12px;box-shadow:inset 0 0 0 1px rgba(25,28,31,.12);min-height:40px}
.pr-lines{margin:4px 0 0;display:flex;flex-direction:column}
.pr-lines > div{display:flex;justify-content:space-between;gap:16px;padding:11px 2px;border-top:1px solid #EEF0F2;font-size:14px}
.pr-lines dt{color:var(--sys-muted)} .pr-lines dd{margin:0;color:var(--sys-ink);font-weight:600;text-align:right}
.pr-note{margin:0;font-size:12px;color:var(--sys-muted)}
.pr-head{display:flex;flex-direction:column;gap:12px;margin-bottom:32px}
.pr-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pr-grid > div{background:#F7F8FA;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:8px}
.pr-grid h3{margin:0;font-size:17px;letter-spacing:-.01em;color:var(--sys-ink)}
.pr-grid p{margin:0;font-size:15px;line-height:1.6;color:var(--sys-body)}
.pr-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;counter-reset:st}
.pr-steps li{counter-increment:st;display:flex;flex-direction:column;gap:8px;padding-top:18px;border-top:2px solid #191C1F;font-size:15px;line-height:1.6;color:var(--sys-body)}
.pr-steps li::before{content:"0" counter(st);font-family:var(--sys-mono);font-size:13px;color:var(--sys-muted)}
.pr-steps b{font-size:17px;color:var(--sys-ink);font-weight:600}
.pr-faq .faq-list details{background:#F7F8FA;border-radius:20px}
.pr-faq summary{cursor:pointer;list-style:none;padding:20px 24px;font-size:16px;font-weight:600;color:var(--sys-ink);display:flex;justify-content:space-between;gap:16px}
.pr-faq summary::-webkit-details-marker{display:none}
.pr-faq summary span{color:var(--sys-muted);font-weight:400;font-size:20px;transition:transform .25s var(--ui-ease)}
.pr-faq details[open] summary span{transform:rotate(45deg)}
.pr-faq details p{margin:0;padding:0 24px 22px;font-size:15px;line-height:1.7;color:var(--sys-body)}
.pr-faq{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px 48px} .pr-faq .pr-head{margin:0}
@media (max-width:1023px){ .pr-quote{grid-template-columns:1fr;gap:32px} .pr-grid{grid-template-columns:1fr 1fr} }
@media (max-width:767px){ .pr-copy h2,.pr-head h2{font-size:30px} .pr-grid,.pr-steps,.pr-faq{grid-template-columns:1fr} .pr-quote,.pr-inc,.pr-how,.pr-faq{padding-bottom:64px !important} .pr-in input,.pr-in output{font-size:20px} }

/* Home: "Building a platform?" is a band with its own action, not a stray line */
.jobs-foot{display:flex !important;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:40px !important;padding:20px 24px;border-radius:20px;background:#F7F8FA;font-size:15px !important}
.jobs-foot b{color:#191C1F;font-weight:600}
.jobs-foot a{text-decoration:none !important;display:inline-flex;align-items:center;gap:8px;min-height:44px}
.jobs-foot a::after{content:"→"}

/* Home: one payment, end to end — five steps light up in order as the section comes into view */
.journey-head{display:flex;flex-direction:column;gap:12px;max-width:760px;margin-bottom:40px}
.journey-head h2{margin:0;font-size:48px;line-height:1.06;letter-spacing:-.035em;color:#191C1F;text-wrap:balance}
.journey-head p{margin:0;font-size:16px;line-height:1.7;color:var(--sys-body);max-width:56ch}
.journey-track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;position:relative}
.journey-track li{position:relative;display:flex;flex-direction:column;gap:8px;padding:28px 18px 20px;border-radius:20px;background:#F7F8FA;font-size:14px;line-height:1.55;color:var(--sys-body);transition:background-color .5s ease,box-shadow .5s ease}
.journey-track li::before{content:"";position:absolute;top:14px;left:18px;right:18px;height:2px;border-radius:2px;background:#DDE0E4}
.journey-track li::after{content:"";position:absolute;top:14px;left:18px;height:2px;width:0;border-radius:2px;background:#191C1F;transition:width .6s var(--ui-ease)}
.journey-track li.on::after{width:calc(100% - 36px)}
.journey-track li.on{background:#FFFFFF;box-shadow:inset 0 0 0 1px #EEF0F2,0 16px 32px -24px rgba(25,28,31,.4)}
.j-k{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--sys-muted)}
.journey-track b{font-size:16px;color:#191C1F;font-weight:600;letter-spacing:-.01em}
.j-m{margin-top:auto;padding-top:10px;font-size:13px;color:#191C1F}
.j-link{margin-top:auto;padding-top:10px;font-size:14px;font-weight:600;color:#191C1F;text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.j-link::after{content:"→"}
.j-link:hover{text-decoration:underline;text-underline-offset:4px}
@media (max-width:1023px){ .journey-track{grid-template-columns:1fr 1fr} }
@media (max-width:767px){
  .journey-head h2{font-size:30px}
  .journey-track{grid-template-columns:1fr;gap:8px}
  .journey-track li{padding:18px 18px 16px 44px}
  .journey-track li::before{top:22px;bottom:-14px;left:22px;right:auto;width:2px;height:auto}
  .journey-track li::after{top:22px;left:22px;width:2px;height:0;transition:height .6s var(--ui-ease)}
  .journey-track li.on::after{width:2px;height:12px}
  .journey-track li:last-child::before{display:none}
}
@media (prefers-reduced-motion:reduce){ .journey-track li,.journey-track li::after{transition:none} }
/* Round 2 · phone density: FAQ and roles rows are one line of intent, not a card */
@media (max-width:767px){ .faq details summary{padding:16px 18px !important;font-size:15px !important} .faq details > div,.faq details > p{padding-left:18px !important;padding-right:18px !important} .faq-list{gap:8px} }
/* Round 2 · apply: outcome line on each card, and a "have these ready" list */
.acct-for{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--sys-muted)}
.need{max-width:1280px;margin:0 auto;padding:0 40px 112px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:48px}
.need-head{display:flex;flex-direction:column;gap:14px}
.need-head h2{margin:0;font-size:40px;line-height:1.08;letter-spacing:-.035em;color:var(--sys-ink)}
.need-head p{margin:0;font-size:16px;line-height:1.65;color:var(--sys-body);max-width:420px}
.need-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.need-col{background:#F7F8FA;border-radius:20px;padding:28px}
.need-col h3{margin:0 0 14px;font-size:16px;color:var(--sys-ink)}
.need-col ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.need-col li{position:relative;padding-left:26px;font-size:15px;line-height:1.5;color:var(--sys-body)}
.need-col li::before{content:"";position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--sys-ink);background:radial-gradient(circle,var(--sys-ink) 0 2.5px,transparent 3px)}
@media (max-width:1023px){ .need{grid-template-columns:1fr;gap:28px} }
@media (max-width:767px){ .need{padding:0 16px 72px} .need-head h2{font-size:30px} .need-cols{grid-template-columns:1fr} .need-col{padding:22px} }
/* Round 2 · phone tap targets: hero chip links get a 44px hit area without changing their look (rail tabs already have one in responsive.css) */
@media (max-width:767px){ .tile-sig a{position:relative} .tile-sig a::after{content:"";position:absolute;left:-2px;right:-2px;top:50%;height:44px;transform:translateY(-50%)} }
/* Round 3 · one type scale: page h1 64 · section h2 48 (phone 28–36 clamp, same as responsive.css) · card h3 20 */
.pr-copy h2,.pr-head h2,.roles-head h2,.need-head h2{font-size:48px;letter-spacing:-.035em}
.pr-grid h3,.need-col h3{font-size:20px;letter-spacing:-.02em}
@media (max-width:767px){ .pr-copy h2,.pr-head h2,.roles-head h2,.need-head h2{font-size:clamp(28px,8vw,36px)} .pr-grid h3,.need-col h3{font-size:18px} }
/* Round 3 · demo on phone: the rate is the one figure a user checks — never truncate it */
@media (max-width:767px){
  [data-routing] .quote > div:has(> [data-cv-rate]){grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;gap:12px}
  [data-routing] [data-cv-rate]{font-size:13px !important;text-overflow:clip !important}
  [data-routing] .quote dd{white-space:normal !important}
}
@media (max-width:767px){ [data-routing] .cv-cur{box-sizing:border-box} [data-routing] .cv-row{padding:7px 8px 7px 12px} }
/* Round 3 · licences: send the reader to the public register, so the claim can be checked */
.lic-check{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:6px;min-height:40px;font-size:14px;font-weight:600;color:var(--sys-ink);text-decoration:none}
.lic-check::after{content:"↗";font-weight:500}
.lic-check:hover{text-decoration:underline;text-underline-offset:3px}
/* Round 4 · demo on phone: balances fold to the total, so every scene fits one screen; one tap shows them all */
.bal-toggle{display:none}
@media (max-width:767px){
  [data-routing] .panel-balances.bal-fold [data-hold]{display:none !important}
  [data-routing] .panel-balances > .bal-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center}
  .bal-toggle{display:inline-flex;align-items:center;gap:4px;position:relative;background:none;border:0;padding:0;font:600 12px/1 inherit;font-family:inherit;color:var(--sys-ink);cursor:pointer}
  .bal-toggle::before{content:"";position:absolute;inset:-14px -8px}
  .bal-toggle::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s var(--ui-ease)}
  .bal-toggle[aria-expanded="true"]::after{transform:translateY(1px) rotate(-135deg)}
}
[data-routing] .panel-balances > .bal-head{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;line-height:1}
/* Round 4 · contact: the side column carries the office and the law-enforcement route, and stays in view */
section[data-screen-label="Contact form"] > div:last-child{position:sticky;top:100px;align-self:start}
.c-office,.c-le{box-sizing:border-box;background:#F7F8FA;border-radius:20px;padding:28px;display:flex;align-items:flex-start;gap:16px;text-align:left;border:0;font:inherit;width:100%}
.c-le{cursor:pointer} .c-le:hover{background:#EFF1F4} .c-le:focus-visible{outline:2px solid var(--sys-ink);outline-offset:3px}
.c-ico{width:44px;height:44px;border-radius:12px;background:#FFFFFF;display:flex;align-items:center;justify-content:center;color:var(--sys-ink);box-shadow:0 1px 4px rgba(25,28,31,.08);flex-shrink:0}
.c-txt{display:flex;flex-direction:column;gap:3px}
.c-h{font-size:16px;font-weight:600;color:var(--sys-ink)}
.c-b{font-size:14px;line-height:1.55;color:var(--sys-body)}
@media (max-width:1023px){ section[data-screen-label="Contact form"] > div:last-child{position:static} }
@media (max-width:767px){ .c-office,.c-le{padding:20px} }
/* Round 5 · three widths only: text 760 · content 1080 · wide 1280 */
section[data-screen-label="Timeline"]{max-width:1080px !important}
/* Round 5 · on dark, two text tones: body rgba(255,255,255,.66) and muted #A3A9B1 */
.hero-sub{color:rgba(255,255,255,.66) !important}
.hero-copy .eyebrow{color:#A3A9B1 !important}
header[data-screen-label$="hero"] > p + p{color:#A3A9B1 !important}
/* Pop round 1 · one accent, one ease. The accent marks state and motion only: never buttons, nav, logo or backgrounds. */
:root{--accent:#19C37D;--ui-ease:cubic-bezier(.2,.7,.2,1);--ui-dur:250ms}
.btn-primary{transition:transform var(--ui-dur) var(--ui-ease),box-shadow var(--ui-dur) var(--ui-ease),background-color var(--ui-dur) var(--ui-ease)}
.btn-link{transition:text-decoration-color var(--ui-dur) var(--ui-ease)}
.seg > button{transition:color var(--ui-dur) var(--ui-ease)}
.seg > .seg-thumb{transition:left var(--ui-dur) var(--ui-ease),width var(--ui-dur) var(--ui-ease)}
nav[data-nav] > div:first-of-type{transition:background var(--ui-dur) var(--ui-ease),box-shadow var(--ui-dur) var(--ui-ease)}
.mobile-cta{transition:transform var(--ui-dur) var(--ui-ease)}
.try::after{color:var(--accent);transition:transform var(--ui-dur) var(--ui-ease)}
/* text links: the underline turns accent on hover */
.btn-link:hover,.btn-link.on-dark:hover,.try:hover,.jobs-foot a:hover,a.more:hover,.j-link:hover,.lic-check:hover,.send-page:hover,footer a:not(:has(.brand)):hover{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:5px}
/* focus rings */
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
*:focus-visible{outline-color:var(--accent) !important}
/* one section scale: h2 56 desktop / 40 phone */
h2[style*="font-size:48px"],h2[style*="font-size: 48px"],.jobs-head h2,.price h2,.journey-head h2,.pr-copy h2,.pr-head h2,.roles-head h2,.need-head h2{font-size:56px !important;letter-spacing:-.02em !important}
@media (max-width:767px){ #rails h2,h2[style*="font-size:48px"],h2[style*="font-size: 48px"],.jobs-head h2,.price h2,.journey-head h2,.pr-copy h2,.pr-head h2,.roles-head h2,.need-head h2{font-size:40px !important} }
/* Mobile pass (CAD 27.10.2026), phones only: a 60px capsule, a 15px wordmark, a 40px menu button with a 44px hit area; 44px footer links */
@media (max-width:640px){
  nav[data-nav] > div:first-of-type{height:60px;min-height:60px !important;padding:0 10px 0 18px !important;align-items:center;flex-wrap:nowrap !important}
  nav .brand .brand-word{font-size:15px}
  nav .brand svg{height:12px}
  .nav-menu-btn{position:relative;width:40px;height:40px;min-width:40px !important;min-height:40px !important}
  .nav-menu-btn::after{content:"";position:absolute;inset:-2px;border-radius:inherit}
  footer a{min-height:44px}
  footer p,footer a:not(:has(.brand)){font-size:15px !important}
}
/* Final Home spec: no text at opacity 0 — the phone menu sheet slides in, it does not fade from zero */
@keyframes sheetIn{from{transform:translateY(8px)}to{transform:none}}
/* Editorial branch · NAV PILL — THINNER GLASS (CAD 27.10.2026): every page. Light glass over light bands, dark glass over dark bands (nav.ink, set by the existing band detection).
   The 1px border is drawn as an inset ring so the pill keeps its height; logo, links and the Apply button stay solid. */
nav[data-nav] > div:first-of-type{
  background:rgba(255,255,255,.38) !important;
  -webkit-backdrop-filter:blur(10px) saturate(180%) !important;backdrop-filter:blur(10px) saturate(180%) !important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.10),inset 0 2px 0 rgba(255,255,255,.9) !important;
  color:#0B0B0D;transition:background-color var(--ui-dur) var(--ui-ease),color var(--ui-dur) var(--ui-ease) !important}
nav[data-nav] > div:first-of-type .brand,
nav[data-nav] > div:first-of-type a:not(.btn),
nav[data-nav] > div:first-of-type .lang-btn,
nav[data-nav] > div:first-of-type .nav-menu-btn{color:#0B0B0D !important;transition:color var(--ui-dur) var(--ui-ease)}
html:not(.menu-open) nav.ink > div:first-of-type{
  background:rgba(20,20,24,.28) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),inset 0 2px 0 rgba(255,255,255,.16),0 8px 24px rgba(0,0,0,.25) !important;color:#F4F4F6}
html:not(.menu-open) nav.ink > div:first-of-type .brand,
html:not(.menu-open) nav.ink > div:first-of-type a:not(.btn),
html:not(.menu-open) nav.ink > div:first-of-type .lang-btn,
html:not(.menu-open) nav.ink > div:first-of-type .nav-menu-btn{color:#F4F4F6 !important}
html:not(.menu-open) nav.ink > div:first-of-type .brand,html:not(.menu-open) nav.ink > div:first-of-type a:not(.btn),html:not(.menu-open) nav.ink > div:first-of-type .lang-btn{text-shadow:0 1px 2px rgba(0,0,0,.4)}   /* thin glass: bright content passing under the pill must not wash the text out */
html:not(.menu-open) nav.ink > div:first-of-type .nav-menu-btn svg,html:not(.menu-open) nav.ink > div:first-of-type .brand svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.4))}
html.menu-open nav[data-nav] > div:first-of-type{background:#FFFFFF !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
@media (max-width:767px){
  nav[data-nav] > div:first-of-type{-webkit-backdrop-filter:blur(8px) saturate(180%) !important;backdrop-filter:blur(8px) saturate(180%) !important}
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  nav[data-nav] > div:first-of-type{background:rgba(255,255,255,.96) !important}
  html:not(.menu-open) nav.ink > div:first-of-type{background:rgba(20,20,24,.92) !important}
}
@media (prefers-reduced-transparency:reduce){
  nav[data-nav] > div:first-of-type{-webkit-backdrop-filter:none !important;backdrop-filter:none !important;background:rgba(255,255,255,.96) !important}
  html:not(.menu-open) nav.ink > div:first-of-type{background:rgba(20,20,24,.92) !important}
}
