/* hitl.es shared chrome — header, closing CTA band, footer. Identical on every page.
   Self-contained: own tokens, namespaced classes (hc-). Fonts (IBM Plex Sans/Serif/Mono)
   are loaded by each page. Source of truth: this file + assets/chrome-*.html snippets. */

.hc-nav, .hc-close, .hc-foot {
  --hc-ink: #111111; --hc-muted: #6f6f6f; --hc-soft: #525252; --hc-line: #dde1e6;
  --hc-blue: #0f62fe; --hc-blue-dark: #0043ce; --hc-dark: #161616; --hc-neon: #4589ff;
  --hc-ink-dark: #f2efe9; --hc-soft-dark: #8a9099; --hc-muted-dark: #78808c;
  --hc-font: 'IBM Plex Sans', 'Helvetica Neue', Arial, ui-sans-serif, system-ui, sans-serif;
  --hc-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --hc-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --hc-ease: cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--hc-font); letter-spacing: -0.01em; box-sizing: border-box;
}
.hc-nav *, .hc-close *, .hc-foot * { box-sizing: border-box; margin: 0; padding: 0; }
.hc-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; min-width: 0; }
html { scroll-padding-top: 96px; }
@media (max-width: 860px) { html { scroll-padding-top: 132px; } }

/* ---------- header ---------- */
.hc-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .18s var(--hc-ease), background-color .18s var(--hc-ease); }
.hc-nav.is-scrolled { border-bottom-color: var(--hc-line); background: rgba(255,255,255,0.92); }
.hc-nav-inner { height: 76px; max-width: 1640px; margin: 0 auto; padding: 0 clamp(20px, 3.5vw, 56px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hc-menu { justify-self: center; }
.hc-cta { justify-self: end; }
.hc-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--hc-ink); }
.hc-brand svg { flex: none; display: block; }
.hc-wm { font-weight: 700; font-size: 15px; letter-spacing: 0.045em; text-transform: uppercase; color: var(--hc-ink); white-space: nowrap; line-height: 1; }
.hc-wm em { font-style: normal; color: var(--hc-blue); }
.hc-menu { display: flex; align-items: center; gap: 26px; min-width: 0; }
.hc-menu a { color: var(--hc-muted); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: color .18s var(--hc-ease); padding: 6px 0; }
.hc-menu a:hover { color: var(--hc-ink); }
.hc-menu a[aria-current="page"] { color: var(--hc-ink); box-shadow: inset 0 -2px 0 var(--hc-blue); }
.hc-cta { display: flex; gap: 26px; align-items: center; }
.hc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; font-family: var(--hc-font); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; border: 1px solid var(--hc-blue); background: var(--hc-blue); color: #fff; padding: 13px 24px; border-radius: 2px; transition: background-color .18s var(--hc-ease), border-color .18s var(--hc-ease), color .18s var(--hc-ease), transform .18s var(--hc-ease); white-space: nowrap; }
.hc-btn:hover { background: var(--hc-blue-dark); border-color: var(--hc-blue-dark); color: #fff; }
.hc-btn:active { transform: scale(0.97); transition-duration: 0s; }
.hc-btn:focus-visible { outline: 2px solid var(--hc-blue); outline-offset: 2px; }
.hc-cta .hc-btn { padding: 9px 18px; font-size: 13px; }
.hc-btn-ghost { background: transparent; color: var(--hc-ink); border-color: var(--hc-ink); }
.hc-btn-ghost:hover { background: var(--hc-ink); border-color: var(--hc-ink); color: #fff; }
@media (max-width: 860px) {
  .hc-nav-inner { height: auto; display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 0; padding-top: 12px; padding-bottom: 2px; }
  .hc-brand { flex: 1 1 auto; min-width: 0; }
  .hc-cta { flex: 0 0 auto; order: 2; }
  .hc-menu { flex: 1 0 100%; order: 3; gap: 22px; justify-content: center; overflow-x: auto; padding: 12px 0 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hc-menu::-webkit-scrollbar { display: none; }
  .hc-nav-inner { gap: 12px; }
  .hc-cta .hc-btn { padding: 8px 12px; font-size: 12.5px; }
}

/* ---------- closing CTA band ---------- */
.hc-close { background: var(--hc-dark); color: var(--hc-ink-dark); position: relative; overflow: hidden; padding: 124px 0 116px; }
.hc-close::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 22%, transparent 80%); mask-image: radial-gradient(120% 100% at 50% 0%, #000 22%, transparent 80%); pointer-events: none; }
.hc-close > .hc-wrap { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.hc-close ::selection { background: var(--hc-neon); color: var(--hc-dark); }
.hc-closemark { display: block; width: 200px; height: auto; margin: 0 auto 40px; overflow: visible; }
.hc-closemark-base { stroke: rgba(242,239,233,0.16); }
.hc-closemark-run { stroke: var(--hc-neon); animation: hc-loopspin 4.5s linear infinite; }
@keyframes hc-loopspin { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.hc-close h2 { font-family: var(--hc-serif); font-weight: 400; letter-spacing: normal; line-height: 1.15; font-size: clamp(28px, 4vw, 48px); max-width: 16ch; margin: 0 auto; color: var(--hc-ink-dark); text-wrap: balance; }
.hc-close h2 i { font-style: normal; color: var(--hc-neon); }
.hc-close p { font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--hc-soft-dark); max-width: 56ch; margin: 16px auto 0; }
.hc-close-cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hc-close .hc-btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hc-close .hc-btn-ghost:hover { background: #fff; color: var(--hc-ink); border-color: #fff; }
.hc-close :focus-visible { outline-color: var(--hc-neon); }
@media (max-width: 640px) { .hc-close { padding: 88px 0 80px; } }

/* ---------- footer ---------- */
.hc-foot { background: var(--hc-dark); color: var(--hc-soft-dark); padding: 58px 0 40px; border-top: 1px solid rgba(242,239,233,0.12); font-size: 17px; line-height: 1.5; }
.hc-foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.hc-foot .hc-brand { color: var(--hc-ink-dark); }
.hc-foot .hc-wm { color: var(--hc-ink-dark); }
.hc-foot .hc-wm em { color: var(--hc-neon); }
.hc-foot-sig { margin-top: 18px; max-width: 34ch; font-size: 15px; color: var(--hc-soft-dark); }
.hc-foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.hc-foot a { display: inline-block; padding: 6px 0; color: var(--hc-soft-dark); text-decoration: none; font-size: 14px; transition: color .18s var(--hc-ease); }
.hc-foot a:hover { color: var(--hc-ink-dark); }
.hc-foot-founder { margin-top: 48px; padding-top: 36px; padding-bottom: 8px; border-top: 1px solid rgba(242,239,233,0.12); display: flex; align-items: center; gap: 28px; }
.hc-ff-photo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex: none; filter: grayscale(1) contrast(1.05); border: 1px solid rgba(242,239,233,0.16); }
.hc-ff-text { flex: 1; min-width: 0; }
.hc-ff-name { font-family: var(--hc-serif); font-size: 28px; line-height: 1.2; color: var(--hc-ink-dark); }
.hc-ff-by { font-family: var(--hc-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hc-neon); margin-right: 10px; }
.hc-ff-meta { margin-top: 10px; font-family: var(--hc-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hc-muted-dark); line-height: 1.6; }
.hc-foot a.hc-ff-link { flex: none; font-family: var(--hc-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hc-neon); padding: 0; }
.hc-foot a.hc-ff-link:hover { color: var(--hc-ink-dark); }
@media (max-width: 720px) { .hc-foot-founder { flex-wrap: wrap; gap: 14px; } .hc-foot a.hc-ff-link { width: 100%; } }
.hc-foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(242,239,233,0.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--hc-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hc-muted-dark); }
.hc-legal { margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(242,239,233,0.12); }
.hc-legal > summary { display: inline-flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; padding: 6px 0; font-family: var(--hc-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hc-muted-dark); }
.hc-legal > summary::-webkit-details-marker { display: none; }
.hc-legal > summary:hover { color: var(--hc-ink-dark); }
.hc-legal > summary:focus-visible { outline: 2px solid var(--hc-neon); outline-offset: 3px; border-radius: 2px; }
.hc-legal > summary::after { content: "+"; font-size: 14px; line-height: 1; color: var(--hc-neon); }
.hc-legal[open] > summary::after { content: "\2013"; }
.hc-legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 22px; }
.hc-legal-label { font-family: var(--hc-mono); font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hc-muted-dark); margin-bottom: 10px; }
.hc-legal-body { font-size: 13px; line-height: 1.7; color: var(--hc-muted-dark); }
.hc-legal-body a { display: inline; padding: 0; font-size: inherit; color: var(--hc-soft-dark); text-decoration: underline; text-underline-offset: 2px; }
.hc-legal-body a:hover { color: var(--hc-ink-dark); }
@media (max-width: 780px) { .hc-legal-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (prefers-reduced-motion: reduce) { .hc-closemark-run { animation: none; } }
