/* Loyal Primus layout contract. Load after page styles.
   Container dimensions describe the usable content area: gutters are outside it.
   Full-bleed media can span the viewport; copy, cards and navigation share edges. */
:root {
  --site-max: 1440px;
  --site-gutter: 40px;
  --site-section-space: 96px;
  --site-grid-gap: 24px;
  --site-card-padding: 32px;
  --site-reading-max: 760px;
  --content-max: var(--site-max);
  --wide-max: var(--site-max);
  --max: var(--site-max);
  --section-space: var(--site-section-space);
  --layout-gap: var(--site-grid-gap);
  --tile-padding: var(--site-card-padding);
}
@media (max-width: 1100px) { :root { --site-gutter: 32px; --site-section-space: 80px; } }
@media (max-width: 700px) { :root { --site-gutter: 20px; --site-section-space: 64px; --site-grid-gap: 16px; --site-card-padding: 24px; } }
@media screen {
  body[data-brand="loyal-primus"] :is(.container, .fsca-wrap, .legal-layout, .hub-layout, .legal-intro, .hub-intro) {
    box-sizing: border-box;
    width: calc(100% - 2 * var(--site-gutter));
    max-width: var(--site-max);
    margin-inline: auto;
    padding-inline: 0;
  }
  /* Menus are panels, so retain their interior space inside the shared boundary. */
  body[data-brand="loyal-primus"] .mega-menu.container { padding: 32px; }
  body[data-brand="loyal-primus"] .container .container { width: 100%; }
  .fsca-section, .contact-section, [data-page="company"] .report-section { padding-block: var(--site-section-space); }
  .fsca-statement { padding-block: var(--site-section-space); }
  .fsca-heading, .contact-heading, [data-page="company"] .report-heading { margin-bottom: 48px; }
  .checks-grid, .resource-grid, .support-grid, .enquiry-grid, .habit-grid { gap: var(--site-grid-gap); }
  .check-card, .resource-card, .enquiry-card { padding: var(--site-card-padding); }
  .fsca-faq, [data-page="contact"] .faq-list, [data-page="contact"] .answer-tools { max-width: none; }
  .fsca-faq details>div, [data-page="contact"] .faq-body { max-width: var(--site-reading-max); }
  .regulation-copy, .privacy-copy { padding-inline: 0; }
  .fund-copy { padding-left: 48px; }
  .fsca-support-copy { padding: 48px; }
  .fsca-source-note p { max-width: none; }
  .fsca-hero-copy { width: 54%; max-width: 720px; }
  .fsca-hero-copy h1 { font-size: clamp(48px,4.7vw,72px); text-wrap: initial; }
  .hero-scroll { left: max(var(--site-gutter),calc((100% - var(--site-max))/2)); }
  /* Keep legacy home/product splits fluid under the same outer container. */
  @media (min-width:1200px) {
    .split, .growth-layout, .currency-split, .pricing-pay { grid-template-columns: minmax(0, .92fr) minmax(0,1fr); gap: 6%; }
    .spend-layout { margin-left: max(var(--site-gutter),calc((100% - var(--site-max))/2)); grid-template-columns: minmax(0, calc(var(--site-max)*.45)) minmax(0,1fr); gap: 48px; }
  }
  /* Legal navigation uses the common shell; prose keeps its reading measure. */
  .legal-layout { grid-template-columns: 240px minmax(0,1fr); gap: 64px; }
  .hub-layout { grid-template-columns: 240px minmax(0,1fr); gap: 48px; }
  .legal-section :is(p,h2,h3), .legal-section .clause { max-width: var(--site-reading-max); }
  @media (max-width:1050px) {
    .legal-layout, .hub-layout { grid-template-columns: 200px minmax(0,1fr); gap: 32px; }
  }
  @media (max-width:760px) { .legal-layout { display:block; } }
  @media (max-width:700px) {
    .fsca-heading, .contact-heading, [data-page="company"] .report-heading { margin-bottom: 32px; }
    .fsca-hero-copy { width:100%; max-width:none; }
    .fsca-hero-copy h1 { font-size:clamp(32px,10vw,46px); }
    .fund-copy { padding:var(--site-card-padding) var(--site-card-padding) 0; }
    .fsca-support-copy { padding:32px var(--site-card-padding); }
    .regulation-card { padding:var(--site-card-padding); }
    .fsca-faq summary { padding-block:24px; }
    .spend-layout>.split-copy { padding-inline:var(--site-gutter); }
  }
  @media (max-width:640px) { .hub-layout { display:block; } }
}

