/* Shared Products navigation */
.nav-products{position:relative;flex:0 0 auto}.nav-products>summary{display:inline-flex;align-items:center;gap:8px;list-style:none;cursor:pointer;white-space:nowrap;padding-bottom:3px;border-bottom:2px solid transparent;color:var(--ink-2);font-size:var(--fs-xs)}.nav-products>summary::-webkit-details-marker{display:none}.nav-products>summary::after{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}.nav-products[open]>summary,.nav-products>summary:hover{color:var(--ink);border-bottom-color:var(--accent)}.nav-products-menu{position:absolute;z-index:90;top:calc(100% + 8px);left:0;display:grid;gap:2px;min-width:265px;padding:8px;border:1px solid var(--rule);border-radius:var(--r-lg);background:var(--white);box-shadow:var(--shadow-lift)}.nav-products-menu a{display:flex;align-items:center;min-height:40px;padding:9px 11px;border:0!important;border-radius:var(--r-sm);color:var(--ink-2);font-size:var(--fs-sm);text-decoration:none;white-space:normal}.nav-products-menu a:hover{color:var(--accent-deep);background:var(--accent-wash)}@media(min-width:768px) and (max-width:899px){.site-header--menu.js-menu .nav{overflow:visible;flex-wrap:wrap}}@media(min-width:900px){.site-header--menu.js-menu .nav{overflow:visible}}@media(max-width:767px){.site-header--menu.js-menu .nav-products{width:100%}.site-header--menu.js-menu .nav-products>summary{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:0;border-bottom:1px solid var(--rule);color:var(--ink);font-size:var(--fs-sm)}.site-header--menu.js-menu .nav-products-menu{position:static;min-width:0;padding:0 0 8px 14px;border:0;box-shadow:none;background:transparent}.site-header--menu.js-menu .nav-products-menu a{min-height:40px;padding:8px 0;border-bottom:1px solid var(--rule)!important;color:var(--ink)}} 
/* Product overview and landing-page components */
.product-overview-grid,.product-feature-grid,.product-step-grid,.product-module-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s5)}.product-overview-card{min-height:100%;gap:var(--s3)}.product-card-top{display:flex;justify-content:space-between;align-items:center;gap:var(--s3);margin-bottom:var(--s2)}.product-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:14px;background:var(--lavender-2);color:var(--accent-deep);font-size:24px}.product-status{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;font-size:var(--fs-label);font-weight:700;white-space:nowrap}.product-status--available{color:#17603a;background:#e8f5ed}.product-status--development{color:#6b4b0b;background:#fff4d9}.product-card-points{margin:var(--s2) 0 0;padding-left:18px;color:var(--ink-2);font-size:var(--fs-sm);line-height:1.55}.product-card-points li+li{margin-top:5px}.product-overview-note,.product-cta-note{margin-top:var(--s4);color:var(--ink-3);font-size:var(--fs-xs);line-height:1.6}.product-hero-panel{border:1px solid var(--rule);border-radius:var(--r-lg);background:var(--white);box-shadow:var(--shadow-panel);padding:var(--s6)}.product-panel-kicker{color:var(--accent-deep);font-family:var(--font-mono);font-size:var(--fs-label);letter-spacing:.08em;text-transform:uppercase}.product-hero-panel h2{margin-top:var(--s3);font-size:var(--fs-h3);line-height:1.3}.product-flow{display:grid;gap:var(--s4);margin:var(--s5) 0 0;padding:0;list-style:none}.product-flow li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:var(--s3)}.product-flow-number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--lavender-2);color:var(--accent-deep);font-family:var(--font-mono);font-size:var(--fs-label)}.product-flow strong{display:block;color:var(--ink);font-size:var(--fs-sm)}.product-flow p,.product-record p{margin-top:3px;color:var(--ink-2);font-size:var(--fs-xs);line-height:1.55}.product-record{margin-top:var(--s5);padding:var(--s4);border:1px solid var(--rule);border-radius:var(--r);background:var(--band)}.product-record-label{display:block;color:var(--ink-3);font-family:var(--font-mono);font-size:var(--fs-label);text-transform:uppercase}.product-record strong{display:block;margin-top:5px;color:var(--ink);font-size:var(--fs-sm)}.product-feature-card,.product-step-card,.product-module-card{border-top:1px solid var(--rule);padding-top:var(--s4)}.product-feature-card h3,.product-step-card h3,.product-module-card h3{color:var(--ink);font-size:var(--fs-h3);line-height:1.3}.product-feature-card p,.product-step-card p,.product-module-card p{margin-top:var(--s2);color:var(--ink-2);line-height:1.65}.product-step-number{display:inline-block;margin-bottom:var(--s3);color:var(--accent);font-family:var(--font-mono);font-size:var(--fs-label)}.product-program-switch{display:flex;gap:8px;margin-top:var(--s4)}.product-program-pill{display:inline-flex;gap:8px;padding:8px 12px;border:1px solid var(--rule);border-radius:999px;background:var(--band);color:var(--ink-2);font-size:var(--fs-sm);font-weight:700}.product-program-pill small{color:var(--ink-3);font-weight:500}.product-program-pill.is-selected{border-color:#b8a9f4;background:var(--lavender-2);color:var(--accent-deep)}.product-pricing-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s5);padding:var(--s6);border:1px solid var(--rule);border-radius:var(--r-lg);background:var(--lavender)}.product-price{color:var(--ink);font-size:clamp(2rem,5vw,3rem);font-weight:700;line-height:1}.product-price small{font-size:var(--fs-sm);font-weight:500;color:var(--ink-2)}.product-pricing-panel p{margin-top:var(--s3);line-height:1.6}.product-pricing-panel ul{margin:var(--s3) 0 0;padding-left:18px;color:var(--ink-2);line-height:1.7}.product-module-grid{margin-top:var(--s5)}.product-faq-list{max-width:900px;margin-top:var(--s5)}.product-cross-links{display:flex;flex-wrap:wrap;gap:var(--s3) var(--s5);margin-top:var(--s5)}.product-cross-links a{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}.btn--secondary{border-color:var(--rule-strong);background:var(--white);color:var(--ink)}.btn--secondary:hover{border-color:var(--accent);color:var(--accent-deep)}
@media(min-width:700px){.product-overview-grid,.product-feature-grid,.product-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-pricing-panel{grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);align-items:center}}@media(min-width:1050px){.product-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s6)}.product-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-step-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:520px){.product-hero-panel,.product-pricing-panel{padding:var(--s4)}}
.product-offer-line{margin-top:var(--s3);color:var(--accent-deep);font-size:var(--fs-sm);font-weight:650;line-height:1.5}.product-short-answer{margin-top:var(--s3);color:var(--ink-2);font-size:var(--fs-sm);line-height:1.65}.product-updated{margin-top:var(--s3);color:var(--ink-3);font-size:var(--fs-xs)}
/* Keep the new product navigation and product links clear for keyboard users. */
.nav-products > summary:focus-visible,
.nav-products-menu a:focus-visible,
.product-overview-card a:focus-visible,
.product-cross-links a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* The custom software offering spans the comparison row on wide screens. */
.product-status--custom { color: var(--accent-deep); background: var(--accent-wash); }
@media (min-width: 1050px) {
  .product-overview-card--custom { grid-column: 1 / -1; }
}

