/* Approved Figma structure with the requested shared dimensional canvas. */
.fp-platform { --fp-platform-width:1350px; --fp-platform-gutter:clamp(16px,3.125vw,45px); --fp-platform-shadow:0 14px 23px -2px rgb(18 28 46 / 11%); --fp-platform-shadow-small:0 8px 18px -4px rgb(18 28 46 / 10%); --fp-platform-shadow-hero:0 14px 23px -2px rgb(18 28 46 / 11%); }
.fp-profile-link { flex:none; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border-radius:9px; background:var(--fp-bg-secondary); color:var(--fp-primary); font-weight:600; text-decoration:none; }
.fp-platform .fp-site-nav { gap:clamp(6px,1.4vw,22px); }
.fp-platform .fp-site-link { font-size:14px; padding:10px 12px; border-radius:9px; }
.fp-platform .fp-site-link[aria-current=page] { background:var(--fp-bg-secondary); }
.fp-platform .fp-page-columns { display:block; }
.fp-platform .fp-page-flow { min-width:0; }
@media(max-width:900px) {
 .fp-platform .fp-site-header-inner { flex-wrap:wrap; gap:12px; padding-block:12px; }
 .fp-platform .fp-site-nav { order:4; width:100%; display:flex; flex-wrap:wrap; justify-content:flex-start; }
 .fp-platform .fp-site-link { min-height:44px; }
 .fp-platform .fp-language { margin-left:auto; }
}
@media(max-width:420px) {
 .fp-platform .fp-site-brand { max-width:150px; }
 .fp-profile-link { padding:8px 10px; }
}

.rb-footer { flex-wrap:wrap; gap:12px 24px; }
.rb-footer .fs-mira-credit { font-size:13px; line-height:1.5; color:var(--fp-text-secondary); white-space:normal; }

/* Keep the approved header order above the older global header rules. */
@media(min-width:901px) {
 .fp-platform .fp-site-header-inner > .fp-site-brand { order:0; }
 .fp-platform .fp-site-header-inner > .fp-site-nav { order:1; margin-inline-start:auto; }
 .fp-platform .fp-site-header-inner > .fp-language { order:2; margin-inline-start:0; }
 .fp-platform .fp-site-header-inner > .fp-profile-link { order:3; }
}
