/* ==========================================================================
   /content — Content landing page
   Loaded only on pages/content.tsx, after public/css/landing-v2.css.
   Foundation, typography, layout, buttons, plans, steps, final CTA and
   footer chrome come from styles/shared.css + public/css/landing-v2.css and
   are intentionally NOT repeated here. This file carries the /content-specific
   blocks plus the deltas where the page diverges from landing-v2.
   ========================================================================== */

.landing-v2.content-page {
  --ph: #e6e1d8;
  --ph-2: #dad4c8;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  overflow-x: clip;
  font-feature-settings: 'ss01', 'cv11';
  font-variant-numeric: tabular-nums;
}

/* globals.css puts Inter on body; this page is DM Sans, like the mockup.
   Portalled chrome (login modal) renders outside .content-page, so body must
   carry it too. content.css is only loaded on /content. */
body:has(.content-page) {
  background: var(--paper);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  font-feature-settings: 'ss01', 'cv11';
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   HERO — deltas vs landing-v2
   ========================================================================== */
.content-page .hero {
  padding: 70px 0 96px;
}

@media (max-width: 900px) {
  .content-page .hero {
    padding: 56px 0 72px;
  }
}

.content-page .hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

@media (max-width: 1024px) {
  .content-page .hero-grid {
    grid-template-columns: 1fr;
  }

  .content-page .hero-posts {
    margin-right: auto;
  }
}

/* Grid centers the copy on the wall's box, which the 5-card middle column
   stretches downward; nudge up to center on the cards themselves. */
@media (min-width: 1025px) {
  .content-page .hero-copy {
    transform: translateY(-56px);
  }
}

.content-page .hero-badge .av {
  background: var(--ph);
}

.content-page .hero-bullets {
  margin: 38px 0 40px;
}

/* Hero right column — floating 3-column feed of (4:5) posts */
.content-page .hero-grid-visual {
  position: relative;
}

.content-page .hero-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 440px;
  margin-left: auto;
  --sy: 0px;
  --fade: 80px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent
  );
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 var(--fade),
    #000 calc(100% - var(--fade)),
    transparent
  );
}

.content-page .hero-posts-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translate3d(0, var(--y, 0px), 0);
  will-change: transform;
}

.content-page .hero-posts-col:nth-child(1) {
  --y: calc(var(--sy) * -0.14);
}

.content-page .hero-posts-col:nth-child(2) {
  --y: calc(32px + var(--sy) * 0.2);
}

.content-page .hero-posts-col:nth-child(3) {
  --y: calc(-14px + var(--sy) * -0.12);
}

.content-page .hero-post {
  aspect-ratio: 4/5;
  background: var(--ph) center / cover no-repeat;
  flex-shrink: 0;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px -14px rgba(20, 19, 39, 0.22),
    0 2px 6px -2px rgba(20, 19, 39, 0.08);
}

.content-page .hero-post.alt {
  background: var(--ph-2);
}

