/* ============================================================
   Actualization AI shared shell: design tokens plus the header
   and footer that <site-header> and <site-footer> in js/site.js
   render. EVERY page loads this one, the homepage included, so
   the navigation cannot drift between them.

   It deliberately carries no global resets and no body rules,
   because index.html is a Design Component with its own inline
   typography and must not be restyled by loading the shell.
   Those globals live in css/site.css, which the non-homepage
   pages load alongside this file.
   ============================================================ */

:root {
  --ink: #0B0D10;
  --paper: #F7F9FA;
  --band: #eef2f4;
  --white: #ffffff;
  --line: #c9d2d8;
  --line-dark: #232b36;
  --body: #46505b;
  --body-soft: #5a646f;
  --muted: #7a8590;
  --faint: #98a2ad;
  --accent: #17a294;
  --accent-deep: #0f7a70;
  --accent-bright: #20C6B7;
  --cream: #F4F2EC;
  --dim: #A9B1BB;
  --dim-soft: #C7CDD4;

  --display: 'Space Grotesk', sans-serif;
  --sans: 'Source Sans 3', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --gut: clamp(20px, 5.5vw, 80px);
  --wrap: 1240px;
}

/* ---------- Header ---------- */

.site-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 16px var(--gut);
  border-bottom: 1px solid var(--line-dark);
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-hdr__brand { display: flex; align-items: center; gap: 12px; flex: none; }
.site-hdr__brand img { height: 26px; width: auto; display: block; }
.site-hdr__mark { background: var(--ink); padding: 5px 7px; display: flex; align-items: center; }
.site-hdr__word {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--cream);
}
.site-hdr__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 15px;
}
.site-hdr__link { display: flex; flex-direction: column; gap: 4px; color: var(--dim); white-space: nowrap; }
.site-hdr__link:hover { color: var(--cream); }
.site-hdr__link[aria-current="page"] { color: var(--cream); }
.site-hdr__link[aria-current="page"]::after {
  content: "";
  height: 2px;
  background: var(--accent-bright);
  display: block;
}
.site-hdr__cta {
  background: var(--accent-bright);
  color: #05201d;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}
.site-hdr__cta:hover { background: #34d8c9; color: #05201d; }

/* ---------- Footer ---------- */

.site-ftr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px 48px;
  padding: 34px var(--gut) 40px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}
.site-ftr__id { display: flex; flex-direction: column; gap: 8px; }
.site-ftr__brand { display: flex; align-items: center; gap: 10px; }
.site-ftr__brand img { height: 20px; width: auto; display: block; }
.site-ftr__word { font-family: var(--display); font-size: 14px; font-weight: 600; }
.site-ftr__note { font-size: 14.5px; color: var(--muted); }
.site-ftr__cols { display: flex; flex-wrap: wrap; gap: 26px 44px; font-size: 14.5px; color: var(--body); }
.site-ftr__col { display: flex; flex-direction: column; gap: 8px; }
.site-ftr__col h2 {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--faint);
  text-transform: uppercase;
}
.site-ftr__col a { color: var(--body); }
.site-ftr__col a:hover { color: var(--accent); }
/* Service names are descriptive text, not navigation — keep them off the link palette. */
.site-ftr__col span { color: var(--muted); cursor: default; }

@media (max-width: 620px) {
  .site-hdr { gap: 10px 12px; padding-left: 16px; padding-right: 16px; }
  .site-hdr__word { display: none; }
  .site-hdr__nav { font-size: 13px; gap: 6px 13px; }
  .site-hdr__cta { padding: 9px 12px; font-size: 12.5px; }
}
