:root {
  color-scheme: light;
  --ink: #102235;
  --muted: #5c6c78;
  --soft: #eef6f5;
  --soft-2: #f7faf9;
  --panel: #ffffff;
  --line: #d8e5e2;
  --teal: #049c92;
  --teal-dark: #047a73;
  --navy: #0f2b3d;
  --blue: #2f78c4;
  --green: #7aa33d;
  --warning: #e5a43b;
  --shadow: 0 22px 70px rgba(16, 34, 53, 0.13);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e8f3f6;
  --muted: #a8bac3;
  --soft: #132f34;
  --soft-2: #0b1d25;
  --panel: #102832;
  --line: #27434d;
  --teal: #20c7b8;
  --teal-dark: #28b8ad;
  --navy: #061721;
  --blue: #6aa9e8;
  --green: #9cbc59;
  --warning: #efb650;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--panel);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 14px clamp(18px, 4.4vw, 58px);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  border-bottom: 1px solid rgba(216, 229, 226, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(132px, 16vw, 168px);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 28px);
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 800;
}

.main-nav a,
.header-client,
.header-cta,
.button,
.solution-card a,
.project-grid a,
.blog-grid a,
.contact-buttons a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.header-client:hover,
.solution-card a:hover,
.project-grid a:hover,
.blog-grid a:hover {
  color: var(--teal-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-client,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: var(--radius);
  font-weight: 800;
  white-space: nowrap;
}

.header-client {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
}

.header-cta {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 24px rgba(15, 43, 61, 0.18);
}

.nav-mobile-action {
  display: none;
}

.theme-toggle {
  position: relative;
  width: 54px;
  min-width: 54px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--warning);
  transform: translateY(-50%);
  box-shadow: 18px 0 0 rgba(16, 34, 53, 0.22);
}

.theme-toggle span {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 34, 53, 0.2);
  transition: transform 180ms ease, background 180ms ease;
}

.theme-toggle[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--teal);
}

.theme-toggle[aria-pressed="true"] span {
  background: var(--teal);
  transform: translateX(20px);
}

.nav-theme-toggle {
  display: none;
}

.nav-toggle {
  display: none;
}

