/* =================================================================
   samantm.com/ai-for-teams — page-specific styles
   Builds on samantm's existing brand tokens (cobalt accent, deep ink,
   Geist + Newsreader). Only the sections unique to this funnel are
   defined here: slim masthead, funnel-hero, outcome cards, the bundle
   two-column, testimonial quote grid, bio layout, pricing signal,
   large CTA buttons, slim footer.
================================================================= */


/* =========================================================
   SLIM MASTHEAD (single back-link instead of full nav)
========================================================= */
.masthead-slim .container-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.masthead-slim .back-link {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.masthead-slim .back-link:hover { color: var(--accent); }
.masthead-slim .back-link .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.masthead-slim .back-link:hover .arrow { transform: translate(2px, -2px); }


/* =========================================================
   FUNNEL HERO
========================================================= */
.funnel-hero {
  padding: 64px 0 56px;
  text-align: center;
}
@media (min-width: 720px) {
  .funnel-hero { padding: 96px 0 80px; }
}

.funnel-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 6px 14px;
  background: rgba(63, 135, 214, 0.08);
  border: 1px solid rgba(63, 135, 214, 0.22);
  border-radius: 999px;
}
[data-theme="light"] .funnel-hero .eyebrow {
  background: rgba(31, 82, 147, 0.08);
  border-color: rgba(31, 82, 147, 0.22);
}

.funnel-hero h1 {
  margin: 0 auto 24px;
  max-width: 720px;
  font-family: var(--font-sans);
  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
}
.funnel-hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.funnel-hero .lede {
  margin: 0 auto 36px;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-soft);
}

.funnel-hero .hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 640px) {
  .funnel-hero .hero-actions {
    flex-direction: row;
    justify-content: center;
    gap: 22px;
  }
}

.funnel-hero .trust-line {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin: 0;
}
.funnel-hero .trust-line strong { color: var(--text-soft); font-weight: 500; }


/* =========================================================
   CTA BUTTONS (primary + secondary)
========================================================= */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
  box-shadow: 0 8px 24px -8px rgba(63, 135, 214, 0.45);
}
.cta-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -8px rgba(63, 135, 214, 0.55);
}
.cta-primary .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.cta-primary:hover .arrow { transform: translateX(3px); }

.cta-primary-large {
  font-size: 16px;
  padding: 16px 28px;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.cta-secondary:hover { color: var(--accent); }
.cta-secondary .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.cta-secondary:hover .arrow { transform: translate(2px, -2px); }


/* =========================================================
   OUTCOMES (3 numbered cards)
========================================================= */
.outcomes h2 {
  max-width: 620px;
}

.outcome-cards {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: outcome;
}
@media (min-width: 880px) {
  .outcome-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.outcome-cards li {
  position: relative;
  padding: 28px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--bg-elev);
  border-radius: 10px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.outcome-cards li:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.outcome-cards li .num {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 14px;
}

.outcome-cards li h3 {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.outcome-cards li p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}


/* =========================================================
   THE BUNDLE (two-column block + footer anchor)
========================================================= */
.bundle h2 {
  max-width: 700px;
}
.bundle h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.bundle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 44px;
}
@media (min-width: 820px) {
  .bundle-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.bundle-side {
  padding: 32px 28px;
  background: var(--bg-soft);
  border: 1px solid var(--bg-elev);
  border-radius: 10px;
}
.bundle-side-accent {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(63,135,214,0.07), var(--bg-soft));
}
[data-theme="light"] .bundle-side-accent {
  background: linear-gradient(180deg, rgba(31,82,147,0.06), var(--bg-soft));
}

.bundle-side h3 {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bundle-side-accent h3 { color: var(--accent); }

.bundle-side p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}
.bundle-side p:last-child { margin-bottom: 0; }

/* The quieter "PS — there's also a product" line. Italic, muted,
   separated by a fine top rule so it reads as a footnote within
   the advisory column rather than a co-equal paragraph. */
.bundle-side .bundle-aside {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--bg-elev);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
}

.bundle-anchor {
  margin-top: 36px;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}
.bundle-anchor strong { color: var(--text); font-weight: 600; }
.bundle-anchor em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}


/* =========================================================
   TESTIMONIALS (quote grid)
========================================================= */
.testimonials h2 {
  max-width: 620px;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 44px;
  max-width: 920px;
}
@media (min-width: 820px) {
  .quote-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.quote {
  margin: 0;
  padding: 32px 30px;
  background: var(--bg-soft);
  border: 1px solid var(--bg-elev);
  border-radius: 10px;
  position: relative;
}
.quote::before {
  content: '"';
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}

.quote blockquote {
  margin: 0 0 22px;
  padding-top: 14px;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
  font-style: normal;
  quotes: none;
}

.quote figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 18px;
  border-top: 1px solid var(--bg-elev);
}
.quote-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.quote-title {
  font-size: 13px;
  color: var(--text-soft);
}
.quote-org {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}


/* =========================================================
   BIO BLOCK
========================================================= */
.bio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 820px) {
  .bio-layout { grid-template-columns: 200px 1fr; gap: 48px; }
}

.bio-portrait {
  margin: 0;
  width: clamp(160px, 30vw, 200px);
}
.bio-portrait img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  border: 1px solid var(--bg-elev);
}

.bio-prose .block-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.bio-prose h2 {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.bio-prose p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
}
.bio-prose p em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-soft);
}
.bio-prose p a:not(.papi-wordmark) {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(63,135,214,0.35);
}
.bio-prose p a:not(.papi-wordmark):hover { border-bottom-color: var(--accent); }

.bio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.bio-link:hover { color: var(--accent); }
.bio-link .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}
.bio-link:hover .arrow { transform: translate(2px, -2px); }


/* =========================================================
   PRICING SIGNAL (single sentence block)
========================================================= */
.pricing-signal {
  padding-top: 60px;
  padding-bottom: 60px;
}
.price-note {
  max-width: 720px;
  margin: 32px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text-soft);
}


/* =========================================================
   FINAL CTA
========================================================= */
.final-cta {
  text-align: center;
  padding-top: 64px;
  padding-bottom: 96px;
}
.final-cta h2 {
  max-width: 640px;
  margin: 0 auto 18px;
  font-family: var(--font-sans);
  font-size: clamp(32px, 4.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.final-cta .block-lead {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--text-soft);
}

.final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
@media (min-width: 640px) {
  .final-actions {
    flex-direction: row;
    justify-content: center;
    gap: 28px;
  }
}


/* =========================================================
   SLIM FOOTER (no nav lists, just brand + minimal links)
========================================================= */
.footer-slim {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--bg-elev);
  background: var(--bg-soft);
}
.footer-slim .container-page {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 720px) {
  .footer-slim .container-page {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
  }
}
.footer-slim .wordmark {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.footer-slim .wordmark .dot { color: var(--accent); }
.footer-slim .footer-tagline {
  margin: 14px 0 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-slim .tribute {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
}


/* =========================================================
   PAGE-LEVEL TWEAKS
========================================================= */
.page-funnel main {
  padding-bottom: 0;
}
.page-funnel .block {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 720px) {
  .page-funnel .block {
    padding-top: 112px;
    padding-bottom: 112px;
  }
}
.page-funnel .section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.page-funnel .section-head .num {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.page-funnel .section-head .eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.page-funnel h2 {
  font-family: var(--font-sans);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.page-funnel h2 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