.content-page .hero-post.reel::after {
  content: '▶';
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 12px;
  opacity: 0.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 520px) {
  .content-page .hero-posts {
    max-width: 340px;
    gap: 12px;
    --fade: 56px;
  }
  .content-page .hero-posts-col {
    gap: 12px;
  }
  .content-page .hero-posts-col:nth-child(1) {
    --y: calc(var(--sy) * -0.09);
  }
  .content-page .hero-posts-col:nth-child(2) {
    --y: calc(22px + var(--sy) * 0.14);
  }
  .content-page .hero-posts-col:nth-child(3) {
    --y: calc(-10px + var(--sy) * -0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-page .hero-posts-col {
    --y: 0px !important;
  }
  .content-page .hero-posts-col:nth-child(2) {
    --y: 32px !important;
  }
  .content-page .hero-posts-col:nth-child(3) {
    --y: -14px !important;
  }
}

.content-page .hero-float-note {
  position: absolute;
  bottom: -18px;
  right: -8px;
  z-index: 3;
  background: var(--ink);
  color: #f5f1e8;
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
}

.content-page .hero-float-note b {
  color: #fff;
}

@media (max-width: 640px) {
  .content-page .hero-float-note {
    right: 8px;
    bottom: 8px;
  }
}

/* ==========================================================================
   VALUE / OUTCOME BAR
   ========================================================================== */
.content-page .valuebar {
  background: var(--ink);
  color: #f5f1e8;
  padding: 28px 0;
}

.content-page .valuebar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 900px) {
  .content-page .valuebar .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

.content-page .valuebar .m b {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: #fff;
}

.content-page .valuebar .m span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.65);
  font-weight: 600;
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.content-page .benefits-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.content-page .benefits-head .label,
.content-page .ba-head .label,
.content-page .team-head .label,
.content-page .examples-head .label,
.content-page .niches-head .label,
.content-page .steps-head .label,
.content-page .proof-head .label {
  justify-content: center;
}

.content-page .benefits-head h2,
.content-page .ba-head h2,
.content-page .examples-head h2,
.content-page .niches-head h2,
.content-page .steps-head h2,
.content-page .proof-head h2 {
  margin-top: 18px;
}

.content-page .benefits-head p,
.content-page .ba-head p,
.content-page .examples-head p,
.content-page .niches-head p,
.content-page .steps-head p {
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--ink-soft);
}

.content-page .benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .content-page .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .content-page .benefits {
    grid-template-columns: 1fr;
  }
}

.content-page .benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px 26px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.content-page .benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.content-page .benefit .b-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.content-page .benefit.green .b-ic {
  background: var(--green-tint);
  color: var(--green-deep);
}

.content-page .benefit.pink .b-ic {
  background: #fce4ec;
  color: #b1305b;
}

.content-page .benefit.amber .b-ic {
  background: #fff3d9;
  color: #8a5a00;
}

.content-page .benefit h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.content-page .benefit p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ==========================================================================
   BEFORE / AFTER
   ========================================================================== */
.content-page .ba-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.content-page .ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 852px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 900px) {
  .content-page .ba-grid {
    grid-template-columns: 1fr;
  }
}

.content-page .ba-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.content-page .ba-col.after {
  border-color: var(--green-soft);
  box-shadow: 0 0 0 1px var(--green-soft) inset;
}

.content-page .ba-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-page .ba-col.before .ba-tag {
  background: #f7eaea;
  color: #8a2929;
}

.content-page .ba-col.after .ba-tag {
  background: var(--green-tint);
  color: var(--green-deep);
}

.content-page .ba-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}

.content-page .ba-sub {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 20px;
}

.content-page .ba-feed {
  aspect-ratio: 2005 / 2498;
  background: var(--ph) center / contain no-repeat;
  border: 4px solid var(--ph);
  border-radius: 12px;
}

.content-page .ba-metric {
  display: flex;
  gap: 22px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.content-page .ba-metric .k {
  color: var(--ink-muted);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.content-page .ba-metric .v {
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin-top: 4px;
}

.content-page .ba-col.after .ba-metric .v {
  color: var(--green-deep);
}

.content-page .ba-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (max-width: 900px) {
  .content-page .ba-divider {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    display: inline-block;
    margin: 0 auto;
  }
}

/* ==========================================================================
   TEAM / QUALITY
   ========================================================================== */
.content-page .team-head {
  max-width: 780px;
  margin: 0 auto 48px;
}

.content-page .team-head p {
  margin: 20px 0 0;
  font-size: 18px;
}

.content-page .team-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .content-page .team-roles {
    grid-template-columns: 1fr;
  }
}

.content-page .role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px 26px;
  position: relative;
}

.content-page .role-avatar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.content-page .role-avatar-row .av {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ph);
  border: 3px solid var(--blue-tint);
  flex-shrink: 0;
}

.content-page .role-card.g .role-avatar-row .av {
  border-color: var(--green-tint);
}

.content-page .role-card.p .role-avatar-row .av {
  border-color: #fce4ec;
}

.content-page .role-avatar-row .role-tag {
  margin-bottom: 0;
}

.content-page .role-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.content-page .role-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}

