/* ===== FrontCache campaign landing pages =====
   Linked after styles.css and assets/pricing.css (which provides .video-frame,
   .fc-proof, .faq-*, .offer-*, .value-*, .btn-light / .btn-outline-light). */

/* ----- Hero: copy left, form right (form above the fold on desktop) ----- */
.lp-hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border-light);
  padding: 3.5rem 0 4rem;
}

.lp-hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.lp-hero-title {
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  font-weight: 300;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lp-hero-sub {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 1.5rem;
}

.lp-points { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 1.75rem; }

.lp-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lp-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.72rem;
  height: 0.72rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6A9E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.lp-points strong { color: var(--text-primary); font-weight: 600; }

/* The headline number, always with its method underneath. */
.lp-stat {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1.25rem;
}

.lp-stat-num {
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue-800);
  line-height: 1;
  white-space: nowrap;
}

.lp-stat-text { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }
.lp-stat-text a { color: var(--blue-600); text-decoration: underline; }

.lp-form-wrap { position: relative; }

.lp-form-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 0.25rem;
}

.lp-form-sub { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.25rem; }

.lp-form-wrap .contact-form { border: 1px solid var(--border); }

/* ----- Body content ----- */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.lp-split > *,
.lp-hero-layout > * { min-width: 0; }

.lp-split .section-title,
.lp-split .section-label { text-align: left; }

.lp-prose p { color: var(--text-secondary); margin-bottom: 1rem; }
.lp-prose p:last-child { margin-bottom: 0; }
.lp-prose strong { color: var(--text-primary); }

.lp-prose code,
.lp-points code,
.lp-table code,
.lp-card code {
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  padding: 0.05em 0.3em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.lp-code {
  background: var(--blue-900);
  color: var(--blue-100);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.lp-code code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.lp-code .c { color: var(--slate-400); }

.lp-code-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.lp-code-caption code {
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  padding: 0.05em 0.3em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.lp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.lp-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.lp-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.65; }

.lp-card--muted { background: var(--slate-50); box-shadow: none; }

/* ----- Comparison table ----- */
.lp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.lp-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.lp-table th,
.lp-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.5;
}

.lp-table thead th {
  background: var(--blue-50);
  color: var(--blue-900);
  font-weight: 600;
  white-space: nowrap;
}

.lp-table tbody th { color: var(--text-primary); font-weight: 500; width: 20%; }
.lp-table td { color: var(--text-secondary); }
.lp-table td:nth-child(2) { background: rgba(238, 244, 250, 0.6); color: var(--text-primary); }
.lp-table tr:last-child th,
.lp-table tr:last-child td { border-bottom: none; }

.lp-table .lp-group th {
  background: var(--slate-50);
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lp-yes::before { content: "\2713\00a0"; color: #2A7A68; font-weight: 700; }
.lp-part::before { content: "\25D0\00a0"; color: #B07A1E; }
.lp-no::before { content: "\2717\00a0"; color: #A23B3B; font-weight: 700; }

.lp-legend {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* ----- Steps (assessment) ----- */
.lp-steps {
  list-style: none;
  counter-reset: lp-step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.lp-steps li {
  counter-increment: lp-step;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lp-steps li::before {
  content: "0" counter(lp-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.lp-steps strong { display: block; color: var(--text-primary); margin-bottom: 0.25rem; }

/* ----- Video ----- */
.lp-video { max-width: 860px; margin: 0 auto; }

.lp-video figcaption {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* ----- Closing links (below the form, by design) ----- */
.lp-more {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
  .lp-cards { grid-template-columns: 1fr 1fr; }
  .lp-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .lp-hero-layout,
  .lp-split { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .lp-hero { padding: 2.5rem 0 3rem; }
  .lp-cards,
  .lp-steps { grid-template-columns: 1fr; }
  .lp-stat { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
