:root {
  --ink: #0b1e21;
  --ink-2: #123039;
  --muted: #52625f;
  --line: #dce5e1;
  --surface: #ffffff;
  --soft: #f4f8f6;
  --mint: #e6f7f1;
  --green: #00a987;
  --green-dark: #08705f;
  --coral: #ef6555;
  --coral-soft: #fff0ed;
  --blue: #3d6fea;
  --focus: #1168d8;
  --max: 1240px;
  --narrow: 800px;
  --shadow: 0 24px 70px rgba(4, 25, 28, 0.16);
}

body {
  color: var(--ink);
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
}

h1,
h2,
h3,
p,
li,
dd {
  overflow-wrap: normal;
  word-break: normal;
}

h1,
h2,
h3 {
  font-weight: 750;
}

.container {
  width: min(calc(100% - 64px), var(--max));
}

.site-header {
  border-bottom-color: rgba(220, 229, 225, 0.76);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(11, 30, 33, 0.02);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 32px rgba(11, 30, 33, 0.08);
}

.header-inner {
  width: min(calc(100% - 64px), var(--max));
  min-height: 76px;
}

.wordmark {
  font-size: 15px;
  font-weight: 760;
}

.wordmark-logo {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
}

.site-nav {
  gap: 30px;
}

.site-nav > a:not(.button) {
  color: #253b39;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a[aria-current="page"]::after {
  bottom: -26px;
  background: var(--green);
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  border-color: #00a987;
  border-radius: 6px;
  background: #00a987;
  box-shadow: 0 8px 18px rgba(0, 169, 135, 0.16);
  font-weight: 720;
}

.button:hover {
  border-color: #08705f;
  background: #08705f;
  box-shadow: 0 12px 24px rgba(0, 111, 91, 0.22);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
}

.button-outline {
  color: var(--green-dark);
  background: transparent;
  box-shadow: none;
}

.text-link {
  color: var(--green-dark);
  font-weight: 720;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.home-hero {
  padding: 84px 0 80px;
  color: #fff;
  background: #082b33;
}

.home-hero::before {
  top: 10%;
  right: 8%;
  width: 28%;
  height: 80%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  content: "";
  transform: rotate(7deg);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.82fr) minmax(580px, 1.18fr);
  gap: 56px;
}

.hero-copy h1 {
  max-width: 640px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 64px;
  line-height: 1.08;
}

.hero-copy h1 span {
  display: block;
  color: #22d3ad;
}

.home-hero .eyebrow {
  color: #67e1c4;
}

.hero-lede {
  max-width: 660px;
  color: #d8e7e3;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 32px;
}

.home-hero .text-link {
  color: #e6fff7;
  text-decoration-color: rgba(230, 255, 247, 0.4);
}

.hero-note {
  max-width: 600px;
  margin: 24px 0 0;
  color: #9eb9b5;
  font-size: 13px;
}

.scene-wrap {
  width: 118%;
  margin: 0 -18% 0 0;
}

.inquiry-scene {
  min-height: 448px;
  border: 0;
  border-radius: 8px;
  color: #173f3a;
  box-shadow: 0 34px 90px rgba(0, 10, 13, 0.38);
}

.scene-toolbar {
  min-height: 54px;
  padding-inline: 20px;
  background: #f7faf8;
}

.scene-grid {
  min-height: 394px;
  grid-template-columns: 0.86fr 1.55fr 0.72fr;
}

.scene-queue,
.scene-conversation,
.scene-profile {
  padding: 22px 18px;
}

.queue-item {
  min-height: 70px;
  font-size: 12px;
}

.message {
  margin-top: 20px;
  padding: 14px 15px;
  font-size: 12px;
}

.handoff-strip {
  margin-top: 22px;
  padding: 13px 14px;
  font-size: 11px;
}

.trust-strip {
  border: 0;
  background: #fff;
  box-shadow: 0 18px 50px rgba(11, 30, 33, 0.06);
}

.trust-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.trust-grid > div {
  min-height: 122px;
  padding: 28px 32px;
  border-color: var(--line);
}

