/* IAMX site chrome for subpages (2026-10-26): the landing's header and footer, ported rule for rule from
   scripts/site/landing-i18n/landing.template.html (tokens, wordmark, nav, Resources menu, buttons, mobile menu,
   footer with the payment band and social links).
   Markup: scripts/site/subpage-chrome/{header,footer}.html, written into each page by
   scripts/site/apply_subpage_chrome.mjs. Behaviour: site-chrome-20261026.js.
   Isolation: every class is prefixed ixc- and every rule starts at .ixc-header or .ixc-footer, so nothing here
   reaches a page body; the tokens live on those two elements (not :root) because the old pages use the same
   names (--ink, --line) for their own colours; two-class selectors outrank the old pages' element rules
   (a:hover, p, strong). The header is the landing's scrolled state (solid bar), sticky, because subpages have
   no hero image. */

.ixc-header,.ixc-footer{--ink:#242726;--muted:#727471;--grey:#e3e3df;--paper:#eeefeb;--coral:#ff806b;--line:rgba(39,43,40,.15);--ease:cubic-bezier(.22,1,.36,1);display:block;margin:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;font-weight:400;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;text-transform:none;-webkit-font-smoothing:antialiased}
.ixc-header *,.ixc-header *::before,.ixc-header *::after,.ixc-footer *,.ixc-footer *::before,.ixc-footer *::after{box-sizing:border-box}
.ixc-header a,.ixc-footer a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent}
.ixc-header button{margin:0;font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ixc-header summary{cursor:pointer;list-style:none}
.ixc-header summary::-webkit-details-marker{display:none}
.ixc-header [hidden],.ixc-footer [hidden]{display:none!important}
.ixc-header p,.ixc-footer p{margin:0}
.ixc-footer img{display:block;max-width:100%}
.ixc-header ::selection,.ixc-footer ::selection{background:#ff806b;color:#202522}
.ixc-header :focus-visible,.ixc-footer :focus-visible{outline:2px solid var(--coral);outline-offset:6px;border-radius:4px}
/* <i class="ixc-icon" data-icon> placeholders take the size of the SVG that replaces them, so nothing moves. */
.ixc-header .ixc-icon,.ixc-footer .ixc-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;display:inline-block;vertical-align:middle}
.ixc-header .ixc-skip{position:fixed;left:20px;top:-60px;padding:12px 20px;background:var(--coral);color:#202522;font-size:14px;z-index:200;border-radius:8px}
.ixc-header .ixc-skip:focus{top:10px}

/* Header */
.ixc-header{position:sticky;top:0;left:0;width:100%;z-index:50;padding:0;color:#f3f3ef;background:#252827ed;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 1px 0 #ffffff12}
.ixc-header .ixc-shell{height:82px;max-width:1600px;width:calc(100% - 112px);margin:auto;display:flex;justify-content:space-between;align-items:center;gap:28px}
.ixc-header .ixc-wordmark,.ixc-footer .ixc-wordmark{display:flex;align-items:center;gap:13px;font-size:28px;font-weight:800;letter-spacing:.045em;white-space:nowrap}
.ixc-header .ixc-wordmark>span,.ixc-footer .ixc-wordmark>span{font-size:10px;letter-spacing:.26em;font-weight:600}
.ixc-header .ixc-desktop-nav{display:flex;align-items:center;gap:39px;font-size:13px}
.ixc-header .ixc-nav-link{position:relative;padding-block:11px;color:#dfdfdb}
.ixc-header .ixc-nav-link::after{content:"";position:absolute;bottom:1px;left:0;width:0;height:2px;background:var(--coral);transition:width .25s}
.ixc-header .ixc-nav-link:hover::after,.ixc-header .ixc-nav-link.is-active::after,.ixc-header .ixc-nav-link[aria-current="page"]::after{width:24px}
.ixc-header .ixc-nav-actions{display:flex;align-items:center;gap:27px;font-size:12px}
.ixc-header .ixc-login-link{color:#e0e0dc}
.ixc-header .ixc-login-link:hover{color:var(--coral)}
.ixc-header .ixc-resources{position:relative}
.ixc-header .ixc-resources summary{display:flex;align-items:center;gap:6px;padding:10px 0;color:#dfdfdb}
.ixc-header .ixc-resources summary .ixc-icon{width:12px;height:12px;transition:transform .2s}
.ixc-header .ixc-resources[open] summary .ixc-icon{transform:rotate(180deg)}
.ixc-header .ixc-resource-menu{position:absolute;top:44px;left:-24px;width:235px;background:#f1f1ed;color:var(--ink);padding:12px;border:1px solid #ffffff12;box-shadow:0 15px 40px #0002;border-radius:12px;animation:ixc-menu-in .2s var(--ease)}
.ixc-header .ixc-resource-menu a{display:flex;align-items:center;justify-content:space-between;padding:12px;border-radius:6px;color:var(--ink)}
.ixc-header .ixc-resource-menu a:hover,.ixc-header .ixc-resource-menu a[aria-current="page"]{background:#dedfda;color:var(--ink)}
.ixc-header .ixc-resource-menu .ixc-icon{width:15px;height:15px}

/* Buttons (the landing's .button, .button-coral, .button-small, .icon-button) */
.ixc-header .ixc-button{display:inline-flex;gap:18px;align-items:center;justify-content:center;min-height:54px;padding:14px 24px;border-radius:999px;font-size:14px;font-weight:600;line-height:1.5;border:1px solid transparent;transition:background .25s,color .25s,transform .3s var(--ease),box-shadow .3s;white-space:nowrap}
.ixc-header .ixc-button .ixc-icon{width:18px;height:18px;transition:transform .3s var(--ease)}
.ixc-header .ixc-button:hover{transform:translateY(-2px)}
.ixc-header .ixc-button:hover .ixc-icon{transform:translate(2px,-2px)}
.ixc-header .ixc-button-coral,.ixc-header .ixc-button-coral:hover{color:#202522}
.ixc-header .ixc-button-coral{background:var(--coral)}
.ixc-header .ixc-button-coral:hover{background:#ff9786;box-shadow:0 7px 24px #ff806b20}
.ixc-header .ixc-button-small{min-height:36px;padding:8px 18px;font-size:12px;gap:10px}
.ixc-header .ixc-button-small .ixc-icon{height:15px;width:15px}
.ixc-header .ixc-icon-button{height:34px;width:34px;padding:0;border:0;border-radius:7px;background:transparent;display:inline-flex;align-items:center;justify-content:center;transition:background .25s,color .25s,transform .25s}
.ixc-header .ixc-icon-button:hover{background:#ffffff16}
.ixc-header .ixc-icon-button .ixc-icon{height:17px;width:17px}
/* After the button rules: the landing gets this order from its cascade layers (components over base). */
.ixc-header .ixc-menu-toggle,.ixc-header .ixc-mobile-nav{display:none}

/* Footer */
.ixc-footer{background:#272d2a;color:#e6ebdf;padding:54px 0 25px}
.ixc-footer .ixc-container{width:calc(100% - 112px);max-width:1440px;margin-inline:auto}
.ixc-footer .ixc-footer-top{display:grid;grid-template-columns:1.1fr .9fr repeat(4,1fr);gap:36px}
.ixc-footer .ixc-footer-top>.ixc-wordmark{align-self:start;font-size:26px}
.ixc-footer .ixc-footer-top>.ixc-wordmark span{font-size:8px;letter-spacing:.2em}
.ixc-footer .ixc-footer-top>p{font-size:12px;color:#909f89;line-height:1.6}
.ixc-footer .ixc-footer-top>div{display:flex;flex-direction:column;gap:10px;font-size:10px}
.ixc-footer .ixc-footer-top>div strong{font-weight:600;color:#c5cfbd;margin-bottom:4px}
.ixc-footer .ixc-footer-top>div a{color:#8a9b82}
.ixc-footer .ixc-footer-top a:hover{color:#f6f7f1}
.ixc-footer .ixc-footer-trust{display:flex;justify-content:space-between;align-items:center;gap:20px 30px;flex-wrap:wrap;margin-top:50px;padding-top:25px;border-top:1px solid #e6f1d712;font-size:10px;color:#8a9b82}
.ixc-footer .ixc-footer-trust a{color:#8a9b82}
.ixc-footer .ixc-footer-trust a:hover{color:#f6f7f1}
.ixc-footer .ixc-footer-pay{display:flex;align-items:center;gap:14px;font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.ixc-footer .ixc-footer-pay img{height:24px;width:auto;opacity:.82}
.ixc-footer .ixc-footer-pay>span{white-space:nowrap}
.ixc-footer .ixc-footer-social{display:flex;align-items:center;gap:22px}
.ixc-footer .ixc-footer-bottom{border-top:1px solid #e6f1d712;margin-top:50px;padding-top:25px;display:flex;justify-content:space-between;align-items:center;gap:30px;font-size:9px;color:#82937a}
.ixc-footer .ixc-footer-trust+.ixc-footer-bottom{margin-top:25px}
.ixc-footer .ixc-footer-bottom>div{display:flex;flex-wrap:wrap;gap:22px}
.ixc-footer .ixc-footer-bottom a{color:#82937a}
.ixc-footer .ixc-footer-bottom .ixc-back-top{display:flex;gap:10px;align-items:center;color:#a8b69e}
.ixc-footer .ixc-back-top .ixc-icon{width:13px;height:13px}
.ixc-footer .ixc-footer-bottom a:hover,.ixc-footer .ixc-footer-bottom a[aria-current="page"]{color:#fff}

@keyframes ixc-menu-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}

/* The landing's breakpoints, restricted to the chrome. */
@media(max-width:1200px){
  .ixc-header .ixc-shell,.ixc-footer .ixc-container{width:calc(100% - 72px)}
  .ixc-header .ixc-desktop-nav{gap:25px}
  .ixc-header .ixc-shell{gap:20px}
  .ixc-header .ixc-nav-actions{gap:18px}
  .ixc-header .ixc-wordmark{font-size:25px}
  .ixc-header .ixc-wordmark>span{font-size:8px}
  .ixc-footer .ixc-footer-top{grid-template-columns:1.3fr repeat(4,1fr)}
  .ixc-footer .ixc-footer-top>p{display:none}
}
@media(max-width:950px){
  .ixc-header .ixc-desktop-nav{display:none}
  .ixc-header .ixc-menu-toggle{display:inline-flex}
  .ixc-header .ixc-shell{height:72px}
  .ixc-header .ixc-nav-actions{gap:16px}
  .ixc-header .ixc-mobile-nav:not([hidden]){display:flex;position:absolute;left:0;right:0;max-height:calc(100vh - 72px);max-height:calc(100dvh - 72px);overflow-y:auto;overscroll-behavior:contain;background:#252b28f8;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:20px 36px 30px;flex-direction:column;border-top:1px solid #ffffff13;box-shadow:0 12px 30px #0004}
  .ixc-header .ixc-mobile-nav>a{padding:15px 0;border-bottom:1px solid #ffffff13;display:flex;justify-content:space-between;font-size:19px;letter-spacing:-.025em;color:#f3f3ef}
  /* Chrome lets the page show through a blurred menu nested in a blurred header (the landing's header has no blur
     until it scrolls); while the menu is open only the menu blurs. */
  .ixc-header.ixc-menu-open{-webkit-backdrop-filter:none;backdrop-filter:none}
  .ixc-header .ixc-mobile-nav>a[aria-current="page"]{color:var(--coral)}
  .ixc-header .ixc-mobile-nav>a>span{font-size:10px;letter-spacing:normal;color:#8e9c8b}
  .ixc-header .ixc-mobile-nav>a>.ixc-icon{width:17px;height:17px}
  .ixc-footer .ixc-footer-top{gap:30px}
}
.ixc-header .ixc-mobile-nav>a.ixc-mobile-login{display:none}
@media(max-width:640px){
  .ixc-header .ixc-shell,.ixc-footer .ixc-container{width:calc(100% - 40px)}
  .ixc-header .ixc-wordmark{font-size:25px;gap:10px}
  .ixc-header .ixc-wordmark>span{font-size:7px;letter-spacing:.21em}
  .ixc-header .ixc-shell{height:70px;gap:16px}
  .ixc-header .ixc-nav-actions{gap:10px}
  .ixc-header .ixc-login-link{display:none}
  .ixc-header .ixc-nav-actions .ixc-button-small{font-size:10px;padding:7px 12px;gap:5px;min-height:32px}
  .ixc-header .ixc-nav-actions .ixc-button-small .ixc-icon{width:12px;height:12px}
  .ixc-header .ixc-menu-toggle{width:29px}
  .ixc-header .ixc-mobile-nav:not([hidden]){padding-inline:24px;max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px)}
  .ixc-header .ixc-mobile-nav>a.ixc-mobile-login{display:flex}
  .ixc-footer{padding-top:38px}
  .ixc-footer .ixc-footer-top{grid-template-columns:repeat(2,1fr);gap:30px 14px}
  .ixc-footer .ixc-footer-top>.ixc-wordmark{grid-column:1/-1;font-size:26px;gap:10px}
  .ixc-footer .ixc-footer-top>div{font-size:9px;gap:9px}
  .ixc-footer .ixc-footer-top>div strong{font-size:10px}
  .ixc-footer .ixc-footer-trust{flex-direction:column;align-items:flex-start;margin-top:30px}
  .ixc-footer .ixc-footer-pay img{height:20px}
  .ixc-footer .ixc-footer-bottom{flex-wrap:wrap;gap:17px;font-size:8px;margin-top:30px;padding-top:20px}
  .ixc-footer .ixc-footer-bottom>div{gap:15px;order:3;width:100%}
  .ixc-footer .ixc-footer-bottom .ixc-back-top{margin-left:auto;font-size:9px}
}
@media(max-width:360px){
  .ixc-header .ixc-shell,.ixc-footer .ixc-container{width:calc(100% - 32px)}
  .ixc-header .ixc-wordmark{font-size:22px;gap:7px}
  .ixc-header .ixc-wordmark>span{font-size:6px}
  .ixc-footer .ixc-footer-top>.ixc-wordmark{gap:7px}
  .ixc-header .ixc-nav-actions .ixc-button-small{font-size:9px;padding-inline:10px}
}
@media(prefers-reduced-motion:reduce){
  .ixc-header *,.ixc-header *::before,.ixc-header *::after,.ixc-footer *,.ixc-footer *::before,.ixc-footer *::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important}
}

/* Pages other than the docs: in-page links land below the sticky header. */
html:has(>body:not(.iamx-docs)>.ixc-header){scroll-padding-top:96px}
/* Docs pages: /docs/shell.js builds the documentation layout (its own sticky docs bar with search and the drawer
   menu, the sidebar and a footer). There the site header scrolls away so the docs bar stays usable, and the site
   footer replaces the docs footer, whose links it carries. */
body.iamx-docs>.ixc-header{position:relative}
body.iamx-docs:has(>.ixc-footer)>#docsFooter{display:none}
