/*
 * DevHeal Labs product discovery: visual-first showcase, Nov 2026.
 * Page-scoped and loaded after the existing design system.
 * Real assets are labelled demo/simulation/synthetic. No external libraries.
 */
:is(.dh-free-page,.dh-products-page){font-family:var(--dh-font,Inter,system-ui,sans-serif)}
:is(.dh-free-page,.dh-products-page) .dh-section-heading{margin-bottom:28px}
:is(.dh-free-page,.dh-products-page) .dh-section-heading h2{max-width:26ch}
:is(.dh-free-page,.dh-products-page) .dh-section-heading p{font-size:15px;line-height:1.7;max-width:75ch}
:is(.dh-free-page,.dh-products-page) .dh-free-cards.dh-showcase-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card{
  grid-column:span 2;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:0;
  overflow:hidden;
  border:1px solid var(--dh-line,#e0e7ef);
  border-radius:20px;
  background:var(--dh-paper,#fff);
  box-shadow:0 5px 22px rgba(20,45,75,.035);
  isolation:isolate;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:nth-child(n+4){grid-column:span 3}
:is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:hover{
  transform:translateY(-3px);
  border-color:var(--dh-line-strong,#cbd8e4);
  box-shadow:0 16px 36px rgba(20,45,75,.11);
}
.dh-showcase-card--blue{--showcase-accent:#256bb4;--showcase-accent-soft:#e7f2ff}
.dh-showcase-card--teal{--showcase-accent:#0e827a;--showcase-accent-soft:#e6f6f2}
.dh-showcase-card--violet{--showcase-accent:#6d5bb1;--showcase-accent-soft:#f0ecff}
.dh-showcase-card--amber{--showcase-accent:#a76a18;--showcase-accent-soft:#fff2db}
.dh-showcase-card--green{--showcase-accent:#148069;--showcase-accent-soft:#e4f8ee}
:is(.dh-free-page,.dh-products-page) .dh-showcase-visual{
  position:relative;
  display:block;
  width:100%;
  margin:0;
  aspect-ratio:16/9;
  min-height:172px;
  overflow:hidden;
  border-radius:0;
  background:linear-gradient(145deg,#0b1b35,#24496f);
  border-bottom:1px solid var(--dh-line,#e0e7ef);
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-visual>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  transition:transform .35s ease;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:hover .dh-showcase-visual img{transform:scale(1.024)}
:is(.dh-free-page,.dh-products-page) .dh-showcase-visual figcaption{
  position:absolute;
  z-index:2;
  left:13px;
  bottom:13px;
  max-width:calc(100% - 26px);
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 11px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(10,27,51,.88);
  color:#fff;
  font:650 10.5px/1.35 var(--dh-font,Inter,system-ui,sans-serif);
  letter-spacing:.015em;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-visual--lab{
  background:
    radial-gradient(ellipse at 85% 15%,rgba(40,176,169,.2),transparent 52%),
    linear-gradient(140deg,#0c243a,#163e55 70%,#0d2438);
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-lab{height:100%;display:flex;align-items:center;justify-content:center;padding:12px 25px 28px}
:is(.dh-free-page,.dh-products-page) .dh-lab-window{
  width:min(100%,400px);
  overflow:hidden;
  border:1px solid rgba(213,242,255,.21);
  border-radius:12px;
  box-shadow:0 16px 36px rgba(0,0,0,.18);
  background:#edf5f9;
}
:is(.dh-free-page,.dh-products-page) .dh-lab-topbar{display:flex;align-items:center;gap:5px;padding:10px 12px;background:#173851;color:#d7eaf4}
:is(.dh-free-page,.dh-products-page) .dh-lab-topbar>span{width:5px;height:5px;border-radius:50%;background:#92b6cb}
:is(.dh-free-page,.dh-products-page) .dh-lab-topbar strong{font:700 10px/1.25 var(--dh-font,Inter,system-ui,sans-serif);margin-left:7px;letter-spacing:.02em}
:is(.dh-free-page,.dh-products-page) .dh-lab-rows{display:grid;gap:1px;background:#dae6eb}
:is(.dh-free-page,.dh-products-page) .dh-lab-row{display:flex;align-items:center;gap:8px;background:#f2f7fa;padding:10px 12px;color:#274153;font:600 10px/1.3 var(--dh-font,Inter,system-ui,sans-serif)}
:is(.dh-free-page,.dh-products-page) .dh-lab-dot{width:7px;height:7px;flex:none;border-radius:50%;background:#1b977e}
:is(.dh-free-page,.dh-products-page) .dh-lab-ok{margin-left:auto;font:750 8px/1.2 var(--dh-font,Inter,system-ui,sans-serif);letter-spacing:.04em;padding:4px 6px;background:#dbf3ea;color:#116b58;border-radius:5px}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__content{
  flex:1;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:23px 24px 23px;
  text-align:left;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__overline{display:flex;align-items:center;gap:10px;min-height:19px;margin:0 0 9px}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__index{flex:none;color:var(--showcase-accent);font:780 11px/1.5 var(--dh-font,Inter,system-ui,sans-serif);letter-spacing:.035em}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__category{font:740 10px/1.45 var(--dh-font,Inter,system-ui,sans-serif);letter-spacing:.11em;color:var(--dh-muted,#5c6e82);text-transform:uppercase}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__content h3{
  margin:0 0 11px;
  font:780 clamp(22px,1.65vw,27px)/1.19 var(--dh-font,Inter,system-ui,sans-serif);
  letter-spacing:-.042em;
  color:var(--dh-ink,#12263f);
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__content h3 a{color:inherit;text-decoration:none}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__content h3 a:hover{text-decoration:underline;text-underline-offset:4px}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__status{
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:26px;
  margin:0 0 14px;
  padding:5px 9px;
  max-width:100%;
  border-radius:9px;
  background:var(--showcase-accent-soft);
  color:var(--showcase-accent);
  font:720 11px/1.3 var(--dh-font,Inter,system-ui,sans-serif);
  letter-spacing:0;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__status-dot{flex:none;width:6px;height:6px;border-radius:50%;background:currentColor}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__description{
  flex:1;
  margin:0;
  color:var(--dh-muted,#5c6e82);
  font:450 14px/1.65 var(--dh-font,Inter,system-ui,sans-serif);
  max-width:53ch;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__content .dh-free-card-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:11px 15px;
  width:100%;
  margin-top:auto;
  padding-top:23px;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:43px;
  padding:10px 14px;
  flex:0 0 auto;
  border:1px solid #183d66;
  border-radius:10px;
  background:#183d66;
  color:#fff!important;
  text-decoration:none!important;
  font:700 12px/1.3 var(--dh-font,Inter,system-ui,sans-serif);
  transition:background .18s ease,transform .18s ease;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__primary:hover{background:#275e98;border-color:#275e98;transform:translateY(-1px)}
:is(.dh-free-page,.dh-products-page) .dh-showcase-card__secondary{
  display:inline-flex;
  align-items:center;
  min-height:43px;
  color:var(--dh-blue,#1c64bd)!important;
  text-decoration:underline;
  text-underline-offset:4px;
  font:700 12px/1.3 var(--dh-font,Inter,system-ui,sans-serif);
  white-space:nowrap;
}
:is(.dh-free-page,.dh-products-page) .dh-showcase-grid a:focus-visible,:is(.dh-free-page,.dh-products-page) .dh-free-search input:focus-visible{
  outline:3px solid #237ed1;
  outline-offset:3px;
}
:is(.dh-free-page,.dh-products-page) .dh-free-search{
  max-width:650px;
  margin:24px 0 20px;
  padding:0;
}
:is(.dh-free-page,.dh-products-page) .dh-free-search>label{display:block;margin-bottom:9px;font:750 13px/1.4 var(--dh-font,Inter,system-ui,sans-serif);color:var(--dh-ink)}
:is(.dh-free-page,.dh-products-page) .dh-free-search__control{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 15px;border:1px solid var(--dh-line-strong,#ccd7e4);border-radius:12px;background:var(--dh-paper,#fff)}
:is(.dh-free-page,.dh-products-page) .dh-free-search__control span{color:var(--dh-muted);font-size:21px;line-height:1}
:is(.dh-free-page,.dh-products-page) .dh-free-search__control input{border:0;outline:0;background:transparent;color:var(--dh-ink);width:100%;min-height:46px;padding:0;font:450 16px/1.4 var(--dh-font,Inter,system-ui,sans-serif)}
:is(.dh-free-page,.dh-products-page) .dh-free-search__control input:focus-visible{outline:0}
:is(.dh-free-page,.dh-products-page) .dh-free-search__control:focus-within{border-color:#2877c7;box-shadow:0 0 0 3px rgba(40,119,199,.15)}
:is(.dh-free-page,.dh-products-page) .dh-free-search #dh-search-feedback{margin:8px 0 0;color:var(--dh-muted);font-size:12px}
:is(.dh-free-page,.dh-products-page) .dh-free-catalog li{background:var(--dh-paper);border-color:var(--dh-line)}
:is(.dh-free-page,.dh-products-page) .dh-free-catalog li[hidden]{display:none!important}
:is(.dh-free-page,.dh-products-page) .dh-free-empty{margin:18px 0;color:var(--dh-muted);font-size:14px}
:is(.dh-free-page,.dh-products-page) .dh-free-empty[hidden]{display:none!important}
/* Consent is inserted after the hero. Make it a responsive in-flow notice,
   not a fixed panel covering product information or form fields. */
:is(.dh-free-page,.dh-products-page) #devheal-consent{
  position:relative!important;
  inset:auto!important;
  z-index:auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px 28px;
  width:min(1240px,calc(100% - 48px));
  max-width:100%;
  margin:20px auto 0;
  padding:14px 18px;
  border-radius:12px;
  box-shadow:0 4px 18px rgba(11,32,59,.12);
  font:450 13px/1.6 var(--dh-font,Inter,system-ui,sans-serif);
}
:is(.dh-free-page,.dh-products-page) #devheal-consent .devheal-consent-copy{margin:0;color:#eff6ff}
:is(.dh-free-page,.dh-products-page) #devheal-consent .devheal-consent-actions{justify-content:flex-start;flex-wrap:wrap}
:is(.dh-free-page,.dh-products-page) #devheal-consent .devheal-consent-button{min-height:44px;padding:9px 16px}
:root[data-theme="dark"] :is(.dh-free-page,.dh-products-page) .dh-showcase-card__status{background:color-mix(in srgb,var(--showcase-accent) 20%,#17273b);color:#e3f1ff}
:root[data-theme="dark"] :is(.dh-free-page,.dh-products-page) .dh-showcase-card__index{color:#8dbfec}
:root[data-theme="dark"] :is(.dh-free-page,.dh-products-page) .dh-showcase-card__secondary{color:#8dbfec!important}
@media (max-width:1050px){
  :is(.dh-free-page,.dh-products-page) .dh-free-cards.dh-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card,
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:nth-child(n+4){grid-column:span 1}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:last-child{grid-column:span 2}
}
@media (max-width:700px){
  :is(.dh-free-page,.dh-products-page) .dh-free-cards.dh-showcase-grid{grid-template-columns:1fr;gap:16px}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card,
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:nth-child(n+4),
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card:last-child{grid-column:1}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-card__content{padding:20px 19px 21px}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-visual{min-height:170px}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-card__content h3{font-size:24px}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-card__description{font-size:14px}
  :is(.dh-free-page,.dh-products-page) #devheal-consent{grid-template-columns:1fr;width:calc(100% - 32px);margin:14px auto 0;padding:14px}
  :is(.dh-free-page,.dh-products-page) #devheal-consent .devheal-consent-actions{justify-content:stretch}
  :is(.dh-free-page,.dh-products-page) #devheal-consent .devheal-consent-button{flex:1}
}
@media (max-width:360px){
  :is(.dh-free-page,.dh-products-page) .dh-showcase-card__content .dh-free-card-actions{align-items:stretch;flex-direction:column;gap:6px}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-card__primary,:is(.dh-free-page,.dh-products-page) .dh-showcase-card__secondary{width:100%;justify-content:center}
  :is(.dh-free-page,.dh-products-page) .dh-showcase-visual figcaption{font-size:9px;max-width:calc(100% - 20px);left:10px;bottom:10px}
}
@media (prefers-reduced-motion:reduce){
  :is(.dh-free-page,.dh-products-page) .dh-showcase-grid>.dh-showcase-card,
  :is(.dh-free-page,.dh-products-page) .dh-showcase-visual>img,
  :is(.dh-free-page,.dh-products-page) .dh-showcase-card__primary{transition:none!important;transform:none!important}
}