.trust-grid strong {
  font-size: 15px;
}

.trust-grid span {
  font-size: 13px;
  line-height: 1.6;
}

.section {
  padding: 120px 0;
}

.section-heading {
  margin-bottom: 56px;
}

.split-heading {
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 96px;
}

.split-heading h2 {
  max-width: 700px;
  font-size: 44px;
  line-height: 1.16;
}

.split-heading > p {
  max-width: 560px;
  font-size: 17px;
}

.services-overview {
  background: #fbfcfb;
}

.service-grid {
  gap: 20px;
}

.service-card {
  min-height: 580px;
  padding: 26px;
  overflow: hidden;
  border-color: #d9e4df;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 48, 57, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: #b9d4ca;
  box-shadow: 0 24px 58px rgba(17, 48, 57, 0.1);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.service-card-label {
  color: #7c8b86;
  font-weight: 650;
}

.service-card-visual {
  height: 224px;
  margin: 24px -6px 28px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #dce8e3;
  border-radius: 6px;
  background: #f3f8f6;
}

.search-visual {
  position: relative;
  padding-top: 52px;
}

.channel-pills {
  position: absolute;
  top: 14px;
  left: 20px;
  display: flex;
  gap: 7px;
}

.channel-pills span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0c8b72;
  font-size: 9px;
  font-weight: 800;
}

.channel-pills span:nth-child(2) { background: var(--blue); }
.channel-pills span:nth-child(3) { background: var(--coral); }
.channel-pills span:nth-child(4) { background: #111827; }

.search-query {
  margin-bottom: 10px;
  padding: 9px 12px;
  border-radius: 4px;
  color: #fff;
  background: #102f36;
  font-size: 12px;
  font-weight: 700;
}

.search-result {
  margin-top: 8px;
  padding: 9px 11px;
  border-left: 3px solid #91aaa2;
  background: #fff;
}

.search-result.primary {
  border-left-color: var(--green);
}

.search-result b,
.search-result span {
  display: block;
  font-size: 10px;
}

.search-result span {
  margin-top: 2px;
  color: #6b7c76;
}

.performance-visual {
  display: grid;
  align-items: center;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 20px;
  background: #102f36;
}

.language-orbit {
  position: relative;
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border: 1px solid rgba(71, 224, 190, 0.35);
  border-radius: 50%;
}

.language-orbit strong {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #082b33;
  background: #37dfba;
}

.language-orbit span {
  position: absolute;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #123039;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
}

.language-orbit span:nth-of-type(1) { top: -5px; left: 46px; }
.language-orbit span:nth-of-type(2) { right: -3px; bottom: 20px; }
.language-orbit span:nth-of-type(3) { bottom: 10px; left: 0; }

.metric-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.metric-list span {
  color: #c6d9d5;
  font-size: 9px;
}

.metric-list b {
  margin-right: 6px;
  color: #47e0be;
}

.content-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #eef4ff;
}

.content-node {
  align-self: center;
  padding: 9px 16px;
  border-radius: 4px;
  color: #fff;
  background: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.content-connector {
  width: 1px;
  height: 26px;
  margin-inline: auto;
  background: #9cb4ee;
}

.content-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.content-row span {
  padding: 10px 4px;
  border: 1px solid #cad7f7;
  border-radius: 4px;
  color: #334a78;
  background: #fff;
  font-size: 9px;
  text-align: center;
}

.content-status {
  margin-top: 18px;
  color: #4c6088;
  font-size: 10px;
  text-align: center;
}

.content-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
}

.service-card-copy {
  display: flex;
  min-height: 230px;
  flex-direction: column;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  white-space: normal;
}

.service-card p {
  font-size: 15px;
}

.workflow-band {
  background: #0b1e21;
}

.process-list {
  grid-template-columns: repeat(5, 1fr);
}

.process-list li {
  min-height: 210px;
  padding: 28px 22px;
  border-color: #314945;
}

.process-list strong {
  margin-top: 34px;
  font-size: 17px;
}

.operating-view {
  background: #fff;
}

.operating-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  gap: 90px;
}

