/* Site footer, shared by every page. Self-contained: its own tokens, no dependency on page CSS. */
.af {
  --af-ink: #111114;
  --af-text: #5f5f66;
  --af-line: #e8e8ed;
  --af-orange: #ff7b00;
  --af-orange-soft: #ffb673;
  --af-link-hover: #c2410c;
  background: #fff;
  border-top: 1px solid var(--af-line);
  color: var(--af-ink);
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding: clamp(40px, 6vw, 64px) 0 28px;
}
.af-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.af-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.af-line { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; }
.af-bar { display: block; width: min(290px, 60%); height: 3px; border-radius: 2px; margin-top: 18px; background: linear-gradient(90deg, var(--af-orange), var(--af-orange-soft)); }
.af-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.6rem; letter-spacing: -0.035em; line-height: 1; padding: 4px 0; flex: none; }
.af-logo svg { width: 28px; height: 31px; color: var(--af-orange); }
.af-logo .arc { color: var(--af-orange); font-weight: 600; }
.af-logo .vale { color: var(--af-orange-soft); font-weight: 400; }

.af-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 32px; margin-top: clamp(32px, 5vw, 44px); }
.af-col h2 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--af-ink); letter-spacing: 0; }
.af-col ul { list-style: none; margin: 0; padding: 0; }
.af-col li a { display: inline-flex; align-items: center; min-height: 32px; color: var(--af-text); text-decoration: none; font-size: 14.5px; }
.af-col li a:hover { color: var(--af-link-hover); text-decoration: underline; text-underline-offset: 3px; }
.af-follow { border-left: 1px solid var(--af-line); padding-left: 28px; min-width: 170px; }
.af-social { display: flex; gap: 6px; }
.af-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--af-ink); }
.af-social a:hover { background: #f4f4f6; color: var(--af-link-hover); }
.af-social svg { width: 18px; height: 18px; fill: currentColor; }
.af :focus-visible { outline: 2px solid var(--af-link-hover); outline-offset: 2px; border-radius: 6px; }

.af-bottom { margin: clamp(32px, 5vw, 48px) 0 0; font-size: 12.5px; color: var(--af-text); }

@media (max-width: 880px) {
  .af-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .af-follow { border-left: 0; padding-left: 0; border-top: 1px solid var(--af-line); padding-top: 20px; grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .af-top { flex-direction: column-reverse; gap: 20px; }
}

/* Analytics consent banner (analytics.js) */
.cc { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 640px; display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; background: #111114; color: #f5f1ea; border-radius: 16px; padding: 14px 16px 14px 18px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); font-family: 'Geist', system-ui, sans-serif; }
.cc[hidden] { display: none; }
.cc-text { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 300px; }
.cc-text strong { color: #fff; }
.cc-text a { color: #ffb673; }
.cc-btns { display: flex; gap: 8px; }
.cc button { min-height: 40px; padding: 0 16px; border-radius: 10px; font: 600 14px 'Geist', system-ui, sans-serif; cursor: pointer; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; }
.cc .cc-yes { background: #ff7b00; border-color: #ff7b00; color: #111114; }
.cc button:focus-visible { outline: 2px solid #ffb673; outline-offset: 2px; }
.af-cookie { background: none; border: 0; padding: 0; font: inherit; color: var(--af-text); cursor: pointer; min-height: 32px; font-size: 14.5px; }
.af-cookie:hover { color: var(--af-link-hover); text-decoration: underline; text-underline-offset: 3px; }
