/* Talxen site chrome — the ONE header + footer every page shares (home and all
   legal pages). Change the header/footer here and in the shared markup, never
   per page. Linked as /site.css?v=… from every page: bump that ?v= on every
   page whenever this file changes, or browsers keep the old copy.

   Tokens are prefixed --sx- so they never collide with a page's own palette
   (the homepage and legal.css each define their own). Ocean brand, light AND
   dark via prefers-color-scheme. */

:root {
  --sx-bg: #F2F6FA;
  --sx-surface: #FFFFFF;
  --sx-surface-2: #EDF2F8;
  --sx-line: #DDE6EF;
  --sx-ink: #0E2236;
  --sx-muted: #4F6378;
  --sx-faint: #6F8196;
  --sx-accent: #0C8577;
  --sx-cta: linear-gradient(90deg, #1C63A9, #0E7F74);
  --sx-glow: 0 14px 34px rgba(23, 103, 176, .30);
  --sx-maxw: 1160px;
  --sx-head: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sx-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sx-bg: #07111C;
    --sx-surface: #0D1926;
    --sx-surface-2: #142334;
    --sx-line: #213449;
    --sx-ink: #E7EFF7;
    --sx-muted: #A3B4C6;
    --sx-faint: #8396AA;
    --sx-accent: #52D2C2;
    --sx-cta: linear-gradient(90deg, #2170BA, #0F7F75);
    --sx-glow: 0 14px 34px rgba(33, 112, 186, .35);
  }
}

.skip { position: absolute; left: -999px; top: 8px; background: var(--sx-surface); color: var(--sx-ink); padding: 10px 14px; border-radius: 10px; z-index: 99; font: 600 14px/1.2 var(--sx-body); }
.skip:focus { left: 12px; }

/* ---- header ---- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--sx-bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--sx-line) 70%, transparent);
  font-family: var(--sx-body);
}
.site-head .wrap, .site-foot .wrap { width: min(var(--sx-maxw), calc(100% - 40px)); margin: 0 auto; }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 70px; }
.site-head .brand, .site-foot .brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 21px/1 var(--sx-head); letter-spacing: -.02em; color: var(--sx-ink);
}
.site-head .brand:hover, .site-foot .brand:hover { color: var(--sx-ink); text-decoration: none; }
.mark { width: 38px; height: 38px; border-radius: 12px; background: var(--sx-cta); display: grid; place-items: center; box-shadow: var(--sx-glow); flex: none; }
.mark svg { width: 21px; height: 21px; color: #fff; display: block; }
.site-head .nav { display: flex; align-items: center; gap: 6px; }
.site-head .nav a:not(.btn) { text-decoration: none; color: var(--sx-muted); font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
.site-head .nav a:not(.btn):hover { color: var(--sx-ink); background: var(--sx-surface-2); text-decoration: none; }
.site-head .nav a[aria-current="page"] { color: var(--sx-ink); background: var(--sx-surface-2); }

/* Primary CTA (also used by the homepage hero). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
  font: 700 15.5px/1 var(--sx-body); text-decoration: none; cursor: pointer;
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, background .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary { color: #fff; background: var(--sx-cta); box-shadow: var(--sx-glow); }
.btn-primary:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(23, 103, 176, .38); }
.btn-sm { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; }
.site-head .nav .btn { margin-left: 6px; }

/* ---- footer ---- */
.site-foot { margin-top: 72px; border-top: 1px solid var(--sx-line); background: var(--sx-surface); font-family: var(--sx-body); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 44px 0 28px; }
.foot-grid h2 { font: 800 13px/1 var(--sx-body); letter-spacing: .1em; text-transform: uppercase; color: var(--sx-faint); margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid li { margin: 0; }
.foot-grid li::marker { content: none; }
.foot-grid a { color: var(--sx-muted); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.foot-grid a:hover { color: var(--sx-ink); text-decoration: none; }
.foot-about p { color: var(--sx-muted); font-size: 14.5px; line-height: 1.6; margin: 12px 0 0; max-width: 34ch; }
.foot-bottom { border-top: 1px solid var(--sx-line); padding: 18px 0 28px; color: var(--sx-faint); font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 920px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .site-head .nav .hide-md { display: none; }
}
@media (max-width: 620px) {
  .site-head .nav .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
@media print {
  .site-head, .site-foot, .skip { display: none; }
}