.operating-copy h2 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: 44px;
}

.operating-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
}

.feature-list,
.safety-list {
  margin: 30px 0 34px;
  padding: 0;
  list-style: none;
}

.feature-list li,
.safety-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before,
.safety-list li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.operating-visual {
  min-height: 510px;
  overflow: hidden;
  border-radius: 8px;
  background: #0d333b;
  box-shadow: var(--shadow);
}

.ops-top {
  display: flex;
  min-height: 58px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  color: #d9efea;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
}

.ops-top b {
  color: #52ddb9;
}

.ops-body {
  display: grid;
  min-height: 452px;
  padding: 30px;
  grid-template-columns: 52px 1fr 1fr;
  gap: 18px;
}

.ops-nav {
  display: flex;
  padding-top: 8px;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.ops-nav i {
  width: 16px;
  height: 16px;
  border: 1px solid #5b817b;
  border-radius: 4px;
}

.ops-nav i:first-child {
  border-color: #43dfba;
  background: #43dfba;
}

.ops-board {
  height: 310px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  color: #d7e7e3;
  background: #153e47;
}

.ops-board > span {
  display: block;
  color: #95afa9;
  font-size: 11px;
}

.ops-board > strong {
  display: block;
  margin: 12px 0 28px;
  color: #fff;
  font-size: 38px;
}

.ops-bars {
  display: flex;
  height: 135px;
  align-items: end;
  gap: 12px;
}

.ops-bars i {
  width: 22%;
  height: 48%;
  background: #2a6e70;
}

.ops-bars i:nth-child(2) { height: 78%; background: #28b995; }
.ops-bars i:nth-child(3) { height: 62%; background: var(--coral); }

.ops-board.accent {
  margin-top: 64px;
  background: #f6faf8;
}

.ops-board.accent > span { color: #60706b; }
.ops-board.accent > strong { color: #102f36; }

.ops-person {
  display: grid;
  margin-top: 12px;
  align-items: center;
  grid-template-columns: 30px 1fr;
  gap: 10px;
}

.ops-person i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #7a9bf0;
}

.ops-person:nth-child(4) i { background: #f28b7e; }

.ops-person p {
  height: 8px;
  margin: 0;
  background: #c9d7d2;
}

.insight-preview {
  background: #f4f8f6;
}

.article-visual {
  min-height: 360px;
  border: 0;
  border-radius: 8px;
  background: #dfeee8;
}

.article-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-visual::before,
.article-visual::after {
  display: none;
}

.featured-article h3 {
  font-size: 34px;
}

.cta-band {
  padding: 84px 0;
  background: #08705f;
}

.cta-band h2 {
  font-size: 40px;
}

.page-hero {
  padding: 112px 0 96px;
  color: #fff;
  border: 0;
  background: #0b3038;
}

.page-hero .eyebrow {
  color: #5ae1c1;
}

.page-hero h1 {
  max-width: 920px;
  font-size: 54px;
  white-space: normal;
}

.contact-intro h1 {
  white-space: normal;
}

.page-hero .narrow > p:last-child {
  color: #c4d8d3;
  font-size: 19px;
}

.content-media {
  margin-top: 72px;
}

.content-media img {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(11, 30, 33, 0.12);
}

.service-detail {
  padding: 90px 0;
}

.service-main h2 {
  font-size: 40px;
}

.platform-rails {
  color: #fff;
  background: #0b1e21;
}

.platform-rails .eyebrow {
  color: #5ae1c1;
}

.platform-rails .split-heading {
  align-items: start;
}

.rail-list > div {
  padding: 24px 0;
  border-top: 1px solid #36504b;
}

.rail-list > div:last-child {
  border-bottom: 1px solid #36504b;
}

.rail-list strong {
  font-size: 20px;
}

.rail-list p {
  margin: 8px 0 0;
  color: #b8cbc7;
  font-size: 15px;
}

.expectations {
  background: var(--coral-soft);
}

.workflow-list {
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.workflow-card {
  padding: 42px;
  border-radius: 8px;
}

.workflow-card.muted {
  color: #fff;
  background: #0d333b;
}

.workflow-card.muted > p,
.workflow-card.muted li {
  color: #c4d5d1;
}

.workflow-card.muted .workflow-tag {
  color: #5ae1c1;
}

.workflow-card.muted .safety-list li {
  border-color: #31515a;
}

.article-list article {
  grid-template-columns: 240px 1fr 160px;
  padding: 46px 0;
}

.article-list-image {
  width: 230px;
  height: 140px;
  border: 0;
  border-radius: 6px;
}

.principle-grid {
  gap: 18px;
  background: transparent;
}

.principle-grid > div {
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(17, 48, 57, 0.05);
}

.contact-page {
  background: #f4f8f6;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(11, 30, 33, 0.1);
}

.site-footer {
  background: #0b1e21;
}

/* Product evidence: quiet motion keeps the interface feeling alive without
   turning the product preview into a decorative animation. */
.live-status span {
  animation: status-pulse 2.8s ease-in-out infinite;
}

.queue-item.active {
  position: relative;
  overflow: hidden;
}

.queue-item.active::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  content: "";
  transform: skewX(-18deg);
  animation: queue-scan 4.8s ease-in-out infinite;
}

.message.patient {
  animation: message-in 650ms 500ms both cubic-bezier(.2,.7,.2,1);
}

.message.ai,
.handoff-strip {
  animation: message-in 650ms 760ms both cubic-bezier(.2,.7,.2,1);
}

.ops-bars i {
  transform-origin: bottom;
  animation: bar-rise 900ms 320ms both cubic-bezier(.2,.8,.2,1);
}

.ops-bars i:nth-child(2) { animation-delay: 410ms; }
.ops-bars i:nth-child(3) { animation-delay: 500ms; }

.language-orbit {
  animation: orbit-breathe 5s ease-in-out infinite;
}

.service-card-visual,
.operating-visual,
.inquiry-scene {
  will-change: transform;
}

.service-card:hover .service-card-visual,
.operating-visual:hover {
  transform: translateY(-2px);
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43,155,104,.18); }
  50% { box-shadow: 0 0 0 7px rgba(43,155,104,0); }
}

@keyframes queue-scan {
  0%, 28% { left: -35%; opacity: 0; }
  40% { opacity: 1; }
  66%, 100% { left: 125%; opacity: 0; }
}

@keyframes message-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bar-rise {
  from { opacity: .25; transform: scaleY(.35); }
  to { opacity: 1; transform: scaleY(1); }
}

@keyframes orbit-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/* Consultation page: make the booking step feel like a guided product
   conversation, with the form kept as the dominant action. */
.contact-page {
  padding: 0 0 120px;
  background: #f4f8f6;
}

.contact-hero {
  padding: 96px 0 78px;
  color: #fff;
  background: #0b3038;
}

.contact-hero-inner {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
  gap: 72px;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.08;
}

.contact-hero .eyebrow {
  color: #62e1c1;
}

.contact-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: #c8ddd8;
  font-size: 19px;
}

.contact-hero-rail {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px 0 0;
  color: #d7ebe6;
  font-size: 12px;
}

.contact-hero-rail span {
  display: grid;
  gap: 5px;
  white-space: nowrap;
}

.contact-hero-rail b {
  color: #54d9b8;
  font-size: 11px;
}

.contact-hero-rail i {
  height: 1px;
  background: rgba(215,235,230,.32);
}

.contact-grid {
  width: min(calc(100% - 64px), var(--max));
  margin-top: -28px;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .84fr) minmax(480px, 1.16fr);
  gap: 78px;
}

