/* Shared by every page: tokens, type, the sticky header and the pill button. (Moved out of index.html so the
   service pages use the same header.) */
:root {
  --bg: #F4F5F8; --ink: #111318; --muted: #5D6473; --rule: #D9DCE3; --blue: #2F50ED;
  /* One font for everyone (Mac and Windows render the same): Cabin from Google Fonts; system UI only while it loads. */
  --latin: Cabin, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--latin); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, p { margin: 0; }
.wrap { --pad: 32px; max-width: 1240px; margin: 0 auto; padding-inline: var(--pad); }
@media (max-width: 640px) { .wrap { --pad: 20px; } }

/* Sticky navigation: fully transparent (no bar, no hairline). Once the page has scrolled, content passing under it
   fades softly into the page colour (no edge), so it never collides with the logo or the links. */
.site-head { position: sticky; top: 0; z-index: 40; padding-block: 18px; background: transparent; }
.site-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 30px); z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(var(--bg) 0%, rgba(244, 245, 248, .94) 52%, rgba(244, 245, 248, .55) 78%, rgba(244, 245, 248, 0) 100%); }
.scrolled .site-head::before { opacity: 1; }
.site-head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.logo img { display: block; height: 26px; width: auto; }
nav.primary { display: flex; gap: 28px; font-size: 15px; }
nav.primary a { text-decoration: none; opacity: .82; }
nav.primary a:hover { opacity: 1; }
.head-actions { display: flex; justify-content: flex-end; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 9px; border: 1px solid var(--ink); line-height: 1.2; white-space: nowrap; background: var(--ink); color: #fff; }
button.pill { font: inherit; font-size: 14px; cursor: pointer; }
.pill:hover { background: #2a2d35; }
.pill svg { width: 11px; height: 11px; }
@media (max-width: 860px) { .site-head .wrap { grid-template-columns: 1fr auto; } nav.primary { display: none; } }

