:root {
  --ink: #111613;
  --muted: #5f6862;
  --line: #d8ddd7;
  --paper: #f5f3ec;
  --paper-strong: #ebe8df;
  --white: #ffffff;
  --brand-blue: #0095ff;
  --brand-blue-dark: #0077cc;
  --section-title-size: clamp(42px, 4.8vw, 68px);
  --section-subtitle-size: clamp(24px, 2.5vw, 34px);
  --section-body-size: clamp(16px, 1.25vw, 18px);
  --green: #176142;
  --green-dark: #0f3f2b;
  --blue: #315f80;
  --coral: #a64f3d;
  --amber: #bc8a2f;
  --shadow: 0 18px 48px rgba(17, 22, 19, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.68;
}

#home {
  scroll-margin-top: 80px;
}

section[id] {
  scroll-margin-top: 80px;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 10px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-weight: 400;
}

.brand small {
  color: var(--ink);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}

.site-nav > a,
.nav-product-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nav-product-trigger {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.site-nav a:hover,
.nav-product-trigger:hover {
  color: var(--brand-blue);
}

.nav-product {
  position: relative;
}

.nav-product-trigger {
  gap: 6px;
}

.nav-product-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-product-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 90;
  display: grid;
  min-width: 282px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(17, 22, 19, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-qa .nav-product-menu {
  min-width: 342px;
}

.nav-product:hover .nav-product-menu,
.nav-product:focus-within .nav-product-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-product-menu a {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 8px;
}

.nav-product-menu a:hover {
  color: var(--ink);
  background: #f1f8ff;
}

.nav-product-menu strong {
  color: var(--brand-blue);
  font-size: 16px;
  line-height: 1.25;
}

.nav-product-menu span {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 700;
}

.header-cta {
  font-weight: 400;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(0, 149, 255, 0.22);
}

.header-cta:hover,
.primary-button:hover {
  background: var(--brand-blue-dark);
}

.secondary-button {
  color: var(--green-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  padding: 8px 12px;
}

main {
  overflow: hidden;
}

section {
  padding: 92px clamp(18px, 5vw, 76px);
}

section[id] {
  scroll-margin-top: 118px;
}

.section-band {
  background: var(--white);
}

.hero {
  display: block;
  min-height: calc(92vh - 72px);
  padding-top: clamp(86px, 12vh, 132px);
  padding-bottom: 72px;
  text-align: center;
}

.hero-content {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  max-width: 1180px;
  margin-right: auto;
  margin-bottom: 8px;
  margin-left: auto;
  color: var(--brand-blue);
  font-size: clamp(50px, 7vw, 92px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(42px, 5.8vw, 76px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.28;
}

.hero-copy {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 21px;
  text-align: center;
}

.hero-subtitle {
  max-width: none;
  margin-right: auto;
  margin-bottom: 26px;
  margin-left: auto;
  color: var(--ink);
  font-size: clamp(30px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.hero-tertiary {
  margin-bottom: 34px;
  font-size: clamp(17px, 2vw, 22px);
}

.hero-tertiary > span {
  display: block;
  text-align: center;
  white-space: nowrap;
}

.hero-underline {
  display: inline;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  max-width: 1180px;
  margin: 0 auto;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image-stack {
  position: relative;
  height: clamp(220px, 22vw, 300px);
  margin-top: 8px;
  overflow: visible;
}

.hero-image-stack .stack-card {
  position: absolute;
  top: 30px;
  left: var(--left);
  width: clamp(190px, 22vw, 290px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(17, 22, 19, 0.18);
  transform-origin: 50% 75%;
  transform: translateY(var(--y)) rotate(var(--r)) scale(var(--s, 1));
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.hero-image-stack:hover .stack-card {
  filter: saturate(0.72) brightness(0.92);
}

.hero-image-stack .stack-card:hover {
  z-index: 20;
  filter: saturate(1) brightness(1);
  box-shadow: 0 32px 86px rgba(17, 22, 19, 0.26);
  transform: translateY(calc(var(--y) - 14px)) rotate(0deg) scale(1.12);
}

.stack-card-1 {
  --left: 0%;
  --y: 42px;
  --r: -7deg;
  z-index: 2;
}

.stack-card-2 {
  --left: 15%;
  --y: 56px;
  --r: -4deg;
  z-index: 4;
}

.stack-card-3 {
  --left: 30%;
  --y: 0px;
  --r: 0deg;
  --s: 1.08;
  z-index: 8;
}

.stack-card-4 {
  --left: 45%;
  --y: 54px;
  --r: 3deg;
  z-index: 5;
}

.stack-card-5 {
  --left: 60%;
  --y: 30px;
  --r: 6deg;
  z-index: 3;
}

.stack-card-6 {
  --left: 75%;
  --y: 58px;
  --r: 8deg;
  z-index: 1;
}

.hero-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.signal-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 14px;
  padding: 20px;
  background: var(--white);
  border-left: 5px solid var(--green);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

a.signal-row:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 26px rgba(22, 33, 27, 0.08);
}

.signal-row:nth-child(2) {
  border-left-color: var(--blue);
}

.signal-row:nth-child(3) {
  border-left-color: var(--amber);
}

.signal-row span {
  grid-row: span 2;
  color: var(--muted);
  font-weight: 800;
}

.signal-row small {
  color: var(--muted);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.services-section .section-heading {
  max-width: none;
  text-align: center;
}

.services-section .section-heading h2 {
  color: var(--ink);
  font-weight: 800;
}

.about-section .section-heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-section .section-heading h2 {
  color: var(--brand-blue);
  font-size: var(--section-subtitle-size);
  font-weight: 800;
}

.about-section .section-heading p {
  margin-top: 14px;
  color: var(--ink);
  font-size: var(--section-body-size);
  font-weight: 400;
  line-height: 1.75;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card,
.about-grid article,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(17, 22, 19, 0.05);
}

.service-card {
  padding: 26px;
}

.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.pain-visual {
  margin: 0;
}

.pain-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(17, 22, 19, 0.12);
}

.pain-copy h2 {
  margin-bottom: 10px;
  color: var(--brand-blue);
  font-size: var(--section-title-size);
  font-weight: 800;
  line-height: 1;
}

.pain-copy h3 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: var(--section-subtitle-size);
  font-weight: 400;
  line-height: 1.16;
}

.pain-copy h3 span {
  display: block;
}

.pain-list {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: var(--section-body-size);
  font-weight: 400;
  line-height: 1.55;
}

.pain-list p {
  margin: 0;
}

.card-index {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--brand-blue);
  font-weight: 900;
}

.card-index a {
  color: inherit;
}

.service-title-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: var(--white);
  background: var(--brand-blue);
  border-radius: 8px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 10px 24px rgba(0, 149, 255, 0.18);
}

.service-title-button:hover {
  background: var(--brand-blue-dark);
}

.service-card p {
  color: var(--muted);
}

.service-card ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 800;
}

.text-link::after {
  content: "→";
  margin-left: 8px;
}

.boundary-note {
  margin: 28px 0 0;
  padding: 18px 20px;
  color: var(--green-dark);
  background: #eef4ef;
  border-left: 5px solid var(--green);
}

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

.path-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.path-list li {
  padding: 22px;
  background: var(--white);
  border-left: 5px solid var(--coral);
}

.path-list span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.architecture-figure {
  margin: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.architecture-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.architecture-figure figcaption {
  padding: 12px 4px 4px;
  color: var(--muted);
  font-size: 14px;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1420px;
  margin: 0 auto;
}

.diagnosis-visual {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diagnosis-visual img {
  display: block;
  width: min(100%, 511px);
  height: auto;
  max-height: min(465px, calc(100vh - 190px));
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 22px 58px rgba(17, 22, 19, 0.12);
}

.diagnosis-panel {
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(17, 22, 19, 0.08);
}

.diagnosis-panel h1,
.diagnosis-panel h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}

.diagnosis-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}

.diagnosis-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dde5ef;
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--ink);
  background: #f6f8fb;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

textarea {
  min-height: 82px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  background: var(--white);
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 149, 255, 0.14);
}

.form-submit {
  grid-column: 1 / -1;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 149, 255, 0.24);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--green-dark);
  font-weight: 700;
}

.qa-section .section-heading {
  max-width: none;
  margin: 0 auto 28px;
  text-align: center;
}

.qa-section .section-heading h2 {
  color: var(--ink);
  font-size: var(--section-subtitle-size);
  font-weight: 400;
}

.qa-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto 28px;
}

