:root {
  --background: #fffdfa;
  --surface: #ffffff;
  --surface-soft: #faf6f1;
  --surface-blue: #f7f2ec;
  --surface-warm: #fcfaf7;
  --ink: #2a211c;
  --text: #5f554d;
  --muted: #7d7168;
  --subtle: #a2958a;
  --line: rgba(91, 64, 45, 0.13);
  --line-strong: rgba(91, 64, 45, 0.22);
  --accent: #8f5d3b;
  --accent-deep: #70442b;
  --accent-dark: #2d211b;
  --accent-soft: #f1e4d8;
  --accent-pale: #faf3ec;
  --blue: #8a7465;
  --sand: #c29a72;
  --radius-small: 12px;
  --radius: 22px;
  --radius-large: 36px;
  --shadow-small: 0 16px 44px rgba(79, 55, 38, 0.08);
  --shadow-soft: 0 28px 90px rgba(79, 55, 38, 0.13);
  --shadow-window: 0 44px 110px rgba(70, 48, 33, 0.17);
  --max-width: 1180px;
  --header-height: 72px;
  --font: "Inter", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--background);
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--background);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lang-ko [data-lang="en"],
body.lang-en [data-lang="ko"] {
  display: none !important;
}

body.lang-ko [data-lang="ko"] {
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

button {
  font: inherit;
}

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

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(143, 93, 59, 0.36);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Header */

#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

#site-header.scrolled {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(66, 45, 32, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
  color: var(--ink);
}

.brand-product {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.brand-by {
  margin: 1px 7px 0 9px;
  color: var(--subtle);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 16px;
  height: 21px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  color: #665b53;
  font-size: 13px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease;
}

.desktop-nav a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

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

.language-switch {
  display: flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 248, 245, 0.92);
}

.language-switch button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--subtle);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-switch button.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 2px 8px rgba(70, 50, 36, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding-inline: 17px;
  font-size: 12px;
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 32px rgba(143, 93, 59, 0.2);
}

.button-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 17px 38px rgba(143, 93, 59, 0.25);
}

.button-dark {
  color: #fff;
  background: var(--accent-dark);
}

.button-dark:hover {
  background: #3b2b23;
}

.button-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.button-quiet:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.button-arrow {
  font-size: 16px;
  font-weight: 500;
  transition: transform 180ms ease;
}

.button:hover .button-arrow {
  transform: translate(2px, -1px);
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  display: grid;
  place-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary > span {
  display: block;
  width: 17px;
  height: 1.5px;
  border-radius: 4px;
  background: var(--ink);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-small);
}

.mobile-nav-panel a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 13px;
  border-radius: 11px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav-panel a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  padding: clamp(88px, 10vw, 134px) 0 112px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    radial-gradient(circle at 70% 36%, rgba(226, 207, 190, 0.22), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fcf8f4 100%);
}

.hero-glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-glow-one {
  top: 4%;
  right: -16%;
  width: min(58vw, 840px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(238, 220, 203, 0.68) 0%, rgba(248, 238, 229, 0.31) 43%, transparent 72%);
}

.hero-glow-two {
  bottom: 5%;
  left: 34%;
  width: min(30vw, 430px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(223, 211, 200, 0.34), transparent 68%);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(36px, 4vw, 58px);
}

.hero-copy {
  position: relative;
  z-index: 5;
  min-width: 0;
  max-width: 570px;
}

.eyebrow,
.section-kicker,
.story-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 25px;
}

.eyebrow-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(143, 93, 59, 0.09);
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(52px, 4.65vw, 64px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.06;
  text-wrap: balance;
}

.title-line {
  display: block;
  white-space: normal;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
  font-weight: 650;
}

body.lang-en .hero h1 {
  font-size: clamp(46px, 4vw, 58px);
}

body.lang-en .hero h1 em {
  font-size: 0.8em;
}

.hero-lead {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  letter-spacing: -0.015em;
}

