/* Medical Billing Google Ads landing — matches approved Word copy + ad layout */

:root {
  --lp-navy: #0f172a;
  --lp-blue: #1e40af;
  --lp-blue-light: #3b82f6;
  --lp-teal: #0d9488;
  --lp-orange: #ea580c;
  --lp-orange-dark: #c2410c;
  --lp-ink: #0f172a;
  --lp-muted: #475569;
  --lp-line: rgba(15, 23, 42, 0.1);
  --lp-bg: #f8fafc;
  --lp-surface: #ffffff;
  --lp-max: 1200px;
  --lp-pad-x: 40px;
  --lp-radius: 16px;
  --lp-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  --lp-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.lp-page {
  margin: 0;
  font-family: var(--lp-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lp-ink);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 88px;
}

body.lp-page h1,
body.lp-page h2,
body.lp-page h3,
body.lp-page h4,
body.lp-page p,
body.lp-page li,
body.lp-page label,
body.lp-page button,
body.lp-page input,
body.lp-page select,
body.lp-page textarea,
body.lp-page a {
  font-family: var(--lp-font);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lp-blue); text-decoration: none; }
a:hover { color: var(--lp-blue-light); }

.lp-wrap {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding-left: var(--lp-pad-x);
  padding-right: var(--lp-pad-x);
}

/* —— Top bar —— */
.lp-topbar {
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.lp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.lp-brand-mark {
  height: 56px;
  width: auto;
}

.lp-brand-word {
  height: 40px;
  width: auto;
}

.lp-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lp-top-phone {
  font-weight: 700;
  font-size: 1rem;
  color: var(--lp-navy);
  white-space: nowrap;
}

.lp-top-phone:hover { color: var(--lp-orange); }

/* —— Buttons —— */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lp-btn:hover { transform: translateY(-1px); }

.lp-btn-orange {
  background: linear-gradient(135deg, #fb923c, var(--lp-orange));
  border-color: var(--lp-orange-dark);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.lp-btn-orange:hover {
  background: linear-gradient(135deg, #fdba74, var(--lp-orange-dark));
  color: #fff !important;
}

.lp-btn-orange:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lp-btn-blue {
  background: linear-gradient(135deg, var(--lp-blue-light), var(--lp-blue));
  border-color: var(--lp-blue);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.22);
}

.lp-btn-blue:hover { color: #fff !important; }

.lp-btn-block { width: 100%; }
.lp-btn-lg { padding: 16px 26px; font-size: 1rem; }

/* —— Bright hero —— */
.lp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59, 130, 246, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 10%, rgba(13, 148, 136, 0.12), transparent 50%),
    linear-gradient(180deg, #eef4ff 0%, #f8fafc 55%, #ffffff 100%);
  border-bottom: 1px solid var(--lp-line);
  padding: 56px 0 72px;
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr); /* ~55/45 */
  gap: 40px;
  align-items: start;
}

.lp-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lp-teal);
  margin: 0 0 14px;
}

.lp-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.05rem); /* ~32–49px → up to ~52px */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--lp-navy);
}

.lp-hero-lead {
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--lp-muted);
  max-width: 34rem;
}

.lp-hero-body {
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--lp-ink);
  max-width: 36rem;
}

.lp-benefits {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lp-benefits li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--lp-ink);
}

.lp-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.12);
  color: var(--lp-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.lp-hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--lp-navy);
  margin-top: 4px;
}

.lp-hero-phone:hover { color: var(--lp-orange); }

.lp-hero-note {
  margin: 10px 0 0;
  font-size: 0.875rem;
  color: var(--lp-muted);
}

/* —— Form card —— */
.lp-form-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  padding: 28px 26px;
  scroll-margin-top: 100px;
}

.lp-form-card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-navy);
  line-height: 1.25;
}

.lp-form-card .lp-form-sub {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.45;
}

.lp-form .form-group { margin-bottom: 12px; }
.lp-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lp-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--lp-ink);
}

.lp-form .req { color: var(--lp-orange-dark); }