.qa-tabs button {
  border: 1px solid var(--brand-blue);
  border-radius: 8px;
  padding: 11px 18px;
  color: var(--white);
  background: var(--brand-blue);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 149, 255, 0.14);
}

.qa-tabs button.active {
  color: var(--white);
  border-color: var(--brand-blue-dark);
  background: var(--brand-blue-dark);
}

.qa-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.qa-list li {
  border-bottom: 1px solid var(--line);
}

.qa-question {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  width: 100%;
  border: 0;
  padding: 18px 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.qa-icon {
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.qa-answer {
  max-width: 620px;
  margin: -4px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.qa-answer p {
  margin-bottom: 12px;
}

.qa-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-blue);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
}

.qa-more-link:hover {
  color: var(--brand-blue-dark);
}

.qa-category-hero {
  padding-top: 110px;
  padding-bottom: 74px;
}

.qa-category-hero h1 {
  max-width: 980px;
  font-size: clamp(46px, 5.8vw, 78px);
}

.qa-category-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
}

.qa-category-section {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 18px 92px;
}

.qa-topic-card {
  padding: clamp(24px, 4vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(17, 22, 19, 0.06);
}

.qa-topic-card h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
}

.qa-topic-card p {
  color: var(--muted);
  font-size: 17px;
}

