/* =========================================================
   GetClientCloser.com — landing page additions
   Builds on css/style.css (the ClientCloser "Chancery" system).
   Only lead-capture specifics live here.
   ========================================================= */

/* Header: landing pages keep a single exit — the form */
.lp-show-sm { display: none; }
.lp-header .header-inner { height: 84px; }
.lp-header .header-cta { display: flex; align-items: center; gap: 1.4rem; }
.lp-header-phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}
.lp-header-phone:hover { color: var(--ink); }

/* Hero */
.lp-hero { padding: 4.5rem 0 5rem; }
.lp-hero .hero-grid { align-items: start; grid-template-columns: 1.1fr 0.9fr; }
.lp-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); }
.lp-checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
.lp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1rem;
}
.lp-checks li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex: none;
  background: var(--accent);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}
.lp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.6rem;
  border-top: 1px solid var(--line);
}
.lp-hero-stats .stat-block { padding: 1.1rem 1rem 0 0; }
.lp-hero-stats .stat-block + .stat-block { border-left: 1px solid var(--line); padding-left: 1rem; }
.lp-hero-stats .stat-block b { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.lp-hero-stats .stat-block span { font-size: 0.82rem; }

/* Lead form card — a filed exhibit, same as the hero card on .ai */
.lead-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  scroll-margin-top: 110px;
}
.lead-card::before {
  content: "";
  position: absolute;
  left: -1px; right: -1px; top: -1px;
  height: 4px;
  background: var(--accent);
}
.lead-card-head { padding-bottom: 1.1rem; margin-bottom: 1.4rem; border-bottom: 2px solid var(--ink); }
.lead-card-head h2 { font-size: clamp(1.55rem, 2.3vw, 1.95rem); margin-top: 0.6rem; }
.lead-card-head p { margin-top: 0.55rem; color: var(--ink-muted); font-size: 0.93rem; }

.lead-form { display: flex; flex-direction: column; gap: 1rem; }
.lead-form .form-grid { gap: 1rem; }
.lead-form .field label { font-size: 0.8rem; }
.lead-form .field label .opt { font-weight: 400; color: var(--ink-faint); }
.lead-form .field input,
.lead-form .field select { width: 100%; font-size: 0.94rem; padding: 0.78rem 0.95rem; }
.lead-form .select-wrap { max-width: none; min-width: 0; }
.lead-form .select-wrap select { font-weight: 400; padding: 0.78rem 2.4rem 0.78rem 0.95rem; }
.lead-form .select-wrap select:invalid { color: var(--ink-faint); }
.lead-form .field.has-error input,
.lead-form .field.has-error select { border-color: #A5342A; }
.lead-form .btn { margin-top: 0.35rem; padding-top: 1rem; padding-bottom: 1rem; }
.lead-form .btn[disabled] { opacity: 0.7; cursor: wait; }
.lead-form .form-note { text-align: center; line-height: 1.5; }
.lead-form .form-status:empty { display: none; }

.lead-success { text-align: left; }
.lead-success[hidden] { display: none; }
.lead-success .icon-tile { border-color: var(--accent); background: var(--accent-tint); }
.lead-success .icon-tile svg { color: var(--accent); }
.lead-success h3 { font-size: 1.6rem; }
.lead-success p { color: var(--ink-muted); margin-top: 0.7rem; }
.lead-success .btn { margin-top: 1.6rem; }
.lead-success .form-note { margin-top: 0.9rem; }

/* Industry strip */
.lp-industries {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.6rem 0;
}
.lp-industries-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem 2.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-industries p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.lp-industries ul { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; justify-content: center; }
.lp-industries li { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink-muted); }

/* The leak — cost-of-a-slow-reply ledger */
.leak-ledger {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent2);
}
.leak-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.25rem 1.6rem;
}
.leak-row + .leak-row { border-top: 1px solid var(--line); }
.leak-row { align-items: center; }
.leak-row span, .leak-row label { color: var(--ink-muted); font-size: 0.97rem; }
.leak-row .field input { font-family: var(--font-mono); padding: 0.55rem 0.75rem; }
.leak-row b { font-family: var(--font-mono); font-weight: 500; font-size: 1.5rem; color: var(--ink); }
.leak-row.total { background: var(--accent2-tint); }
.leak-row.total span { color: var(--ink); font-weight: 600; }
.leak-row.total b { color: var(--warn); }
.leak-source { margin-top: 0.9rem; font-size: 0.78rem; color: var(--ink-faint); }

/* Final CTA panel */
.lp-final .demo-cta h2 { max-width: 22ch; }
.lp-final .demo-cta .btn { min-width: 260px; }

/* Minimal footer */
.lp-footer { padding: 3rem 0 2rem; }
.lp-footer .footer-top {
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  padding-bottom: 2.4rem;
}
.lp-footer .footer-contact { display: flex; flex-direction: column; gap: 0.5rem; justify-self: end; text-align: right; }
.lp-footer .footer-contact a { color: var(--dark-ink); opacity: 0.85; font-size: 0.92rem; }
.lp-footer .footer-contact a:hover { opacity: 1; }
.lp-footer .footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.lp-footer .footer-links a { font-size: 0.84rem; color: var(--dark-ink-muted); }
.lp-footer .footer-links a:hover { color: var(--dark-ink); }

/* Sticky mobile CTA */
.lp-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  padding: 0.75rem 16px calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(245, 242, 232, 0.96);
  border-top: 1px solid var(--line-strong);
  display: none;
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.lp-sticky.show { transform: translateY(0); }

@media (max-width: 980px) {
  .lp-hero .hero-grid { grid-template-columns: 1fr; }
  .lead-card { max-width: 560px; }
}

@media (max-width: 720px) {
  .lp-header .header-cta { display: flex; }
  .lp-header-phone { display: none; }
  .lp-header .header-inner { height: 72px; }
  .lp-hero { padding: 2.8rem 0 3.5rem; }
  .lead-card { padding: 1.5rem; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .leak-row { padding: 1.1rem 1.1rem; }
  .lp-footer .footer-top { grid-template-columns: 1fr; }
  .lp-footer .footer-contact { justify-self: start; text-align: left; }
  .lp-sticky { display: block; }
  body.has-sticky { padding-bottom: 76px; }
}

@media (max-width: 420px) {
  .lp-header .logo-img { height: 38px; }
  .lp-hide-sm { display: none; }
  .lp-show-sm { display: inline; }
  .lp-header .header-cta .btn { padding: 0.55rem 0.8rem; font-size: 0.7rem; }
  .lp-hero-stats { grid-template-columns: 1fr; }
  .lp-hero-stats .stat-block + .stat-block { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-bottom: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-sticky { transition: none; }
}
