/* SupKit site header, menu, country switch and footer links. Shared by the marketing page and every guide
   (the markup comes from siteHeader() and footerLinks() in site/lib/templates.ts). Uses the pages' brand tokens. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.site-nav.scrolled, body.menu-open .site-nav { border-bottom-color: var(--line); }
/* backdrop-filter makes the header the containing block for the fixed menu panel, so drop it while the menu is open. */
body.menu-open .site-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
.site-nav > .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.site-nav .brand { flex: none; }

/* Menu (desktop): one link per section. */
.menu { margin-left: auto; }
.menu-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mi { display: flex; align-items: center; }
.mi-link { padding: 10px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); opacity: .8; }
.mi-link:hover, .mi.here .mi-link { opacity: 1; }
.mi.here .mi-link { box-shadow: inset 0 -2px 0 var(--cobalt); }
.menu-get { display: none; }

/* Country switch */
.country { position: relative; flex: none; font-weight: 700; font-size: 15px; }
.country summary { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; list-style: none; cursor: pointer; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); white-space: nowrap; }
.country summary::-webkit-details-marker { display: none; }
.country summary:hover, .country[open] summary { background: var(--lavender); box-shadow: none; }
.country .globe { width: 17px; height: 17px; }
.country .flag-slot { display: inline-flex; }
.country .flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(32,36,75,.15); flex: none; overflow: hidden; }
.country-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 45; width: 250px; padding: 12px; border-radius: 18px; background: var(--white);
  box-shadow: 0 24px 48px -20px rgba(32,36,75,.45), inset 0 0 0 1px var(--line); }
.country-menu .eyebrow { display: block; padding: 4px 12px 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.country-menu ul { list-style: none; margin: 0; padding: 0; }
.country-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.country-menu a:hover { background: var(--lavender); }
.country-menu a[aria-current] { background: var(--lavender); }
.country-menu a[aria-current]::after { content: " ✓"; color: var(--cobalt); }
.country-menu .small { margin: 8px 12px 2px; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--muted); }

.site-nav .cta { flex: none; display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--white);
  font-weight: 700; font-size: 15px; text-decoration: none; }
.site-nav .cta:hover { background: var(--cobalt); }

/* Menu button and panel (tablets and phones). */
.burger { display: none; flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: none; cursor: pointer; padding: 0; position: relative; color: var(--ink); }
.burger i { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger i:nth-of-type(1) { top: 15px; } .burger i:nth-of-type(2) { top: 21px; } .burger i:nth-of-type(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-6px) rotate(-45deg); }
.burger:hover { background: var(--lavender); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .country { margin-left: auto; }
  .menu { display: none; position: fixed; left: 0; right: 0; top: calc(68px + env(safe-area-inset-top, 0px)); bottom: 0; z-index: 35; margin: 0; overflow-y: auto;
    overscroll-behavior: contain; padding: 8px 20px calc(32px + env(safe-area-inset-bottom, 0px)); background: var(--cream); border-top: 1px solid var(--line); }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu { display: block; }
  .menu-list { flex-direction: column; align-items: stretch; gap: 0; max-width: 640px; margin: 0 auto; }
  .mi { border-bottom: 1px solid var(--line); }
  .mi-link { flex: 1; padding: 18px 4px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; opacity: 1; }
  .mi.here .mi-link { box-shadow: none; color: var(--cobalt); }
  .menu-get { display: block; max-width: 640px; margin: 24px auto 0; padding: 16px; border-radius: 18px; text-align: center; background: var(--ink); color: var(--white);
    font-weight: 700; text-decoration: none; }
}
@media (max-width: 560px) {
  .site-nav > .wrap { gap: 8px; }
  .site-nav .cta { display: none; }
  .country summary { padding: 0 10px; }
  .country-menu { right: -52px; }
  .site-nav .brand .w { height: 22px; }
  .site-nav .brand .m { width: 30px; height: 30px; }
}

/* Footer link columns */
.foot-cols { width: 100%; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-on-ink, rgba(255,255,255,.14)); }
.foot-cols .foot-title { display: block; margin-bottom: 10px; font-weight: 800; color: var(--white); text-decoration: none; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-cols ul a { color: var(--muted-on-ink, #B4B6D6); text-decoration: none; font-size: 14px; line-height: 1.35; }
.foot-cols a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 22px 16px; } }