.copy-line {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 35px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 31px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hero-trust > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust i {
  display: inline-grid;
  place-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.hero-trust i::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.product-stage {
  position: relative;
  min-height: 570px;
  perspective: 1300px;
}

.stage-halo {
  position: absolute;
  top: 8%;
  right: -5%;
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(164, 126, 96, 0.14);
  border-radius: 50% 42% 54% 46%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(244, 232, 220, 0.76)),
    radial-gradient(circle at 30% 24%, #fff, transparent 44%);
  transform: rotate(-8deg);
}

.workspace-window {
  position: absolute;
  top: 63px;
  left: 0;
  z-index: 3;
  width: min(100%, 620px);
  overflow: hidden;
  border: 1px solid rgba(91, 64, 45, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-window);
  transform: rotateY(-4deg) rotateX(1deg);
  transform-origin: 45% 50%;
  backdrop-filter: blur(15px);
}

.workspace-top {
  height: 48px;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(91, 64, 45, 0.08);
  background: rgba(252, 249, 246, 0.88);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e7ded6;
}

.window-dots span:first-child {
  background: #c9a88d;
}

.workspace-title {
  color: #9b8d82;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-align: center;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-pale);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a66d47;
  box-shadow: 0 0 0 3px rgba(166, 109, 71, 0.12);
}

.workspace-body {
  min-height: 380px;
  display: grid;
  grid-template-columns: 76px 1fr;
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 27px;
  padding: 24px 0;
  border-right: 1px solid rgba(91, 64, 45, 0.08);
  background: #fdfbf9;
}

.side-brand {
  display: grid;
  place-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.side-line {
  position: relative;
  width: 22px;
  height: 3px;
  border-radius: 6px;
  background: #e2d9d1;
}

.side-line::before {
  position: absolute;
  top: -5px;
  left: -14px;
  width: 8px;
  height: 12px;
  border: 1.5px solid #cbbeb3;
  border-radius: 4px;
  content: "";
}

.side-line.short {
  width: 15px;
}

.side-line.active {
  background: #c29a78;
}

.side-line.active::before {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.workspace-main {
  padding: 24px 25px 27px;
}

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

.workspace-heading > div {
  display: grid;
  gap: 3px;
}

.micro-label {
  color: #a99b90;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.workspace-heading strong {
  color: #362c26;
  font-size: 13px;
  font-weight: 700;
}

.mini-action {
  padding: 6px 10px;
  border: 1px solid #e5ddd6;
  border-radius: 7px;
  color: #82756c;
  font-size: 7px;
  font-weight: 650;
}

.summary-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 17px;
}

.summary-row > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #faf7f4;
}

.summary-row span {
  color: #3a302a;
  font-size: 15px;
  font-weight: 750;
}

.summary-row small {
  color: #91857c;
  font-size: 7px;
  font-weight: 600;
}

.clinical-table {
  overflow: hidden;
  border: 1px solid #ebe4de;
  border-radius: 12px;
  background: #fff;
}

.clinical-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.72fr;
  align-items: center;
  min-height: 52px;
  padding: 0 13px;
  border-top: 1px solid #f0eae5;
  color: #655a52;
  font-size: 8px;
}

.clinical-row > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.clinical-row.table-head {
  min-height: 34px;
  border-top: 0;
  color: #a69a90;
  background: #fcfaf8;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.avatar {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  background: #eee1d6;
}

.avatar.blue {
  background: #e8e2dd;
}

.avatar.sand {
  background: #f1e4d7;
}

.trend {
  display: inline-grid;
  place-content: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  color: #806f63;
  background: #f4efeb;
  font-style: normal;
}

.trend.up {
  color: var(--accent);
  background: var(--accent-pale);
}

.trend.down {
  color: #9d6246;
  background: #faeee7;
}

.status {
  display: inline-flex;
  justify-content: center;
  min-width: 45px;
  padding: 4px 7px;
  border-radius: 999px;
  color: #7a5138;
  background: #f6ebe1;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.status.review {
  color: #89633f;
  background: #faf0e2;
}

.floating-signal {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 225px;
  padding: 13px 15px;
  border: 1px solid rgba(91, 64, 45, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(16px);
}

.floating-signal > div:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.floating-signal strong {
  color: #3a3029;
  font-size: 9px;
  font-weight: 700;
}

.floating-signal span {
  color: #9b8e84;
  font-size: 7px;
}

.floating-signal > b {
  margin-left: auto;
  color: var(--accent);
  font-size: 9px;
}

.signal-live {
  right: -5px;
  bottom: 62px;
}

.signal-secure {
  bottom: 10px;
  left: 30px;
}

.signal-icon {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  display: grid;
  place-content: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-pale);
  font-size: 12px;
  font-weight: 800;
}

.pulse-icon i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(143, 93, 59, 0.12);
}

.hero-bottom-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(250, 244, 238, 0.78));
}

/* Shared section styles */

.section {
  position: relative;
  padding: 126px 0;
}

.section-heading {
  max-width: 750px;
  margin: 0 auto 86px;
  text-align: center;
}

.section-heading-left {
  max-width: 620px;
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  justify-content: center;
  margin-bottom: 19px;
}

.section-heading-left .section-kicker,
.company-brand .section-kicker,
.section-kicker.light {
  justify-content: flex-start;
}

.section-heading h2,
.ai-layout h2,
.company-brand h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 1.14;
  text-wrap: balance;
}

.section-heading > p,
.company-brand > p {
  max-width: 680px;
  margin: 23px auto 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.82;
  letter-spacing: -0.012em;
}

.section-heading-left > p {
  margin-left: 0;
}

/* Workflow */

.workflow-section {
  background: #fff;
}

.workflow-list {
  display: grid;
  gap: 154px;
}

.workflow-story {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: clamp(55px, 8vw, 116px);
}

.workflow-story.story-reverse .story-copy {
  order: 2;
}

.workflow-story.story-reverse .story-visual {
  order: 1;
}

.story-copy {
  position: relative;
}


.story-label {
  margin-bottom: 16px;
}

.story-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 43px);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.23;
  text-wrap: balance;
}

.story-copy > p {
  margin: 22px 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.84;
  letter-spacing: -0.012em;
}

.story-copy ul {
  display: grid;
  gap: 11px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.story-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #594e47;
  font-size: 13px;
  font-weight: 650;
}

.story-copy li::before {
  display: inline-grid;
  place-content: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-pale);
  content: "✓";
  font-size: 9px;
  font-weight: 800;
}

.story-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(91, 64, 45, 0.08);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.95), transparent 35%),
    linear-gradient(145deg, #f7eee6, #fcfaf8);
}

.story-visual::before {
  position: absolute;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(224, 200, 178, 0.28);
  filter: blur(2px);
  content: "";
}

.soft-panel {
  position: relative;
  z-index: 2;
  width: min(460px, calc(100% - 60px));
  overflow: hidden;
  border: 1px solid rgba(91, 64, 45, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: var(--shadow-soft);
  transform: rotate(-2deg);
}

.panel-toolbar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid #ebe3dc;
  color: #62564e;
  background: rgba(252, 249, 246, 0.92);
  font-size: 9px;
  font-weight: 700;
}

.panel-toolbar i {
  width: 34px;
  height: 7px;
  border-radius: 5px;
  background: #e8dfd7;
}

.patient-cards {
  display: grid;
  gap: 8px;
  padding: 19px 20px 11px;
}

.patient-card {
  display: grid;
  grid-template-columns: 29px 1fr 58px;
  align-items: center;
  gap: 13px;
  min-height: 54px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #faf8f6;
}

.patient-card.selected {
  border-color: rgba(143, 93, 59, 0.19);
  background: #faf2eb;
}

.patient-card i {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #e9dfd6;
}

.patient-card span {
  width: 66%;
  height: 7px;
  border-radius: 6px;
  background: #d8ccc2;
}

.patient-card b {
  height: 18px;
  border-radius: 999px;
  background: #f0e2d5;
}

.detail-lines {
  display: grid;
  gap: 8px;
  padding: 8px 22px 24px;
}

.detail-lines span {
  height: 5px;
  border-radius: 4px;
  background: #f0e9e3;
}

