:root {
  --navy-950: #071d32;
  --navy-900: #0b2a4a;
  --navy-800: #123b61;
  --blue-700: #2468a9;
  --teal-600: #159b94;
  --teal-500: #20b8ad;
  --teal-100: #dff5f2;
  --blue-100: #e5eef8;
  --slate-900: #172b3d;
  --slate-700: #45627d;
  --slate-600: #5d748a;
  --slate-300: #c7d4df;
  --slate-200: #dce5ec;
  --slate-100: #edf3f7;
  --surface: #ffffff;
  --canvas: #f6f9fb;
  --shadow: 0 24px 64px rgba(11, 42, 74, 0.12);
  --shadow-soft: 0 12px 34px rgba(11, 42, 74, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--surface);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.65;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy-950);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(199, 212, 223, 0.72);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 8px 18px rgba(11, 42, 74, 0.18);
}

.brand-mark::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--slate-700);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--navy-900);
  background: var(--slate-100);
}

.nav-cta {
  margin-left: 6px;
  color: #fff !important;
  background: var(--navy-900) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background:
    radial-gradient(circle at 84% 20%, rgba(32, 184, 173, 0.14), transparent 28%),
    radial-gradient(circle at 2% 74%, rgba(36, 104, 169, 0.1), transparent 25%),
    var(--canvas);
}

.hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(11, 42, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 42, 74, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to right, transparent, #000 35%, #000);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: center;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  padding-block: 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--teal-500);
  content: "";
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.hero h1 strong {
  color: var(--teal-600);
  font-weight: inherit;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--slate-700);
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--navy-900);
  box-shadow: 0 12px 24px rgba(11, 42, 74, 0.18);
}

.button-secondary {
  border-color: var(--slate-300);
  color: var(--navy-900);
  background: #fff;
}

.button-ghost {
  min-height: 44px;
  padding-inline: 0;
  color: var(--blue-700);
}

.button-disabled {
  color: var(--slate-600);
  cursor: default;
  box-shadow: none;
}

.button-disabled:hover {
  transform: none;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  color: var(--slate-600);
  font-size: 0.88rem;
}

.hero-note svg {
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--teal-600);
}

.connection-visual {
  position: relative;
  min-height: 500px;
}

.visual-orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(420px, 90%);
  aspect-ratio: 1;
  border: 1px solid rgba(36, 104, 169, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.visual-orbit::before,
.visual-orbit::after {
  position: absolute;
  inset: 14%;
  border: 1px dashed rgba(21, 155, 148, 0.28);
  border-radius: inherit;
  content: "";
}

.visual-orbit::after {
  inset: 31%;
  border-style: solid;
  border-color: rgba(36, 104, 169, 0.14);
}

.visual-core {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  display: grid;
  width: 156px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 42px;
  color: #fff;
  background: var(--navy-900);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%) rotate(3deg);
}

.visual-core b {
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  transform: rotate(-3deg);
}

.visual-node {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 170px;
  min-height: 78px;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid rgba(199, 212, 223, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.visual-node span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--navy-900);
  background: var(--teal-100);
}

.visual-node b,
.visual-node small {
  display: block;
}

.visual-node b {
  color: var(--navy-900);
  font-size: 0.94rem;
}

.visual-node small {
  margin-top: 2px;
  color: var(--slate-600);
  font-size: 0.72rem;
}

.node-medical {
  top: 6%;
  left: 3%;
}

.node-patient {
  top: 13%;
  right: 0;
}

.node-business {
  bottom: 10%;
  left: 0;
}

.node-customer {
  right: 4%;
  bottom: 4%;
}

.relation-strip {
  border-block: 1px solid var(--slate-200);
  background: #fff;
}

.relation-inner {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: var(--slate-700);
}

.relation-chip {
  padding: 9px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--canvas);
  font-size: 0.88rem;
  font-weight: 800;
}

.relation-arrow {
  color: var(--teal-600);
  font-weight: 900;
}

.section {
  padding-block: 112px;
}

.section-muted {
  background: var(--canvas);
}

