/* ============================================================================
   Landing pages (Partner / Lawsuit response / Free offer / Program).
   Builds on the .cc-reg system in regulations.css; only landing-specific
   pieces live here. Markup: blocks/landing/render.php.
   ============================================================================ */

.cc-lp .subhero-inner { align-items: start; }
.cc-lp .cc-lp-hero .sub { margin-bottom: 0; }

/* Cards: fit four across on desktop so the standard four products never leave an orphan. */
.cc-lp .modules { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Co-brand lockup: Captain x Partner */
.cc-lp-lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.cc-lp-lockup img { height: 34px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.cc-lp-lockup .cc-lp-partner { height: 40px; }
.cc-lp-x { font-size: 20px; color: var(--fg-3); line-height: 1; }
[data-theme="dark"] .cc-lp-lockup .cc-lp-partner { background: #fff; border-radius: 8px; padding: 6px 10px; height: 52px; }

/* Offer badge */
.cc-lp-offer {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15px;
  color: var(--accent); background: var(--accent-tint);
  border: 1px solid color-mix(in oklab, var(--accent) 35%, var(--line));
}
.cc-lp-offer::before { content: "★"; font-size: 13px; }

/* Key points */
.cc-lp-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.cc-lp-points li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--fg-1); line-height: 1.5; }
.cc-lp-points li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  color: var(--accent); background: var(--accent-tint);
}

/* Form card */
.cc-lp-formcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 26px 20px; box-shadow: 0 24px 64px -28px rgba(0,0,0,.35);
  scroll-margin-top: 96px;
}
.cc-lp-formhead { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--fg); }
.cc-lp-formnote { margin: 12px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); }
.cc-hsform { min-height: 280px; }
.cc-hsform-missing { min-height: 0; padding: 14px; border: 1px dashed var(--accent); border-radius: 8px; color: var(--accent); font-size: 14px; }
/* HubSpot renders its own markup (or an iframe); give it a light surface in dark mode so it stays legible. */
[data-theme="dark"] .cc-lp-formcard { background: #fff; color: #111; border-color: #e6e4e0; }
[data-theme="dark"] .cc-lp-formcard .cc-lp-formhead { color: #111; }
[data-theme="dark"] .cc-lp-formcard .cc-lp-formnote { color: #666; }

/* Steps */
.cc-lp-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: none; }
.cc-lp-steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.cc-lp-steps .n { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.cc-lp-steps h3 { margin: 10px 0 6px; font-size: 17px; font-weight: 600; }
.cc-lp-steps p { margin: 0; color: var(--fg-1); font-size: 14px; line-height: 1.55; }

/* Long-form copy (lawsuit letter / governing law) */
.cc-lp-prose { max-width: 72ch; color: var(--fg-1); font-size: 16px; line-height: 1.7; }
.cc-lp-prose p { margin: 0 0 14px; }
.cc-lp-prose ul { margin: 0 0 14px; padding-left: 20px; }
.cc-lp-prose a { color: var(--accent); }
.cc-lp-letter img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 24px 64px -28px rgba(0,0,0,.35); }

/* Quote */
.cc-lp-quote { margin: 0 auto; max-width: 820px; text-align: center; }
.cc-lp-quote blockquote { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; letter-spacing: -0.01em; color: var(--fg); }
.cc-lp-quote blockquote::before { content: "“"; color: var(--accent); }
.cc-lp-quote blockquote::after { content: "”"; color: var(--accent); }
.cc-lp-quote figcaption { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; }

/* Closing CTA */
.cc-lp-cta { text-align: center; }
.cc-lp-cta .sub { margin: 0 auto 28px; }
.cc-lp-cta .btn + .btn { margin-left: 8px; }

@media (max-width: 1100px) {
  .cc-lp .subhero-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .cc-lp-formcard { padding: 20px 16px 16px; }
  .cc-lp-cta .btn { width: 100%; justify-content: center; }
  .cc-lp-cta .btn + .btn { margin: 10px 0 0; }
  .cc-lp-lockup img { height: 28px; }
  .cc-lp-lockup .cc-lp-partner { height: 34px; }
}