.qa-topic-meta {
  margin-bottom: 8px;
  color: var(--brand-blue) !important;
  font-size: 14px !important;
  font-weight: 800;
}

.qa-topic-muted {
  background: #f8fafc;
}

.tag-page {
  background: var(--white);
}

.tag-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(78px, 9vw, 128px) clamp(18px, 5vw, 42px) 42px;
}

.tag-hero h1 {
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
}

.tag-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.tag-results {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 42px) 92px;
}

.tag-count {
  color: var(--muted);
  font-size: 15px;
}

.tag-result-card {
  display: grid;
  gap: 10px;
  padding: 24px 0;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.tag-result-card:last-child {
  border-bottom: 1px solid var(--line);
}

.tag-result-card span {
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
}

.tag-result-card strong {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
}

.tag-result-card p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.tag-result-card:hover strong {
  color: var(--brand-blue);
}

.qa-article-page {
  padding: clamp(72px, 8vw, 116px) clamp(18px, 5vw, 76px) 92px;
  background: var(--white);
}

.qa-article-layout {
  max-width: 1060px;
  margin: 0 auto;
}

.qa-article-sidebar {
  display: grid;
  align-self: start;
  background: var(--white);
  border: 1px solid var(--line);
}

.qa-article-sidebar a {
  padding: 18px 20px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  border-bottom: 1px solid var(--line);
}

.qa-article-sidebar a:last-child {
  border-bottom: 0;
}

.qa-article-sidebar a.active,
.qa-article-sidebar a:hover {
  color: var(--ink);
  background: #f6f8fb;
}

.qa-article {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.back-link {
  display: inline-flex;
  margin-bottom: clamp(28px, 4vw, 46px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.qa-article-category {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.qa-article h1,
.qa-article h2,
.qa-article p,
.qa-article-meta {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.9;
}

.qa-article h1 {
  max-width: 100%;
  margin: 0 auto 22px;
  color: var(--ink);
  font-size: clamp(9px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
}

.qa-article h2 {
  max-width: none;
  margin: 34px 0 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.9;
  text-align: left;
}

.qa-article h2 {
  margin-top: 34px;
}

.qa-article p {
  margin-bottom: 18px;
}

.qa-article-meta,
.qa-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.qa-keywords {
  margin-bottom: clamp(32px, 5vw, 56px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.qa-keywords span {
  font-weight: 400;
}

.qa-keywords a {
  color: var(--brand-blue);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.qa-keywords a:visited {
  color: #5a43c8;
}

.qa-keywords a:hover {
  color: var(--brand-blue-dark);
  text-decoration-color: currentColor;
}

.qa-article-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 48px auto 0;
  padding: 34px 0;
  text-align: center;
  background: transparent;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.qa-article-cta h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.qa-article-cta p {
  max-width: 720px;
  margin-bottom: 4px;
}

.article-flow-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 76px);
  margin-top: 0;
  padding: 22px 0;
  color: var(--muted);
  border: 0;
}

.article-flow-nav a {
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

.article-flow-nav a:last-child {
  text-align: left;
}

.article-flow-nav a:hover {
  color: var(--brand-blue);
}

.related-qa {
  margin-top: 0;
  padding: 18px 0 0;
  background: transparent;
  border-top: 1px solid var(--line);
}

.related-columns {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 76px);
}

.related-columns::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.related-qa h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.related-list {
  display: grid;
  gap: 14px;
  background: transparent;
  border: 0;
}

.related-list a {
  padding: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: auto-phrase;
}

.related-list a:hover {
  color: var(--brand-blue);
  background: transparent;
}

.about-grid article {
  min-height: 170px;
  padding: 24px;
}

.about-grid p {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.75;
}

.about-grid h3 {
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: clamp(34px, 8vw, 96px);
  align-items: center;
  justify-content: center;
  padding: clamp(78px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.contact-copy {
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.contact-copy h2 {
  margin: 0;
  color: var(--brand-blue);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.12;
}

.contact-copy p {
  max-width: 880px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 400;
  line-height: 1.65;
}

.contact-copy .primary-button {
  min-height: 56px;
  padding: 0 28px;
  font-size: 20px;
}

.contact-qr {
  display: grid;
  justify-items: center;
  margin: 0;
}

.contact-qr img {
  width: min(22vw, 220px);
  min-width: 168px;
  height: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer a.icp-link {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a.icp-link:hover {
  color: var(--brand);
}

.page-hero {
  padding-top: 72px;
  padding-bottom: 64px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 5.5vw, 70px);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 20px;
}

.page-grid {
  padding-top: 72px;
}

.organ-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1040px;
}

.organ-node {
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue);
  background: var(--white);
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(22, 33, 27, 0.06);
}

.organ-node.primary {
  border-left-color: var(--green);
}

.organ-node.action {
  border-left-color: var(--coral);
  color: var(--green-dark);
  background: #edf4ef;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 30px;
  align-items: start;
}

.detail-main,
.detail-side {
  background: var(--white);
  border: 1px solid var(--line);
}

.detail-main {
  padding: clamp(24px, 4vw, 42px);
}

.detail-main h2 {
  margin-top: 30px;
  font-size: clamp(24px, 3vw, 34px);
}

.detail-main h2:first-child {
  margin-top: 0;
}

.detail-main p,
.detail-main li,
.detail-side p {
  color: var(--muted);
}

.detail-side {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-left: 5px solid var(--amber);
}

.detail-side strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

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

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 10px 0;
  }

  .site-nav.open a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

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

  .site-nav.open .nav-product-trigger {
    justify-content: space-between;
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.open .nav-product-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 4px 0 8px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav.open .nav-product-menu a {
    padding: 10px 0;
  }

  .site-nav.open .nav-product-menu a:hover {
    background: transparent;
  }

  .hero,
  .pain-layout,
  .diagnosis-layout,
  .path-layout,
  .contact-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .about-grid,
  .diagnosis-form,
  .qa-list,
  .organ-map {
    grid-template-columns: 1fr;
  }

  section {
    padding: 56px 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .site-footer {
    flex-direction: column;
  }

  .detail-side {
    position: static;
  }

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

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

  .qa-article-sidebar a {
    font-size: 16px;
  }

  .diagnosis-layout {
    align-items: stretch;
  }

  .pain-copy h2 {
    font-size: 52px;
  }

  .pain-copy h3 {
    font-size: 30px;
  }

}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

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

  h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  h2 {
    font-size: 28px;
  }

  .hero-subtitle {
    white-space: normal;
  }

  .hero-copy {
    font-size: 16px;
  }

  .pain-layout {
    gap: 24px;
  }

  .pain-visual img {
    border-radius: 14px;
  }

  .pain-copy h2 {
    font-size: 42px;
  }

  .pain-copy h3 {
    margin-bottom: 20px;
    font-size: 25px;
  }

  .pain-list {
    gap: 10px;
    font-size: 16px;
  }

  .hero-tertiary > span {
    white-space: normal;
  }

  .hero-image-stack {
    display: flex;
    height: auto;
    gap: 12px;
    margin: 8px -18px 0;
    padding: 12px 18px 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .hero-image-stack .stack-card,
  .hero-image-stack .stack-card-1,
  .hero-image-stack .stack-card-2,
  .hero-image-stack .stack-card-3,
  .hero-image-stack .stack-card-4,
  .hero-image-stack .stack-card-5,
  .hero-image-stack .stack-card-6,
  .hero-image-stack .stack-card-1:hover,
  .hero-image-stack .stack-card-2:hover,
  .hero-image-stack .stack-card-3:hover,
  .hero-image-stack .stack-card-4:hover,
  .hero-image-stack .stack-card-5:hover,
  .hero-image-stack .stack-card-6:hover {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 82%;
    width: 82%;
    transform: none;
    scroll-snap-align: center;
  }

  .hero-image-stack:hover .stack-card {
    filter: none;
  }

  .hero-image-stack .stack-card:hover {
    transform: translateY(-2px);
  }

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

  .diagnosis-panel {
    padding: 20px;
    border-radius: 18px;
  }

  .diagnosis-page {
    padding-top: 24px;
  }

  .diagnosis-page .diagnosis-layout {
    gap: 18px;
  }

  .diagnosis-page .diagnosis-visual img {
    width: 100%;
    max-height: 210px;
    object-fit: cover;
    object-position: center 36%;
    border-radius: 18px;
  }

  .diagnosis-panel h2 {
    margin-bottom: 20px;
    font-size: 26px;
  }

  .diagnosis-form {
    gap: 14px;
  }

  .page-hero {
    padding-top: 48px;
    padding-bottom: 46px;
  }

  .page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .qa-category-hero {
    padding-top: 56px;
    padding-bottom: 52px;
  }

  .qa-article-page {
    padding: 48px 20px 64px;
  }

  .qa-article {
    padding: 0;
  }

  .qa-article p,
  .related-list a {
    font-size: 17px;
    line-height: 1.85;
  }

  .qa-article h1 {
    font-size: 21px;
    line-height: 1.5;
  }

  .qa-article h2 {
    font-size: 17px;
    line-height: 1.85;
  }

  .back-link,
  .qa-article-meta,
  .qa-keywords,
  .qa-keywords a {
    font-size: 14px;
    line-height: 1.75;
  }

  .article-flow-nav,
  .related-columns {
    grid-template-columns: 1fr;
  }

  .article-flow-nav {
    gap: 10px;
  }

  .article-flow-nav a:last-child {
    text-align: left;
  }

  .related-columns::before {
    display: none;
  }

  .related-column + .related-column {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .qa-article-cta .primary-button {
    width: 100%;
  }

  .contact-section {
    gap: 28px;
    padding: 68px 20px 76px;
  }

  .contact-copy {
    gap: 18px;
  }

  .contact-copy h2 {
    font-size: 41px;
    line-height: 1.18;
  }

  .contact-copy p {
    font-size: 19px;
    line-height: 1.62;
  }

  .contact-copy .primary-button {
    min-height: 56px;
    font-size: 19px;
  }

  .contact-qr img {
    width: 168px;
    min-width: 0;
  }

}
