/* Covey's site footer — the same shape as the one on artificialmindhive.com (brand block,
 * statement, a call to action, grouped links, a legal bottom row), in Covey's own colours.
 *
 * It is loaded as a plain stylesheet and the markup sits OUTSIDE the React root, so nothing
 * here can be undone by hydration. The thin one-line footer the app renders inside #__next is
 * hidden rather than deleted: the page's own markup is untouched and this is one line to undo.
 */
:root {
  --cv-ink: #05070a;
  --cv-panel: #0b0f14;
  --cv-line: #1b2430;
  --cv-text: #e8eef5;
  --cv-muted: #95a3b2;
  --cv-dim: #6c7c8c;
  --cv-accent: #6ee7a3;
}

/* The page's own footer — the thin line the app renders, or the plain legal row on the static
 * pages. Hidden, never deleted: the markup stays, and this single rule is the whole undo. */
footer:not(.cv-footer) { display: none !important; }

.cv-footer {
  /* The home page paints a position:fixed .mesh backdrop at z-index:0; a static footer sits
   * UNDER it and reads as a black void. Lifting the footer one layer is the whole fix. */
  position: relative; z-index: 1;
  background: var(--cv-ink);
  border-top: 1px solid var(--cv-line);
  color: var(--cv-text);
  font-family: "Inter Tight", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.cv-footer__inner { max-width: 1180px; margin: 0 auto; padding: 56px 28px 28px; }
.cv-footer a { color: inherit; text-decoration: none; }

.cv-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--cv-line);
}
.cv-footer__brand { display: inline-flex; align-items: center; gap: 14px; }
.cv-footer__mark {
  display: block; width: 52px; height: 52px; flex: none;
  border-radius: 12px; object-fit: cover;
}
.cv-footer__brand strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.cv-footer__brand small { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cv-dim); }
.cv-footer__statement { margin: 18px 0 0; max-width: 58ch; font-size: 14.5px; line-height: 1.7; color: var(--cv-muted); }
.cv-footer__status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cv-accent);
}
.cv-footer__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cv-accent); }

.cv-footer__cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cv-footer__eyebrow { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--cv-dim); }
.cv-footer__cta strong { font-size: 22px; font-weight: 700; line-height: 1.2; }
.cv-footer__cta p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--cv-muted); }
.cv-footer__button {
  margin-top: 6px; padding: 12px 22px; border-radius: 10px;
  background: var(--cv-accent); color: #04120a;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: background .15s;
}
.cv-footer__button:hover { background: #57d190; }

.cv-footer__links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px;
  padding: 32px 0; border-bottom: 1px solid var(--cv-line);
}
.cv-footer__group-title { margin: 0 0 12px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cv-dim); }
.cv-footer__link-row { display: flex; flex-direction: column; gap: 9px; }
.cv-footer__link { font-size: 13.5px; color: var(--cv-muted); }
.cv-footer__link:hover { color: var(--cv-accent); }

.cv-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 22px; font-size: 12px; color: var(--cv-dim);
}
.cv-footer__mini { display: flex; flex-wrap: wrap; gap: 16px; }
.cv-footer__mini a { color: var(--cv-dim); }
.cv-footer__mini a:hover { color: var(--cv-accent); }
.cv-footer__amh { color: var(--cv-muted); }
.cv-footer__amh:hover { color: var(--cv-accent); }

@media (max-width: 860px) {
  .cv-footer__inner { padding: 40px 20px 24px; }
  .cv-footer__top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cv-footer__cta strong { font-size: 19px; }
}

/* The nav brand on the home page is a plain div; the footer's script sends a click on it home. */
nav .brand { cursor: pointer; }
