/* fresh-lens-article.css -- the /insights/ article entry pages' chrome,
   re-tokened onto the Fresh Lens system (R12, 2026-07-09 spec). Derived from
   /insights/insights.css's article subset: same selectors, light tokens.
   Source of truth lives here (tools/generator/skins/); the cutover round
   copies it to public/insights/ and swaps the stylesheet link in
   scripts/build-insights-articles-live.mjs. insights.css itself is untouched
   (it still styles the guides sub-hubs and other unmigrated surfaces). */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;700&family=Hanken+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap");

:root {
  --bg:       #F6F7F4;
  --bg2:      #FFFFFF;
  --panel:    #FFFFFF;
  --ink:      #1B231D;
  --ink-body: #2E3830;
  --ink-soft: #4A554C;
  --ink-faint:#5B6A5F;
  --teal:     #2F6B4F;
  --teal-deep:#24523D;
  --warm:     #B8853A;
  --line:     #DCD9D0;
  --line-soft:#E7E4DC;
  --disp:     "Bricolage Grotesque", system-ui, sans-serif;
  --body:     "Hanken Grotesk", system-ui, sans-serif;
  --wrap:     1160px;
  --col:      70ch;
}

/* -- reset + base -- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; transition: color .18s; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* -- site header (site-chrome.js: siteHeader()) -- */
.ins-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 244, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.ins-header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* wordmark -- matches homepage .mark */
.mark {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.02em;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.mark:hover { color: var(--ink); }
/* nav links -- matches homepage .navr */
.navr {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--disp);
  font-size: 13.5px;
  color: var(--ink-soft);
}
.navr a { color: var(--ink-soft); transition: color .2s; }
.navr a:hover { color: var(--ink); }
.navr a[aria-current="page"] { color: var(--teal); }
/* hamburger toggle -- hidden on desktop, shown <=720px (see mobile block) */
.nav-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin: -8px -6px;
  cursor: pointer;
  color: var(--ink-soft);
  line-height: 0;
}
.nav-burger:hover { color: var(--ink); }
.nav-burger-box { display: block; position: relative; width: 22px; height: 14px; }
.nav-burger-bar,
.nav-burger-bar::before,
.nav-burger-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-burger-bar { top: 6px; }
.nav-burger-bar::before { top: -6px; }
.nav-burger-bar::after { top: 6px; }
.nav-burger[aria-expanded="true"] .nav-burger-bar { background: transparent; }
.nav-burger[aria-expanded="true"] .nav-burger-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* -- page layout (insights.css has no literal .wrap class; main{max-width:
   var(--wrap)} is the container the article template actually wraps content
   in -- ported here as the .wrap-equivalent) -- */
main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}
.ins-reading-col {
  max-width: var(--col);
  margin: 0 auto;
  padding: 64px 0 96px;
}

/* -- article chrome -- */
article h1 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.updated {
  font-family: var(--disp);
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: .02em;
  display: block;
  margin-bottom: 10px;
}