.hero,
.section {
  padding-inline: clamp(18px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(28px, 4.5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 58px);
  padding-top: clamp(34px, 5vw, 66px);
  padding-bottom: clamp(26px, 4vw, 54px);
  background:
    linear-gradient(130deg, rgba(4, 156, 146, 0.12), rgba(47, 120, 196, 0.08) 48%, rgba(255, 255, 255, 0) 70%),
    #fbfefd;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.15vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 1.6vw, 1.38rem);
  line-height: 1.25;
}

h4 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.actions,
.contact-buttons,
.centered {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.actions {
  margin-top: 28px;
}

.centered {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.header-client:hover,
.header-cta:hover,
.contact-buttons a:hover,
.shop-grid button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--teal-dark);
  box-shadow: 0 16px 32px rgba(4, 122, 115, 0.18);
}

.button.secondary,
.button.ghost {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-proof span {
  padding: 8px 11px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(16, 34, 53, 0.12));
}

.section {
  padding-top: clamp(70px, 9vw, 116px);
  padding-bottom: clamp(70px, 9vw, 116px);
}

.section:nth-of-type(odd) {
  background: var(--soft-2);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.feature-copy p,
.split p,
.client-intro p,
.contact-copy p,
.site-footer p,
.intro-grid p,
.persona-grid p,
.project-grid p,
.blog-grid p,
.solution-card p,
.benefit-card p,
.faq-list p {
  color: var(--muted);
}

.intro-grid,
.persona-grid,
.benefit-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.intro-grid article,
.persona-grid article,
.benefit-card,
.solution-card,
.project-grid article,
.blog-grid article,
.faq-list details,
.dashboard,
.contact-form,
.call-panel,
.server-card,
.room-tv {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.intro-grid article,
.persona-grid article,
.benefit-card,
.solution-card,
.call-panel {
  padding: 24px;
}

.intro-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.featured {
  background: linear-gradient(180deg, #f5fbfa, #ffffff);
}

.feature-layout,
.split,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.feature-copy {
  max-width: 720px;
}

.tv-demo {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 60px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 420px;
  padding: clamp(18px, 3vw, 34px);
  background: #edf7f6;
  border: 1px solid #cfe7e4;
  border-radius: var(--radius);
  overflow: hidden;
}

.server-card,
.room-tv {
  position: relative;
  z-index: 1;
  padding: 22px;
  box-shadow: var(--shadow);
}

.server-card span,
.room-tv span,
.project-grid span,
.blog-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.server-card strong {
  display: block;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.12;
}

.flow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.flow-line::before,
.flow-line::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  background: var(--blue);
  border-radius: 999px;
}

.flow-line::after {
  margin-left: auto;
  margin-top: -12px;
}

.screen {
  padding: 22px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 8px #183c55;
}

.screen small {
  display: block;
  margin-bottom: 12px;
  color: #9de0dc;
  font-weight: 700;
}

.screen strong {
  display: block;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.benefit-grid {
  margin-top: 22px;
}

.icon,
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 900;
}

.benefit-card:nth-child(2) .icon,
.secondary-priority .service-icon {
  background: var(--blue);
}

.benefit-card:nth-child(3) .icon {
  background: var(--green);
}

.nurse-call {
  background: linear-gradient(135deg, #f3fbfa, #ffffff);
  color: var(--ink);
}

.nurse-call .eyebrow,
.nurse-call p {
  color: var(--muted);
}

.nurse-call h2 {
  color: var(--navy);
}

.call-panel {
  color: var(--ink);
  box-shadow: var(--shadow);
}

.call-status {
  display: grid;
  gap: 4px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal-dark), var(--blue));
  border-radius: var(--radius);
}

.call-status span {
  font-weight: 800;
}

.call-status strong {
  font-size: 2rem;
}

.call-panel ul {
  display: grid;
  gap: 12px;
  padding: 18px 0 0;
  margin: 0;
  list-style: none;
}

.call-panel li {
  padding: 14px 16px;
  background: var(--soft);
  border-radius: var(--radius);
  font-weight: 700;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  grid-column: span 2;
  min-height: 300px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.solution-card.priority {
  grid-column: span 3;
  border-color: rgba(4, 156, 146, 0.34);
  box-shadow: var(--shadow);
}

.solution-card:hover,
.project-grid article:hover,
.blog-grid article:hover,
.persona-grid article:hover,
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.solution-card a,
.project-grid a,
.blog-grid a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--teal-dark);
  font-weight: 900;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  min-height: 164px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  counter-increment: step;
}

.timeline li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 40px;
  color: var(--teal-dark);
  font-weight: 900;
}