.section-dark {
  color: #fff;
  background: var(--navy-950);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

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

.section-heading p {
  margin: 18px 0 0;
  color: var(--slate-700);
  font-size: 1.07rem;
}

.section-dark .section-heading p {
  color: #b9c9d7;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 76px;
}

.company-statement {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.company-copy p {
  margin: 0 0 16px;
  color: var(--slate-700);
  font-size: 1.05rem;
}

.value-grid {
  display: grid;
  margin-top: 48px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.value-card {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
}

.value-index {
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.value-card h3 {
  margin: 24px 0 8px;
  color: var(--navy-900);
  font-size: 1.06rem;
}

.value-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 38px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 240px;
  aspect-ratio: 1;
  border: 42px solid var(--teal-100);
  border-radius: 50%;
  content: "";
}

.service-card.ohyes::after {
  border-color: var(--blue-100);
}

.service-label {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--teal-600);
  background: var(--teal-100);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-card.ohyes .service-label {
  color: var(--blue-700);
  background: var(--blue-100);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 26px 0 13px;
  color: var(--navy-900);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0;
  color: var(--slate-700);
}

.service-card .button {
  position: absolute;
  z-index: 2;
  bottom: 34px;
  left: 38px;
}

.mcare-intro {
  display: grid;
  align-items: center;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
}

.mcare-logo {
  display: block;
  width: 210px;
  height: 210px;
  margin: -26px 0 8px;
  border: 1px solid var(--slate-200);
  border-radius: 28px;
  object-fit: contain;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 12px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  color: var(--navy-900);
  background: #fff;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.channel-badge:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.channel-badge b {
  color: var(--teal-600);
  font-size: 0.82rem;
}

.channel-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--navy-900);
  background: #fee500;
}

.mcare-site-link {
  margin-top: 14px;
}

.product-ui {
  overflow: hidden;
  border: 1px solid #d7e2ea;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.ui-topbar {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--slate-200);
}

.ui-brand {
  color: var(--navy-900);
  font-weight: 900;
}

.ui-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-600);
  font-size: 0.75rem;
}

.ui-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  content: "";
}

.ui-body {
  display: grid;
  grid-template-columns: 118px 1fr;
}

.ui-sidebar {
  min-height: 380px;
  padding: 22px 14px;
  background: var(--navy-900);
}

.ui-sidebar span {
  display: block;
  height: 12px;
  margin-bottom: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.26);
}

.ui-sidebar span:first-child {
  width: 80%;
  background: rgba(255, 255, 255, 0.9);
}

.ui-content {
  padding: 24px;
  background: #f8fafc;
}

.ui-patient-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.ui-pill {
  padding: 7px 10px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  color: var(--slate-600);
  background: #fff;
  font-size: 0.7rem;
}

.ui-pill.active {
  border-color: var(--teal-500);
  color: var(--teal-600);
  background: var(--teal-100);
}

.ui-panel {
  padding: 19px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: #fff;
}

.ui-panel + .ui-panel {
  margin-top: 12px;
}

.ui-panel strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.78rem;
}

.ui-lines {
  margin-top: 12px;
}

.ui-lines i {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 9px;
  border-radius: 4px;
  background: var(--slate-100);
}

.ui-lines i:nth-child(2) {
  width: 82%;
}

.ui-lines i:nth-child(3) {
  width: 64%;
}

.ui-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}

.ui-action span {
  padding: 7px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  margin-top: 64px;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: var(--teal-600);
  background: var(--teal-100);
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 8px;
  color: var(--navy-900);
  font-size: 1rem;
}

.feature-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.87rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.flow-step {
  position: relative;
  min-width: 0;
  padding: 21px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.flow-step:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -11px;
  width: 11px;
  height: 2px;
  background: var(--teal-500);
  content: "";
}

.flow-step b {
  display: block;
  margin-bottom: 7px;
  color: var(--teal-600);
  font-size: 0.74rem;
}

.flow-step span {
  color: var(--navy-900);
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.35;
}

.principle-note {
  display: grid;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: #fff;
  grid-template-columns: auto 1fr;
  gap: 18px;
}

.principle-note svg {
  color: var(--teal-600);
}

.principle-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy-900);
}

.principle-note p {
  margin: 0;
  color: var(--slate-700);
}

.ohyes-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
}

.ohyes-flow {
  display: grid;
  gap: 12px;
}

.ohyes-step {
  display: grid;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--slate-200);
  border-radius: 15px;
  background: #fff;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.ohyes-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--blue-700);
  background: var(--blue-100);
  font-size: 0.78rem;
  font-weight: 900;
}

.ohyes-step strong {
  display: block;
  color: var(--navy-900);
}

