/* ENTHORIS Marketing Design System — Phase 18
 * Single, intentionally narrow foundation layer. Clinical application styles are excluded.
 * Loaded after the marketing template/page styles to harmonize shared visual language.
 */
body.premium-site {
  --ent-ink: #102a43;
  --ent-ink-strong: #0c2440;
  --ent-teal: #087f78;
  --ent-teal-dark: #06655f;
  --ent-teal-soft: #e7f5f3;
  --ent-slate: #50677a;
  --ent-canvas: #f4f9fc;
  --ent-surface: #fff;
  --ent-border: #dbe6ec;
  --ent-border-strong: #c6d9e2;
  --ent-radius-sm: 10px;
  --ent-radius-md: 15px;
  --ent-radius-lg: 20px;
  --ent-shadow: 0 13px 36px rgba(16,42,67,.065);
  --ent-focus: #e9a52c;
  --ent-space-1: 4px;
  --ent-space-2: 8px;
  --ent-space-3: 12px;
  --ent-space-4: 16px;
  --ent-space-6: 24px;
  --ent-space-8: 32px;
  --ent-space-12: 48px;
  color: var(--ent-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.premium-site main { min-width: 0; }
body.premium-site .pm-header {
  background: rgba(255,255,255,.985);
  border-bottom: 1px solid var(--ent-border);
  box-shadow: 0 3px 15px rgba(16,42,67,.025);
  isolation: isolate;
}
body.premium-site .pm-header .pm-nav { gap: clamp(10px, 1.8vw, 25px); }
body.premium-site .pm-header .pm-brand img { object-fit: contain; }
body.premium-site .pm-header .pm-links,
body.premium-site .pm-header .pm-nav-actions { min-width: 0; }
body.premium-site .pm-header .pm-mega { max-height: min(76vh, 660px); overflow-y: auto; overscroll-behavior: contain; }
body.premium-site .pm-header .pm-nav-details > summary { border-radius: var(--ent-radius-sm); }
body.premium-site .pm-header .pm-nav-details > summary:focus-visible,
body.premium-site .pm-header a:focus-visible { outline-offset: 3px; }
body.premium-site .pm-btn,
body.premium-site .pm-nav-actions > .pm-btn {
  border-radius: 11px;
  font-weight: 790;
  line-height: 1.3;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.premium-site .pm-btn:not(.pm-btn-ghost-light) { min-height: 44px; }
body.premium-site .pm-btn-primary { background: #0b7972; border-color: #0b7972; color: white; }
body.premium-site .pm-btn-primary:hover { background: var(--ent-teal-dark); border-color: var(--ent-teal-dark); }
body.premium-site .pm-btn-secondary { background: white; border-color: var(--ent-border); color: var(--ent-ink); }
body.premium-site .pm-btn-secondary:hover { background: var(--ent-teal-soft); border-color: #a9d9d2; }
body.premium-site .pm-container { max-width: 1320px; }
body.premium-site .pm-subhero,
body.premium-site .pm-hero { color: var(--ent-ink); }
body.premium-site .pm-subhero h1,
body.premium-site .pm-hero h1 { overflow-wrap: break-word; line-height: 1.1; letter-spacing: -.042em; }
body.premium-site .pm-subhero-grid > *,
body.premium-site .pm-story-split > * { min-width: 0; }
body.premium-site .pm-section-head h2 { line-height: 1.15; letter-spacing: -.032em; }
body.premium-site .pm-section-head p,
body.premium-site .pm-subhero p { line-height: 1.65; }
body.premium-site .pm-actions { gap: 10px; }
body.premium-site :is(.pm-module,.pm-value,.pm-role,.pm-specialty,.pm-product,.pm-resource,.pm-screen-card,.pm-feature-card,.pm-card,.pm17-product-card) {
  border-color: var(--ent-border);
}
body.premium-site :is(.pm-module,.pm-value,.pm-role,.pm-specialty,.pm-product,.pm-resource,.pm-feature-card,.pm-card) {
  border-radius: var(--ent-radius-lg);
}
body.premium-site .pm-footer { background: var(--ent-ink-strong); }
body.premium-site .pm-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
body.premium-site input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.premium-site select,
body.premium-site textarea { max-width: 100%; }
body.premium-site label { line-height: 1.4; }
body.premium-site :is(input,select,textarea,button,a,summary,[role="button"]):focus-visible {
  outline: 3px solid var(--ent-focus);
  outline-offset: 3px;
}
body.premium-site .pm-specialty-art img,
body.premium-site .pm-solution-hero-art img,
body.premium-site .pm-product-hero-art img { object-fit: contain; }
@media (max-width: 1150px) {
  body.premium-site .pm-header .pm-mega { max-height: min(65vh, 600px); }
}
@media (max-width: 720px) {
  body.premium-site .pm-container { padding-inline: max(18px, env(safe-area-inset-left)); }
  body.premium-site .pm-subhero h1 { overflow-wrap: anywhere; }
  body.premium-site .pm-actions > .pm-btn { max-width: 100%; }
  body.premium-site .pm-header .pm-mega { max-height: none; overflow: visible; }
  body.premium-site .pm-section-head p { max-width: 70ch; }
  body.premium-site :is(.pm-module,.pm-value,.pm-role,.pm-specialty,.pm-product,.pm-resource) { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.premium-site .pm-btn,
  body.premium-site .pm-nav-details > summary { transition: none; }
  body.premium-site [class*="animate"] { animation-duration: .01ms; animation-iteration-count: 1; }
}
/* Correct a verified 360px overflow on six Phase 16 module detail heroes.
 * Their grid image had an intrinsic 350px min-content width. */
body.premium-site .pm16-detail-hero .pm16-detail-art { width:100%; max-width:100%; min-width:0; }
body.premium-site .pm16-detail-hero .pm16-detail-art img { max-width:100%; }
@media (max-width:720px) {
  body.premium-site .pm16-detail-hero .pm16-detail-art img { width:min(260px,100%); height:auto; }
}