/* Shared navigation geometry. Page and light-theme styles must only change
   colours, never the logo, menu placement, controls or responsive breakpoints. */
body[data-brand="loyal-primus"] .header{--nav-height:80px}
body[data-brand="loyal-primus"] .header .nav{
 height:var(--nav-height);display:grid;align-items:center;
 grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;
}
body[data-brand="loyal-primus"] .header .wordmark{
 display:inline-flex;align-items:center;justify-self:start;min-width:0;
 white-space:nowrap;letter-spacing:-1.2px;
}
body[data-brand="loyal-primus"] .header .brand-logo{display:block;width:212px;height:auto;max-width:100%;min-width:0}
body[data-brand="loyal-primus"] .header .nav-links{display:flex;align-items:center;justify-self:center;gap:4px}
body[data-brand="loyal-primus"] .header :is(.nav-home-link,.nav-trigger){
 display:block;font-size:16px;font-weight:400;line-height:1.2;letter-spacing:0;
 padding:12px;min-height:44px;white-space:nowrap;
}
body[data-brand="loyal-primus"] .header .nav-actions{
 display:flex;align-items:center;justify-self:end;margin:0;gap:10px;flex-shrink:0;
}
body[data-brand="loyal-primus"] .header .nav-actions .text-button{
 font-size:16px;font-weight:400;line-height:1.2;padding:12px 20px;white-space:nowrap;
}
body[data-brand="loyal-primus"] .header .nav-actions .button{
 display:inline-flex;min-height:44px;padding:12px 23px;margin:0;border:0;box-shadow:none;
 font-size:16px;font-weight:500;line-height:1.2;letter-spacing:0;border-radius:999px;
 background:#fff;color:#101011;
}
body[data-brand="loyal-primus"] .header .mobile-toggle{display:none}
body[data-brand="loyal-primus"] .header .nav-actions .button:hover{background:#ddd;color:#101011}
body[data-brand="loyal-primus"] .header :is(a,button,summary):focus-visible{outline:2px solid #aaa;outline-offset:4px}
body[data-brand="loyal-primus"] .header .nav-menu-group h3{font-size:14px;font-weight:400;line-height:1.4;letter-spacing:0}
@media(min-width:1600px){
 body[data-brand="loyal-primus"] .header{--nav-height:90px}
 body[data-brand="loyal-primus"] .header :is(.nav-home-link,.nav-trigger){font-size:18px;padding-block:13px}
 body[data-brand="loyal-primus"] .header .nav-menu-group h3{font-size:16px}
}
@media(min-width:951px) and (max-width:1250px){
 body[data-brand="loyal-primus"] .header .nav{gap:12px}
 body[data-brand="loyal-primus"] .header .brand-logo{width:174px}
 body[data-brand="loyal-primus"] .header .nav-links{gap:0}
 body[data-brand="loyal-primus"] .header :is(.nav-home-link,.nav-trigger){font-size:14px;padding-inline:8px}
 body[data-brand="loyal-primus"] .header .nav-actions{gap:12px}
}
@media(max-width:950px){
 body[data-brand="loyal-primus"] .header{--nav-height:76px}
 body[data-brand="loyal-primus"] .header .nav{display:flex;justify-content:space-between;gap:12px}
 body[data-brand="loyal-primus"] .header .brand-logo{width:clamp(120px,calc(100vw - 200px),220px)}
 body[data-brand="loyal-primus"] .header .nav-links,
 body[data-brand="loyal-primus"] .header .nav-actions>.text-button{display:none}
 body[data-brand="loyal-primus"] .header .nav-actions{gap:14px}
 body[data-brand="loyal-primus"] .header .nav-actions .button{font-size:14px;padding:10px 18px;min-height:44px}
 body[data-brand="loyal-primus"] .header .mobile-toggle{display:flex;width:24px;height:44px;flex:0 0 24px;padding:0}
 body[data-brand="loyal-primus"] .header.mobile-navigation-open .nav-actions>.button{display:none}
 body[data-brand="loyal-primus"] .header.mobile-navigation-open .nav{height:var(--nav-height)}
 body[data-brand="loyal-primus"] .header.mobile-navigation-open .mobile-toggle{margin:0}
}
@media(min-width:601px) and (max-width:950px){body[data-brand="loyal-primus"] .header{--nav-height:88px}}

/* Neutral backdrop treatment, measured against the Revolut navigation reference. */
body[data-brand="loyal-primus"] .header,
body[data-brand="loyal-primus"] .header.scrolled,
body[data-brand="loyal-primus"] .header.navigation-open{
 background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;
}
body[data-brand="loyal-primus"] .header::before{
 content:"";position:absolute;inset:0 0 auto;height:var(--nav-height,80px);z-index:-1;pointer-events:none;
 background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,0));
 backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none;
}
body[data-brand="loyal-primus"] .header .mega-menu.container{
 top:calc(var(--nav-height) + 12px);padding:44px 36px 40px;
 max-height:calc(100dvh - var(--nav-height) - 36px);
 background:rgba(0,0,0,.6);
 backdrop-filter:blur(85px) saturate(65%) brightness(.72);-webkit-backdrop-filter:blur(85px) saturate(65%) brightness(.72);
 border:0;border-radius:24px;box-shadow:none;
}
body[data-brand="loyal-primus"] .header.scrolled::before{
 background:rgba(0,0,0,.5);backdrop-filter:blur(85px);-webkit-backdrop-filter:blur(85px);
}
/* Keep the visual gap inside the hover target when moving down from a nav item. */
body[data-brand="loyal-primus"] .header.navigation-open::after{
 content:"";position:absolute;top:var(--nav-height);left:0;right:0;height:12px;
}
body[data-brand="loyal-primus"] .menu-scrim{background:transparent}
body[data-brand="loyal-primus"] .header .nav-trigger[aria-expanded=true]{background:rgba(255,255,255,.12)}
body[data-brand="loyal-primus"] .header .nav-menu-group h3{color:#b0b0b0}
@media(max-width:950px){
 body[data-brand="loyal-primus"] .header.mobile-navigation-open{
  background:rgba(0,0,0,.7);
  backdrop-filter:blur(85px);-webkit-backdrop-filter:blur(85px);
 }
 body[data-brand="loyal-primus"] .header.mobile-navigation-open::after{display:none}
 body[data-brand="loyal-primus"] .mobile-menu{padding-top:16px}
 body[data-brand="loyal-primus"] .mobile-menu-scroll{padding-top:26px}
}
@media(min-width:601px) and (max-width:950px){body[data-brand="loyal-primus"] .header{--nav-height:88px}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 body[data-brand="loyal-primus"] .header::before{background:rgba(0,0,0,.9)}
 body[data-brand="loyal-primus"] .header .mega-menu.container,
 body[data-brand="loyal-primus"] .header.mobile-navigation-open{background:rgba(10,10,10,.95)}
}

/* Content width standard: 1440px usable width, shared by every outer wrapper.
   Backgrounds remain full bleed; reading measures inside a section stay narrower.
   This stylesheet is intentionally loaded after all page-specific styles. */
body[data-brand="loyal-primus"] .container:where(.nav,.hero-content,.product-carousel,.badge-rail){
 width:calc(100% - 2 * var(--site-gutter));max-width:var(--site-max);padding-inline:0;margin-inline:auto;
}
body[data-brand="loyal-primus"] .chain-section>img{
 width:calc(100% - 2 * var(--site-gutter));max-width:var(--site-max);margin-inline:auto;
}
/* Cards use the rail's width, never the viewport. The rail clips animated clones. */
body[data-brand="loyal-primus"] .product-carousel{container-type:inline-size}
body[data-brand="loyal-primus"] .product-track{padding-inline:0;gap:var(--site-grid-gap);min-width:100%;width:max-content;justify-content:flex-start}
body[data-brand="loyal-primus"] .product-card{flex:0 0 calc((100cqw - 4 * var(--site-grid-gap))/5);width:calc((100cqw - 4 * var(--site-grid-gap))/5);max-width:none;margin-inline:0}
@media(min-width:761px) and (max-width:1100px){
 body[data-brand="loyal-primus"] .product-card{flex-basis:calc((100cqw - 2 * var(--site-grid-gap))/3);width:calc((100cqw - 2 * var(--site-grid-gap))/3)}
}
@media(max-width:760px){
 body[data-brand="loyal-primus"] .product-card{flex-basis:min(82cqw,340px);width:min(82cqw,340px)}
}

/* Global text balancing. Use the style longhand so existing nowrap controls,
   preformatted content and deliberate line breaks retain their wrapping mode.
   This site-wide typography rule takes precedence over page-specific styles. */
body[data-brand="loyal-primus"],
body[data-brand="loyal-primus"] * {
  text-wrap-style: balance !important;
}

/* Shared disclosure language: the homepage FAQ is the visual reference.
   Native details/summary retain keyboard and no-JavaScript operation. */
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details {
  border:0; border-bottom:1px solid #2c2c30; border-radius:0; background:transparent;
  margin:0; padding:0; scroll-margin-top:110px;
}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary {
  display:flex; align-items:center; justify-content:space-between; gap:28px;
  min-height:88px; padding:28px 0; margin:0; list-style:none; cursor:pointer;
  color:#f5f5f7; font-size:clamp(20px,1.65vw,25px); font-weight:400;
  line-height:1.35; letter-spacing:-.025em; text-align:left;
}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary::-webkit-details-marker {display:none}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary::marker {content:""}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary>span:last-child {display:none}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary::after {
  content:""; display:grid; place-items:center; flex:0 0 25px; width:25px; height:25px;
  border-radius:50%; background:linear-gradient(#000,#000) center / 12px 2px no-repeat,linear-gradient(#000,#000) center / 2px 12px no-repeat,#f5f5f7; color:#000; font-size:24px;
  font-weight:600; line-height:1; letter-spacing:0; transition:transform .2s ease;
}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details[open]>summary::after {transform:rotate(45deg)}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary:focus-visible {
  outline:2px solid #90cdec; outline-offset:5px; border-radius:4px;
}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>div {
  max-width:var(--site-reading-max); padding:0 44px 28px 0; margin:0;
  color:#b4b4b4; font-size:16px; line-height:1.75; overflow-wrap:anywhere;
}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>div p {font-size:inherit;line-height:inherit;color:inherit;margin:0 0 16px}
body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>div p:last-child {margin-bottom:0}
body[data-brand="loyal-primus"] main .support-answers {border-top:0}
/* Closing sections share a centered reading width and breathing room before the footer. */
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta) {
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:24px; padding-block:clamp(72px,8vw,120px); text-align:center;
}
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta)>div:not(.button-row) {width:100%;max-width:860px}
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta) h2 {
  max-width:860px; margin:0 auto; font-size:clamp(34px,4.2vw,62px); line-height:1.08; letter-spacing:-.045em;
}
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta) p {
  max-width:680px; margin:0 auto; color:#c3c3c3; line-height:1.65;
}
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta) h2+p {margin-top:24px}
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta) .button-row {justify-content:center;flex-wrap:wrap;margin:4px 0 0;gap:12px}
body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta)>.button {margin:4px 0 0;max-width:100%;white-space:normal}
/* Standalone account/product artwork sits directly on the page's black canvas. */
body[data-brand="loyal-primus"] :is(.bonus-service-hero,.payment-hero,.award-hero) figure,
body[data-brand="loyal-primus"] :is(.detail-tile,.offer-art,.funding-art,.account-story .story-art) {
  border:0; border-radius:0; background:transparent; box-shadow:none;
}
body[data-brand="loyal-primus"] .bonus-service-hero figure {aspect-ratio:1;overflow:visible}
body[data-brand="loyal-primus"] .bonus-service-hero img {padding:0;width:100%;height:100%;object-fit:contain}
@media(max-width:700px) {
  body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary {min-height:76px;padding-block:24px;gap:20px;font-size:20px}
  body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>div {padding-right:0;padding-bottom:24px}
  body[data-brand="loyal-primus"] main :is(.service-contact,.closing-cta,.funding-cta,.detail-cta) {gap:22px}
}
@media(prefers-reduced-motion:reduce) {
  body[data-brand="loyal-primus"] main :is(.faq-list,.support-answers,.fsca-faq,.bonus-terms)>details>summary::after {transition:none}
}