.lp-form input,
.lp-form select,
.lp-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--lp-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-form input:focus,
.lp-form select:focus,
.lp-form textarea:focus {
  outline: none;
  border-color: var(--lp-blue-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.lp-form input.is-invalid,
.lp-form select.is-invalid {
  border-color: #dc2626;
}

.lp-form .field-error {
  display: none;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 4px;
}

.lp-form .field-error.show { display: block; }

.lp-form-note {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: var(--lp-muted);
  line-height: 1.45;
}

.lp-form-note a { color: var(--lp-blue); text-decoration: underline; }

.lp-form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.lp-form-status.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.lp-form-status.error {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.lp-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* —— Sections —— */
.lp-section {
  padding: 72px 0;
}

.lp-section-alt {
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

.lp-section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.lp-section-head h2,
.lp-split-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem); /* ~30–36px */
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--lp-navy);
  line-height: 1.2;
}

.lp-section-head p,
.lp-split-copy p {
  margin: 0 0 14px;
  color: var(--lp-muted);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.65;
}

.lp-split-copy p:last-child { margin-bottom: 0; }

.lp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.lp-split-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
  object-fit: cover;
}

.lp-card { padding: 28px 24px; }

.lp-section-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.lp-section-center p { margin-left: auto; margin-right: auto; }

.lp-prose {
  max-width: 44rem;
  color: var(--lp-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.lp-prose p { margin: 0 0 14px; }
.lp-prose p:last-child { margin-bottom: 0; }

/* Service cards */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 22px 20px;
}

.lp-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 64, 175, 0.08);
  color: var(--lp-blue);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.lp-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-navy);
  line-height: 1.3;
}

.lp-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-cards-footnote {
  margin: 28px 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--lp-navy);
}

/* Outcome strip */
.lp-outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.lp-outcome {
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 20px 18px;
}

.lp-outcome strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-navy);
  margin-bottom: 6px;
}

.lp-outcome span {
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.45;
}

/* Comparison */
.lp-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.lp-compare-col {
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 22px 20px;
  background: var(--lp-bg);
}

.lp-compare-col.featured {
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border-color: rgba(30, 64, 175, 0.25);
}

.lp-compare-col h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lp-navy);
}

.lp-compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.lp-compare-col li {
  font-size: 0.95rem;
  color: var(--lp-muted);
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.lp-compare-col li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lp-blue);
  font-weight: 700;
}

.lp-compare-col.featured li::before { color: var(--lp-teal); }

.lp-compare-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Tech / steps */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.lp-step {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 22px 20px;
}

.lp-step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--lp-navy);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.lp-step h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-navy);
}

.lp-step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-tech-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.lp-tech-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
  color: var(--lp-ink);
  line-height: 1.45;
}

.lp-tech-list .lp-check {
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
}

/* Bottom CTA band */
.lp-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #0d9488 140%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.lp-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-band p {
  margin: 0 auto 22px;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.lp-band-contacts {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  justify-content: center;
  font-weight: 600;
}

.lp-band-contacts a { color: #fdba74; }
.lp-band-contacts a:hover { color: #fff; }

/* Footer */
.lp-footer {
  padding: 28px 0 36px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--lp-muted);
  line-height: 1.5;
}

.lp-footer a { color: var(--lp-muted); text-decoration: underline; }

.lp-legal {
  margin-top: 10px;
  font-size: 0.78rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Sticky mobile CTA */
.lp-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--lp-line);
  backdrop-filter: blur(8px);
  gap: 10px;
}

.lp-sticky .lp-btn { flex: 1; }
.lp-sticky-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--lp-line);
  font-weight: 700;
  color: var(--lp-navy);
  white-space: nowrap;
  text-decoration: none;
}

@media (min-width: 1280px) {
  :root { --lp-pad-x: 48px; }
}

@media (max-width: 980px) {
  :root { --lp-pad-x: 20px; }
  .lp-hero { padding: 40px 0 56px; }
  .lp-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .lp-split { grid-template-columns: 1fr; gap: 24px; }
  .lp-section { padding: 56px 0; }
  .lp-cards { grid-template-columns: 1fr 1fr; }
  .lp-outcomes { grid-template-columns: 1fr 1fr; }
  .lp-compare { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-tech-list { grid-template-columns: 1fr; }
  .lp-top-actions .lp-btn { display: none; }
  .lp-sticky { display: flex; }
  .lp-brand-word { height: 30px; }
  .lp-brand-mark { height: 44px; }
}

@media (max-width: 640px) {
  :root { --lp-pad-x: 18px; }
  .lp-section { padding: 48px 0; }
  .lp-cards { grid-template-columns: 1fr; }
  .lp-outcomes { grid-template-columns: 1fr; }
  .lp-form .form-row { grid-template-columns: 1fr; }
  .lp-hero h1 { font-size: 1.7rem; }
  .lp-form-card { padding: 22px 18px; }
}
