/* Profound Collective brand palette
 *
 * Treats green as an ACCENT, not a background:
 *   - Header / nav background: near-black (matches profoundcollective.com's nav)
 *   - Links, buttons, focus rings: Tailwind green-600 (#16a34a) / green-500 (#22c55e)
 *
 * This keeps the white "PROFOUND" wordmark legible on the header bar.
 */

:root {
  --pc-green-500: #22c55e;
  --pc-green-600: #16a34a;
  --pc-green-700: #15803d;
  --pc-ink:       #0b1220;
  --pc-ink-2:     #111827;
}

[data-md-color-scheme="slate"] {
  /* Header / top bar */
  --md-primary-fg-color:         var(--pc-ink);
  --md-primary-fg-color--light:  var(--pc-ink-2);
  --md-primary-fg-color--dark:   #05080f;
  --md-primary-bg-color:         #ffffff;
  --md-primary-bg-color--light:  #ffffffcc;

  /* Accents: links, focus, interactive */
  --md-accent-fg-color:              var(--pc-green-500);
  --md-accent-fg-color--transparent: rgba(34, 197, 94, 0.12);
  --md-typeset-a-color:              var(--pc-green-500);
}

/* Logo sizing: keep proportions reasonable in the header */
.md-header__button.md-logo img,
.md-header__button.md-logo svg {
  height: 1.8rem;
  width: auto;
}

/* Brand-consistent search highlights */
.md-search__input:focus,
.md-search__input:hover {
  background-color: rgba(34, 197, 94, 0.10);
}

/* Modest bump to prose. mkdocs-material's default is 0.8rem (~12.8px),
 * which feels small for a prose-heavy guide. 0.85rem (~13.6px) is a
 * meaningful step up without forcing line-length renegotiation. Most
 * other sizes (headings, admonition titles, code, tables) are
 * expressed in em relative to .md-typeset, so they scale with this. */
.md-typeset {
  font-size: 0.85rem;
}

/* Build-stamp footer line: smaller, muted, monospace SHA */
.md-copyright__buildinfo {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  opacity: 0.7;
}
.md-copyright__buildinfo code {
  font-size: 0.62rem;
  padding: 0 0.25em;
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}

/* Start Here interactive prompts: modestly larger, less bold summary
 * text. Scoped to the `question` admonition type, which is only used on
 * the Start Here page. Sized in em so the proportions hold no matter
 * what the typeset base ends up at. */
.md-typeset details.question > summary,
.md-typeset .admonition.question > .admonition-title {
  font-size: 1.05em;
  font-weight: 500;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  line-height: 1.4;
}

/* Body of the expanded prompt: match regular page body size rather than
 * the admonition default, which shrinks below it. */
.md-typeset details.question > p,
.md-typeset .admonition.question > p {
  font-size: 1em;
}
