/*
 * Transitional theme bridge for legacy public pages. Keep their existing
 * content and responsive layouts while aligning colors and typography with
 * the current Capulse partner site.
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --bg: #fbfaf7;
  --ink: #fbfaf7;
  --surface: #fff;
  --surface-2: #f5f3ed;
  --surface-3: #eeece4;
  --line: #e6e6df;
  --border: #e6e6df;
  --teal: #935708;
  --teal-dim: rgba(147, 87, 8, .12);
  --gold: #a56b16;
  --gold-dim: rgba(165, 107, 22, .12);
  --text: #202620;
  --muted: #626b63;
  --faint: #8a8e86;
  --paper: #202620;
  --paper-dim: #626b63;
  --paper-faint: #8a8e86;
  --ink-2: #fff;
  --ink-3: #f5f3ed;
  --ink-4: #e6e6df;
  --line-soft: #ecebe5;
  --amber: #935708;
  --amber-dim: #80500c;
  --amber-soft: rgba(147, 87, 8, .09);
  --sans: 'DM Sans', 'Outfit', system-ui, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'DM Mono', 'JetBrains Mono', monospace;
}

html,
body {
  background: #fbfaf7;
  color: #202620;
  font-family: var(--sans);
}

body {
  min-width: 320px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  color: #202620;
}

p,
li {
  color: #626b63;
}

a {
  color: #80500c;
}

a:hover {
  color: #202620;
}

.simple-hero {
  padding-top: 54px;
  padding-bottom: 36px;
  background: #fbfaf7;
}

.simple-hero h1 {
  max-width: 850px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #935708;
  font: 500 10px var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  color: #626b63;
  font-size: 16px;
  line-height: 1.7;
}

.legal {
  max-width: 900px;
  margin-top: 26px;
}

.legal h2 {
  margin: 30px 0 10px;
  font: 500 24px/1.2 var(--serif);
}

.legal p,
.legal li {
  margin-bottom: 11px;
  color: #626b63;
  font-size: 14px;
  line-height: 1.75;
}

.callout {
  margin: 20px 0;
  padding: 14px 16px;
  border-left: 2px solid #935708;
  border-radius: 0 5px 5px 0;
  background: #f5f0e4;
}

.callout p {
  margin: 0;
  color: #202620;
  font-size: 13px;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary {
  background: #102238;
  border-color: #102238;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #1c3958;
  border-color: #1c3958;
  color: #fff;
}

.btn-ghost {
  color: #102238;
  border-color: #d9ddd9;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #102238;
  border-color: #9aa5a0;
  background: #fff;
}

.cta-band {
  background: #f5f3ed;
  border-color: #e6e6df;
  color: #202620;
}

.cta-band p,
.cta-band .trust-strip {
  color: #626b63;
}

.breadcrumb,
.breadcrumb a,
.breadcrumb .current {
  color: #626b63;
}

.prose {
  color: #626b63;
}

.prose h2,
.prose h3,
.prose strong {
  color: #202620;
}

.article-card,
.faq-item,
.disc-card,
.panel,
.info-panel,
.price-card {
  background-color: #fff;
  border-color: #e6e6df;
}

.disc-grid[style*="repeat(4,1fr)"] {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.disc-grid[style*="repeat(4,1fr)"] .disc-card {
  min-height: 0;
}

.article-card h3,
.article-card h4,
.faq-item h3,
.faq-item h4,
.disc-card h3,
.disc-card h4 {
  color: #202620;
}

.partner-beta,
.partner-header,
.public-footer {
  color: #526176;
}

.page-view {
  width: 100%;
  min-height: 0;
  padding: 44px 24px 76px;
  overflow: visible;
  background: #fbfaf7;
}

.page-inner {
  width: min(1180px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .simple-hero {
    padding-top: 38px;
    padding-bottom: 28px;
  }

  .page-view {
    padding: 32px 18px 56px;
  }
}

@media (max-width: 900px) {
  .disc-grid[style*="repeat(4,1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .disc-grid[style*="repeat(4,1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
