/* Client developer-package pages (Services hub, Cardiology Practice, Live ECG,
   Ambulatory): shared components on top of landing-mct.css, in the site palette.
   Generated pages: scripts/build-client-package-page.py */

/* Site palette: red accents, charcoal text/dark panels, warm light-grey sections */
.landing-page--pkg {
  --sp-dark: #231f1e;
  --sp-soft: #fcf4f5;
}

#request-demo,
#how-it-works,
#compare,
#workflow,
#faq {
  scroll-margin-top: 96px;
}

/* ---------- Hero: light copy panel, dark text, red accent ---------- */
.landing-hero__plate--pkg {
  background-color: #f3f1f0;
  background-image: none;
}

.landing-hero__plate--pkg .landing-hero__media {
  object-position: 62% center;
}

.landing-hero__plate--pkg .landing-hero__gradient {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.9) 32%,
    rgba(255, 255, 255, 0.6) 46%,
    rgba(255, 255, 255, 0) 60%
  );
}

.landing-hero__plate--pkg .landing-hero__inner {
  max-width: min(600px, 50%);
}

.landing-hero__plate--pkg .landing-hero__lead {
  color: rgba(35, 31, 30, 0.85);
}

.landing-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sp-dark);
}

.landing-hero__points li::before {
  content: "\2713";
  margin-right: 0.38rem;
  color: var(--color-red, #c9222f);
}

@media (min-width: 901px) {
  .landing-hero__plate--pkg {
    height: auto;
    min-height: 600px;
    padding-block: 2.75rem;
  }
}

@media (max-width: 900px) {
  .landing-hero__plate--pkg {
    display: block;
    height: auto;
    min-height: 0;
    padding-block: 0;
    background-color: #f7f5f2;
  }

  .landing-hero .landing-hero__plate.landing-hero__plate--pkg {
    padding: 0;
  }

  .landing-hero__plate--pkg picture {
    display: block;
  }

  .landing-hero__plate--pkg .landing-hero__media {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-position: 70% center;
  }

  .landing-hero__plate--pkg .landing-hero__gradient {
    display: none;
  }

  .landing-hero__plate--pkg .landing-hero__inner {
    max-width: 100%;
  }

  .landing-hero .landing-hero__plate--pkg .landing-hero__inner {
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .landing-hero__plate--pkg .landing-hero__actions {
    max-width: none;
  }
}

/* ---------- Eyebrow labels ---------- */
.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red, #c9222f);
}

.landing-eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.landing-section--center .landing-h2,
.landing-section--center .landing-section__intro,
.landing-section--center .landing-eyebrow {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.landing-section--center .landing-eyebrow {
  display: flex;
  justify-content: center;
}

.landing-section__intro {
  max-width: 48rem;
}

/* ---------- Trust strip: four proof points ---------- */
@media (min-width: 1100px) {
  .landing-page--pkg .landing-trust-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Definition + specification panel ---------- */
.landing-page--pkg .landing-definition {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .landing-page--pkg .landing-definition {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.landing-answer-box {
  margin: 1.25rem 0;
  padding: 1.15rem 1.35rem;
  border-left: 4px solid var(--color-red, #c9222f);
  border-radius: 0 12px 12px 0;
  background: var(--sp-soft);
  color: var(--sp-dark);
  line-height: 1.6;
}

.landing-reviewed {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(35, 31, 30, 0.72);
}

.landing-spec-panel {
  padding: 2rem;
  border-radius: 20px;
  background: var(--sp-dark);
  color: #fff;
}

.landing-spec-panel .landing-h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.4rem;
}

.landing-spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0;
}

.landing-spec-list div {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.landing-spec-list dt {
  font-size: 1.2rem;
  font-weight: 700;
}

.landing-spec-list dd {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.landing-spec-panel__note {
  margin: 1rem 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Checklists ---------- */
.landing-checks {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-checks li {
  position: relative;
  padding-left: 1.55rem;
  color: rgba(35, 31, 30, 0.8);
}

.landing-checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-red, #c9222f);
  font-weight: 700;
}

.landing-cta-block__copy .landing-checks li {
  color: rgba(255, 255, 255, 0.85);
}

.landing-page--pkg .landing-feature-grid--2 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .landing-page--pkg .landing-feature-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .landing-page--pkg .landing-flow--pkg {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Call-to-action band ---------- */
.landing-callout-band {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 2.2rem 2.4rem;
  border-radius: 20px;
  background: var(--sp-dark);
  color: #fff;
}

@media (min-width: 800px) {
  .landing-callout-band {
    grid-template-columns: 1fr auto;
    gap: 2rem;
  }
}

.landing-callout-band .landing-h2 {
  margin: 0 0 0.45rem;
  color: #fff;
}

.landing-callout-band .landing-p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}


/* ---------- Paths table: labelled cards on phones ---------- */
.landing-page--pkg .landing-table__caption {
  caption-side: top;
  padding: 0 0 0.75rem;
  text-align: left;
  font-size: 0.9rem;
  color: rgba(35, 31, 30, 0.7);
}

@media (max-width: 720px) {
  .landing-page--pkg .landing-table-wrap:has(.landing-table--stack) {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .landing-page--pkg .landing-table--stack,
  .landing-page--pkg .landing-table--stack tbody,
  .landing-page--pkg .landing-table--stack tr,
  .landing-page--pkg .landing-table--stack th,
  .landing-page--pkg .landing-table--stack td {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .landing-page--pkg .landing-table--stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .landing-page--pkg .landing-table--stack caption {
    display: block;
  }

  .landing-page--pkg .landing-table--stack tr {
    margin: 0 0 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
  }

  .landing-page--pkg .landing-table--stack th[scope="row"] {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
  }

  .landing-page--pkg .landing-table--stack td {
    padding: 0.55rem 1rem;
    border: 0;
  }

  .landing-page--pkg .landing-table--stack td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(35, 31, 30, 0.55);
  }
}

/* ---------- Form ---------- */
.landing-page--pkg .landing-cta-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  color: #231f1e;
  background: #fff;
  box-sizing: border-box;
  resize: vertical;
}

.landing-page--pkg .landing-cta-form textarea:focus {
  outline: 3px solid #c9222f;
  outline-offset: 2px;
}

.landing-page--pkg .landing-cta-form__note {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(35, 31, 30, 0.75);
}

.landing-page--pkg .landing-cta-block__copy a {
  color: #fff;
}

.landing-spec-panel a {
  color: #fff;
}

/* ---------- Navy-panel heroes (image has a navy left side): white text ---------- */
.landing-hero__plate--pkg-navy {
  background-color: #0b2a55;
}

.landing-hero__plate--pkg-navy .landing-hero__gradient {
  background: linear-gradient(90deg, rgba(10, 30, 60, 0.5) 0%, rgba(10, 30, 60, 0.3) 34%, rgba(10, 30, 60, 0) 52%);
}

.landing-hero__plate--pkg-navy .landing-hero__title,
.landing-hero__plate--pkg-navy .landing-hero__points {
  color: #fff;
}

.landing-hero__plate--pkg-navy .landing-hero__title-accent {
  color: #8fe9f2;
}

.landing-hero__plate--pkg-navy .landing-hero__lead {
  color: rgba(255, 255, 255, 0.92);
}

.landing-hero__plate--pkg-navy .figma-hero__pill {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
}

.landing-hero__plate--pkg-navy .landing-hero__points li::before {
  color: #8fe9f2;
}

.landing-hero__plate--pkg-navy .figma-btn--outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.landing-hero__plate--pkg-navy .figma-btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 900px) {
  .landing-hero__plate--pkg-navy {
    background-color: #0b2a55;
  }
}

/* ---------- Sections and text ---------- */
.landing-page--pkg .landing-section--trust {
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.landing-page--pkg .landing-section--intro {
  padding-block: clamp(2rem, 4vw, 3rem) 0;
}

.landing-page--pkg .landing-lede {
  font-size: 1.06rem;
}

.landing-page--pkg .landing-list {
  margin: 0;
}

.landing-page--pkg .landing-spec-panel .landing-checks li {
  color: rgba(255, 255, 255, 0.88);
}

.landing-page--pkg .landing-spec-panel .landing-checks li::before {
  color: #ff8f99;
}

.landing-page--pkg .landing-feature-card .landing-checks {
  margin-top: 0.5rem;
}

.landing-page--pkg .landing-feature-card > a:last-child {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--color-red, #c9222f);
}

.landing-card-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.6rem;
  border-radius: 10px;
  background: var(--sp-soft);
  color: var(--color-red, #c9222f);
  font-weight: 700;
}

.landing-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--sp-soft);
  color: var(--color-red, #c9222f);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.landing-tag--muted {
  background: #f1efee;
  color: rgba(35, 31, 30, 0.7);
}

/* ---------- Light panel ---------- */
.landing-panel {
  padding: 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  background: #fff;
}

.landing-panel .landing-spec-list div,
.landing-panel .landing-stat {
  border-color: rgba(0, 0, 0, 0.08);
  background: #faf8f8;
}

.landing-panel .landing-spec-list dd,
.landing-panel .landing-stat span {
  color: rgba(35, 31, 30, 0.65);
}

.landing-stat strong {
  display: block;
  font-size: 1.2rem;
}

.landing-stat span {
  font-size: 0.86rem;
}

.landing-spec-list .landing-stat {
  padding: 0.95rem 1rem;
  border-radius: 12px;
}

/* ---------- Status grid (operational indicators) ---------- */
.landing-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

@media (min-width: 900px) {
  .landing-status-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.landing-status {
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--color-red, #c9222f);
  border-radius: 12px;
  background: #fff;
}

.landing-status b {
  display: block;
  color: var(--sp-dark);
}

.landing-status span {
  font-size: 0.86rem;
  color: rgba(35, 31, 30, 0.65);
}

/* ---------- Transmission path strip ---------- */
.landing-path {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.landing-path > div:not(.landing-path__arrow),
.landing-path__step {
  flex: 1 1 140px;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  text-align: center;
  color: var(--sp-dark);
}

.landing-path__step b {
  display: block;
}

.landing-path__step span {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(35, 31, 30, 0.65);
}

.landing-path__arrow {
  align-self: center;
  color: var(--color-red, #c9222f);
  font-size: 1.3rem;
  font-weight: 700;
}

@media (max-width: 720px) {
  .landing-path {
    flex-direction: column;
  }

  .landing-path__arrow {
    transform: rotate(90deg);
  }
}

/* ---------- Workflow steps: 3 per row for 5-6 steps ---------- */
@media (min-width: 1000px) {
  .landing-page--pkg .landing-flow--pkg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-page--pkg .landing-flow--pkg[data-steps="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .landing-page--pkg .landing-flow--pkg[data-steps="5"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- Comparison tables: yes / no ---------- */
.landing-page--pkg .landing-yes {
  font-weight: 600;
  color: #1f7a4d;
}

.landing-page--pkg .landing-no {
  font-weight: 600;
  color: var(--color-red, #c9222f);
}

/* ---------- Phone illustration (ambulatory) ---------- */
.landing-phone-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 16px;
  background: var(--sp-dark);
}

.landing-phone-card__phone {
  width: min(220px, 70%);
  padding: 0.7rem;
  border-radius: 28px;
  background: #111;
}

.landing-phone-card__screen {
  display: grid;
  gap: 0.6rem;
  padding: 1.2rem 1rem;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.landing-phone-card__screen span {
  font-size: 0.78rem;
  color: rgba(35, 31, 30, 0.72);
}

.landing-phone-card__action {
  padding: 0.55rem;
  border-radius: 10px;
  background: var(--sp-soft);
  color: var(--color-red, #c9222f);
  font-weight: 600;
}

.landing-carriers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.landing-carriers span {
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
}

/* ---------- Spacing / text details from the client markup ---------- */
/* Answer box inside the dark form block keeps dark text on its light background */
.landing-page--pkg .landing-cta-block__copy .landing-answer-box,
.landing-page--pkg .landing-cta-block__copy .landing-answer-box .landing-p {
  color: var(--sp-dark);
}

.landing-page--pkg .landing-cta-block__copy .landing-answer-box .landing-p {
  margin: 0.35rem 0 0;
}

.landing-page--pkg .landing-status-grid + .landing-p,
.landing-page--pkg .landing-checks + .landing-p,
.landing-page--pkg .landing-feature-grid + .landing-reviewed,
.landing-page--pkg .landing-table-wrap + .landing-reviewed,
.landing-page--pkg .landing-path + .landing-feature-grid {
  margin-top: 1.25rem;
}

.landing-page--pkg .landing-cta-block__copy .landing-checks {
  margin: 1rem 0 1.25rem;
}

.landing-page--pkg .landing-definition > aside,
.landing-page--pkg .landing-definition > .landing-panel,
.landing-page--pkg .landing-definition > .landing-phone-card {
  align-self: start;
}

/* Narrow phones: long button labels wrap instead of widening their column
   past the viewport (e.g. "Explore the S-Patch Monitoring System" at 360px). */
.landing-page--pkg .landing-definition > * {
  min-width: 0;
}

@media (max-width: 480px) {
  .landing-page--pkg .figma-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Accessibility (WCAG AA): accent text and inline links on dark panels */
.landing-callout-band .landing-h2__accent {
  color: #ff7a84;
}

.landing-spec-panel a,
.landing-callout-band a:not(.figma-btn) {
  text-decoration: underline;
  text-underline-offset: 2px;
}
