/* ============================================================
   Pro Life Management - marketing site
   Handcrafted port of the live React landing page. Values are
   1:1 translations of the original Tailwind classes so the
   rebuild renders pixel-faithful to www.prolifemanagement.com.
   ============================================================ */

:root {
  --zinc-900: #18181b;          /* Tailwind zinc-900 */
  --zinc-800-50: rgba(39, 39, 42, 0.5);
  --menu-bg: #1c1c1e;           /* live mega menu / bottom sheet bg */
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --w05: rgba(255, 255, 255, 0.05);
  --w08: rgba(255, 255, 255, 0.08);
  --w10: rgba(255, 255, 255, 0.10);
  --w12: rgba(255, 255, 255, 0.12);
  --w20: rgba(255, 255, 255, 0.20);
  --w30: rgba(255, 255, 255, 0.30);
  --w40: rgba(255, 255, 255, 0.40);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* The live site hides scrollbars globally; keep that behavior. */
html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
  background-color: #000;
  overscroll-behavior-y: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }

body {
  /* Matches the live site's computed body font (Tailwind default sans). */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: #fff;
  color-scheme: dark;
  min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

img { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-weight: inherit; }

/* Lucide icon sprite instances */
.icn {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* ------------------------------------------------------------ layout --- */
.container-7xl { max-width: 80rem; margin: 0 auto; }
.container-6xl { max-width: 72rem; margin: 0 auto; }
.container-3xl { max-width: 48rem; margin: 0 auto; }
.container-lg  { max-width: 32rem; margin: 0 auto; }

.section { padding: 6rem 1.5rem; }
.bordered-top { border-top: 1px solid var(--w05); }
section[id] { scroll-margin-top: 5rem; }

.section-head { text-align: center; margin-bottom: 4rem; }
.section-head h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}
.section-head p {
  color: var(--gray-400);
  font-size: 1.125rem;
  line-height: 1.75rem;
  max-width: 42rem;
  margin: 0 auto;
}
.section-head-uc { margin-bottom: 5rem; }

/* ------------------------------------------------------------ buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn-solid { background: #fff; color: #000; font-weight: 600; }
.btn-solid:hover { background: #e5e7eb; }
.btn-outline { border: 1px solid var(--w20); color: #fff; font-weight: 500; }
.btn-outline:hover { border-color: var(--w40); }
.btn-nav { padding: 0.625rem 1.5rem; font-size: 0.875rem; line-height: 1.25rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; line-height: 1.5rem; width: 100%; }

/* ---------------------------------------------------------------- nav --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--w05);
}
.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-spacer { height: 5rem; }

/* Fix 1: deliberate wordmark sizing (PNG replaced by the tight PLM
   wordmark asset; 428x148 source stays crisp at retina at this size). */
.logo-img { height: 28px; width: auto; }
.nav-logo { display: flex; align-items: center; min-height: 44px; }

.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
  min-height: 44px;
}
.nav-link:hover { color: #fff; }
.nav-link .icn { transition: transform 0.2s; }
.nav-link[aria-expanded="true"] .icn { transform: rotate(180deg); }

.nav-ctas { display: none; align-items: center; gap: 0.75rem; }

.nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
}

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--w05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: none;
}
.mega-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.mega-cat-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--gray-400);
}
.mega-cat-head h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mega-cat ul { list-style: none; }
.mega-cat li + li { margin-top: 0.5rem; }
.mega-link {
  color: var(--gray-500);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.mega-link:hover { color: #fff; }

@media (min-width: 768px) {
  .nav-links, .nav-ctas { display: flex; }
  .nav-burger { display: none; }
  .mega[data-open] { display: block; }
}

/* -------------------------------------------------- mobile full menu --- */
.mm {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #000;
  display: flex;
  flex-direction: column;
}
.mm[hidden] { display: none; }
.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 5rem;
  border-bottom: 1px solid var(--w05);
  flex-shrink: 0;
}
.mm-close {
  width: 44px;
  height: 44px;
  background: var(--w10);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.mm-body {
  flex: 1;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 1.5rem;
}
.mm-body::-webkit-scrollbar { display: none; }
.mm-acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  min-height: 44px;
}
.mm-acc-btn .icn { color: var(--gray-500); transition: transform 0.2s; }
.mm-acc-btn[aria-expanded="true"] .icn { transform: rotate(180deg); }
.mm-acc-panel { padding-bottom: 1rem; }
.mm-cat + .mm-cat { margin-top: 1rem; }
.mm-cat-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-400);
}
.mm-cat-head span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: 1.25rem;
}
.mm-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* fix 7: tap targets >= 44px */
  padding: 0.375rem 0.75rem;
  background: var(--zinc-900);
  border: 1px solid var(--w05);
  border-radius: 9999px;
  color: var(--gray-400);
  font-size: 0.75rem;
  transition: color 0.15s;
}
.mm-chip:hover { color: #fff; }
.mm-ctas {
  margin-top: 2rem;
  border-top: 1px solid var(--w05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-mm { width: 100%; padding: 1rem 1.5rem; font-size: 1rem; }

/* --------------------------------------------------------------- hero --- */
.hero {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem;
}
.hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  animation: hero-in 0.6s ease both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner { animation: none; }
  html { scroll-behavior: auto; }
}
.badge-row { margin-bottom: 1.5rem; }
.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--w10);
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero h1 .dim { color: var(--gray-400); }
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--gray-400);
  max-width: 42rem;
  margin: 0 auto 3rem;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* -------------------------------------------------- featured services --- */
