/* =========================================================
   getcarecloser.com — landing page additions
   Builds on css/style.css (copied verbatim from carecloser.ai so the
   two sites stay visually identical). Only landing-specific pieces live
   here; when carecloser.ai's design system changes, re-copy style.css.
   ========================================================= */

/* Header: no full nav on the landing page, just the logo and one CTA */
.lp-header-cta { display: flex; align-items: center; gap: 1.6rem; }
.lp-header-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.15s ease;
}
.lp-header-link:hover { color: var(--ink); }

/* Hero */
.lp-hero { padding: 3rem 0 5rem; scroll-margin-top: 78px; }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: start;
}
.lp-hero h1 { margin-top: 1.1rem; }
.lp-hero-copy { padding-top: 1.5rem; }
.lp-hero .lede { margin-top: 1.4rem; max-width: 540px; }

.lp-checks {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}
.lp-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--ink);
}
.lp-checks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--accent2-tint) no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5A50' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* Lead form card */
.lp-form-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0 2.2rem 2.2rem;
  margin-top: 2.75rem;
}
.lp-cover {
  width: 64%;
  height: auto;
  margin: -2.75rem auto 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.lp-form { display: flex; flex-direction: column; gap: 1.1rem; }
.lp-form[hidden] { display: none; }
.lp-form-title {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}
.lp-form-sub { color: var(--ink-muted); font-size: 0.95rem; margin-top: -0.6rem; }
.lp-form .form-grid { gap: 1rem; }
.lp-form .field input, .lp-form .field select { background: var(--bg); width: 100%; }
.lp-form .btn { margin-top: 0.3rem; padding-top: 1rem; padding-bottom: 1rem; }
.lp-form .btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.lp-form .form-note a { text-decoration: underline; text-underline-offset: 2px; }
.lp-form .form-status { margin-top: -0.5rem; min-height: 0; }
.lp-form .form-status:empty { display: none; }
.lp-form .field.has-error input,
.lp-form .field.has-error select { border-color: #C0392B; }

/* Form cards without the manifesto cover overlapping the top edge */
.lp-form-card.is-plain { padding-top: 2.2rem; margin-top: 0; scroll-margin-top: 96px; }
.lp-form-head .lp-form-title { margin-top: 0.7rem; }
.lp-form-head .lp-form-sub { margin-top: 0.6rem; }
.lp-ready-next .link-arrow { font-weight: 600; }

.lp-select { position: relative; }
.lp-select select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
}
.lp-select select:invalid { color: var(--ink-faint); }
.lp-select select option { color: var(--ink); }
.lp-select svg {
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

/* Success state */
.lp-ready { display: flex; flex-direction: column; gap: 1.1rem; }
.lp-ready[hidden] { display: none; }
.lp-ready-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent2-tint);
  color: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-ready-icon svg { width: 24px; height: 24px; }
.lp-ready-next {
  margin-top: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.lp-ready-next p { color: var(--ink-muted); font-size: 0.95rem; }
.lp-ready-next b { color: var(--ink); }

/* Optimization commitment — the promise that outlasts the demo */
.lp-commit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1.5rem 3rem;
  align-items: start;
  margin-top: 3rem;
  padding: 2.2rem 2.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}
.lp-commit h3 { font-size: 1.5rem; }
.lp-commit p { color: var(--ink-muted); }
.lp-commit .link-arrow { margin-top: 1.2rem; }

/* Manifesto download — secondary offer for visitors not ready for a demo */
.lp-manifesto { align-items: center; gap: 4rem; }
.lp-manifesto-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.lp-manifesto .lp-checks { margin-top: 1.6rem; }
.lp-form-card.lp-manifesto-card { margin-top: 2rem; padding: 1.8rem; }
.lp-manifesto-card .lp-form-title { font-size: 1.5rem; }

/* Stats strip */
.section-sm .stat-block b { font-size: clamp(2rem, 3vw, 2.7rem); }

/* Who it's for */
.lp-split { align-items: center; gap: 4rem; }
.lp-photo { aspect-ratio: 4 / 3; }
.lp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.8rem;
}
.lp-chips li {
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--accent-tint-line);
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 600;
}

.lp-inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* CTA band */
.lp-eyebrow-light { color: var(--accent-tint-line); }
.lp-eyebrow-light::before { background: var(--accent-tint-line); }

/* Footer: slimmed to a single row */
.lp-footer { padding: 2.5rem 0; }
.lp-footer .footer-bottom { border-top: none; padding-top: 0; gap: 1.6rem; }
.lp-footer-brand { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; }
.lp-footer-links a {
  font-size: 0.88rem;
  color: var(--dark-ink);
  opacity: 0.8;
  transition: opacity 0.15s ease;
}
.lp-footer-links a:hover { opacity: 1; }

/* Responsive */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .lp-form-card { max-width: 560px; width: 100%; margin-left: auto; margin-right: auto; }
  .lp-split { gap: 2.5rem; }
}
@media (max-width: 720px) {
  .lp-header-link { display: none; }
  .lp-hero { padding: 3rem 0 4rem; }
  .lp-form-card { padding: 0 1.4rem 1.6rem; }
  .lp-cover { width: 86%; margin-top: -2.5rem; }
  .lp-form-card { margin-top: 2.5rem; }
  .lp-form-card.is-plain { padding-top: 1.6rem; }
  .lp-form-card.lp-manifesto-card { padding: 1.4rem; }
  .lp-commit { grid-template-columns: 1fr; padding: 1.6rem 1.4rem; }
  .lp-manifesto { gap: 2.5rem; }
  .lp-manifesto-cover { max-width: 420px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .logo-img { height: 36px; }
  .lp-header-cta .btn { padding: 0.6rem 1rem; font-size: 0.82rem; }
  .lp-footer-brand { flex-direction: column; align-items: flex-start; }
}
