/* eSUS Host shared visual tokens. Load after the legacy site stylesheet. */
:root {
  --eh-font: "Inter", "Segoe UI", Arial, sans-serif;
  --eh-ink: #172033;
  --eh-muted: #627186;
  --eh-line: #dce5ee;
  --eh-surface: #fff;
  --eh-bg: #f7fafc;
  --eh-primary: #13856f;
  --eh-blue: #246bfe;
  --eh-tint: #e8f5f0;
  --eh-glass: rgba(255, 255, 255, .84);
  --eh-glass-line: rgba(220, 229, 238, .9);
  --eh-glass-shadow: 0 14px 32px rgba(23, 32, 51, .08);
  --eh-glass-filter: blur(16px) saturate(1.2);
  --eh-radius: 14px;
  --eh-radius-lg: 20px;
  --eh-shadow: 0 5px 18px #17203309;
  --eh-width: 1180px;
  --eh-gutter: clamp(1rem, 4vw, 3rem);
  --eh-band: radial-gradient(ellipse at 95% 0%, rgba(19, 133, 111, .09), transparent 62%),
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(243, 247, 251, .72));
}

:is(.eh-home, .downloads-page, .clients-page) {
  --ink: var(--eh-ink);
  --muted: var(--eh-muted);
  --line: var(--eh-line);
  --soft: var(--eh-bg);
  --blue: var(--eh-blue);
  --green: var(--eh-primary);
  --shadow: var(--eh-shadow);
  background: var(--eh-bg);
}

:is(.eh-home, .downloads-page, .clients-page, .eh-info) :focus-visible {
  outline: 2px solid var(--eh-blue);
  outline-offset: 3px;
}

:is(.eh-home, .downloads-page, .clients-page) .site-header {
  inset-inline: 0;
  width: min(var(--eh-width), calc(100% - 2 * var(--eh-gutter)));
  margin-inline: auto;
  border-color: var(--eh-glass-line);
  border-radius: var(--eh-radius);
  backdrop-filter: var(--eh-glass-filter);
  box-shadow: var(--eh-glass-shadow);
}

:is(.eh-home, .downloads-page, .clients-page) .site-nav a {
  font-weight: 650;
}

:is(.eh-home, .downloads-page, .clients-page) .site-footer {
  padding-inline: max(var(--eh-gutter), calc((100% - var(--eh-width)) / 2));
}

.eh-home main {
  width: min(var(--eh-width), calc(100% - 2 * var(--eh-gutter)));
  margin-inline: auto;
  padding-top: 104px;
}

.eh-home :is(section, article)[id] {
  scroll-margin-top: 104px;
}

.eh-home .hero {
  position: relative;
  top: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.65rem);
  min-height: 0;
  padding: clamp(1.4rem, 4vw, 2.85rem);
  border: 1px solid var(--eh-glass-line);
  border-radius: var(--eh-radius-lg);
  background: var(--eh-band);
  box-shadow: var(--eh-glass-shadow);
}

.eh-home .hero-content {
  width: 100%;
  padding: 0;
}

.eh-home .eyebrow {
  color: var(--teal);
  letter-spacing: .095em;
  font-size: .76rem;
  font-weight: 750;
}

.eh-home .hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -.045em;
}

.eh-home .slogan {
  font-size: clamp(1.18rem, 2.7vw, 1.6rem);
  font-weight: 750;
}

.eh-home .hero-lead {
  max-width: 56ch;
}