.feat-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.feat-card {
  background: var(--zinc-900);
  border-radius: 2rem;
  border: 1px solid var(--w05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background-color 0.15s;
}
.feat-card:hover { background: var(--zinc-800-50); }
.feat-icn {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: #000;
  border: 1px solid var(--w10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
}
.feat-card h3 { color: #fff; font-weight: 500; font-size: 1.125rem; margin-bottom: 0.5rem; }
.feat-card p { color: var(--gray-500); font-size: 0.875rem; line-height: 1.625; }

/* ------------------------------------------------------------ services ---
   Fix 2: restyled to the hero's dark editorial language. Near-black cards
   with hairline borders and quiet grey secondary text replace the lighter
   zinc panels; content and behavior are unchanged. */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--w12);
  color: var(--gray-400);
  transition: color 0.15s, border-color 0.15s, background-color 0.15s;
}
.pill:hover { color: #fff; border-color: var(--w20); }
.pill.is-active { background: #fff; border-color: #fff; color: #000; }

.svc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.svc-card {
  background: #0a0a0a;
  border-radius: 1.5rem;
  border: 1px solid var(--w08);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.15s;
}
.svc-card:hover { border-color: rgba(255, 255, 255, 0.16); }
.svc-card[data-off] { display: none; }
.svc-icn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid var(--w10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.svc-card h3 { color: #fff; font-weight: 500; font-size: 0.875rem; margin-bottom: 0.25rem; }
.svc-card p { color: var(--gray-500); font-size: 0.75rem; line-height: 1.625; }

/* ----------------------------------------------------- virtual manager --- */
.vm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}
.vm-card {
  background: var(--zinc-900);
  border-radius: 1.5rem;
  border: 1px solid var(--w05);
  padding: 2rem;
}
.vm-icn {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: #000;
  border: 1px solid var(--w10);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #fff;
}
.vm-card h3 { color: #fff; font-weight: 500; font-size: 1.125rem; margin-bottom: 0.5rem; }
.vm-card p { color: var(--gray-400); font-size: 0.875rem; line-height: 1.625; }

/* ------------------------------------------------------------ use cases --- */
.uc-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.uc-row + .uc-row { margin-top: 6rem; }
.uc-visual { width: 100%; display: flex; justify-content: center; }
.uc-tile {
  width: 100%;
  max-width: 24rem;
  aspect-ratio: 1 / 1;
  background: var(--zinc-900);
  border-radius: 2rem;
  border: 1px solid var(--w05);
  display: flex;
  align-items: center;
  justify-content: center;
}
.uc-icn {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: #000;
  border: 1px solid var(--w10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.uc-text { width: 100%; }
.uc-eyebrow {
  display: block;
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.uc-text h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}
.uc-text p { color: var(--gray-400); font-size: 1rem; line-height: 1.625; }

/* ------------------------------------------------------------ CTA band --- */
.cta-band {
  padding: 6rem 1.5rem;
  background: rgba(24, 24, 27, 0.3);
  border-top: 1px solid var(--w05);
  border-bottom: 1px solid var(--w05);
  text-align: center;
}
.cta-band h2 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.5rem;
}
.cta-band > .container-3xl > p {
  color: var(--gray-400);
  font-size: 1.125rem;
  line-height: 1.625;
  margin: 0 auto 2.5rem;
  max-width: 36rem;
}
.cta-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray-500);
}
.cta-phone span { font-size: 0.875rem; }
.cta-phone a {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.cta-phone a:hover { text-decoration: underline; }

/* --------------------------------------------------------------- footer --- */
.footer { border-top: 1px solid var(--w05); }
.footer .container-7xl { padding: 4rem 1.5rem; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3rem;
}
.logo-foot { height: 32px; margin-bottom: 1rem; }
.foot-brand-copy { color: var(--gray-500); font-size: 0.875rem; line-height: 1.625; }
.foot-h {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.foot-list { list-style: none; }
.foot-list li + li { margin-top: 0.625rem; }
.foot-list-connect li + li { margin-top: 0.75rem; }
.foot-item { color: var(--gray-500); font-size: 0.875rem; transition: color 0.15s; }
.foot-item:hover { color: #fff; }
.foot-link { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; }
.btn-foot {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}
.foot-bottom {
  border-top: 1px solid var(--w05);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.foot-bottom p { color: var(--gray-600); font-size: 0.75rem; }
.footer-slim .container-7xl { padding: 2rem 1.5rem; }
.foot-bottom-slim { border-top: 0; margin-top: 0; padding-top: 0; }

/* -------------------------------------------------------- request sheet --- */
.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); }
.sheet-panel {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  animation: sheet-in 0.3s ease both;
}
@keyframes sheet-in {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sheet-panel { animation: none; }
}
.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
  flex-shrink: 0;
}
.sheet-head h3 { color: #fff; font-weight: 600; font-size: 1.125rem; }
.sheet-close {
  width: 44px;
  height: 44px;
  background: var(--w10);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background-color 0.15s;
}
.sheet-close:hover { background: var(--w20); }
.sheet-divider {
  border-bottom: 1px solid var(--w10);
  margin: 1rem 1.5rem;
  flex-shrink: 0;
}
.sheet-body {
  flex: 1;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 0.5rem 1.5rem 2.5rem;
}
.sheet-body::-webkit-scrollbar { display: none; }
.sheet-form { max-width: 32rem; margin: 0 auto; }

/* ---------------------------------------------------------------- forms --- */
.field + .field { margin-top: 1.5rem; }
.field-label {
  display: block;
  font-size: 10px;
  color: var(--gray-500);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field-input {
  width: 100%;
  background: var(--zinc-900);
  border: 1px solid var(--w10);
  border-radius: 0.75rem;
  padding: 1rem;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.field-input:focus { border-color: var(--w30); }
.field-input::placeholder { color: var(--w20); }
.field-select { appearance: none; -webkit-appearance: none; }
.field-textarea { resize: none; }

.btn-submit {
  width: 100%;
  background: #fff;
  color: #000;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 2.5rem;
  transition: background-color 0.15s;
}
.btn-submit:hover { background: #e5e7eb; }
.btn-submit:disabled { opacity: 0.5; cursor: default; }
.btn-submit:disabled:hover { background: #fff; }

.form-error {
  color: #f87171;
  font-size: 0.875rem;
  text-align: center;
  margin-top: 0.75rem;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 0;
}
.success-icn {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #4ade80;
}
.form-success h3 { color: #fff; font-weight: 500; font-size: 1.25rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--gray-400); font-size: 0.875rem; }

/* Honeypot: parked far off-screen, never shown to humans. */
.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------ book page --- */
.book-hero { align-items: flex-start; }
.book-hero .hero-inner { animation: none; }
.book-h1 { margin-bottom: 1rem; }
.book-sub { margin-bottom: 3rem; }
.book-form { text-align: left; max-width: 32rem; margin: 0 auto; }
.book-success { padding: 4rem 0; max-width: 32rem; margin: 0 auto; }

/* ------------------------------------------------------- breakpoints --- */
@media (min-width: 640px) {
  .hero-ctas, .cta-btns { flex-direction: row; }
  .btn-lg { width: auto; }
  .feat-grid, .vm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-bottom { flex-direction: row; }
}

@media (min-width: 768px) {
  .section { padding: 8rem 1.5rem; }
  .hero { padding: 8rem 1.5rem; }
  .cta-band { padding: 8rem 1.5rem; }
  .hero h1 { font-size: 3.75rem; }
  .hero-sub { font-size: 1.25rem; line-height: 1.75rem; }
  .section-head h2 { font-size: 2.25rem; line-height: 2.5rem; }
  .cta-band h2 { font-size: 2.25rem; line-height: 2.5rem; }
  .feat-card { padding: 2.5rem; }
  .uc-row { flex-direction: row; gap: 3rem; }
  .uc-rev { flex-direction: row-reverse; }
  .uc-visual, .uc-text { width: 50%; }
  .uc-text h3 { font-size: 1.875rem; line-height: 2.25rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 4.5rem; }
  .feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega-inner { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cta-band h2 { font-size: 3rem; line-height: 1; }
}
