/* Practiceful brand on Material for MkDocs — LIGHT only.
   Header values measured from the marketing navbar (landing-navigation.html on
   /pricing/): navy #3F4358 band, white Inter links, cream "Start free" pill. */
:root {
  --pf-navy: #3F4358;
  --pf-navy-dark: #2E3144;
  --pf-ink: #1F2937;
  --pf-blue: #4F6FB0;          /* the logo's #7da0de, darkened to pass AA as link text */
  --pf-cream: #F7DEB6;
  --pf-bg: #FFFFFF;
  --pf-surface: #FFFFFF;
  --pf-raised: #F4F5F8;
  --pf-line: #E5E7EB;

  --md-primary-fg-color: var(--pf-navy);
  --md-primary-fg-color--light: #5A5F78;
  --md-primary-fg-color--dark: var(--pf-navy-dark);
  --md-accent-fg-color: var(--pf-blue);
  --md-accent-fg-color--transparent: rgba(79, 111, 176, 0.1);
  --md-default-bg-color: var(--pf-bg);
  --md-default-fg-color: rgba(31, 41, 55, 0.87);
  --md-typeset-color: var(--pf-ink);
  --md-typeset-a-color: var(--pf-blue);
  --md-code-bg-color: var(--pf-raised);
  --md-text-font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --md-code-font-family: "JetBrains Mono", "Fira Code", "Cascadia Code", ui-monospace, monospace;
}

/* ── Header: the product's own navbar, not a docs title bar ───────────────── */
.md-header.docs-header {
  background-color: var(--pf-navy);
  color: #fff;
  box-shadow: none;
}
.docs-header__inner { height: 2.8rem; padding: 0 0.6rem; gap: 0.4rem; }
.docs-header .md-header__button { color: #fff; margin: 0; }
.docs-header-brand { display: inline-flex; align-items: center; margin-right: 0.8rem; }
.docs-header-logo { height: 40px; width: auto; display: block; }
.docs-header__nav { display: flex; align-items: center; flex: 1 1 auto; gap: 0.2rem; }
.docs-header__nav[hidden] { display: none; }
#docs-user-nav { justify-content: flex-end; }
/* Set synchronously, inline, before either nav paints — only when the
   pc_signed_in cookie hints the reader might be signed in. Hides the guest
   links for the brief window before site-header.js confirms and swaps in the
   signed-in nav, so a signed-in reader does not see the marketing header
   flash first. Removed by that same script once it resolves (or times out).
   See docs_site/overrides/partials/header.html and javascripts/site-header.js. */
html.docs-auth-pending .docs-header__nav { visibility: hidden; }
.docs-header__links,
.docs-header__actions { display: flex; align-items: center; gap: 0.2rem; }
.docs-header__actions { margin-left: auto; }
.docs-header__link {
  color: #fff;
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  white-space: nowrap;
}
.docs-header__link:hover,
.docs-header__link:focus-visible { color: var(--pf-cream); }
.docs-header__link--current { color: var(--pf-cream); font-weight: 600; }
.docs-header__cta {
  display: inline-flex; align-items: center; margin-left: 0.4rem;
  padding: 0.35rem 0.7rem; border-radius: 0.3rem;
  background: var(--pf-cream); color: var(--pf-ink);
  font-size: 0.7rem; font-weight: 600; white-space: nowrap;
}
.docs-header__cta:hover,
.docs-header__cta:focus-visible { background: #F0CD93; color: var(--pf-ink); }

/* ── Tab row: search first, left-justified, then the sections ─────────────── */
.md-tabs.docs-tabs {
  display: block;
  overflow: visible;                            /* the search results panel hangs below */
  background-color: var(--pf-surface);
  color: var(--pf-ink);
  border-bottom: 1px solid var(--pf-line);
}
.docs-tabs-row { display: flex; align-items: center; gap: 0.8rem; padding: 0 0.6rem; }
.docs-tabs .md-search { flex: 0 0 auto; }
.docs-tabs .md-search__inner { float: none; }
.docs-tabs .md-tabs__list { flex: 1 1 auto; min-width: 0; margin-left: 0; overflow-x: auto; white-space: nowrap; }
.md-tabs__link { color: rgba(31, 41, 55, 0.7); opacity: 1; }
.md-tabs__link:hover,
.md-tabs__item--active .md-tabs__link { color: var(--pf-blue); }
.md-tabs__item.docs-tab-home .md-tabs__link { font-weight: 700; color: var(--pf-ink); }
.md-search__form { background-color: var(--pf-raised); }
.md-search__form:hover { background-color: var(--pf-line); }
.md-search__input,
.md-search__input::placeholder,
.md-search__icon { color: rgba(31, 41, 55, 0.7); }

/* Header 2.8rem + tab row 2.4rem: keep the sticky sidebars below both. */
.md-header--lifted ~ .md-container .md-sidebar { top: 5.2rem; }

/* Below 76.25em Material hides the tabs (the drawer carries the sections): keep the
   row for search, drop the list. Below 60em search is Material's full-screen overlay,
   opened from the header button — the row collapses but must stay rendered, because
   `display: none` would hide the overlay with it. */
@media screen and (max-width: 76.234375em) {
  .docs-tabs .md-tabs__list { display: none; }
  .md-header--lifted ~ .md-container .md-sidebar { top: 0; }
}
@media screen and (max-width: 59.984375em) {
  .md-tabs.docs-tabs { border-bottom: 0; }
  .docs-tabs-row { padding: 0; }
  .docs-header__links,
  .docs-header__login { display: none; }
}
@media screen and (max-width: 35em) {
  .docs-header-logo { height: 28px; }
  .docs-header__cta { display: none; }
}

.md-typeset h1 { color: var(--pf-ink); font-weight: 700; }
.md-typeset h2 { font-weight: 650; }

/* QA-captured screenshots: framed, never wider than the column. */
.md-typeset img.docs-shot {
  display: block;
  max-width: 100%;
  margin: 0.8rem 0 1.2rem;
  border: 1px solid var(--pf-line);
  border-radius: 0.4rem;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.08);
}

/* ── Front page ─────────────────────────────────────────────────────────── */
.md-typeset .pf-hero {
  margin: 0 0 2rem;
  padding: 2rem 1.6rem;
  border-radius: 0.8rem;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--pf-raised) 100%);
  border: 1px solid var(--pf-line);
}
.md-typeset .pf-hero h1 { margin: 0 0 0.6rem; font-size: 2rem; line-height: 1.2; }
.md-typeset .pf-hero p { font-size: 0.95rem; max-width: 38rem; margin: 0 0 1.2rem; }
.md-typeset .pf-hero .md-button { margin: 0.2rem 0.4rem 0.2rem 0; }

.md-typeset .grid.cards > ul > li,
.md-typeset .grid > .card {
  border-radius: 0.6rem;
  border: 1px solid var(--pf-line);
  background: var(--pf-surface);
}
.md-typeset .grid.cards > ul > li:hover { border-color: var(--pf-navy); box-shadow: 0 4px 14px rgba(31, 41, 55, 0.08); }
.md-typeset .grid.cards > ul > li > p:first-child strong { font-size: 0.85rem; color: var(--pf-ink); }

/* Front page: audience cards as a 2-column grid. */
.md-typeset .grid.cards.pf-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media screen and (max-width: 44.9375em) {
  .md-typeset .grid.cards.pf-two { grid-template-columns: 1fr; }
}