/* Custom software hero: readable feature card across wide, mid and small viewports.
   Keep this scoped so other product pages retain their existing layouts. */
.hero.product-hero--custom {
  grid-template-columns: minmax(0, 1fr);
}
.hero.product-hero--custom > * {
  min-width: 0;
}
.hero.product-hero--custom .product-hero-panel {
  width: 100%;
  min-width: 0;
}
.hero.product-hero--custom .product-module-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.hero.product-hero--custom .product-module-card {
  min-width: 0;
}
.hero.product-hero--custom .product-module-card h3,
.hero.product-hero--custom .product-module-card p {
  overflow-wrap: break-word;
}

/* Two feature columns once each can hold a comfortable reading measure. */
@media (min-width: 640px) {
  .hero.product-hero--custom .product-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The global split-hero rule starts at 1000px; keep this one stacked until
   both the introduction and its feature card have enough room. */
@media (min-width: 1200px) {
  .hero.product-hero--custom {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3vw, 54px);
  }
}

/* Compact screens must not force the action buttons or feature tiles wide. */
@media (max-width: 479px) {
  .hero.product-hero--custom .actions {
    flex-wrap: wrap;
  }
  .hero.product-hero--custom .actions .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* EMR hero: keep its six clinical and operational features readable at every
   viewport without changing other product heroes. Match the global :has(aside)
   split-hero specificity so the stacked layout wins from 1000-1199px too. */
.hero.product-hero--emr:has(aside) {
  grid-template-columns: minmax(0, 1fr);
}
.hero.product-hero--emr > * {
  min-width: 0;
}
.hero.product-hero--emr .product-hero-panel {
  width: 100%;
  min-width: 0;
}
.hero.product-hero--emr .product-module-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.hero.product-hero--emr .product-module-card {
  min-width: 0;
}
.hero.product-hero--emr .product-module-card h3,
.hero.product-hero--emr .product-module-card p {
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .hero.product-hero--emr .product-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Two spacious hero columns only where both sections have room. */
@media (min-width: 1200px) {
  .hero.product-hero--emr:has(aside) {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(24px, 3vw, 54px);
  }
}

@media (max-width: 479px) {
  .hero.product-hero--emr .actions {
    flex-wrap: wrap;
  }
  .hero.product-hero--emr .actions .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
