/* ============================================================================
   Token of Trust — shared marketing-page components · tot-navy concept v1.1
   ----------------------------------------------------------------------------
   The reusable composition layer for marketing subpages: hero variants,
   feature/card grids, media splits, steps, stat rows, reassurance rows, FAQ,
   breadcrumb, CTA band and the nav active pill.

   Tokens, reset, typography, buttons and hero SCALE live in the theme; this
   file consumes them and never re-declares :root. Primary CTAs route through
   --color-cta.

   44 pages load this file, so never change one of its defaults to suit a single
   page. Layer ownership: docs/css-architecture-and-budgets.md.
   ========================================================================== */

/* Nav active pill + footer note */
nav.primary a.active {
  color: var(--teal-ink);
  background: #eaf5f2;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.foot-note {
  font-size: .88rem;
  margin-top: 12px;
  max-width: 34ch;
  color: var(--muted);
}

/* Breadcrumb */
/* .mkt-lnk / .mkt-lnk-icon / .mkt-inline-lnk moved to the canonical component
   components/text-link.css (its only two authored consumers, home.html and
   pages-html/product.html, each carry it directly via home.json/product.json —
   the same dual-carry precedent components/button.css already set). Neither
   page reads any other rule from this file's "44 consumers" for these
   selectors, so nothing here needed a replacement default. */

/* Hero (centred default; .hero-split for image heroes) */
.hero {
  text-align: center;
  padding: 64px 0 0;
}
.hero h1 {
  margin: 16px auto;
  max-width: 22ch;
}
.hero .lede {
  max-width: 60ch;
  margin: 0 auto;
}
.hero .cta-row {
  justify-content: center;
  margin-top: 28px;
}
.hero-split {
  text-align: left;
}
.hero-split .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-split h1 {
  margin: 14px 0;
  max-width: 16ch;
}
.hero-split .lede {
  margin: 0;
  max-width: 52ch;
}
.hero-split .cta-row {
  justify-content: flex-start;
}
.hero-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Media split (copy beside a panel / image / list) */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.split.rev .split-copy {
  order: 2;
}
.split-copy h2 {
  margin-top: 6px;
}
.split-copy p {
  color: var(--muted);
  max-width: 48ch;
  margin: 12px 0 24px;
}
.split-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.split-media img {
  display: block;
  width: 100%;
  height: auto;
}
/* .check-list moved to the shared component `.mkt-check-list` (Task 11) —
   see tools/style-build/source/components/check-list.css, delivered via
   marketing/shared.generated.css. Values carried over unchanged; all 11
   consumers already linked that bundle. */

.alt-bg {
  background: #fff;
  border-block: 1px solid var(--line);
}

/* Stat row (big numbers) */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}
.stat-row.three {
  grid-template-columns: repeat(3, 1fr);
}
.stat b {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
}
.stat span {
  font-size: .9rem;
  color: var(--muted);
}

/* Reassurance row (trust / privacy callouts) */
.reassure-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.reassure-row.two {
  grid-template-columns: repeat(2, 1fr);
}
.inline-links {
  margin-top: 28px;
  font-weight: 600;
  text-align: center;
}
.inline-links a {
  color: var(--teal-ink);
  text-decoration: none;
}
.inline-links a:hover {
  color: var(--navy);
}

/* FAQ (details/summary accordion) */
.faq {
  max-width: 760px;
  margin: 40px auto 0;
}
.faq details {
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.faq summary {
  padding: 18px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--teal-ink);
  transition: transform .2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
}

/* .cta-band moved to the shared component `.mkt-cta-band` (Task 12), retiring
   the tenant's platform-colliding bare `.cta-band` name — see
   tools/style-build/source/components/cta-band.css, delivered via
   marketing/shared.generated.css. All 33 consumers already linked that
   bundle. The retired core's values are unchanged except two token upgrades
   (kicker/paragraph color now read `--mint`/`--on-navy` instead of hard-coded
   hex) and new responsive rules — see that source's header comment. */

/* Prose block (long-form copy: careers, legal-shell, etc.) */
.prose {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--ink);
}
.prose h2 {
  margin-top: 36px;
}
.prose h3 {
  margin-top: 24px;
  color: var(--navy);
}
.prose p {
  margin-top: 12px;
  color: var(--muted);
}
.prose ul {
  margin: 12px 0 12px 22px;
  color: var(--muted);
}
.prose li {
  margin-top: 6px;
}

/* Logo strip caption */
.logo-note {
  text-align: center;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 980px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-split .container, .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-split {
    text-align: center;
  }
  .hero-split h1, .hero-split .lede {
    max-width: none;
    margin-inline: auto;
  }
  .hero-split .cta-row {
    justify-content: center;
  }
  .split.rev .split-copy {
    order: 0;
  }
  .reassure-row, .reassure-row.two {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-inline: auto;
  }
}
