/* The Growth Amplifier — consolidated site stylesheet.
   Generated once by tools/migrate/extract-styles.py from the per-page
   inline <style> blocks of the pre-port site (legacy/snapshot/), then
   hand-maintained. Every rule is scoped under the page-group class its
   page carries on <html> (see tools/migrate/style-scopes.json); shared
   @font-face rules (from the retired fonts.css.snippet) load first. */

/* Self-hosted brand fonts. Manrope is a variable font — one file covers
   weights 400-800 via the wght axis. Bebas Neue is single-weight. */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/manrope.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==================== pg-insights (/insights/) ==================== */
:root.pg-insights {
      --ink:        #0A0B0D;
      --line:       rgba(255,255,255,0.08);
      --line-2:     rgba(255,255,255,0.14);
      --text:       #F5F6F7;
      --text-dim:   #A6ADB5;
      --text-mute:  #6B7079;
      --green:      #21B58C;
      --green-glow: rgba(33,181,140,0.45);
    }
/* === brand-guide headline override === */
.pg-insights h1, .pg-insights .section-h, .pg-insights .cat-h {
      font-family: 'Bebas Neue', 'Manrope', -apple-system, sans-serif !important;
      font-weight: 400 !important;
      letter-spacing: 0.005em;
    }
.pg-insights .eyebrow, .pg-insights .cat-eye, .pg-insights .section-eye {
      font-family: 'Bebas Neue', 'Manrope', sans-serif !important;
      letter-spacing: 0.14em;
      font-weight: 400 !important;
    }
:root.pg-insights, .pg-insights * { box-sizing: border-box; margin: 0; padding: 0; }
html.pg-insights { scroll-behavior: smooth; }
.pg-insights body { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--ink); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.pg-insights .bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 75%); }
.pg-insights .bg-glow { position: fixed; top: -200px; left: 50%; transform: translateX(-50%); width: 1100px; height: 700px; background: radial-gradient(ellipse at center, rgba(33,181,140,0.22) 0%, rgba(33,181,140,0.05) 35%, transparent 70%); z-index: 0; pointer-events: none; filter: blur(20px); }
.pg-insights .wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.pg-insights nav { position: sticky; top: 0; z-index: 50; background: rgba(10,11,13,0.72); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid var(--line); }
.pg-insights nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.pg-insights .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.pg-insights .brand-mark { height: 26px; width: auto; max-width: 200px; }
.pg-insights .nav-links { display: flex; align-items: center; gap: 28px; }
.pg-insights .nav-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s ease; }
.pg-insights .nav-links a:hover, .pg-insights .nav-links a.active { color: var(--text); }
.pg-insights .nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 5px; background: var(--green); color: #052E17 !important; font-weight: 600; font-size: 14px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; }
.pg-insights .nav-cta:hover { background: #41C4A0; transform: translateY(-1px); box-shadow: 0 8px 24px -8px var(--green-glow); }
@media (max-width: 880px) {
  .pg-insights .nav-links a:not(.nav-cta) { display: none; }
}
.pg-insights .hero {
      padding: 110px 0 50px; text-align: center;
      position: relative;
      background:
        linear-gradient(180deg, rgba(10,11,13,0.78) 0%, rgba(10,11,13,0.92) 70%, var(--ink) 100%);
      border-bottom: 1px solid var(--line);
      margin-bottom: -1px;
    }
.pg-insights .eyebrow { color: var(--green); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.pg-insights h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 18px; }
.pg-insights h1 em { color: var(--green); font-style: normal; }
.pg-insights .hero-sub { max-width: 620px; margin: 0 auto 0; color: var(--text-dim); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
/* Filter chips */
.pg-insights .filters-wrap { padding: 40px 0 20px; }
.pg-insights .filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pg-insights .chip {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 9px 18px; border-radius: 5px;
      background: rgba(255,255,255,0.03);
      border: 1px solid var(--line);
      color: var(--text-dim); font-size: 14px; font-weight: 500;
      cursor: pointer;
      transition: all .2s ease;
      font-family: inherit;
    }
.pg-insights .chip:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,0.06); }
.pg-insights .chip .count { color: var(--text-mute); font-size: 12px; font-weight: 600; }
.pg-insights .chip.active {
      background: rgba(33,181,140,0.12);
      border-color: rgba(33,181,140,0.35);
      color: var(--green);
    }