.content-page .role-card.g .role-tag {
  background: var(--green-tint);
  color: var(--green-deep);
}

.content-page .role-card.p .role-tag {
  background: #fce4ec;
  color: #b1305b;
}

.content-page .role-desc {
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 16px;
}

.content-page .role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-page .role-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink);
}

.content-page .role-list svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.content-page .team-footnote {
  max-width: 820px;
  margin: 44px auto 0;
  text-align: center;
  padding: 20px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink);
  font-size: 15.5px;
}

.content-page .team-footnote b {
  color: var(--ink);
}

/* Scroll-driven navy fade — useTeamColorMix feeds --mix (0 = paper, 1 = navy) */
#team {
  --mix: 0;
  background-color: color-mix(
    in srgb,
    #faf8f4 calc((1 - var(--mix)) * 100%),
    #0b0d1f
  );
}

#team .team-head h2 {
  color: color-mix(in srgb, #141327 calc((1 - var(--mix)) * 100%), #f5f1e8);
}

#team .team-head p,
#team .team-head .label {
  color: color-mix(
    in srgb,
    #4a4a68 calc((1 - var(--mix)) * 100%),
    rgba(245, 241, 232, 0.72)
  );
}

@media (prefers-reduced-motion: reduce) {
  #team {
    --mix: 0 !important;
  }
}

/* ==========================================================================
   EXAMPLES GRID
   ========================================================================== */
.content-page .examples-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.content-page .ex-tabs {
  display: inline-flex;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin: 0 auto 34px;
  gap: 4px;
}

.content-page .ex-tabs .tab {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.content-page .ex-tabs .tab.is-active {
  background: var(--ink);
  color: #f5f1e8;
}

.content-page .ex-tabs-wrap {
  text-align: center;
}

.content-page .examples-grid {
  column-count: 6;
  column-gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .content-page .examples-grid {
    column-count: 4;
  }
}

@media (max-width: 640px) {
  .content-page .examples-grid {
    column-count: 3;
    column-gap: 8px;
  }
}

.content-page .examples-grid .ex {
  break-inside: avoid;
  margin-bottom: 12px;
  aspect-ratio: 4/5;
  background: var(--ph) center / cover no-repeat;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

@media (max-width: 640px) {
  .content-page .examples-grid .ex {
    margin-bottom: 8px;
  }
}

.content-page .examples-grid .ex:hover {
  transform: scale(1.02);
}

.content-page .examples-grid .ex.tall {
  aspect-ratio: 9/16;
}

.content-page .examples-grid .ex.wide {
  aspect-ratio: 2/1;
  grid-column: span 2;
  background: linear-gradient(135deg, #e8dccf, #d4c4b0);
}

.content-page .examples-grid .ex.alt {
  background: var(--ph-2);
}

.content-page .examples-grid .ex .kind {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(20, 19, 39, 0.72);
  color: #fff;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.content-page .examples-grid .ex .kind.reel {
  background: rgba(225, 48, 108, 0.85);
}

/* ==========================================================================
   NICHES
   ========================================================================== */
.content-page .niches-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.content-page .niches-wrap {
  overflow: hidden;
  position: relative;
  padding: 6px 0;
}

.content-page .niches-wrap::before,
.content-page .niches-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.content-page .niches-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), transparent);
}

.content-page .niches-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--paper), transparent);
}

.content-page .niches-track {
  display: flex;
  gap: 20px;
  width: max-content;
  --ns: 0px;
  transform: translate3d(calc(var(--ns) * -1), 0, 0);
  will-change: transform;
}

.content-page .niche {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 22px 22px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 300px;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}

.content-page .niche:hover {
  box-shadow: 0 20px 40px -22px rgba(20, 19, 39, 0.14);
}

.content-page .niche-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.content-page .niche-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.content-page .niche.health .niche-tag {
  background: #fdecee;
  color: #b4183c;
}

.content-page .niche.wellness .niche-tag {
  background: var(--green-tint);
  color: var(--green-deep);
}

.content-page .niche.fashion .niche-tag {
  background: #f5e5f0;
  color: #8b2668;
}