.detail-lines span:nth-child(2) {
  width: 81%;
}

.detail-lines span:nth-child(3) {
  width: 64%;
}

.result-visual {
  background:
    radial-gradient(circle at 25% 16%, rgba(255, 255, 255, 0.9), transparent 31%),
    linear-gradient(145deg, #f4f0ec, #fbfaf8);
}

.result-visual::before {
  background: rgba(213, 199, 187, 0.3);
}

.chart-panel {
  transform: rotate(2deg);
}

.trend-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 24px 0;
}

.trend-summary span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.trend-summary b {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent-deep);
  background: var(--accent-pale);
  font-size: 8px;
  font-weight: 750;
}

.trend-chart {
  display: block;
  width: calc(100% - 32px);
  height: auto;
  margin: 0 16px 17px;
}

.reference-band {
  fill: #f1e4d8;
  opacity: 0.72;
}

.range-label,
.time-label {
  fill: #8f8177;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
}

.range-label {
  fill: #806b5d;
  font-size: 8px;
}

.axis-line {
  stroke: #d8ccc2;
  stroke-width: 1.5;
}

.trend-path {
  fill: none;
  stroke: #9b7a61;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.trend-point {
  fill: #fff;
  stroke: #9b7a61;
  stroke-width: 3;
}

.trend-point.alert {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 3;
}