.contact-intro {
  padding-top: 66px;
}

.contact-proof {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid #cee3dc;
  border-radius: 8px;
  background: #e7f5f0;
}

.proof-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0b3038;
  font-weight: 800;
}

.contact-proof strong {
  display: block;
  color: #123b3e;
  font-size: 15px;
}

.contact-proof p {
  margin: 4px 0 0;
  color: #526c66;
  font-size: 14px;
  line-height: 1.55;
}

.contact-form {
  margin-top: 42px;
  padding: 42px;
  border-color: #cbdcd6;
  border-radius: 10px;
  box-shadow: 0 28px 80px rgba(11,30,33,.14);
}

.contact-form:focus-within {
  border-color: #8fcfc0;
  box-shadow: 0 30px 86px rgba(11,30,33,.16), 0 0 0 4px rgba(0,169,135,.08);
}

.pain-points-section {
  background: #f7faf8;
}

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

.pain-point-grid article {
  min-height: 238px;
  padding: 28px;
  border: 1px solid #d6e3de;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(17, 48, 57, .05);
}

.pain-point-grid article > span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
}

.pain-point-grid h3 {
  margin: 48px 0 12px;
  color: #123b3e;
  font-size: 22px;
  line-height: 1.2;
}

.pain-point-grid p {
  margin: 0;
  color: #526c66;
  font-size: 15px;
  line-height: 1.65;
}