.content-page .niche.medical .niche-tag {
  background: #e5f0fa;
  color: #164b7a;
}

.content-page .niche.realestate .niche-tag {
  background: #f1ebdd;
  color: #7a5a22;
}

.content-page .niche.yoga .niche-tag {
  background: #fbe9db;
  color: #a65127;
}

.content-page .niche.finance .niche-tag {
  background: #e3ebee;
  color: #2c4a55;
}

.content-page .niche.fitness .niche-tag {
  background: #ebe7f5;
  color: #4a3a8e;
}

.content-page .niche-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 8px;
}

.content-page .niche-meta {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.content-page .niche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  background: var(--paper-2);
  border-radius: 8px;
}

.content-page .niche-tile {
  aspect-ratio: 4/5;
  background: var(--ph) center / cover no-repeat;
  border-radius: 3px;
}

.content-page .niche-tile.alt {
  background: var(--ph-2);
}

.content-page .niche-metric {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--paper-2);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink);
}

.content-page .niche-metric .up {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.content-page .niche-metric b {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 640px) {
  .content-page .niches-wrap {
    margin: 0 -20px;
  }
  .content-page .niches-wrap::before,
  .content-page .niches-wrap::after {
    width: 40px;
  }
  .content-page .niches-track {
    gap: 14px;
  }
  .content-page .niche {
    width: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-page .niches-track {
    transform: none !important;
  }
}

/* ==========================================================================
   HOW IT WORKS — 3 steps (deltas vs landing-v2 .step)
   ========================================================================== */
.content-page .steps-head {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.content-page .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 900px) {
  .content-page .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.content-page .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px 30px 30px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.content-page .step:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -22px rgba(20, 19, 39, 0.16);
}

/* landing-v2 orders .step children for its own markup; reset to source order.
   Listed per-child: a `> *` selector is only (0,2,0) and would lose to
   landing-v2's `.step h3` / `.step p` order rules. */
.content-page .step > .step-visual,
.content-page .step > h3,
.content-page .step > p,
.content-page .step > .step-time {
  order: 0;
}

.content-page .step-visual {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.content-page .step h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}

/* Two classes deep: beats landing-v2's .landing-v2 .step p rule */
.content-page .step .step-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 20px;
}

.content-page .step-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: auto;
  align-self: flex-start;
}

.content-page .step-time::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ==========================================================================
   PLANS — deltas vs landing-v2
   ========================================================================== */
.content-page .pricing-head {
  max-width: 720px;
}

.content-page .pricing-head .label {
  justify-content: center;
}

/* Selector card is taller than the old plan cards: extend the dark band to the section end */
.content-page .pricing:before {
  height: auto;
  bottom: 0;
}

/* Content Flexible card — configure (left) + summary & included (right).
   Reuses landing-v2's .plan-name / .plan-price / .plan-strike / .plan-50 /
   .plan-sub / .plan-features-label so it reads like the growth plan cards. */
.content-page .cplan {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  max-width: 1060px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.65);
}

.content-page .cplan-config {
  display: flex;
  flex-direction: column;
  padding: 44px 44px 40px;
}

/* Both columns are flex so their last item (scheduling / crew) can take
   margin-top: auto and end on the same line as the other column. */
.content-page .cplan-summary {
  display: flex;
  flex-direction: column;
  padding: 44px 40px 40px;
  background: var(--paper-2);
  border-left: 1px solid var(--line);
}

.content-page .cplan-pitch {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.content-page .cplan-pitch-short {
  display: none;
}

.content-page .cplan-step {
  margin: 30px 0 12px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Quick-start presets */
.content-page .cplan-presets {
  display: grid;
  gap: 10px;
}

/* Stacked rows: name + mix on the left, price spanning both on the right */
.content-page .cplan-preset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  color: var(--ink);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.content-page .cplan-preset:hover {
  border-color: var(--ink-faint);
  transform: translateY(-1px);
}

.content-page .cplan-preset:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.content-page .cplan-preset.is-active {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink), 0 14px 26px -18px rgba(20, 19, 39, 0.45);
}

.content-page .cplan-preset b {
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.content-page .cplan-preset-mix {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
}

.content-page .cplan-preset-mix span {
  display: inline-block;
  white-space: nowrap;
}

.content-page .cplan-preset-mix-short {
  display: none;
}

.content-page .cplan-preset-price {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}

.content-page .cplan-preset-price small,
.content-page .cplan-qty-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-muted);
}

