/* ============================================================
   Actualization AI — shared shell for static pages (blog,
   generated posts, internal tools). The homepage lives in
   index.html and carries its own inline styles; these tokens
   mirror it exactly. Square corners, hairline rules, no shadows.
   ============================================================ */

: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;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

img { max-width: 100%; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow--accent { color: var(--accent-bright); }

.btn {
  display: inline-block;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--primary { background: var(--accent-bright); color: #05201d; }
.btn--primary:hover { background: var(--accent); color: #05201d; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); font-weight: 600; }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn.is-disabled { pointer-events: none; opacity: 0.45; }

.is-hidden { display: none !important; }

/* ---------- 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; }
}
