/* LeisureCheck — /caravan-check landing page (prepared 2 Nov 2026, LOCAL ONLY; pending owner approval).
   Loaded ONLY by caravan-check.html, after styles.css and home.css. Uses existing colour tokens; no new colours.
   Rollback: delete this file together with caravan-check.html. */

/* ---- Hero: everything that matters fits on the first mobile screen ---- */
.cc-hero { background: var(--ivory, #f7f5ef); padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.cc-hero-inner { max-width: 760px; }
.cc-hero h1 { font-size: clamp(1.7rem, 5.6vw, 2.6rem); line-height: 1.15; margin: 8px 0 12px; }
.cc-lead { font-size: 1.04rem; line-height: 1.5; margin: 0 0 16px; }

.cc-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; margin: 0 0 16px; }
.cc-price {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--navy);
}
.cc-price-plat { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); }
.cc-price-name { font-size: 0.86rem; color: var(--slate); font-weight: 600; }
.cc-price-amount { font-family: var(--font-heading); font-size: 1.55rem; font-weight: 800; line-height: 1.1; }
.cc-price-desc { font-size: 0.8rem; color: var(--slate); line-height: 1.25; }
.cc-example-fig a { display: block; }

.cc-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cc-text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cc-hero-note { margin: 12px 0 0; font-size: 0.88rem; color: var(--slate); }

/* ---- A. What you'll learn ---- */
.cc-learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.cc-learn-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.cc-learn-item h3 { font-size: 1.05rem; margin: 0 0 6px; }
.cc-learn-item p { margin: 0; font-size: 0.95rem; }
.cc-learn-plat { background: var(--teal-tint); border-color: var(--teal); }
@media (max-width: 860px) { .cc-learn { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cc-learn { grid-template-columns: 1fr; gap: 10px; } .cc-learn-item { padding: 14px 16px; } }

/* ---- B. Report example ---- */
.cc-example { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.cc-example-fig { margin: 0; }
.cc-example-fig img {
  display: block; width: 100%; height: auto; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); background: var(--white);
}
.cc-example-fig figcaption { font-size: 0.86rem; color: var(--slate); margin-top: 8px; }
@media (max-width: 700px) { .cc-example { grid-template-columns: 1fr; } }
.cc-small { max-width: 760px; margin: 18px auto 0; font-size: 0.92rem; text-align: center; }

/* ---- C. Comparison ---- */
.cc-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto 22px; align-items: end; }
.cc-plans .plan-card { padding: 20px; }
.cc-plans .plan-price { margin: 6px 0 0; }
@media (max-width: 520px) { .cc-plans { gap: 10px; } .cc-plans .plan-card { padding: 16px 12px; } .cc-plans .btn { font-size: 0.9rem; padding-inline: 8px; } }
.cc-compare { max-width: 980px; margin: 0 auto; }
.cc-compare td { width: 30%; }

/* ---- E. Ordering steps ---- */
.cc-steps { list-style: none; counter-reset: cc; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 12px; }
.cc-steps li { counter-increment: cc; position: relative; padding: 14px 16px 14px 60px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.cc-steps li::before {
  content: counter(cc); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: var(--white); font-weight: 700; display: grid; place-items: center;
}
.cc-steps h3 { font-size: 1.02rem; margin: 0 0 4px; }
.cc-steps p { margin: 0; font-size: 0.95rem; }

.cc-narrow { max-width: 760px; }
.cc-btn-on-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }

@media (max-width: 640px) {
  main .section { padding: 40px 0; }
  main .section-header { margin-bottom: 20px; }
}

/* Comparison on phones: one card per row, Basic and Platinum side by side (no sideways scrolling). */
@media (max-width: 640px) {
  .cc-compare-wrap { overflow: visible; }
  table.compare-table.cc-compare, .cc-compare tbody { display: block; }
  .cc-compare thead { display: none; }
  .cc-compare caption { display: block; text-align: left; }
  .cc-compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
  .cc-compare tbody th { grid-column: 1 / -1; border-bottom: none; padding-bottom: 4px; }
  .cc-compare td { width: auto; padding-top: 4px; font-size: 0.92rem; }
  .cc-compare td::before { content: attr(data-label); display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.04em; }
}

/* WEBSITE WORDING RELEASE (owner-approved 7 Nov 2026) */
.cc-lead-2 { margin-top: 18px; }
.cc-value-note { margin-top: 22px; }
.cc-plans .plan-copy { margin: 10px 0 16px; line-height: 1.55; color: var(--slate); }