/* Desktop: presets side by side; name, mix and price stack in each card */
@media (min-width: 901px) {
  .content-page .cplan-presets {
    grid-template-columns: 1fr 1fr;
  }

  .content-page .cplan-preset {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .content-page .cplan-preset-price {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }
}

.content-page .cplan-preset-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 8px;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 3px;
}

/* Images / Reels pickers — native radios styled as a segmented control */
.content-page .cplan-pickers {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.content-page .cplan-qty {
  min-width: 0;
  margin: 0;
  padding: 16px 16px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.content-page .cplan-qty-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-page .cplan-qty-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.content-page .cplan-qty-ic.reel {
  background: #fce8f0;
  color: #b0266a;
}

.content-page .cplan-qty-title {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.content-page .cplan-qty-title b {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}

.content-page .cplan-qty-title span {
  font-size: 13px;
  color: var(--ink-muted);
}

.content-page .cplan-qty-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: Outfit, sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.content-page .cplan-qty-price s {
  margin-right: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-faint);
}

.content-page .cplan-qty-price button {
  padding: 0;
  background: none;
  border: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page .cplan-qty-price button:hover {
  color: var(--ink);
}

.content-page .cplan-qty-price button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

.content-page .cplan-seg {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: 14px;
  padding: 4px;
  background: var(--paper-3);
  border-radius: 12px;
}

.content-page .cplan-seg button {
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.content-page .cplan-seg button:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.content-page .cplan-seg button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 6px 14px -8px rgba(20, 19, 39, 0.7);
}

.content-page .cplan-seg button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.content-page .cplan-qty-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.content-page .cplan-qty-note b {
  font-weight: 600;
  color: var(--green-deep);
}

/* Crew strip — closes the summary column, below what's included */
.content-page .cplan-crew {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.content-page .cplan-crew-ics {
  display: flex;
  flex-shrink: 0;
}

.content-page .cplan-crew-ics svg {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 9px;
  border: 2px solid var(--paper-2);
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-deep);
}

.content-page .cplan-crew-ics svg + svg {
  margin-left: -10px;
}

.content-page .cplan-crew-ics svg:nth-child(2) {
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.content-page .cplan-crew-ics svg:nth-child(3) {
  background: #fce8f0;
  color: #b0266a;
}

.content-page .cplan-crew p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-muted);
}

.content-page .cplan-crew b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* Summary: price, CTA, what's included */
.content-page .cplan-summary .plan-features-label {
  margin-bottom: 10px;
}

.content-page .cplan-mix {
  font-family: Outfit, sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}

.content-page .cplan-mix span {
  display: block;
  margin-top: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-muted);
}

.content-page .cplan .plan-price {
  margin: 20px 0 8px;
}

.content-page .cplan-discount {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.content-page .cplan .plan-50 {
  text-transform: uppercase;
}

.content-page .cplan .plan-sub {
  margin: 10px 0 22px;
}

.content-page .cplan-empty {
  margin: 12px 0 24px;
  color: var(--ink-muted);
  font-size: 15px;
}

.content-page .cplan-cta {
  width: 100%;
  justify-content: center;
}

.content-page .cplan-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  background: var(--blue);
}

.content-page .cplan-assure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-muted);
}

.content-page .cplan-assure svg {
  color: var(--green);
  flex-shrink: 0;
}

.content-page .cplan-included {
  margin-top: 28px;
  margin-bottom: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}

.content-page .cplan-included ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-page .cplan-included li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

.content-page .cplan-included li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

.content-page .cplan-included .feature-note {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  color: var(--ink-muted);
}