.ai-visual {
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(145deg, #f7eee7, #fcf8f3);
}

.message-stack {
  position: absolute;
  top: 92px;
  left: 54px;
  z-index: 1;
  width: 240px;
}

.message {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 7px 10px;
  padding: 14px;
  border: 1px solid rgba(91, 64, 45, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(79, 55, 38, 0.07);
}

.message + .message {
  margin-top: 9px;
  margin-left: 25px;
}

.message i {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #eadfd6;
}

.message span {
  height: 5px;
  border-radius: 5px;
  background: #e4d9d0;
}

.message span:last-child {
  width: 67%;
}

.summary-panel {
  z-index: 3;
  align-self: end;
  width: min(350px, calc(100% - 80px));
  margin: 140px 0 48px 110px;
  padding: 25px;
  transform: rotate(2deg);
}

.ai-spark {
  display: grid;
  place-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 19px;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 25px rgba(143, 93, 59, 0.2);
}

.summary-panel small {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.summary-panel > strong {
  display: block;
  margin-bottom: 20px;
  color: #3b302a;
  font-size: 13px;
}

.summary-line {
  display: block;
  width: 72%;
  height: 6px;
  margin-top: 8px;
  border-radius: 6px;
  background: #e8dfd7;
}

.summary-line.long {
  width: 100%;
}

.severity-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px solid #ebe4de;
}

.severity-line em {
  color: #887a70;
  font-size: 8px;
  font-style: normal;
}

.severity-line b {
  padding: 5px 9px;
  border-radius: 999px;
  color: #895f38;
  background: #faf0e2;
  font-size: 7px;
}

.mobile-visual {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.93), transparent 30%),
    linear-gradient(145deg, #f6f2ee, #faf1e9);
}

.automation-panel {
  position: absolute;
  top: 110px;
  left: 55px;
  z-index: 2;
  width: 300px;
  overflow: hidden;
  border: 1px solid rgba(91, 64, 45, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transform: rotate(-3deg);
}

.automation-panel > div {
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 67px;
  padding: 0 16px;
  border-top: 1px solid #ece4dd;
}

.automation-panel > div:first-child {
  border-top: 0;
}

.automation-panel i {
  display: grid;
  place-content: center;
  width: 31px;
  height: 31px;
  border-radius: 9px;
  color: #fff;
  background: #8a7465;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.automation-panel > div:nth-child(2) i {
  background: #9b6f4f;
}

.automation-panel > div:nth-child(3) i {
  color: #806849;
  background: #f0e2d1;
}

.automation-panel span {
  width: 72%;
  height: 6px;
  border-radius: 5px;
  background: #e7ddd5;
}

.automation-panel b {
  width: 38px;
  height: 7px;
  border-radius: 5px;
  background: #e6ddd5;
}

.phone-frame {
  position: absolute;
  right: 62px;
  bottom: 46px;
  z-index: 3;
  width: 158px;
  height: 300px;
  padding: 32px 16px 20px;
  border: 6px solid #fff;
  border-radius: 30px;
  background: linear-gradient(180deg, #fcfaf8, #f5eee8);
  box-shadow: 0 30px 70px rgba(79, 55, 38, 0.17);
  transform: rotate(5deg);
}

.phone-top {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 42px;
  height: 5px;
  border-radius: 5px;
  background: #ded4cc;
  transform: translateX(-50%);
}

.phone-frame small {
  display: block;
  width: 42%;
  height: 5px;
  border-radius: 5px;
  background: #ded5ce;
}

.phone-frame strong {
  display: block;
  width: 68%;
  height: 8px;
  margin: 8px 0 21px;
  border-radius: 5px;
  background: #cfc4bb;
}

.phone-frame > span {
  display: block;
  height: 47px;
  margin-top: 8px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 15px rgba(79, 55, 38, 0.05);
}

/* AI */

.ai-section {
  padding: 95px 0;
  border-block: 1px solid rgba(91, 64, 45, 0.08);
  background:
    radial-gradient(circle at 8% 25%, rgba(224, 199, 176, 0.28), transparent 24%),
    linear-gradient(135deg, #f9f1ea, #fcfaf8);
}

.ai-layout {
  display: grid;
  grid-template-columns: 64px minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: 42px;
}

.ai-mark {
  display: grid;
  place-content: center;
  width: 56px;
  height: 56px;
  margin-top: 3px;
  border: 1px solid rgba(143, 93, 59, 0.14);
  border-radius: 18px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 18px 44px rgba(143, 93, 59, 0.18);
}

.ai-layout .section-kicker {
  justify-content: flex-start;
}

.ai-layout h2 {
  font-size: clamp(34px, 3.5vw, 49px);
}

.ai-copy > p {
  margin: 2px 0 23px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.86;
}

.clinical-note {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: start;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(143, 93, 59, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.clinical-note p {
  margin: 0;
  color: #675b52;
  font-size: 12px;
  line-height: 1.7;
}

.note-icon {
  display: grid;
  place-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 800;
}

/* Security */

.security-section {
  background: #fff;
}

.security-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(91, 64, 45, 0.1);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 95% 0%, rgba(226, 204, 184, 0.32), transparent 33%),
    var(--surface-soft);
}

.security-panel article {
  position: relative;
  min-height: 300px;
  padding: 47px 50px 44px;
}

.security-panel article:not(:last-child) {
  border-right: 1px solid rgba(91, 64, 45, 0.09);
}


.security-icon {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 33px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(79, 55, 38, 0.08);
}

.lock-shape::before {
  position: absolute;
  top: 17px;
  left: 12px;
  width: 18px;
  height: 15px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  content: "";
}

.lock-shape::after {
  position: absolute;
  top: 9px;
  left: 16px;
  width: 10px;
  height: 11px;
  border: 2px solid var(--accent);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  content: "";
}

.key-shape::before {
  position: absolute;
  top: 12px;
  left: 9px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.key-shape::after {
  position: absolute;
  top: 23px;
  left: 20px;
  width: 15px;
  height: 2px;
  background: var(--accent);
  box-shadow: 8px 3px 0 -0.3px var(--accent);
  content: "";
  transform: rotate(-42deg);
  transform-origin: left center;
}

.privacy-shape::before {
  position: absolute;
  inset: 10px 11px;
  border: 2px solid var(--accent);
  border-radius: 50% 50% 46% 46%;
  content: "";
}

.privacy-shape::after {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.server-shape::before,
.server-shape::after {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 8px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  content: "";
}

.server-shape::before {
  top: 10px;
}

.server-shape::after {
  top: 23px;
}

.security-panel h3 {
  max-width: 390px;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.security-panel p {
  max-width: 430px;
  margin: 15px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.82;
}

/* Implementation */

.implementation-section {
  background: var(--surface-warm);
}

.implementation-section .section-heading h2 {
  font-size: clamp(38px, 3.6vw, 50px);
}

.implementation-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}


.implementation-flow li {
  position: relative;
  padding: 0 28px;
  text-align: center;
}


.implementation-flow h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.implementation-flow p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Company */

.company-section {
  padding-bottom: 72px;
  background: #fff;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: clamp(65px, 9vw, 130px);
}

.company-brand .section-kicker {
  margin-bottom: 25px;
}

.company-brand > img {
  width: 190px;
  height: auto;
  margin-bottom: 28px;
}

.company-brand h2 {
  font-size: clamp(36px, 3.5vw, 48px);
}

.company-brand > p {
  margin-left: 0;
  font-size: 15px;
}

.company-details {
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--line-strong);
}

.company-details > div {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.company-details dt {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.company-details dd {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  color: #473b34;
  font-size: 14px;
  line-height: 1.7;
}

.company-details a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  width: fit-content;
  border-bottom: 0;
  color: var(--accent-deep);
}

/* Contact and footer */

.contact-section {
  padding: 0 0 40px;
  background: #fff;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 36px;
  min-height: 240px;
  overflow: hidden;
  padding: 36px 52px;
  border-radius: var(--radius-large);
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(199, 151, 113, 0.3), transparent 31%),
    linear-gradient(135deg, #2d211b, #4a3428);
  box-shadow: 0 28px 80px rgba(55, 37, 26, 0.17);
}

.contact-glow {
  position: absolute;
  top: -170px;
  right: -120px;
  width: 430px;
  aspect-ratio: 1;
  border: 1px solid rgba(230, 199, 171, 0.14);
  border-radius: 45% 55% 60% 40%;
  background: rgba(208, 166, 130, 0.08);
  transform: rotate(-18deg);
}

.section-kicker.light {
  color: #d8b898;
}

.contact-panel h2 {
  position: relative;
  color: #fff;
  font-size: clamp(36px, 4.1vw, 55px);
}

.contact-panel p {
  position: relative;
  max-width: 620px;
  margin: 20px 0 0;
  color: rgba(246, 234, 224, 0.75);
  font-size: 18px;
}

.contact-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.button-light {
  color: var(--accent-dark);
  background: #fff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.button-light:hover {
  background: #fbf5ef;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  margin-left: 5px;
  border-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

footer {
  padding: 40px 0 52px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-brand > span {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-brand small,
.copyright {
  color: var(--subtle);
  font-size: 10px;
}

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

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

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

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

/* Progressive motion */

.motion-float-primary {
  --motion-distance: -10px;
  --motion-delay: 0s;
  animation-name: clinical-ambient-float;
  animation-duration: 6s;
  animation-delay: var(--motion-delay);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: translate;
}

.motion-float-secondary {
  --motion-distance: -7px;
  --motion-delay: -0.9s;
  animation-name: clinical-ambient-float;
  animation-duration: 5.2s;
  animation-delay: var(--motion-delay);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  will-change: translate;
}

.workspace-window.motion-float-primary {
  --motion-delay: -0.7s;
}

.patient-visual .motion-float-primary {
  --motion-delay: -1.5s;
}

.result-visual .motion-float-primary {
  --motion-delay: -2.3s;
}

.ai-visual .motion-float-primary {
  --motion-delay: -3.1s;
}

.mobile-visual .motion-float-primary {
  --motion-delay: -4s;
}

.signal-secure.motion-float-secondary,
.message-stack.motion-float-secondary {
  --motion-delay: -2.2s;
}

.automation-panel.motion-float-secondary {
  --motion-delay: -3.4s;
  animation-duration: 6.8s;
}

.motion-signal {
  animation: clinical-ambient-signal 6s ease-in-out infinite;
}

.patient-visual .motion-signal {
  animation-delay: -1.6s;
}

.result-visual .motion-signal {
  animation-delay: -2.8s;
}

.ai-visual .motion-signal {
  animation-delay: -4s;
}

@keyframes clinical-ambient-float {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 var(--motion-distance);
  }
}

@keyframes clinical-ambient-signal {
  0%, 68%, 100% {
    opacity: 1;
  }
  78%, 90% {
    opacity: 0.78;
  }
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes soft-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(143, 93, 59, 0.1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(143, 93, 59, 0.04);
  }
}

.live-status i,
.pulse-icon i {
  animation: soft-pulse 2.6s ease-in-out infinite;
}

/* Warm editorial refinement: preserve the palette and approved copy. */
#site-header {
  border-bottom-color: rgba(91, 64, 45, 0.07);
}
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 5px;
  left: 14px;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { transform: scaleX(1); }
.hero { min-height: auto; padding: 88px 0 92px; }
.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(143, 93, 59, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 93, 59, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 38%, #000 100%);
  pointer-events: none;
  content: "";
}
.eyebrow {
  width: fit-content; max-width: 100%;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.8);
  font-size: 10px; letter-spacing: 0.06em;
}
.eyebrow-dot { flex: 0 0 auto; width: 6px; height: 6px; }
.hero h1 { font-size: clamp(48px, 4.25vw, 59px); line-height: 1.2; }
.hero-trust { padding-top: 22px; border-top: 1px solid var(--line); }
.product-stage { min-height: 490px; }
.stage-halo {
  top: 5%; right: -3%; width: 96%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fffdf9, #efdfcf 72%, #e8d3be);
  box-shadow: inset 0 0 70px rgba(255, 255, 255, 0.65);
}
.stage-halo::before,
.stage-halo::after {
  position: absolute; inset: -24px;
  border: 1px solid rgba(143, 93, 59, 0.12);
  border-radius: 50%; content: "";
}
.stage-halo::after {
  inset: -49px; border-style: dashed;
  border-color: rgba(143, 93, 59, 0.09);
}
.workspace-window {
  border-radius: 18px;
  box-shadow: 0 34px 70px -25px rgba(70, 48, 33, 0.3), 0 4px 12px rgba(70, 48, 33, 0.05);
}
.summary-row > div {
  border: 1px solid rgba(91, 64, 45, 0.07);
  background: linear-gradient(145deg, #fffdfa, #f6eee6);
}
.floating-signal {
  border-radius: 14px;
  box-shadow: 0 16px 36px -12px rgba(79, 55, 38, 0.18);
}
.section { padding-top: 108px; padding-bottom: 108px; }
.workflow-section > .shell > .section-heading {
  max-width: none; margin-bottom: 68px; padding-bottom: 32px;
  border-bottom: 1px solid var(--line-strong); text-align: left;
}
.workflow-section > .shell > .section-heading .section-kicker { justify-content: flex-start; }
.section-kicker::before {
  flex: 0 0 auto; width: 19px; height: 1px;
  background: currentColor; content: "";
}
.workflow-list { gap: 86px; }
.workflow-story + .workflow-story { padding-top: 70px; border-top: 1px solid var(--line); }
.story-label { color: var(--muted); }
.story-copy h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.3; }
.story-visual {
  min-height: 450px;
  border-color: rgba(91, 64, 45, 0.12);
  border-radius: 28px;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.38);
}
.story-visual::after {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(143, 93, 59, 0.18) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, #000, transparent 60%);
  pointer-events: none; content: "";
}
.security-panel {
  gap: 16px; overflow: visible; border: 0; border-radius: 0; background: transparent;
}
.security-panel article {
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg, #fffdfa, #f8f2ec);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.security-panel article:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 32px -18px rgba(79, 55, 38, 0.2);
}
.implementation-section {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, #fcf9f5, #fffdfa);
}
.company-section { padding-bottom: 72px; }
.contact-panel {
  border: 1px solid rgba(199, 151, 113, 0.35);
  border-radius: 28px;
  box-shadow: 0 18px 48px -24px rgba(55, 37, 26, 0.3);
}
.contact-glow::before,
.contact-glow::after {
  position: absolute; inset: 28px;
  border: 1px solid rgba(230, 199, 171, 0.12);
  border-radius: inherit; content: "";
}
.contact-glow::after { inset: 58px; }


/* Responsive */

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    gap: 44px;
  }

  .desktop-nav a {
    padding-inline: 10px;
  }

  .header-contact {
    display: none;
  }

  .security-panel article {
    padding-inline: 38px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

  .hero-lead {
    max-width: 680px;
  }

  .product-stage {
    width: min(760px, 100%);
    min-height: 585px;
    margin: 0 auto;
  }

  .workspace-window {
    left: 6%;
    width: 88%;
  }

  .signal-live {
    right: 1%;
  }

  .workflow-story {
    gap: 48px;
  }

  .story-visual {
    min-height: 440px;
  }

  .ai-layout {
    grid-template-columns: 54px 1fr;
  }

  .ai-copy {
    grid-column: 2;
  }

  .contact-panel {
    padding: 36px 44px;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .header-contact {
    display: inline-flex;
  }

  .mobile-nav {
    display: block;
  }

  .section {
    padding: 95px 0;
  }

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

  .workflow-list {
    gap: 110px;
  }

  .workflow-story,
  .workflow-story.story-reverse {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .workflow-story.story-reverse .story-copy,
  .workflow-story.story-reverse .story-visual {
    order: initial;
  }

  .story-copy {
    max-width: 650px;
  }

  .story-visual {
    min-height: 500px;
  }

  .security-panel article {
    padding: 38px 32px;
  }

  .implementation-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 52px 0;
  }


  .implementation-flow li {
    padding-inline: 32px;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .company-brand {
    max-width: 680px;
  }

  .company-section {
    padding-bottom: 64px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

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

  .header-inner {
    gap: 10px;
  }

  .brand-by {
    margin-right: 5px;
    margin-left: 7px;
  }

  .header-contact {
    display: none;
  }

  .language-switch button {
    width: 40px;
  }

  .hero {
    padding: 72px 0 66px;
  }

  .hero h1 {
    font-size: 37px;
    letter-spacing: -0.06em;
  }

  body.lang-en .hero h1 {
    font-size: clamp(37px, 10vw, 46px);
  }

  body.lang-en .hero h1 em {
    font-size: 0.7em;
    letter-spacing: -0.065em;
  }

  body.lang-en .title-line {
    white-space: normal;
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-lead[data-lang="ko"] .copy-line {
    text-wrap: balance;
  }

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

  .hero-actions .button {
    min-height: 48px;
  }

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

  .product-stage {
    min-height: 410px;
    margin-top: 14px;
  }

  .motion-float-primary,
  .motion-float-secondary {
    --motion-distance: -6px;
  }

  .stage-halo {
    top: 4%;
    right: -15%;
    width: 105%;
  }

  .workspace-window {
    top: 35px;
    left: 0;
    width: 100%;
    border-radius: 18px;
    transform: none;
  }

  .workspace-top {
    grid-template-columns: 45px 1fr auto;
    height: 41px;
    padding-inline: 12px;
  }

  .workspace-title {
    font-size: 7px;
  }

  .workspace-body {
    min-height: 285px;
    grid-template-columns: 48px 1fr;
  }

  .workspace-sidebar {
    gap: 21px;
    padding-top: 18px;
  }

  .workspace-main {
    padding: 18px 13px;
  }

  .summary-row {
    gap: 5px;
  }

  .summary-row > div {
    gap: 4px;
    padding: 7px;
  }

  .summary-row span {
    font-size: 11px;
  }

  .clinical-row {
    grid-template-columns: 1.25fr 1fr;
    min-height: 42px;
    padding-inline: 9px;
    font-size: 6px;
  }

  .clinical-row > span:nth-child(3) {
    display: none;
  }

  .avatar {
    width: 17px;
    height: 17px;
  }

  .signal-secure {
    display: none;
  }

  .signal-live {
    right: 8px;
    bottom: 3px;
    min-width: 198px;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 54px;
    text-align: left;
  }

  .section-heading .section-kicker {
    justify-content: flex-start;
  }

  .section-heading h2,
  .ai-layout h2,
  .company-brand h2,
  .contact-panel h2 {
    font-size: clamp(34px, 9.5vw, 43px);
  }

  .section-heading > p {
    margin-left: 0;
    font-size: 15px;
  }

  .workflow-list {
    gap: 86px;
  }

  .workflow-story + .workflow-story {
    padding-top: 42px;
  }

  .story-copy h3 {
    font-size: 31px;
  }

  .story-copy > p {
    font-size: 15px;
  }

  .story-visual {
    min-height: 390px;
    border-radius: 28px;
  }

  .soft-panel {
    width: calc(100% - 36px);
  }

  .message-stack {
    top: 60px;
    left: 25px;
    width: 210px;
  }

  .summary-panel {
    width: calc(100% - 58px);
    margin: 112px 0 32px 40px;
  }

  .automation-panel {
    top: 72px;
    left: 24px;
    width: min(270px, calc(100% - 72px));
  }

  .phone-frame {
    right: 26px;
    bottom: 30px;
    width: 130px;
    height: 245px;
  }

  .ai-section {
    padding: 72px 0;
  }

  .ai-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ai-copy {
    grid-column: 1;
  }

  .ai-mark {
    width: 48px;
    height: 48px;
  }

  .security-panel {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .security-panel article {
    min-height: auto;
    padding: 38px 30px;
    border: 1px solid var(--line);
  }


  .implementation-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .implementation-flow li {
    padding: 0 0 35px;
    text-align: left;
  }



  .company-details > div {
    grid-template-columns: 88px 1fr;
  }

  .company-section {
    padding-bottom: 52px;
  }

  .contact-section {
    padding-bottom: 22px;
  }

  .contact-panel {
    gap: 22px;
    padding: 28px;
    border-radius: 28px;
  }

  .contact-actions {
    align-items: stretch;
  }

  .button-light {
    width: 100%;
    font-size: 12px;
  }

  .contact-phone {
    align-self: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 420px) {
  .shell {
    width: calc(100% - 32px);
  }

  .brand-product {
    font-size: 18px;
  }

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

  .hero-actions {
    display: grid;
  }

  .product-stage {
    min-height: 385px;
  }

  .workspace-heading strong {
    font-size: 10px;
  }

  .summary-row small {
    display: none;
  }

  .story-visual {
    min-height: 355px;
  }

  .automation-panel {
    left: 16px;
    width: calc(100% - 68px);
  }
}

/* Compact phone layout; desktop composition stays unchanged. */
@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  .hero { padding: 38px 0 40px; }
  .hero-layout { gap: 24px; }
  .eyebrow { padding: 6px 10px; font-size: 9px; }
  .hero h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.3; }
  body.lang-en .hero h1 { font-size: clamp(30px, 8vw, 38px); }
  body.lang-en .hero h1 em { font-size: 0.78em; letter-spacing: -0.045em; }
  .hero-lead { margin-top: 18px; font-size: 14px; line-height: 1.75; }
  .hero-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 22px; }
  .hero-actions .button { min-height: 44px; padding: 10px 14px; font-size: 12px; gap: 8px; }
  body.lang-en .hero-actions { grid-template-columns: 1fr; }
  .hero-trust { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 22px; padding-top: 14px; font-size: 10px; }
  .product-stage { min-height: 335px; margin-top: 0; }
  .workspace-window { top: 12px; }
  .workspace-body { min-height: 250px; grid-template-columns: 38px 1fr; }
  .workspace-sidebar { padding-inline: 8px; }
  .side-line { width: 14px; margin-left: 6px; }
  .side-line.short { width: 10px; }
  .side-line::before { top: -3px; left: -10px; width: 5px; height: 8px; }
  .workspace-main { padding: 14px 10px; }
  .clinical-row { min-height: 36px; }
  .signal-live { bottom: 0; min-width: 0; padding: 10px 12px; }
  .stage-halo { right: 0; width: 92%; }

  .section,
  .ai-section { padding: 48px 0; }
  .section-heading { margin-bottom: 26px; }
  .workflow-section > .shell > .section-heading { margin-bottom: 28px; padding-bottom: 20px; }
  .section-heading h2,
  .implementation-section .section-heading h2,
  .ai-layout h2,
  .company-brand h2,
  .contact-panel h2 { font-size: 27px; line-height: 1.35; letter-spacing: -0.045em; }
  .section-kicker { margin-bottom: 12px; font-size: 10px; }
  .section-heading > p { margin-top: 14px; font-size: 14px; line-height: 1.75; }
  .section .copy-line { display: inline; }
  .workflow-list { gap: 32px; }
  .workflow-story,
  .workflow-story.story-reverse { gap: 22px; }
  .workflow-story + .workflow-story { padding-top: 28px; }
  .story-label { margin-bottom: 10px; font-size: 10px; }
  .story-copy h3 { font-size: 25px; line-height: 1.4; text-wrap: pretty; }
  .story-copy > p { margin-top: 14px; font-size: 14px; line-height: 1.75; }
  .story-copy ul { margin-top: 16px; gap: 7px; }
  .story-copy li { font-size: 12px; gap: 8px; }
  .story-visual { min-height: 285px; border-radius: 20px; }
  .soft-panel { width: calc(100% - 32px); border-radius: 15px; }
  .panel-toolbar { height: 36px; padding-inline: 14px; }
  .patient-cards { padding: 14px 12px 8px; gap: 6px; }
  .patient-card { min-height: 44px; grid-template-columns: 24px 1fr 42px; gap: 10px; padding-inline: 10px; }
  .patient-card i { width: 24px; height: 24px; }
  .detail-lines { padding: 8px 14px 16px; }
  .trend-summary { padding: 14px 16px 0; }
  .message-stack { top: 26px; left: 16px; width: 65%; }
  .summary-panel { width: calc(100% - 48px); margin: 68px 0 18px 20px; padding: 18px; }
  .ai-spark { width: 28px; height: 28px; margin-bottom: 10px; }
  .summary-panel > strong { margin-bottom: 12px; }
  .severity-line { margin-top: 14px; padding-top: 10px; }
  .automation-panel { top: 48px; left: 16px; width: calc(100% - 64px); }
  .automation-panel > div { min-height: 55px; }
  .phone-frame { right: 20px; bottom: 22px; width: 112px; height: 222px; padding: 28px 12px 16px; border-radius: 25px; }
  .phone-frame > span { height: 36px; }

  .ai-layout { gap: 18px; }
  .ai-mark { width: 38px; height: 38px; border-radius: 12px; }
  .ai-copy > p { margin: 0 0 16px; font-size: 14px; line-height: 1.75; }
  .clinical-note { grid-template-columns: 22px minmax(0, 1fr); gap: 9px; padding: 14px; }
  .security-panel { gap: 10px; }
  .security-panel article { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; padding: 20px 18px; border-radius: 18px; }
  .security-icon { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .security-panel h3 { grid-column: 2; font-size: 18px; line-height: 1.5; }
  .security-panel p { grid-column: 2; margin-top: 7px; font-size: 13px; line-height: 1.7; }
  .implementation-flow { gap: 22px; }
  .implementation-flow li { padding: 0; }
  .implementation-flow h3 { font-size: 17px; }
  .implementation-flow p { margin-top: 7px; }
  .company-layout { gap: 28px; }
  .company-brand .section-kicker { margin-bottom: 18px; }
  .company-brand > img { width: 150px; margin-bottom: 18px; }
  .company-brand > p { margin-top: 14px; font-size: 14px; line-height: 1.8; }
  .company-details > div { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 16px 0; }
  .company-details dd { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
  body.lang-en .company-details > div { grid-template-columns: 1fr; gap: 4px; }
  .company-section { padding-bottom: 36px; }
  .contact-panel { padding: 22px 18px; gap: 18px; border-radius: 20px; }
  .contact-panel p { margin-top: 12px; font-size: 14px; line-height: 1.75; }
  .contact-actions { min-width: 0; }
  .button-light { min-height: 44px; padding-inline: 12px; }
  footer { padding: 26px 0 32px; }
  .footer-inner { gap: 14px; }
  .footer-links { gap: 6px 16px; }
}

@media (max-width: 360px) {
  .brand-product { font-size: 16px; }
  .brand-by { display: none; }
  .brand img { margin-left: 6px; }
  .language-switch button { width: 32px; }
  .header-actions { gap: 6px; }
}

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

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

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .motion-float-primary,
  .motion-float-secondary,
  .motion-signal {
    animation: none !important;
    translate: none !important;
    will-change: auto;
  }
}

/* Proposal: equal visual width, readable visuals, natural English wrapping. */

@media (min-width: 861px) {
  .workflow-story.story-reverse {
    grid-template-columns: minmax(0, 1.17fr) minmax(0, 0.83fr);
  }

  .story-reverse .copy-line {
    text-wrap: balance;
  }
}

body.lang-en .copy-line {
  text-wrap: pretty;
}

body.lang-en .hero-lead .copy-line,
body.lang-en .section-heading .copy-line,
body.lang-en .clinical-note .copy-line {
  text-wrap: balance;
}

.story-visual .panel-toolbar {
  font-size: 11px;
  letter-spacing: -0.01em;
}

.view-tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 20px 0;
}

.view-tab {
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
}

.view-tab.active {
  border-color: rgba(143, 93, 59, 0.2);
  color: var(--accent-deep);
  background: var(--accent-pale);
}

.view-search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 92px;
  height: 26px;
  margin-left: auto;
  padding: 0 9px;
  border: 1px solid #ebe3dc;
  border-radius: 999px;
}

.view-search i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border: 1.5px solid #b8a99c;
  border-radius: 50%;
}

.view-search b {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #ece4dd;
}

.patient-visual .patient-cards {
  padding-top: 12px;
}

.patient-card .patient-lines {
  display: grid;
  gap: 6px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
}

.patient-lines em {
  display: block;
  width: 58%;
  height: 7px;
  border-radius: 6px;
  background: #d8ccc2;
}

.patient-lines em + em {
  width: 36%;
  height: 5px;
  background: #e9e0d8;
}

.visual-note {
  position: absolute;
  right: 36px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 17px 12px 13px;
  border: 1px solid rgba(91, 64, 45, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px -12px rgba(79, 55, 38, 0.2);
}

.visual-note-icon {
  display: grid;
  place-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--accent);
  background: var(--accent-pale);
}

.visual-note-icon svg,
.automation-panel i svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.visual-note strong {
  display: block;
  color: #3a3029;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
}

.visual-note-sub {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.trend-summary span {
  font-size: 10.5px;
}

.trend-summary b {
  font-size: 10px;
}

.trend-summary b span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.range-label {
  font-size: 9px;
}

.stack-caption {
  margin: 0 0 9px 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.ai-visual .message-stack {
  top: 64px;
}

.summary-panel small {
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.summary-panel > strong {
  font-size: 14px;
}

.severity-line {
  justify-content: flex-start;
  gap: 10px;
}

.severity-line em {
  font-size: 10.5px;
}

.severity-line b {
  font-size: 10px;
}

.severity-meter {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.severity-meter i {
  width: 18px;
  height: 5px;
  border-radius: 4px;
  background: #eadfd6;
}

.severity-meter i.on {
  background: var(--accent);
}

.mobile-visual {
  --panel-width: min(340px, calc(100% - 250px));
  --panel-left: calc((100% - var(--panel-width) - 132px) / 2);
}

.mobile-visual .automation-panel {
  left: var(--panel-left);
  width: var(--panel-width);
}

.mobile-visual .phone-frame {
  right: auto;
  left: calc(var(--panel-left) + var(--panel-width) - 26px);
}

.mobile-visual .automation-panel > div {
  padding-right: 50px;
}

.automation-panel > div > b {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-pale);
}

.automation-panel > div > b::after {
  position: absolute;
  top: 4px;
  left: 6.5px;
  width: 4px;
  height: 8px;
  border: solid var(--accent);
  border-width: 0 1.6px 1.6px 0;
  content: "";
  transform: rotate(45deg);
}

.automation-panel > div:nth-child(3) > b {
  width: 34px;
  height: 7px;
  border-radius: 5px;
  background: #e6ddd5;
}

.automation-panel > div:nth-child(3) > b::after {
  content: none;
}

.phone-frame > .phone-chart {
  height: 80px;
  padding: 11px 10px 9px;
}

.phone-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.phone-chart rect {
  fill: #f1e4d8;
  opacity: 0.72;
}

.phone-chart polyline {
  fill: none;
  stroke: #9b7a61;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.phone-frame > .phone-row {
  display: grid;
  grid-template-columns: 9px 1fr;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
}

.phone-row i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2d5ca;
}

.phone-row:nth-of-type(2) i {
  background: var(--accent);
}

.phone-row b {
  width: 74%;
  height: 5px;
  border-radius: 5px;
  background: #e4d9d0;
}

@media (max-width: 720px) {
  .story-visual .panel-toolbar { font-size: 10.5px; }
  .view-tabs { padding: 10px 12px 0; }
  .view-tab { padding: 6px 9px; font-size: 10px; }
  .view-search { display: none; }
  .patient-visual .patient-cards { padding-top: 9px; }
  .patient-visual { padding: 18px 0 40px; }
  .visual-note { right: 12px; bottom: 12px; gap: 9px; padding: 9px 13px 9px 10px; border-radius: 12px; }
  .visual-note-icon { width: 28px; height: 28px; border-radius: 9px; }
  .visual-note strong { font-size: 11px; }
  .visual-note-sub { font-size: 9.5px; }
  .ai-visual .message-stack { top: 18px; }
  .ai-visual .summary-panel { margin-top: 84px; }
  .severity-meter i { width: 14px; }
  .mobile-visual .automation-panel { left: 16px; width: calc(100% - 64px); }
  .mobile-visual .automation-panel > div { padding-right: 98px; }
  .mobile-visual .phone-frame { right: 20px; left: auto; }
  .phone-frame > .phone-chart { height: 56px; padding: 8px 8px 7px; }
  .phone-frame > .phone-row { padding: 0 9px; gap: 7px; }
  .phone-frame > .phone-row:last-child { display: none; }
}

/* Proposal: dark AI statement band, sequenced implementation steps. */

.ai-section {
  border-block-color: transparent;
  background:
    radial-gradient(circle at 92% 0%, rgba(199, 151, 113, 0.28), transparent 34%),
    linear-gradient(135deg, #2d211b, #4a3428);
}

.ai-section .section-kicker {
  color: #d8b898;
}

.ai-layout h2 {
  color: #fff;
}

.ai-copy > p {
  color: rgba(246, 234, 224, 0.8);
}

.ai-mark {
  border-color: rgba(230, 199, 171, 0.2);
  color: var(--accent-dark);
  background: #e3c8ad;
  box-shadow: none;
}

.clinical-note {
  border-color: rgba(230, 199, 171, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.clinical-note p {
  color: rgba(246, 234, 224, 0.84);
}

.note-icon {
  color: var(--accent-dark);
  background: #e3c8ad;
}

@media (min-width: 861px) {
  .implementation-flow {
    padding-top: 38px;
  }

  .implementation-flow::before {
    position: absolute;
    top: 5px;
    right: calc(100% / 6);
    left: calc(100% / 6);
    height: 1px;
    background: var(--line-strong);
    content: "";
  }

  .implementation-flow li::before {
    position: absolute;
    top: -38px;
    left: 50%;
    width: 11px;
    height: 11px;
    margin-left: -5.5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px #f6ece3;
    content: "";
  }
}

@media (max-width: 860px) {
  .implementation-flow {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 560px;
  }

  .implementation-flow li {
    padding: 0 0 26px 30px;
    text-align: left;
  }

  .implementation-flow li:last-child {
    padding-bottom: 0;
  }

  .implementation-flow li::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px #f6ece3;
    content: "";
  }

  .implementation-flow li:not(:last-child)::after {
    position: absolute;
    top: 24px;
    bottom: -2px;
    left: 4px;
    width: 1px;
    background: var(--line-strong);
    content: "";
  }
}