.byline {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.5;
  margin-bottom: 28px;
}
.byline a {
  color: var(--ink-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* /about/ founder portrait (same photo as the LinkedIn profile -- the visual
   half of the cross-source entity corroboration). */
.about-portrait {
  display: block;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  object-fit: cover;
  margin: 8px 0 20px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* -- body sections -- */
article section {
  margin-bottom: 48px;
}
article section h2 {
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 18px;
}
article section p {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
article section p:last-child { margin-bottom: 0; }
article section ul,
article section ol {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.75;
  padding-left: 1.5em;
  margin-bottom: 18px;
}
article section li { margin-bottom: 6px; }
article section strong { color: var(--ink); font-weight: 500; }
article section em { font-style: italic; }

/* inline links inside article body */
article section a { color: var(--teal); border-bottom: 1px solid transparent; }
article section a:hover { color: var(--teal-deep); border-color: var(--teal-deep); }

/* -- table -- */
article section table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 8px;
  font-size: .92rem;
  overflow-x: auto;
  display: block;
}
article section thead th {
  font-family: var(--disp);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg2);
  white-space: nowrap;
}
article section tbody tr:nth-child(even) { background: var(--bg2); }
article section tbody td {
  padding: 10px 14px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  line-height: 1.55;
}
article section tbody td:first-child {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}

/* -- blockquote -- */
article section blockquote {
  border-left: 3px solid var(--teal-deep);
  margin: 24px 0;
  padding: 12px 22px;
  background: var(--panel);
  color: var(--ink-soft);
  font-size: .97rem;
  line-height: 1.7;
}

/* -- funnel block (cluster interlinks + the single convert CTA) -- */
.funnel {
  margin-top: 64px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.funnel-more {
  font-family: var(--disp);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.funnel-links {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.funnel-links a {
  font-size: 1rem;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
}
.funnel-links a:hover { color: var(--teal-deep); border-color: var(--teal-deep); }
.funnel-line {
  font-family: var(--disp);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 46ch;
}

/* -- FAQ -- */
section.faq {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
section.faq > h2 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  background: var(--panel);
  margin-bottom: 14px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--teal); }
.faq-item h3 {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -.015em;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.4;
}
.faq-item p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* -- sources (corroboration block) -- */
.ins-sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.ins-sources h2 {
  font-family: var(--disp);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0 0 .75rem;
}
.ins-sources ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-body);
  font-size: .95rem;
}
.ins-sources ol > li { margin: .6rem 0; }
.ins-sources ol > li > ul {
  margin: .25rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}
.ins-sources ol > li > ul li {
  font-size: .85rem;
  color: var(--ink-faint);
  margin: .15rem 0;
}

/* -- site footer (site-chrome.js: siteFooter()) -- */
.ins-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
}
.ins-footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 44px;
}
.ins-footer-cta {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-soft);
}
.ins-footer-cta p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 44ch;
  margin: 0 auto 24px;
}
/* CTA button -- matches homepage .go.teal */
.go {
  font-family: var(--disp);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: 40px;
  display: inline-block;
  transition: transform .16s, box-shadow .25s;
  text-decoration: none;
}
.go.teal {
  background: linear-gradient(100deg, var(--teal), var(--teal-deep));
  color: #FFFFFF;
}
.go.teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(47, 107, 79, .5);
  color: #FFFFFF;
}
/* nav links row inside footer */
.ins-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-bottom: 32px;
  font-family: var(--disp);
  font-size: 13.5px;
}
.ins-footer-nav a {
  color: var(--ink-soft);
  transition: color .2s;
}
.ins-footer-nav a:hover { color: var(--ink); }
/* bottom row: wordmark left, email + copyright right */
.ins-footer-fine {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.ins-footer-fine .mark { font-size: 16px; }
.ins-footer-fine-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.ins-footer-fine-right a {
  font-family: var(--disp);
  font-size: 13px;
  color: var(--teal);
  transition: color .2s;
}
.ins-footer-fine-right a:hover { color: var(--ink); }
.ins-footer-fine-right p {
  font-family: var(--disp);
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* -- mobile -- */
@media (max-width: 820px) {
  .ins-header-inner { padding: 16px 22px; }
  .navr { gap: 20px; font-size: 13px; }
  main { padding: 0 22px; }
  .ins-reading-col { padding: 40px 0 64px; }
  .ins-footer-inner { padding: 0 22px; }
}

@media (max-width: 480px) {
  .ins-header-inner { padding: 14px 16px; }
  .navr { gap: 16px; font-size: 12.5px; }
  main { padding: 0 16px; }
  .ins-footer-inner { padding: 0 16px; }
  .ins-footer-fine { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ins-footer-fine-right { align-items: flex-start; }
}

/* -- hamburger nav (phones / small tablets) -- */
@media (max-width: 720px) {
  .ins-header-inner { position: relative; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; }
  .navr {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .18);
  }
  .navr.is-open { display: flex; }
  .navr a { padding: 13px 22px; font-size: 15px; }
}

/* -- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
