/**
 * P0 Sales Landing — targeted fixes only.
 * Header dark, hero composition, footer structure, cookies, contrast.
 * No new art direction / sections.
 */

/* ========== P0-1 Header: #0A0A0A family (never gray bar) ========== */
body.platform-landing-body .pl-header,
body.platform-landing-body .pl-header.is-dark,
body.platform-landing-body .pl-header.is-light {
  background: #0A0A0A;
  color: var(--pl-text-primary-on-dark, #FAFAFA);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

body.platform-landing-body .pl-header.is-scrolled {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.platform-landing-body .pl-header.is-light .pl-header__logo-img--dark {
  display: none !important;
}
body.platform-landing-body .pl-header.is-light .pl-header__logo-img--light,
body.platform-landing-body .pl-header.is-dark .pl-header__logo-img--light {
  display: block !important;
}

body.platform-landing-body .pl-header__nav a {
  color: rgba(250, 250, 250, 0.82);
  opacity: 1;
}
body.platform-landing-body .pl-header__nav a:hover {
  color: #fff;
  background: rgba(22, 125, 254, 0.16);
}

body.platform-landing-body .pl-header__lang select,
body.platform-landing-body .pl-header #language {
  color: rgba(250, 250, 250, 0.88);
}

/* Header controls sit inside a ~69px bar. 54px pills touch the edges. */
body.platform-landing-body .pl-header__lang select,
body.platform-landing-body .pl-header #language,
body.platform-landing-body .pl-header__actions .pl-btn {
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1;
}

body.platform-landing-body .pl-header__lang select,
body.platform-landing-body .pl-header #language {
  line-height: 38px;
  padding: 0 1.65rem 0 2.1rem;
}

body.platform-landing-body .pl-header__actions .pl-btn {
  padding: 0 0.95rem;
}

body.platform-landing-body .pl-header__actions .pl-btn,
body.platform-landing-body .pl-header__actions .pl-btn:hover {
  transform: none;
  box-shadow: none;
}

body.platform-landing-body .pl-header .pl-btn--ghost {
  color: #FAFAFA;
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
}
body.platform-landing-body .pl-header .pl-btn--ghost:hover {
  border-color: #167DFE;
  color: #fff;
  background: rgba(22, 125, 254, 0.12);
}

body.platform-landing-body .pl-header__burger span,
body.platform-landing-body .pl-header__burger span::before,
body.platform-landing-body .pl-header__burger span::after {
  background: #FAFAFA;
}

body.platform-landing-body .pl-mobile-nav,
body.platform-landing-body .pl-header.is-light .pl-mobile-nav {
  background: #0A0A0A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
body.platform-landing-body .pl-mobile-nav a {
  color: rgba(250, 250, 250, 0.9);
}

/* ========== P0-2 Hero: 1 dash + 3 supports, no overlap ========== */
.pl-hero--p0.pl-hero--g6,
.pl-hero--p0.pl-hero--g61 {
  overflow: visible;
}
.pl-hero--p0 .pl-hero__grid {
  overflow: visible;
}
.pl-hero--p0 .pl-hero__stage {
  position: relative;
  min-height: 480px;
  padding: 0.25rem 0.25rem 0.5rem;
  overflow: visible;
}

.pl-hero--p0 .pl-dash--hero {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  margin: 3.25rem auto 6.5rem;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.pl-hero--p0 .pl-dash__txn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.85rem 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(22, 125, 254, 0.12);
  border: 1px solid rgba(22, 125, 254, 0.28);
  color: #E4E4E7;
  font-size: 0.78rem;
}
.pl-hero--p0 .pl-dash__txn strong {
  color: #93C5FD;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pl-hero--p0 .pl-float {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
  z-index: 3;
  max-width: 200px;
  pointer-events: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* Kill old txn float if any leftover CSS targets it */
.pl-hero--p0 .pl-float--txn {
  display: none !important;
}

@media (min-width: 992px) {
  .pl-hero--p0 .pl-hero__stage {
    min-height: 520px;
    /* reserve gutters so floats never clip */
    padding: 0.5rem 0.75rem 0.75rem;
  }
  .pl-hero--p0 .pl-dash--hero {
    /* dominant center-left; leave clear lanes for supports */
    margin: 3.75rem 22% 7rem 4%;
    width: min(100%, 460px);
    transform: none !important;
  }
  .pl-hero--p0 .pl-float--qr {
    left: 0.35rem;
    bottom: 0.5rem;
    top: auto;
    right: auto;
    z-index: 4;
    max-width: 210px;
  }
  .pl-hero--p0 .pl-float--seats {
    right: 0.35rem;
    bottom: 0.5rem;
    top: auto;
    left: auto;
    z-index: 4;
    max-width: 220px;
  }
}

/* 1366-class: keep all three supports with breathing room */
@media (min-width: 992px) and (max-width: 1400px) {
  .pl-hero--p0 .pl-hero__stage {
    min-height: 500px;
  }
  .pl-hero--p0 .pl-dash--hero {
    width: min(100%, 420px);
    margin: 3.5rem 24% 6.75rem 2%;
  }
  .pl-hero--p0 .pl-float {
    max-width: 180px;
    padding: 0.65rem 0.75rem;
  }
  .pl-hero--p0 .pl-float--seats {
    max-width: 200px;
  }
  .pl-hero--g61 .pl-float--seats {
    display: block !important; /* undo g61 hide at short height */
  }
}

/* Mobile: recompose — stack, no absolute clutter */
@media (max-width: 991.98px) {
  .pl-hero--p0 .pl-hero__stage {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 0;
    padding: 0;
  }
  .pl-hero--p0 .pl-dash--hero {
    width: 100%;
    margin: 0;
    order: 1;
  }
  .pl-hero--p0 .pl-float {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    max-width: none;
    width: 100%;
  }
  .pl-hero--p0 .pl-float--qr { order: 2; }
  .pl-hero--p0 .pl-float--seats { order: 3; }
}

/* ========== P0-3 Hero lede contrast ========== */
.pl-hero--p0 .pl-hero__lede {
  color: var(--pl-text-secondary-on-dark, #D4D4D8);
  font-size: clamp(1.02rem, 1.2vw, 1.125rem);
  line-height: 1.55;
  max-width: 36rem;
  margin-top: 1rem;
}
.pl-hero--p0 .pl-hero__eyebrow {
  color: #93C5FD;
}

/* ========== P0-7 Footer structure ========== */
.pl-footer--p0 {
  background: #0A0A0A;
  color: var(--pl-text-secondary-on-dark, #D4D4D8);
  padding-block: 3.5rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pl-footer--p0.pl-footer--centered .pl-footer__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  gap: 0.85rem;
}
.pl-footer--p0.pl-footer--centered .pl-footer__logo img {
  display: block;
  margin: 0 auto;
  width: 190px;
  height: auto;
}
.pl-footer--p0.pl-footer--centered .pl-footer__blurb {
  margin: 0;
  color: var(--pl-text-faint-on-dark, #A1A1AA);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: none;
  width: 100%;
}
.pl-footer--p0.pl-footer--centered .pl-footer__contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}
.pl-footer--p0.pl-footer--centered .pl-footer__contact-row a {
  display: inline;
  color: #E4E4E7;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
}
.pl-footer--p0.pl-footer--centered .pl-footer__contact-row a:hover {
  color: #93C5FD;
}
.pl-footer--p0.pl-footer--centered .pl-footer__contact-sep {
  color: #71717A;
}
.pl-footer--p0 .pl-footer__grid--p0 {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .pl-footer--p0 .pl-footer__grid--p0 {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }
}
.pl-footer--p0 .pl-footer__brand p {
  margin: 0.85rem 0 0;
  color: var(--pl-text-faint-on-dark, #A1A1AA);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 28ch;
}
.pl-footer--p0 h4 {
  color: #FAFAFA !important;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.pl-footer--p0 a,
.pl-footer--p0 .pl-footer__cookie-btn,
.pl-footer--p0 .pl-footer__address {
  display: block;
  color: #D4D4D8;
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.7;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.pl-footer--p0 a:hover,
.pl-footer--p0 .pl-footer__cookie-btn:hover {
  color: #93C5FD;
}
.pl-footer--p0 .pl-footer__base {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #A1A1AA;
  font-size: 0.85rem;
}
.pl-footer--p0 .pl-footer__base--centered {
  text-align: center;
}
.pl-footer--p0 .pl-footer__credit {
  margin: 0.85rem auto 0;
  max-width: 42rem;
  line-height: 1.65;
  color: #A1A1AA;
}
.pl-footer--p0 .pl-footer__credit a {
  display: inline;
  color: #E4E4E7;
  text-decoration: none;
}
.pl-footer--p0 .pl-footer__credit a:hover {
  color: #93C5FD;
}
.pl-footer--p0 .pl-footer__base-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-top: 0;
}
.pl-footer--p0 .pl-footer__base-links a,
.pl-footer--p0 .pl-footer__base-links .pl-footer__cookie-btn {
  display: inline;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  color: #71717A;
}
.pl-footer--p0 .pl-footer__base-links a:hover,
.pl-footer--p0 .pl-footer__base-links .pl-footer__cookie-btn:hover {
  color: #93C5FD;
}

/* ========== P0-5 Cookie consent UI ==========
 * Styles live in cookie-consent-p0.css (VetDesk-style light card).
 * Do not redefine .cookie-consent--p0 here — conflicts with the shared banner.
 */

/* ========== P0-8 Contrast harden ========== */
body.platform-landing-body [data-pl-surface="dark"] h1,
body.platform-landing-body [data-pl-surface="dark"] h2,
body.platform-landing-body [data-pl-surface="dark"] h3,
body.platform-landing-body [data-pl-surface="dark"] h4 {
  color: #FAFAFA !important;
}
body.platform-landing-body [data-pl-surface="dark"] p,
body.platform-landing-body [data-pl-surface="dark"] li,
body.platform-landing-body [data-pl-surface="dark"] span {
  color: inherit;
}
body.platform-landing-body [data-pl-surface="light"] h1,
body.platform-landing-body [data-pl-surface="light"] h2,
body.platform-landing-body [data-pl-surface="light"] h3 {
  color: #0A0A0A !important;
}
body.platform-landing-body [data-pl-surface="light"] p {
  color: #3F3F46;
}
body.platform-landing-body .pl-btn--primary {
  background: #0B5ED7;
  color: #fff;
}
body.platform-landing-body .pl-btn--primary:hover {
  background: #0A58CA;
  color: #fff;
}
.pl-hero--p0.pl-hero--g61,
.pl-hero--p0[data-pl-surface="dark"] {
  background-color: #0A0A0A;
}
.pl-hero--p0 .pl-dash--hero {
  background-color: #121216;
}
.pl-hero--p0 .pl-kpi {
  background-color: rgba(255, 255, 255, 0.06);
}
.pl-hero--p0 .pl-kpi__label {
  color: #D4D4D8 !important;
}
.pl-hero--p0 .pl-kpi__value {
  color: #FFFFFF !important;
}
body.platform-landing-body .pl-faq details,
body.platform-landing-body .pl-faq summary {
  color: #0A0A0A;
}
body.platform-landing-body .pl-flow__node strong,
body.platform-landing-body .pl-pipeline__nodes strong,
body.platform-landing-body .pl-pipeline__end strong {
  color: #FAFAFA;
}
body.platform-landing-body .pl-flow__node span,
body.platform-landing-body .pl-pipeline__nodes p {
  color: #D4D4D8;
}
body.platform-landing-body .pl-bento__label,
body.platform-landing-body .pl-topo__tier {
  color: #167DFE;
  font-weight: 700;
}