.content-page .cplan-nudge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  background: #fff;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-md);
  color: var(--blue-deep);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  transition: border-color 0.2s, background-color 0.2s;
}

.content-page .cplan-nudge:hover {
  border-color: var(--blue);
  background: var(--blue-tint);
}

.content-page .cplan-nudge:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.content-page .cplan-nudge svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.content-page .cplan-nudge .feature-note {
  font-weight: 400;
}

@media (prefers-reduced-motion: no-preference) {
  .content-page .cplan-included li,
  .content-page .cplan-nudge {
    animation: cplan-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
}

@keyframes cplan-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.content-page .cplan-bar,
.content-page .cplan-bar-slot {
  display: none;
}

@media (max-width: 900px) {
  /* Single column. Block (not grid) + overflow: clip so .cplan-bar can stick
     across the whole card; hidden/grid would pin it to its own box. */
  .content-page .pricing,
  .content-page .cplan {
    overflow: clip;
  }

  .content-page .cplan {
    display: flow-root;
    max-width: 560px;
    background: var(--paper-2);
  }

  .content-page .cplan-config {
    background: #fff;
  }

  /* The sticky bar carries the price + CTA on phones */
  .content-page .cplan-summary .plan-price,
  .content-page .cplan-summary .cplan-discount,
  .content-page .cplan-summary .plan-sub,
  .content-page .cplan-summary .cplan-cta {
    display: none;
  }

  .content-page .cplan-assure {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .content-page .cplan-bar {
    position: sticky;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 10px 0;
    padding: 10px 8px 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
    transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Dock / lift. Docked = seated in the card: flat, settles from a slight
     lift. Following = floating: shadow returns as it rises out of the slot.
     The data attribute comes from content-pricing-selector.tsx. */
  .content-page .cplan-bar[data-docked='true'] {
    box-shadow: 0 1px 2px rgba(20, 19, 39, 0.12);
    animation: cplan-bar-dock 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .content-page .cplan-bar[data-docked='false'] {
    animation: cplan-bar-lift 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .content-page .cplan-bar-slot {
    display: block;
    height: 0;
  }

  .content-page .cplan-bar-price {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
  }

  .content-page .cplan-bar-price b {
    font-family: Outfit, sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .content-page .cplan-bar-price .plan-50 {
    margin-left: 2px;
    padding: 2px 6px;
    font-size: 10px;
    text-transform: uppercase;
    white-space: nowrap;
    vertical-align: 3px;
  }

  .content-page .cplan-bar-price small {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(245, 241, 232, 0.72);
  }

  .content-page .cplan-bar .btn {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 14.5px;
    white-space: nowrap;
  }

  .content-page .cplan-bar .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    background: var(--blue);
  }

  .content-page .cplan-config {
    padding: 30px 22px 26px;
  }

  .content-page .cplan-summary {
    padding: 28px 22px 30px;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .content-page .cplan-presets {
    gap: 8px;
  }

  /* Compact presets: icon mix (12 [img] 3 [reel]) replaces the text,
     which stays available to screen readers. */
  .content-page .cplan-preset {
    padding: 12px 14px;
  }

  .content-page .cplan-preset-mix {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .content-page .cplan-preset-mix-short {
    display: flex;
    flex-wrap: wrap;
    column-gap: 9px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-muted);
  }

  .content-page .cplan-preset-mix-short span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
  }

  .content-page .cplan-preset-mix-short svg {
    flex-shrink: 0;
  }

  .content-page .cplan-preset-badge {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .content-page .cplan-qty {
    padding: 14px 12px 12px;
  }

  .content-page .cplan-seg button {
    height: 42px;
  }

  /* Mobile height trims: the crew is named in the pitch/team section, and
     the notes + picker subtitles repeat what the list and titles say. */
  .content-page .cplan-crew,
  .content-page .cplan-qty-title span,
  .content-page .cplan-included .feature-note,
  .content-page .cplan-pitch-long {
    display: none;
  }

  .content-page .cplan-pitch-short {
    display: inline;
  }

  .content-page .cplan-pitch {
    margin-top: 6px;
  }

  .content-page .cplan-config {
    padding: 24px 18px 20px;
  }

  .content-page .cplan-summary {
    padding: 22px 18px 24px;
  }

  .content-page .cplan-step {
    margin: 18px 0 10px;
  }

  .content-page .cplan-included {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 18px;
  }

  .content-page .cplan-included ul {
    gap: 8px;
  }
}

/* Keep the sticky price bar above Intercom's popup (z 2147483000), whose
   full-width frame otherwise swallows taps on the CTA. main (z 2) and
   .pricing .wrap (z 1) are stacking contexts that cap the bar, so drop them;
   the grain overlay goes to z 0 so content still paints over it. Hide the bar
   while Intercom's full-screen messenger is open. */
@media (max-width: 900px) {
  .landing-v2.content-page::before {
    z-index: 0;
  }

  .content-page #main-content,
  .content-page .pricing .wrap {
    z-index: auto;
  }

  .content-page .cplan-bar {
    z-index: 2147483001;
  }

  @media (prefers-reduced-motion: reduce) {
    .content-page .cplan-bar[data-docked] {
      animation: none;
    }
  }

  html.intercom-mobile-messenger-active .content-page .cplan-bar {
    display: none;
  }
}

@keyframes cplan-bar-dock {
  from {
    transform: translateY(-4px) scale(1.02);
  }
}

@keyframes cplan-bar-lift {
  from {
    transform: translateY(10px) scale(0.97);
  }
}

/* Below-plans reassurance strip on dark bg */
.content-page .pricing-foot {
  max-width: 920px;
  margin: 44px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(245, 241, 232, 0.65);
  font-size: 14px;
}

.content-page .pricing-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.content-page .pricing-foot svg {
  color: #6ee7b7;
}

/* ==========================================================================
   PROOF / TESTIMONIALS
   ========================================================================== */
.content-page .proof-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}

.content-page .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .content-page .proof-grid {
    grid-template-columns: 1fr;
  }
}

.content-page .proof-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 26px 24px;
}

.content-page .proof-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}

.content-page .proof-q {
  margin: 16px 0 22px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  display: block;
  font-family: inherit;
  font-style: normal;
}

.content-page .proof-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-page .proof-person .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ph) center / cover no-repeat;
  flex-shrink: 0;
}