.comparison-section {
  background: #0b3038;
  color: #d7ebe6;
}

.comparison-section .eyebrow,
.comparison-section h2 {
  color: #fff;
}

.comparison-section .section-heading > p {
  color: #b8d0ca;
}

.comparison-table {
  margin: 0;
  border: 1px solid rgba(215, 235, 230, .18);
  border-radius: 8px;
}

.comparison-table table {
  color: #d7ebe6;
}

.comparison-table th,
.comparison-table td {
  border-color: rgba(215, 235, 230, .18);
}

.comparison-table thead th {
  color: #fff;
  background: #123f48;
}

.comparison-table tbody th {
  color: #fff;
  background: rgba(18, 63, 72, .64);
  font-weight: 700;
}

.comparison-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, .035);
}

.faq-section {
  background: #f7faf8;
}

.faq-list {
  border-top: 1px solid #cbdcd6;
}

.faq-list details {
  border-bottom: 1px solid #cbdcd6;
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #123b3e;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: #009d82;
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 760px;
  margin: -4px 42px 24px 0;
  color: #526c66;
  line-height: 1.7;
}

.form-heading h2 {
  color: #102f36;
  font-size: 28px;
}

.submit-button {
  width: 100%;
  min-height: 54px;
  margin-top: 10px;
  font-size: 16px;
}

@media (max-width: 940px) {
  .contact-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-inner { gap: 34px; }
  .contact-hero-rail { max-width: 620px; }
  .contact-grid { margin-top: 0; gap: 36px; }
  .contact-intro { padding-top: 56px; }
  .contact-form { margin-top: 0; }

  .pain-point-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .contact-page { padding-bottom: 76px; }
  .contact-hero { padding: 66px 0 54px; }
  .contact-hero h1 { font-size: 38px; }
  .contact-hero p:not(.eyebrow) { font-size: 17px; }
  .contact-hero-rail { gap: 9px; font-size: 10px; }
  .contact-hero-rail span { white-space: normal; }
  .contact-grid { width: min(calc(100% - 32px), var(--max)); }
  .contact-intro { padding-top: 38px; }
  .contact-form { padding: 26px 20px; }
}

.animations-ready .hero-copy,
.animations-ready .scene-wrap {
  opacity: 0;
  transform: translateY(18px);
  animation: enter-up 680ms cubic-bezier(.2,.7,.2,1) forwards;
}

.animations-ready .scene-wrap {
  animation-delay: 120ms;
}

.animations-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.2,.7,.2,1);
}

.animations-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes enter-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
    gap: 36px;
  }

  .scene-wrap {
    width: 112%;
    margin-right: -12%;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .operating-grid {
    gap: 52px;
  }
}