.eh-home .hero-actions .button {
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.eh-home .hero-metrics {
  width: 100%;
}

.eh-home .hero-metrics div {
  border-radius: 10px;
}

.eh-home .hero-scene {
  position: relative;
  inset: auto;
  order: 0;
  width: 100%;
  height: clamp(255px, 30vw, 348px);
  margin: 0;
  opacity: 1;
}

.eh-home .hero-screen {
  border-radius: var(--eh-radius);
  color: var(--eh-ink);
  box-shadow: var(--eh-glass-shadow);
}

.eh-home .monitor-screen {
  top: 14%;
  right: 6%;
  width: 86%;
  min-height: 0;
}

.eh-home .screen-grid {
  grid-template-columns: minmax(0, 110px) minmax(0, 1fr);
}

.eh-home .score-ring {
  width: 100%;
  max-width: 110px;
}

.eh-home .queue-screen {
  top: 58%;
  left: 0;
  right: auto;
  width: min(46%, 156px);
}

.eh-home .pharma-screen {
  right: 0;
  bottom: 3%;
  width: min(48%, 184px);
}

.eh-home .shelf span {
  height: clamp(16px, 2.8vw, 36px);
}

.eh-home .cloud-screen {
  top: 0;
  left: 0;
  right: auto;
  width: min(50%, 178px);
}

.eh-home .cloud-node {
  display: none;
}

.eh-home .hero-product-strip {
  grid-column: 1 / -1;
  margin-top: 0;
}

.eh-home .hero-product-strip a:hover {
  background: var(--eh-surface);
}

.eh-home :is(.section, .differentials-section, .quote-section) {
  margin-top: clamp(2rem, 5vw, 3.4rem);
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.eh-home .quote-section {
  margin-top: clamp(1.1rem, 3vw, 1.9rem);
}

.eh-home .quote-section blockquote {
  width: 100%;
  padding: 1rem clamp(1rem, 3vw, 1.6rem);
  border: 1px solid var(--eh-line);
  border-inline-start: 4px solid var(--eh-primary);
  border-radius: var(--eh-radius);
  background: var(--eh-glass);
  backdrop-filter: var(--eh-glass-filter);
  box-shadow: var(--eh-glass-shadow);
}

.eh-home .quote-section p {
  font-size: clamp(.98rem, 2vw, 1.16rem);
}

.eh-home .quote-section cite {
  font-size: .82rem;
}

.eh-home .section-heading {
  margin-bottom: 1rem;
}

.eh-home :is(.section-heading h2, .cta-section h2) {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  line-height: 1.14;
  letter-spacing: -.025em;
}

.eh-home .section-heading p:not(.eyebrow) {
  margin: .5rem 0 0;
}

.eh-home :is(.product-card, .flow-step, .differential-card, .contact-panel) {
  min-width: 0;
  border-radius: var(--eh-radius);
  background: var(--eh-glass);
  backdrop-filter: var(--eh-glass-filter);
  box-shadow: var(--eh-glass-shadow);
}

.eh-home .product-card {
  padding: clamp(1rem, 2.6vw, 1.35rem);
}

.eh-home .product-card ul {
  gap: .35rem;
}

.eh-home .product-visual {
  border-radius: 10px;
}

.eh-home .differential-card {
  min-height: 0;
  padding: 1.25rem;
}

.eh-home .differential-card:not(.quote-card) p {
  font-size: .9rem;
  font-weight: 450;
}

.eh-home .quote-card {
  background: var(--eh-band);
  color: var(--eh-ink);
}

.eh-home .quote-card::before {
  color: rgba(19, 133, 111, .14);
}

.eh-home .differentials-section .quote-card p {
  color: var(--eh-ink);
  font-size: 1.2rem;
}

.eh-home .differentials-section .quote-card cite {
  color: var(--eh-primary);
}

.eh-home .cta-section {
  margin: clamp(2rem, 5vw, 3.4rem) 0;
  padding: clamp(1.1rem, 3.5vw, 2rem);
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-lg);
  background: var(--eh-band);
  backdrop-filter: var(--eh-glass-filter);
}

/* Public appointment instructions. Page content is independent of Monitor login. */
.eh-info,
.eh-info * {
  box-sizing: border-box;
}

.eh-info {
  margin: 0;
  min-height: 100vh;
  background: var(--eh-bg);
  color: var(--eh-ink);
  font-family: var(--eh-font);
  line-height: 1.55;
}

.eh-info main {
  width: min(920px, calc(100% - 2 * var(--eh-gutter)));
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem) 0;
}

.eh-info .card {
  overflow: hidden;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius-lg);
  background: var(--eh-glass);
  backdrop-filter: var(--eh-glass-filter);
  box-shadow: var(--eh-glass-shadow);
}

.eh-info :is(.header, .content) {
  padding: clamp(1rem, 4vw, 2rem);
}

.eh-info .header {
  background: var(--eh-band);
}

.eh-info-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  color: var(--eh-primary);
  font-size: .82rem;
  font-weight: 700;
}

.eh-info-brand span {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: var(--eh-tint);
  color: var(--eh-primary);
}

.eh-info h1 {
  margin: 0 0 .35rem;
  font-size: clamp(1.45rem, 4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.eh-info .subtitle {
  margin: 0;
  color: var(--eh-muted);
}

.eh-info :is(.notice-list, .contact-list) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.eh-info .notice-list {
  display: grid;
  gap: .65rem;
}

.eh-info .notice {
  padding: .8rem 1rem;
  border: 1px solid var(--eh-line);
  border-inline-start: 4px solid var(--eh-blue);
  border-radius: 10px;
  background: #f1f7fc;
  font-size: .9rem;
  font-weight: 650;
}

.eh-info .notice.simple {
  border-inline-start-color: var(--eh-primary);
  background: #f0f8f6;
}

.eh-info .notice.warning {
  border-inline-start-color: #ad7500;
  background: #fff9ed;
}

.eh-info .notice.danger {
  border-inline-start-color: #b63843;
  background: #fff3f3;
}

.eh-info .contacts {
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--eh-line);
  border-radius: var(--eh-radius);
}

.eh-info .contacts-title {
  margin: 0;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--eh-line);
  background: var(--eh-bg);
  font-size: 1rem;
  font-weight: 750;
}

.eh-info .contact-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .2rem 1rem;
  padding: .65rem 1rem;
  font-size: .87rem;
}

.eh-info .contact-list li + li {
  border-top: 1px solid var(--eh-line);
}

.eh-info .unit {
  flex: 1 1 18rem;
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.eh-info .phone {
  color: var(--eh-blue);
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 860px) {
  :is(.eh-home, .downloads-page, .clients-page) .site-header {
    width: 100%;
    border-radius: 0;
  }

  :is(.eh-home, .downloads-page, .clients-page) .site-nav {
    flex: 0 0 100%;
    scrollbar-width: thin;
  }

  .eh-home main {
    padding-top: 1.3rem;
  }

  .eh-home :is(section, article)[id] {
    scroll-margin-top: 132px;
  }

  .eh-home .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .eh-home .hero-scene {
    width: min(100%, 470px);
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .eh-home .hero-scene {
    height: clamp(165px, 54vw, 232px);
  }

  .eh-home .monitor-screen {
    top: 4%;
    right: 4%;
  }

  .eh-home .screen-grid {
    grid-template-columns: minmax(0, 78px) minmax(0, 1fr);
  }

  .eh-home .hero-product-strip {
    display: grid;
  }

  .eh-home .hero-product-strip a {
    padding: .55rem;
    font-size: .78rem;
  }
}

@media (max-width: 400px) {
  :is(.eh-home, .downloads-page, .clients-page) .header-action {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.eh-home, .downloads-page, .clients-page) {
    scroll-behavior: auto;
  }

  .eh-home :is(.product-card, .flow-step) {
    transition: none;
  }
}