.content-page .proof-person .n {
  font-weight: 600;
  color: var(--ink);
  font-size: 14.5px;
}

.content-page .proof-person .r {
  color: var(--ink-muted);
  font-size: 13px;
}

/* ==========================================================================
   Final CTA — delta vs landing-v2
   ========================================================================== */
.content-page .final .final-actions {
  margin-top: 8px;
}

/* ==========================================================================
   FAQ
   Renders the shared components/shared/faq/faq.tsx accordion with its own
   styles/faq.css look. Deliberately not restyled to the mockup's white-card
   .faq-item treatment — revisit here if the shared accordion gets a redesign.
   ========================================================================== */

/* ==========================================================================
   Pricing card — Scheduling & Publishing row (switch + free state)
   ========================================================================== */
.content-page .cplan-sched {
  margin-top: auto;
}

/* Price and switch on one line keeps the head as short as the other pickers */
.content-page .cplan-sched-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-page .cplan-sched .cplan-qty-note {
  margin-top: 8px;
}

.content-page .cplan-sched .cplan-qty-note:empty {
  display: none;
}

.content-page .cplan-sched-free {
  color: var(--green);
}

.content-page .cplan-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  padding: 0;
  background: var(--line-2);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.content-page .cplan-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(20, 19, 39, 0.25);
  transition: transform 0.2s;
}

.content-page .cplan-switch[aria-checked='true'] {
  background: var(--blue);
}

.content-page .cplan-switch[aria-checked='true']::after {
  transform: translateX(20px);
}

.content-page .cplan-switch:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.content-page .cplan-switch:disabled {
  cursor: default;
}

@media (prefers-reduced-motion: reduce) {
  .content-page .cplan-switch,
  .content-page .cplan-switch::after {
    transition: none;
  }
}