.pg-insights .chip.active .count { color: var(--green); }
.pg-insights .cards-section { padding: 30px 0 100px; }
.pg-insights .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1000px) {
  .pg-insights .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .pg-insights .cards { grid-template-columns: 1fr; }
}
.pg-insights .card { display: flex; flex-direction: column; padding: 28px; border-radius: 18px; background: linear-gradient(180deg, #16191D 0%, #0E1013 100%); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .3s ease, border-color .3s ease, opacity .3s ease; }
.pg-insights .card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pg-insights .card.hidden { display: none; }
.pg-insights .card .cat { font-size: 11px; color: var(--green); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.pg-insights .card h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 12px; color: var(--text); }
.pg-insights .card p { color: var(--text-dim); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.pg-insights .card .date { color: var(--text-mute); font-size: 12px; }
.pg-insights .empty-state { display: none; text-align: center; padding: 60px 20px; color: var(--text-dim); }
.pg-insights .empty-state.show { display: block; }
.pg-insights footer { padding: 56px 0 40px; border-top: 1px solid var(--line); }
.pg-insights .foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.pg-insights footer .links { display: flex; gap: 28px; flex-wrap: wrap; }
.pg-insights footer .links a { color: var(--text-mute); font-size: 13px; text-decoration: none; transition: color .2s; }
.pg-insights footer .links a:hover { color: var(--text); }
.pg-insights footer .copy { color: var(--text-mute); font-size: 13px; }

/* ==================== chrome & utilities (post-port, hand-added) ====================
   These replace the inline style= attributes the old site carried (the QA
   gate forbids them). Utilities use !important because they substitute for
   inline styles, which outranked every scoped rule. */
.u-pt-0  { padding-top: 0 !important; }
.u-pt-30 { padding-top: 30px !important; }
.u-pt-40 { padding-top: 40px !important; }
.u-pad-40-0-80  { padding: 40px 0 80px !important; }
.u-pad-60-0-110 { padding: 60px 0 110px !important; }
.u-pad-80-0-20  { padding: 80px 0 20px !important; }
.u-center  { text-align: center !important; }
.u-mw-720  { max-width: 720px !important; }
.u-span-2  { grid-column: span 2 !important; }
.u-mt-22   { margin-top: 22px !important; }
.link-green { color: var(--green) !important; }
.link-dashed { color: var(--green); text-decoration: none; border-bottom: 1px dashed rgba(33,181,140,0.5); }
.link-dashed-sm { color: var(--green); text-decoration: none; border-bottom: 1px dashed rgba(33,181,140,0.5); font-size: 14px; }
.note-mute { margin-top: 28px; color: var(--text-mute); font-size: 14px; }
.amount-cents { font-size: 16px; color: var(--text-dim); font-weight: 500; }

/* Homepage hero-mockup chart bars (were inline height styles) */
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(1) { height: 32%; }
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(2) { height: 48%; }
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(3) { height: 41%; }
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(4) { height: 65%; }
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(5) { height: 55%; }
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(6) { height: 78%; }
.pg-home .preview-main .card:nth-child(1) .bars div:nth-child(7) { height: 92%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(1) { height: 50%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(2) { height: 62%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(3) { height: 71%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(4) { height: 58%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(5) { height: 80%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(6) { height: 88%; }
.pg-home .preview-main .card:nth-child(2) .bars div:nth-child(7) { height: 95%; }

/* 404 page — rides the pg-unsubscribe scope (the utility-page chrome) via
   htmlClass "pg-unsubscribe pg-404"; these rules add only its own bits. */
.pg-404 .nf-code { font-family: 'Bebas Neue', 'Manrope', sans-serif; font-size: clamp(96px, 18vw, 180px); line-height: 1; color: var(--green); letter-spacing: 0.02em; }


/* pg-insights: topbar + Buy Now chrome — the pre-port insights page had a
   stale nav without these elements; rules mirrored from the pg-post scope */
.pg-insights .topbar { background: #000; border-bottom: 1px solid var(--line); font-size: 12px; }
.pg-insights .topbar .wrap { display: flex; justify-content: flex-end; align-items: center; min-height: 32px; padding-top: 4px; padding-bottom: 4px; }
.pg-insights .topbar a { color: var(--text-dim); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; transition: color .15s ease; display: inline-flex; align-items: center; gap: 6px; }
.pg-insights .topbar a:hover { color: var(--green); }
.pg-insights .topbar a svg { transition: transform .2s ease; }
.pg-insights .topbar a:hover svg { transform: translateX(2px); }
.pg-insights .nav-buy { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 5px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.03); color: var(--text-dim) !important; font-weight: 600; font-size: 14px; text-decoration: none; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.pg-insights .nav-buy:hover { color: var(--text) !important; border-color: rgba(255,255,255,0.30); background: rgba(255,255,255,0.06); }
.pg-insights .topbar a { font-size: 11px; }
@media (max-width: 480px) {
  .pg-insights .topbar a { font-size: 11px; }
}
