/* Styles for guides, results, glossary and niche pages. Built into public/css/pages.css by scripts/build.mjs. */
@font-face { font-family: "Neue Montreal"; src: url("/wf/1722b8e9-68ee39c6d29dbc1560dfc4da_NeueMontreal-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("/wf/b0354b4d-68ee39c6d29dbc1560dfc4dd_NeueMontreal-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }

:root { --ink: #141414; --body: #3d3d3c; --mute: #8a8a89; --line: #e4e4e4; --yellow: #e6a732; --yellow-hot: #ffb937; --soft: #f6f5f3; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Neue Montreal", Arial, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 3vw, 32px); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 18px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--body); transition: color .2s; }
.site-nav a:hover { color: var(--ink); }
.site-cta { background: var(--yellow); color: var(--ink); text-decoration: none; padding: 10px 18px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color .2s; }
.site-cta:hover { background: var(--yellow-hot); }

/* Article (same values as the live Webflow articles) */
.dj-article { color: var(--ink); max-width: 760px; margin: 0 auto; padding: 56px 24px 120px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--mute); margin-bottom: 28px; }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.dj-meta { color: var(--mute); margin: 0 0 20px; font-size: 14px; }
.dj-h1 { color: var(--ink); letter-spacing: -.02em; margin: 0 0 24px; font-size: 52px; font-weight: 500; line-height: 1.06; }
.dj-lead { color: var(--body); margin: 0 0 32px; font-size: 21px; line-height: 1.55; }
.dj-h2 { color: var(--ink); letter-spacing: -.01em; margin: 64px 0 16px; font-size: 30px; font-weight: 500; line-height: 1.2; }
.dj-h3 { color: var(--ink); margin: 32px 0 8px; font-size: 20px; font-weight: 500; line-height: 1.3; }
.dj-p { color: var(--body); margin: 0 0 16px; font-size: 18px; line-height: 1.65; }
.dj-list { color: var(--body); margin: 0 0 16px; padding-left: 20px; font-size: 18px; line-height: 1.65; }
.dj-list li { margin-bottom: 6px; }
.dj-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.dj-button { color: var(--ink); background: var(--yellow); border-radius: 4px; margin-top: 8px; padding: 14px 22px; font-size: 16px; font-weight: 500; text-decoration: none; display: inline-block; transition: background-color .2s, transform .2s; }
.dj-button:hover { background: var(--yellow-hot); transform: translateY(-1px); }
.dj-cta-box { border-top: 1px solid var(--line); margin-top: 80px; padding-top: 48px; }
.dj-table-wrap { margin: 16px 0; overflow-x: auto; }
.dj-table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
.dj-th { color: var(--ink); text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink); padding: 12px 16px 12px 0; font-weight: 500; }
.dj-td { color: var(--body); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 12px 16px 12px 0; }
.dj-results { margin-top: 64px; }
.dj-founder { border: 1px solid var(--line); border-radius: 6px; margin-top: 64px; padding: 28px 28px 20px; }
.dj-founder-label { color: var(--mute); margin-bottom: 8px; font-size: 14px; }
.dj-footer-links { display: none; }

/* Result header on case studies */
.result-hero { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--soft); border-radius: 10px; padding: 24px; margin: 8px 0 32px; }
.result-hero img { width: 120px; height: 150px; object-fit: cover; border-radius: 6px; }
.result-num { font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.result-num small { font-size: 16px; color: var(--mute); margin-left: 4px; }
.result-who { margin-top: 8px; font-size: 16px; color: var(--body); }
.quote { border-left: 3px solid var(--yellow); margin: 24px 0; padding: 4px 0 4px 20px; font-size: 22px; line-height: 1.45; color: var(--ink); }
.video { position: relative; aspect-ratio: 9 / 16; max-width: 360px; border-radius: 10px; overflow: hidden; background: #111; margin: 16px 0 8px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Glossary */
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.glossary-index a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--body); }
.glossary-index a:hover { border-color: var(--ink); color: var(--ink); }
.term { scroll-margin-top: 90px; }
.term dt { font-size: 22px; font-weight: 500; margin-top: 40px; }
.term dd { margin: 8px 0 0; }

/* Cards (index pages) */
.cards { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.card { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: border-color .2s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.card-kicker { font-size: 13px; color: var(--mute); }
.card-kicker:empty { display: none; }
.card-title { font-size: 19px; font-weight: 500; color: var(--ink); }
.card-desc { font-size: 15px; color: var(--body); line-height: 1.5; }

/* Related */
.related { margin-top: 72px; border-top: 1px solid var(--line); padding-top: 32px; }
.related-title { font-size: 14px; color: var(--mute); margin: 0 0 12px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: border-color .2s; }
.related a:hover { border-color: var(--ink); }
.related span { font-weight: 500; }
.related small { color: var(--body); font-size: 14px; line-height: 1.45; }

/* Footer */
.site-footer { background: #010101; color: #bababa; padding: 56px clamp(16px, 3vw, 32px) 96px; }
.sf-inner { max-width: 1100px; margin: 0 auto; }
.sf-ai { text-align: center; margin-bottom: 48px; }
.sf-ai p { color: #f1f1f1; font-size: 13px; margin: 0 0 14px; }
.sf-ai div { display: flex; justify-content: center; gap: 10px; }
.sf-ai a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; background: #1a1a1a; transition: background-color .2s; }
.sf-ai a:hover { background: #2a2a2a; }
.sf-ai img { filter: invert(1) brightness(2); }
.sf-cols { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 32px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 32px; }
.sf-title { color: #f1f1f1; font-size: 13px; margin: 0 0 12px; }
.sf-cols ul { list-style: none; margin: 0; padding: 0; }
.sf-cols li { font-size: 13px; padding: 4px 0; }
.sf-cols a { text-decoration: none; transition: color .2s; }
.sf-cols a:hover { color: #f1f1f1; }
.sf-copy { font-size: 12px; margin: 40px 0 0; }

/* Sticky mobile call button */
.sticky-cta { display: none; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-cta { margin-left: auto; }
  .sf-cols { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .dj-article { padding-top: 32px; }
  .dj-h1 { font-size: 36px; }
  .dj-lead { font-size: 18px; }
  .dj-h2 { margin-top: 48px; font-size: 24px; }
  .dj-p, .dj-list { font-size: 17px; }
  .result-hero { grid-template-columns: 1fr; }
  .sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; box-shadow: 0 8px 30px rgba(0,0,0,.18); transform: translateY(140%); transition: transform .35s ease; }
  .sticky-cta.show { transform: none; }
}