.ohyes-step small {
  color: var(--slate-600);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-card {
  min-height: 210px;
  padding: 27px;
  border: 1px solid rgba(199, 212, 223, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
}

.trust-card span {
  color: var(--teal-500);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.trust-card h3 {
  margin: 24px 0 10px;
  color: #fff;
  font-size: 1.06rem;
}

.trust-card p {
  margin: 0;
  color: #b9c9d7;
  font-size: 0.9rem;
}

.contact-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-copy,
.contact-details {
  padding: clamp(30px, 5vw, 58px);
}

.contact-copy {
  color: #fff;
  background: var(--navy-900);
}

.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.contact-copy p {
  margin: 18px 0 0;
  color: #c8d6e1;
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 19px;
}

.contact-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
}

.contact-row dt {
  color: var(--slate-600);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-row dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 800;
}

.contact-row a {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-color: rgba(36, 104, 169, 0.3);
  text-underline-offset: 4px;
}

.contact-caution {
  margin: 8px 0 0;
  padding: 13px 15px;
  border: 1px solid #e5c77a;
  border-radius: 12px;
  color: #76540a;
  background: #fff9e9;
  font-size: 0.8rem;
}

.site-footer {
  padding-block: 54px 34px;
  border-top: 1px solid var(--slate-200);
  background: var(--canvas);
}

.footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.footer-company p {
  margin: 15px 0 0;
  color: var(--slate-600);
  font-size: 0.88rem;
}

.footer-relation {
  margin-top: 20px !important;
  padding-left: 14px;
  border-left: 3px solid var(--teal-500);
  color: var(--navy-900) !important;
  font-weight: 800;
}

.business-info {
  display: grid;
  margin: 0;
  grid-template-columns: 120px 1fr;
  gap: 9px 18px;
  font-size: 0.86rem;
}

.business-info dt {
  color: var(--slate-600);
}

.business-info dd {
  margin: 0;
  color: var(--slate-900);
}

.footer-bottom {
  display: flex;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--slate-200);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--slate-600);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--navy-900);
}

.legal-page {
  min-height: 70vh;
  padding-block: 80px 110px;
  background: var(--canvas);
}

.legal-content {
  max-width: 860px;
  padding: clamp(28px, 6vw, 68px);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-content h1 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  letter-spacing: -0.05em;
}

.legal-content h2 {
  margin: 42px 0 12px;
  color: var(--navy-900);
  font-size: 1.22rem;
}

.legal-content p,
.legal-content li {
  color: var(--slate-700);
}

.legal-content .updated {
  margin-top: 8px;
  color: var(--slate-600);
  font-size: 0.85rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 77px 0 auto;
    display: none;
    max-height: calc(100vh - 77px);
    overflow-y: auto;
    padding: 18px 20px 28px;
    border-bottom: 1px solid var(--slate-200);
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-cta {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero-grid,
  .company-grid,
  .mcare-intro,
  .ohyes-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
    padding-block: 64px 78px;
  }

  .connection-visual {
    min-height: 430px;
  }

  .value-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow-step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

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

  .site-nav {
    inset-block-start: 69px;
    max-height: calc(100vh - 69px);
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

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

  .connection-visual {
    min-height: 360px;
  }

  .visual-orbit {
    width: 300px;
  }

  .visual-core {
    width: 116px;
    border-radius: 32px;
  }

  .visual-node {
    width: 142px;
    min-height: 66px;
    padding: 11px;
  }

  .visual-node span {
    width: 34px;
    height: 34px;
  }

  .visual-node small {
    display: none;
  }

  .relation-inner {
    flex-wrap: wrap;
    padding-block: 24px;
    gap: 9px;
  }

  .relation-arrow {
    transform: rotate(90deg);
  }

  .section {
    padding-block: 82px;
  }

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

  .value-grid,
  .service-grid,
  .feature-grid,
  .trust-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 370px;
    padding: 28px;
  }

  .service-card .button {
    bottom: 26px;
    left: 28px;
  }

  .ui-body {
    grid-template-columns: 78px 1fr;
  }

  .mcare-logo {
    width: 176px;
    height: 176px;
    margin-top: 0;
  }

  .ui-sidebar {
    padding-inline: 10px;
  }

  .ui-content {
    padding: 16px;
  }

  .feature-grid {
    margin-top: 38px;
  }

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

  .principle-note {
    grid-template-columns: 1fr;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .business-info {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .business-info dd {
    margin-bottom: 8px;
  }
}

@media (max-width: 420px) {
  .brand-text {
    font-size: 0.98rem;
  }

  .connection-visual {
    min-height: 330px;
  }

  .visual-orbit {
    width: 250px;
  }

  .visual-node {
    width: 128px;
    font-size: 0.8rem;
  }

  .node-medical {
    left: -3%;
  }

  .node-patient {
    right: -3%;
  }

  .node-business {
    left: -3%;
  }

  .node-customer {
    right: -3%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