/* Matte card surface, shared across the marketing site. FSCA retains its
   regulatory-page art direction. Media, charts and hero shading are separate. */
:root { --card-matte:#1c1c1e; --card-matte-raised:#2c2c2e; --card-matte-border:#363638; }
body[data-brand="loyal-primus"]:not([data-page="fsca"]):not([data-page="future-trading"]):not([data-page="company"]) :is(
 .support-topic-card,.service-info-panel,.career-card,.career-filter,
 .editorial-card,.editorial-figure,.archive-grid>article,.funding-steps article,.loyalty-catalogue article,
 .welcome-account,.support-card.answers-card,.security-panel,
 .bonus-calculator,.podium-plinth,#bonus-preview-dialog,
 .tile-link,#bonus-account-grid .tile-link,.balance-card,.product-widget,
 .company-asset-card,.company-craft-card,.customer-stage,.launch-stage,.partner-stage,.floating-stat
) {
 background:var(--card-matte); border-color:var(--card-matte-border); box-shadow:none;
}
body[data-brand="loyal-primus"]:not([data-page="fsca"]):not([data-page="future-trading"]) :is(
 .platform-hero:not(.bonus-service-hero):not(.payment-hero):not(.award-hero):not(.futures-hero) figure
) { background:var(--card-matte); border-color:var(--card-matte-border); }
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.editorial-card-mark,.report-card>div) {background:transparent}
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.company-asset-card,.company-craft-card,.customer-stage,.podium-plinth)::before,
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.company-asset-card,.company-craft-card,.customer-stage,.podium-plinth)::after {background:none;box-shadow:none}
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.career-filter,.editorial-filters) :is(input,select) {
 background-color:var(--card-matte-raised);border-color:#48484a;color:#f5f5f7;
}
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.career-card-meta,.career-card .career-date,.career-card h2 span,.funding-step-label,.editorial-card-mark) {color:#b4b4b4}
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.career-card,.editorial-card,.service-info-panel,.funding-steps article,.support-topic-card) :is(p,ol) {color:#c0c0c0}
body[data-brand="loyal-primus"]:not([data-page="fsca"]) :is(.career-card,.editorial-card,.support-topic-card):hover {border-color:#626266}

body[data-brand="loyal-primus"]:not([data-page="fsca"]) .company-service-hero figcaption {background:rgba(28,28,30,.92)}
/* Give company artwork its own row; legibility must not depend on a gradient
   painted over the image. This also applies when the account tabs change. */
body[data-page="company"] #results-panel .company-asset-card .company-art {
 position:relative;inset:auto;transform:none;aspect-ratio:auto;
 width:calc(100% + 60px);height:270px;min-height:0;flex:0 0 270px;order:1;
 margin:12px -30px -30px;
}
@media(max-width:950px) {
 body[data-page="company"] #results-panel .company-asset-card .company-art {width:calc(100% + 44px);margin:12px -22px -22px;height:240px;flex-basis:240px}
}
@media(max-width:600px) {
 body[data-page="company"] #results-panel .company-asset-card .company-art {width:calc(100% + 50px);margin:12px -25px -25px}
}

/* Continuous account cards: the artwork and copy share one matte surface. */
body[data-brand="loyal-primus"] :is(.account-choice,.account-choice .tile-link,.account-choice .choice-copy) {background:var(--card-matte);border-color:var(--card-matte-border)}
body[data-brand="loyal-primus"] .account-choice .text-link {color:#bcbcc2}
/* Quiet supporting typography and icons; preserve artwork and market data colours. */
body[data-brand="loyal-primus"] {--table-muted:#a5a5ac;--table-secondary:#bfc0c5;--muted:#a5a5ac}
body[data-brand="loyal-primus"] :is(.service-kicker,.eyebrow,.feature-icon,.feature-info,.editorial-card-foot,.editorial-meta,.market-note,.deposit span,.back-link,.table-account-link) {color:#ababB2}
body[data-brand="loyal-primus"] :is(.feature-info,.table-account-link,.editorial-card-foot) {border-color:#454549}
body[data-page="future-trading"] .platform-hero figure {background:radial-gradient(ellipse at 50% 20%,#113854,#020607 74%)}
body[data-page="markets"] :is(.terminal-kicker,.terminal-top>span) {color:#c3c3c8}

/* Shared light-document navigation: the shell adapts, including its open menus. */
body[data-brand="loyal-primus"][data-page="legal"] .header{color:#303033}
body[data-brand="loyal-primus"][data-page="legal"] .header::before{background:rgba(255,255,255,.94)}
body[data-brand="loyal-primus"][data-page="legal"] .header.scrolled::before{background:rgba(255,255,255,.94);backdrop-filter:blur(20px)}
body[data-brand="loyal-primus"][data-page="legal"] .header :is(.nav-home-link,.nav-trigger,.text-button,.nav-discovery,.nav-menu-group a,.mobile-group-links a,.mobile-category-tabs button,.mobile-menu summary){color:#303033}
body[data-brand="loyal-primus"][data-page="legal"] .header :is(.nav-actions,.mobile-menu) .button{background:#29292c;color:#fff;border-color:#29292c}
body[data-brand="loyal-primus"][data-page="legal"] .header .mobile-toggle span{background:#303033}
body[data-brand="loyal-primus"][data-page="legal"] .header :is(.nav-trigger:hover,.nav-trigger[aria-expanded=true]){background:#e9e9eb;color:#18181a}
body[data-brand="loyal-primus"][data-page="legal"] .header .mega-menu.container,
body[data-brand="loyal-primus"][data-page="legal"] .header.mobile-navigation-open{background:rgba(250,250,250,.97);backdrop-filter:blur(24px)}
body[data-brand="loyal-primus"][data-page="legal"] .header :is(.nav-menu-group h3,.mobile-category-title){color:#656568}
body[data-brand="loyal-primus"][data-page="legal"] .header .mobile-menu{background:transparent;color:#303033}
body[data-brand="loyal-primus"][data-page="legal"] .header .mobile-category-tabs button[aria-selected=true]{background:#e4e4e7;color:#18181a}
body[data-brand="loyal-primus"][data-page="legal"] .header :is(.mobile-category-groups details,.mobile-menu-scroll){border-color:#d7d7da}
body[data-brand="loyal-primus"][data-page="legal"] .header .mobile-menu-actions{background:linear-gradient(0deg,#fafafa,transparent)}

/* Phone facts share a compact rhythm, including longer loyalty/funding values. */
@media(max-width:600px){
 body[data-brand="loyal-primus"] :is(.funding-facts,.account-facts){grid-template-columns:1fr;gap:0;padding-block:12px 24px;border-color:#373737;text-align:left}
 body[data-brand="loyal-primus"] :is(.funding-facts,.account-facts)>div{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:20px;align-items:center;padding-block:20px;min-width:0}
 body[data-brand="loyal-primus"] :is(.funding-facts,.account-facts)>div+div{border-top:1px solid #29292c}
 body[data-brand="loyal-primus"] :is(.funding-facts,.account-facts) strong{min-width:0;margin:0;font-size:clamp(25px,7vw,32px);line-height:1.15;font-weight:400;letter-spacing:-.035em}
 body[data-brand="loyal-primus"] :is(.funding-facts,.account-facts) span{margin:0;font-size:13px;line-height:1.5;color:#aaaab0}
 body[data-brand="loyal-primus"] .funding-hero.offer-hero{gap:24px;padding-bottom:12px}
 body[data-brand="loyal-primus"] .offer-hero .offer-art{width:min(100%,300px);margin-inline:auto}
}

/* Shared native dropdown sizing: Safari must not fall back to its compact picker. */
body[data-brand="loyal-primus"] select:not([multiple]) {
 --select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23bcbcc2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
 -webkit-appearance:none;appearance:none;box-sizing:border-box;min-width:0;max-width:100%;height:52px;min-height:52px;
 padding:13px 44px 13px 16px;font-family:inherit;line-height:24px;cursor:pointer;
 background-image:var(--select-chevron);background-repeat:no-repeat;background-position:right 16px center;background-size:16px;
}
body[data-brand="loyal-primus"]:is([data-page="legal"]) select:not([multiple]),
body[data-brand="loyal-primus"] .instrument-picker select {
 --select-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23454549' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body[data-brand="loyal-primus"] .career-filter :is(input,select) {height:52px;min-height:52px;font-size:16px;line-height:24px}
body[data-brand="loyal-primus"] .career-filter input {padding:13px 16px}
body[data-brand="loyal-primus"] .form-field select {height:54px;min-height:54px;padding-block:14px}
body[data-brand="loyal-primus"] .instrument-picker select {max-width:230px}
body[data-brand="loyal-primus"] select:disabled {cursor:not-allowed}
@media(max-width:600px){
 body[data-brand="loyal-primus"] .instrument-picker select {height:44px;min-height:44px;padding-block:9px;line-height:24px;max-width:180px}
}

/* Closing disclosures follow the centred CTA rhythm across page families.
   Keep the outer container and its gutters; limit prose to a readable measure. */
body[data-brand="loyal-primus"] :is(.reference-notes,.market-source,.account-source,.funding-source,.report-disclosure,.fsca-source-note,.award-note) {
 text-align:center;
}
body[data-brand="loyal-primus"] :is(.reference-notes,.market-source,.account-source,.funding-source,.report-disclosure,.fsca-source-note)>p,
body[data-brand="loyal-primus"] .funding-cta>.funding-caption,
body[data-brand="loyal-primus"] .market-accounts>.market-note {
 max-width:900px;margin-inline:auto;text-align:center;text-wrap:pretty;
}
body[data-brand="loyal-primus"] .account-source>a {margin-inline:0}