.timeline span {
  font-weight: 800;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-grid article,
.blog-grid article {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-grid img,
.blog-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.project-grid article > div,
.blog-grid article {
  padding-bottom: 22px;
}

.project-grid article > div,
.blog-grid article > :not(img) {
  padding-inline: 20px;
}

.blog-grid img {
  margin-bottom: 18px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list details[open] {
  border-color: rgba(4, 156, 146, 0.45);
  box-shadow: 0 14px 36px rgba(16, 34, 53, 0.08);
}

.faq-list p {
  margin: 12px 0 0;
}

.client-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.client-intro > div {
  max-width: 820px;
}

.client-page {
  background: var(--soft-2);
}

.client-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(4, 156, 146, 0.14), rgba(47, 120, 196, 0.08) 55%, rgba(255, 255, 255, 0) 80%),
    #fbfefd;
}

.client-hero[hidden] {
  display: none;
}

.client-hero-copy {
  max-width: 760px;
}

.client-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.client-stats span,
.login-card,
.portal-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.client-stats span {
  display: grid;
  gap: 4px;
  padding: 16px;
  color: var(--muted);
  font-weight: 700;
}

.client-stats strong {
  color: var(--teal-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.login-card {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.login-card[hidden] {
  display: none;
}

.login-card h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.login-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.client-workspace[hidden] {
  display: none;
}

.client-workspace {
  background: var(--soft-2);
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 520px;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(4, 156, 146, 0.13), rgba(47, 120, 196, 0.08) 60%, rgba(255, 255, 255, 0)),
    #fbfefd;
}

.blog-hero > div {
  max-width: 820px;
}

.blog-highlight {
  padding: clamp(22px, 4vw, 32px);
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-highlight span {
  display: block;
  margin-bottom: 18px;
  color: #9de0dc;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-highlight h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.blog-highlight p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.blog-page {
  background: #fff;
}

.blog-conversion {
  background: var(--soft-2);
}

.newsletter-section {
  background: linear-gradient(135deg, #eef8f7, #ffffff);
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  padding: clamp(26px, 5vw, 42px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.newsletter-card h2 {
  margin-bottom: 12px;
}

.newsletter-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d7d4;
  border-radius: var(--radius);
  font: inherit;
}

.article-hero {
  padding: clamp(52px, 8vw, 96px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(4, 156, 146, 0.12), rgba(47, 120, 196, 0.08) 58%, rgba(255, 255, 255, 0)),
    var(--soft-2);
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.article-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  line-height: 1.04;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.article-meta span {
  padding: 8px 12px;
  color: var(--navy);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.article-body {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) clamp(18px, 5vw, 28px);
}

.article-body h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.article-body p {
  color: var(--muted);
  font-size: 1.04rem;
}

.article-body a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.article-cta {
  max-width: 920px;
  margin: 0 auto clamp(44px, 7vw, 78px);
  padding: clamp(26px, 5vw, 40px);
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  border-radius: var(--radius);
}

.article-cta h2 {
  color: #fff;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 560px;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(4, 156, 146, 0.13), rgba(47, 120, 196, 0.07) 58%, rgba(255, 255, 255, 0)),
    #fbfefd;
}

.about-hero > div {
  max-width: 860px;
}

.about-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card p {
  margin-bottom: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.about-card strong {
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.28;
}

.about-values {
  background: #fff;
}

.about-focus {
  background: var(--soft-2);
}

.dashboard {
  padding: 24px;
  box-shadow: var(--shadow);
}

.dashboard[hidden] {
  display: none;
}

.dashboard-head,
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-head {
  align-items: center;
  margin-bottom: 18px;
}

.dashboard-head h3 {
  margin-bottom: 0;
}

.dashboard-head h2 {
  margin-bottom: 4px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.dashboard-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.dashboard-head strong {
  color: var(--teal-dark);
}

.cart-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cart-button,
.cart-order {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--panel);
}

.cart-button::before {
  content: "";
  width: 22px;
  height: 18px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 3px 3px 6px 6px;
}

.cart-button::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 9px;
  width: 12px;
  height: 8px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-button strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 7px;
  color: #fff;
  background: var(--teal-dark);
  border-radius: 999px;
  font-size: 0.8rem;
}

.cart-order {
  padding: 10px 14px;
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.cart-button:disabled,
.cart-order:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.dashboard-tabs button,
.shop-grid button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.dashboard-tabs button {
  padding: 8px 12px;
}

.dashboard-tabs .active {
  color: #fff;
  background: var(--navy);
}

.client-panel[hidden] {
  display: none;
}

.client-panel.active {
  display: block;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.support-actions button {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
}

.support-actions button:first-child {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-list article {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-list h3 {
  margin-bottom: 6px;
}

.support-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.ticket-id {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.status.open {
  color: #8a3c00;
  background: #fff0d9;
}

.status.planned {
  color: #174b8f;
  background: #e4f0ff;
}

.status.progress {
  color: #075f59;
  background: #dff5f2;
}

.status.done {
  color: #385300;
  background: #edf7d6;
}

.technician-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.technician-form h3 {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.portal-grid article {
  padding: 20px;
}

.portal-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.shop-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.shop-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.shop-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.shop-grid article {
  padding: 18px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.shop-grid article > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-category {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.shop-grid p {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
}

.shop-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-weight: 900;
}

.shop-grid button {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
}

.shop-grid button:first-of-type {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.contact {
  background: linear-gradient(135deg, #f4fbfa, #ffffff);
}

.contact-copy {
  max-width: 700px;
}

.contact-buttons {
  margin-top: 24px;
}

.contact-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c8d7d4;
  border-radius: var(--radius);
}

textarea {
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-success,
.login-error {
  margin: 0;
  padding: 12px 14px;
  color: #075f59;
  background: #dff5f2;
  border: 1px solid #aee0da;
  border-radius: var(--radius);
  font-weight: 800;
}

.login-error {
  color: #822b1d;
  background: #fff0ec;
  border-color: #f0c4b8;
}

.site-footer {
  padding: clamp(34px, 5vw, 54px) clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy);
}

.site-footer > div:first-child {
  max-width: 380px;
}

.site-footer img {
  margin-bottom: 14px;
  padding: 8px 10px;
  background: #fff;
  border-radius: var(--radius);
}

.site-footer nav,
.site-footer > div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.legal,
.social {
  margin: 0;
  font-size: 0.9rem;
}

.login-modal,
.order-modal {
  width: min(92vw, 460px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-modal::backdrop,
.order-modal::backdrop {
  background: rgba(15, 43, 61, 0.52);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
}

.modal-card h2 {
  margin-bottom: 0;
  font-size: 1.8rem;
}

.modal-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-theme="dark"] .site-header {
  border-bottom-color: rgba(39, 67, 77, 0.9);
}

[data-theme="dark"] .brand img,
[data-theme="dark"] .site-footer img,
[data-theme="dark"] .about-card img,
[data-theme="dark"] .login-card img {
  filter: none;
}

[data-theme="dark"] .site-header .brand img,
[data-theme="dark"] .about-card img,
[data-theme="dark"] .login-card img {
  padding: 6px 8px;
  background: #fff;
  border-radius: var(--radius);
}

[data-theme="dark"] .header-client,
[data-theme="dark"] .button.secondary,
[data-theme="dark"] .button.ghost,
[data-theme="dark"] .hero-proof span,
[data-theme="dark"] .contact-buttons a,
[data-theme="dark"] .dashboard-tabs button,
[data-theme="dark"] .shop-grid button,
[data-theme="dark"] .support-actions button,
[data-theme="dark"] .cart-button,
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] summary,
[data-theme="dark"] label,
[data-theme="dark"] .article-meta span,
[data-theme="dark"] .about-card strong,
[data-theme="dark"] .dashboard-head strong,
[data-theme="dark"] .cart-button,
[data-theme="dark"] .cart-order {
  color: var(--ink);
}

[data-theme="dark"] p,
[data-theme="dark"] .lead,
[data-theme="dark"] .article-body p,
[data-theme="dark"] .section-heading p:not(.eyebrow),
[data-theme="dark"] .feature-copy p,
[data-theme="dark"] .split p,
[data-theme="dark"] .client-intro p,
[data-theme="dark"] .contact-copy p,
[data-theme="dark"] .project-grid p,
[data-theme="dark"] .blog-grid p,
[data-theme="dark"] .solution-card p,
[data-theme="dark"] .benefit-card p,
[data-theme="dark"] .faq-list p,
[data-theme="dark"] .shop-grid article p,
[data-theme="dark"] .support-card p {
  color: var(--muted);
}

[data-theme="dark"] .button.primary,
[data-theme="dark"] .header-cta,
[data-theme="dark"] .cart-order,
[data-theme="dark"] .dashboard-tabs .active,
[data-theme="dark"] .support-actions button:first-child,
[data-theme="dark"] .shop-grid button:first-of-type {
  color: #ffffff;
}

[data-theme="dark"] .article-cta h2,
[data-theme="dark"] .article-cta p,
[data-theme="dark"] .blog-highlight h2,
[data-theme="dark"] .blog-highlight p,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .site-footer p,
[data-theme="dark"] .site-footer a {
  color: rgba(255, 255, 255, 0.84);
}

[data-theme="dark"] .article-cta h2,
[data-theme="dark"] .blog-highlight h2,
[data-theme="dark"] .site-footer strong {
  color: #ffffff;
}

[data-theme="dark"] .hero,
[data-theme="dark"] .client-hero,
[data-theme="dark"] .blog-hero,
[data-theme="dark"] .about-hero,
[data-theme="dark"] .article-hero {
  background:
    linear-gradient(135deg, rgba(32, 199, 184, 0.16), rgba(106, 169, 232, 0.08) 58%, rgba(6, 23, 33, 0)),
    var(--soft-2);
}

[data-theme="dark"] .featured,
[data-theme="dark"] .nurse-call,
[data-theme="dark"] .newsletter-section,
[data-theme="dark"] .contact {
  background: linear-gradient(180deg, var(--soft-2), var(--panel));
}

[data-theme="dark"] .nurse-call h2 {
  color: var(--ink);
}

[data-theme="dark"] .blog-page,
[data-theme="dark"] .about-values {
  background: var(--panel);
}

[data-theme="dark"] .section:nth-of-type(odd),
[data-theme="dark"] .client-page,
[data-theme="dark"] .client-workspace,
[data-theme="dark"] .blog-conversion,
[data-theme="dark"] .about-focus,
[data-theme="dark"] .shop-grid article {
  background: var(--soft-2);
}

[data-theme="dark"] .intro-grid article,
[data-theme="dark"] .persona-grid article,
[data-theme="dark"] .benefit-card,
[data-theme="dark"] .solution-card,
[data-theme="dark"] .project-grid article,
[data-theme="dark"] .blog-grid article,
[data-theme="dark"] .faq-list details,
[data-theme="dark"] .dashboard,
[data-theme="dark"] .newsletter-card,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .call-panel,
[data-theme="dark"] .server-card,
[data-theme="dark"] .room-tv,
[data-theme="dark"] .client-stats span,
[data-theme="dark"] .login-card,
[data-theme="dark"] .portal-grid article,
[data-theme="dark"] .about-card,
[data-theme="dark"] .timeline li {
  background: var(--panel);
  border-color: var(--line);
}

[data-theme="dark"] .support-list article,
[data-theme="dark"] .technician-form {
  background: var(--panel);
  border-color: var(--line);
}

[data-theme="dark"] .status.open {
  color: #ffd59a;
  background: rgba(229, 164, 59, 0.18);
}

[data-theme="dark"] .status.planned {
  color: #acd4ff;
  background: rgba(106, 169, 232, 0.18);
}

[data-theme="dark"] .status.progress {
  color: #9de0dc;
  background: rgba(32, 199, 184, 0.16);
}

[data-theme="dark"] .status.done {
  color: #d5eb91;
  background: rgba(156, 188, 89, 0.16);
}

[data-theme="dark"] .tv-demo {
  background: var(--soft);
  border-color: var(--line);
}

[data-theme="dark"] .nav-toggle,
[data-theme="dark"] .main-nav.is-open,
[data-theme="dark"] .modal-close {
  background: var(--panel);
  border-color: var(--line);
}

[data-theme="dark"] .nav-toggle span {
  background: var(--ink);
}

[data-theme="dark"] .call-panel li {
  background: var(--soft);
}

[data-theme="dark"] .site-footer {
  background: #061721;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    place-content: center;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .main-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .main-nav.is-open a {
    padding: 12px;
  }

  .main-nav.is-open .nav-mobile-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 900;
  }

  .main-nav.is-open .nav-theme-toggle {
    display: block;
    margin: 10px auto 2px;
  }

  .main-nav.is-open .nav-mobile-action.primary {
    color: #fff;
    background: var(--navy);
    border-color: var(--navy);
  }

  .hero,
  .feature-layout,
  .split,
  .contact,
  .blog-hero,
  .about-hero,
  .article-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .solution-grid,
  .project-grid,
  .shop-grid,
  .client-hero,
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card,
  .solution-card.priority {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .hero,
  .section {
    padding-inline: 18px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual img {
    min-height: 300px;
  }

  .intro-grid,
  .persona-grid,
  .benefit-grid,
  .blog-grid,
  .solution-grid,
  .project-grid,
  .faq-list,
  .timeline,
  .shop-grid,
  .newsletter-card,
  .contact-form,
  .tv-demo {
    grid-template-columns: 1fr;
  }

  .tv-demo {
    min-height: auto;
  }

  .flow-line {
    width: 2px;
    height: 48px;
    margin-inline: auto;
  }

  .flow-line::before,
  .flow-line::after {
    margin-left: -5px;
  }

  .flow-line::after {
    margin-top: 36px;
  }

  .client-intro,
  .dashboard-head,
  .shop-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-hero,
  .client-stats,
  .portal-grid,
  .support-layout,
  .technician-form {
    grid-template-columns: 1fr;
  }

  .support-list article {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