@media (max-width: 940px) {
  .container,
  .header-inner {
    width: min(calc(100% - 40px), var(--max));
  }

  .home-hero {
    padding-top: 64px;
  }

  .hero-layout,
  .operating-grid {
    grid-template-columns: 1fr;
  }

  .scene-wrap {
    width: 100%;
    margin: 18px 0 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    min-height: 0;
    grid-template-columns: 44% 1fr;
    column-gap: 32px;
  }

  .service-card-top {
    grid-column: 1 / -1;
  }

  .service-card-visual {
    height: 260px;
    margin-top: 24px;
  }

  .service-card-copy {
    min-height: 0;
    padding-top: 32px;
  }

  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list li:nth-child(4) {
    border-top: 0;
  }

  .process-list li:last-child {
    border-top: 0;
  }

  .operating-visual {
    min-height: 460px;
  }

  .workflow-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .container,
  .header-inner,
  .narrow,
  .content-media {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 64px;
  }

  .site-nav > a[aria-current="page"]::after {
    display: none;
  }

  .home-hero {
    padding: 54px 0 48px;
  }

  .hero-copy h1 {
    max-width: 520px;
    margin-bottom: 20px;
    font-size: 42px;
    line-height: 1.12;
  }

  .hero-lede {
    font-size: 18px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .inquiry-scene {
    min-height: 0;
  }

  .scene-grid {
    display: grid;
    min-height: 0;
    grid-template-columns: 0.74fr 1.26fr;
  }

  .scene-profile {
    display: none;
  }

  .scene-queue,
  .scene-conversation {
    min-width: 0;
    padding: 12px;
  }

  .queue-item {
    min-height: 54px;
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .queue-item b,
  .patient-line span,
  .message.ai,
  .handoff-strip span {
    display: none;
  }

  .message {
    width: 100%;
    margin-top: 14px;
    font-size: 10px;
  }

  .handoff-strip {
    margin-top: 14px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid > div {
    min-height: 0;
    padding: 20px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .split-heading h2,
  .operating-copy h2 {
    font-size: 32px;
  }

  .service-card {
    display: flex;
    min-height: 0;
    padding: 22px;
  }

  .service-card-visual {
    width: 100%;
    height: 220px;
    margin: 22px 0 26px;
  }

  .service-card-copy {
    padding-top: 0;
  }

  .performance-visual {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(4),
  .process-list li:last-child {
    display: grid;
    min-height: 0;
    padding: 22px 0;
    grid-template-columns: 52px 1fr;
    border: 0;
    border-top: 1px solid #314945;
  }

  .process-list li:last-child {
    border-bottom: 1px solid #314945;
  }

  .process-list strong {
    margin-top: 0;
  }

  .operating-grid {
    gap: 42px;
  }

  .operating-visual {
    min-height: 390px;
  }

  .ops-body {
    min-height: 332px;
    padding: 18px;
    grid-template-columns: 34px 1fr;
  }

  .ops-board {
    height: 270px;
    padding: 18px;
  }

  .ops-board.accent {
    display: none;
  }

  .featured-article {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-visual {
    min-height: 230px;
  }

  .featured-article h3 {
    font-size: 27px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band h2 {
    font-size: 30px;
  }

  .page-hero {
    padding: 76px 0 64px;
  }

  .page-hero h1 {
    font-size: 38px;
  }

  .content-media {
    margin-top: 42px;
  }

  .service-detail {
    padding: 68px 0;
  }

  .service-main h2 {
    font-size: 32px;
  }

  .workflow-card {
    padding: 28px 22px;
  }

  .article-list article {
    grid-template-columns: 1fr;
  }

  .article-list-media,
  .article-list-copy,
  .article-list .text-link {
    grid-column: 1;
    grid-row: auto;
  }

  .article-list-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 36px;
  }

  .wordmark span {
    font-size: 13px;
  }

  .scene-toolbar {
    padding-inline: 12px;
  }

  .scene-brand,
  .live-status {
    font-size: 9px;
  }

  .scene-grid {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .queue-item:nth-child(n+3) {
    display: none;
  }

  .language-orbit {
    width: 105px;
    height: 105px;
  }

  .metric-list span {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animations-ready .hero-copy,
  .animations-ready .scene-wrap,
  .animations-ready [data-reveal] {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .service-card,
  .button,
  .live-status span,
  .queue-item.active::after,
  .message.patient,
  .message.ai,
  .handoff-strip,
  .ops-bars i,
  .language-orbit,
  .faq-list summary span {
    transition: none;
    animation: none;
    transform: none;
  }
}
