/* artiwellhealth.com
   바탕은 리넨, 카드는 흰색, 강조는 아티웰 블루 #2F5FD0 (로고 가이드 v1.0)
   Myoscape 앱과 같은 결: 리넨 바탕 · 왼쪽 분홍 / 오른쪽 하늘 빛 번짐 · 흰 카드와 옅은 그림자
   글꼴: Pretendard 400 · 500 · 600 */

@font-face { font-family: "Pretendard A"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/pretendard-400.woff2?v=d2308360") format("woff2"); }
@font-face { font-family: "Pretendard A"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/pretendard-500.woff2?v=74b53be7") format("woff2"); }
@font-face { font-family: "Pretendard A"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/pretendard-600.woff2?v=c9420f79") format("woff2"); }
/* 문구를 고쳐서 새 글자가 생기면 이 파일이 그때만 내려받아진다 (한글 2,350자) */
@font-face { font-family: "Pretendard B"; font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+AC00-D7A3, U+3131-318E; src: url("../fonts/pretendard-400-ext.woff2?v=3a59d59e") format("woff2"); }
@font-face { font-family: "Pretendard B"; font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+AC00-D7A3, U+3131-318E; src: url("../fonts/pretendard-500-ext.woff2?v=a66717b3") format("woff2"); }
@font-face { font-family: "Pretendard B"; font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+AC00-D7A3, U+3131-318E; src: url("../fonts/pretendard-600-ext.woff2?v=5feb3689") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #F4F2EF;
  --paper: #FFFFFF;
  --ink: #16181D;
  --ink-2: #5A5F69;
  --blue: #2F5FD0;
  --blue-on: #2850B6;
  --sky: #A9C2F2;
  --chip: #ECEAE6;
  --rose: #F0DDDF;
  --mist: #DCE0F0;
  --up: #2F5FD0;
  --down: #B35708;
  --line: rgba(22, 24, 29, .12);
  --shadow: 0 10px 40px rgba(31, 34, 44, .07);
  --shadow-lg: 0 28px 60px rgba(31, 34, 44, .15);
  --gutter: clamp(20px, 4.4vw, 64px);
  --font: "Pretendard A", "Pretendard B", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h2, h3 { font: inherit; }
p { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 1rem; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1312px; margin-inline: auto; padding-inline: var(--gutter); }
.ext { display: inline-block; width: .6em; height: .6em; margin-left: .34em; vertical-align: .06em; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.br-m { display: none; }
@media (min-width: 900px) { .br-m { display: inline; } }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border-radius: 16px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: background-color .2s, box-shadow .2s; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-on); }
.btn--line { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--bg); }
.btn--white { background: var(--paper); color: var(--blue); }
.btn--white:hover { background: #EEF2FB; }
.btn--sm { height: 44px; padding: 0 22px; border-radius: 14px; }

/* ── 머리줄: 떠 있는 흰 막대 ─────────────────────────────────────────────── */
.hd { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: var(--gutter); pointer-events: none; }
.hd__in { pointer-events: auto; max-width: 1312px; margin-inline: auto; height: 60px; display: flex; align-items: center; padding: 0 8px 0 24px; background: var(--paper); border-radius: 20px; box-shadow: 0 8px 30px rgba(31, 34, 44, .08); }
.brand { display: block; flex: none; }
.brand img { width: 118px; height: auto; }
.nav { display: flex; gap: clamp(20px, 2.4vw, 34px); margin-left: clamp(28px, 4.4vw, 60px); font-size: 1rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 6px 0; transition: color .2s; }
.nav a:hover { color: var(--blue); }
.hd__r { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.lang { display: flex; gap: 12px; font-size: .875rem; font-weight: 500; letter-spacing: .02em; }
.lang a, .lang span { text-decoration: none; padding: 6px 0; }
.lang span { font-weight: 600; }
.lang a { color: var(--ink-2); transition: color .2s; }
.lang a:hover { color: var(--ink); }

/* ── 첫 화면 ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(112px, 9.2vw, 136px) 0 clamp(56px, 6vw, 88px);
  background:
    radial-gradient(900px 520px at 12% 40%, var(--rose) 0%, rgba(240, 221, 223, 0) 70%),
    radial-gradient(900px 620px at 88% 30%, var(--mist) 0%, rgba(220, 224, 240, 0) 70%),
    var(--bg); }
.hero__copy { position: relative; text-align: center; padding-inline: var(--gutter); }
.hero h1 { font-size: clamp(2.5rem, 5.3vw, 4.75rem); line-height: 1.16; font-weight: 600; letter-spacing: -.03em; }
.hero__sub { margin: clamp(18px, 2vw, 26px) auto 0; max-width: 31em; font-size: clamp(1.0625rem, 1.36vw, 1.1875rem); line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: clamp(26px, 2.6vw, 34px); }

.stage { --pw: clamp(214px, 18.4vw, 264px); position: relative; height: calc(var(--pw) * 2.1734); max-width: 1180px; margin: clamp(40px, 3.6vw, 52px) auto 0; }
.phone { position: relative; overflow: hidden; background: #F4F2EF; border: 7px solid var(--paper); border-radius: 40px; box-shadow: var(--shadow-lg); }
.phone img { width: 100%; height: auto; }
.stage .phone { position: absolute; left: 50%; top: 0; width: var(--pw); transform: translateX(-50%); }
.float { position: absolute; background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); }

/* 클리노바: 말 → 차트 */
.chart { padding: 16px 18px 18px; font-size: .875rem; line-height: 1.55; text-align: left; }
.chart__h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .875rem; color: var(--ink-2); }
.chart__h img { width: 66px; height: auto; }
.chart dl { margin: 0; display: grid; grid-template-columns: 2em minmax(0, 1fr); row-gap: 7px; }
.chart dt { font-weight: 600; }
.say { display: inline-block; padding: 9px 14px; border-radius: 16px; background: #6E717B; color: #fff; font-size: .875rem; line-height: 1.45; text-align: left; }
.stage .chart { right: calc(50% + var(--pw) * .5 + clamp(18px, 2.4vw, 36px)); top: 27%; width: clamp(248px, 21.6vw, 304px); }
.stage .say { position: absolute; right: calc(50% + var(--pw) * .5 + clamp(120px, 12vw, 170px)); top: 12%; max-width: 15em; }
/* 마이오스케이프: 근육 길이 변화 */
.lens { padding: 14px 18px; font-size: .875rem; line-height: 1.5; text-align: left; }
.lens__h { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--ink-2); }
.lens__h img { width: 20px; height: 20px; border-radius: 22.5%; }
.lens__h b { color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.lens li { display: flex; justify-content: space-between; gap: 18px; padding: 5px 0; }
.lens li + li { border-top: 1px solid var(--line); }
.lens b { font-weight: 600; }
.up { color: var(--up); }
.down { color: var(--down); }
.stage .lens { left: calc(50% + var(--pw) * .5 + clamp(18px, 2.4vw, 36px)); top: 17%; width: clamp(216px, 19vw, 264px); }

/* ── 미션 · 회사: 가운데 큰 문장 ─────────────────────────────────────────── */
.sec { padding-top: clamp(88px, 10.5vw, 152px); }
.hero + .sec { padding-top: clamp(40px, 5vw, 72px); }
.center { text-align: center; }
.label { font-size: 1rem; line-height: 1.5; font-weight: 600; color: var(--ink-2); }
.big { margin: clamp(14px, 1.6vw, 22px) auto 0; max-width: 26em; font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.4; font-weight: 600; letter-spacing: -.026em; text-wrap: balance; }
.body { margin: clamp(22px, 2.4vw, 32px) auto 0; max-width: 36em; }
.note { margin-top: clamp(18px, 2vw, 26px); font-size: .875rem; line-height: 1.6; color: var(--ink-2); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .24em; transition: color .2s; }
.link:hover { color: var(--blue); }
sup { font-size: .62em; line-height: 0; vertical-align: .62em; margin-left: .1em; font-weight: 500; }

/* ── 제품 ──────────────────────────────────────────────────────────────── */
.title { font-size: clamp(1.75rem, 3.4vw, 3rem); line-height: 1.25; font-weight: 600; letter-spacing: -.028em; }
.title + p { margin: 14px auto 0; max-width: 30em; color: var(--ink-2); }
.prow { display: grid; gap: clamp(32px, 5vw, 48px); align-items: center; margin-top: clamp(56px, 7vw, 104px); text-decoration: none; }
.prow__logo { width: clamp(150px, 15vw, 196px); height: auto; margin-left: -3px; }
.prow__lockup { display: flex; align-items: center; gap: 12px; }
.prow__lockup img { width: clamp(46px, 4.2vw, 58px); height: auto; border-radius: 22.5%; }
.prow__lockup span { font-size: clamp(1.875rem, 2.8vw, 2.5rem); line-height: 1; font-weight: 600; letter-spacing: -.03em; padding-bottom: .08em; }
.prow h3 { margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(1.5rem, 2.7vw, 2.375rem); line-height: 1.3; font-weight: 600; letter-spacing: -.026em; text-wrap: balance; }
.prow__desc { margin-top: clamp(14px, 1.6vw, 20px); max-width: 28em; }
.prow__meta { margin-top: clamp(20px, 2.2vw, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 1rem; }
.tag { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 12px; background: var(--chip); color: var(--ink); font-size: .875rem; font-weight: 500; }
.more { color: var(--blue); font-weight: 600; white-space: nowrap; }
a.prow:hover .more { text-decoration: underline; text-underline-offset: .24em; }
a.prow:hover .ext { transform: translate(2px, -2px); }

.vis { position: relative; border-radius: 32px; background:
    radial-gradient(520px 360px at 14% 24%, var(--rose) 0%, rgba(240, 221, 223, 0) 72%),
    radial-gradient(560px 420px at 90% 80%, var(--mist) 0%, rgba(220, 224, 240, 0) 72%),
    #EFECE7; }
/* 클리노바 그림: 진료실에서 한 말 → 차트 */
.vis--talk { display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 44px); }
.talk { display: grid; gap: 10px; justify-items: start; }
.talk .say:nth-child(2) { justify-self: end; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.say small { display: block; margin-bottom: 1px; font-size: .875rem; opacity: .72; }
.vis--talk .chart { position: relative; padding: 20px 22px 22px; font-size: 1rem; border-radius: 22px; }
.vis--talk .chart dl { row-gap: 9px; }
.vis__cap { font-size: .875rem; color: var(--ink-2); }
/* 마이오스케이프 그림: 실제 앱 화면 둘 */
.vis--phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2vw, 26px); padding: clamp(28px, 4vw, 52px) clamp(18px, 3vw, 40px) 0; overflow: hidden; max-height: clamp(420px, 44vw, 600px); }
.vis--phones .phone { flex: 0 1 262px; min-width: 0; border-radius: 36px; }
.vis--phones .phone + .phone { margin-top: clamp(28px, 4vw, 56px); }

@media (min-width: 900px) {
  .prow { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(40px, 6vw, 96px); }
  .prow--rev .prow__text { order: 2; }
  .prow--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

/* ── 회사 ──────────────────────────────────────────────────────────────── */
.about { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(28px, 4vw, 56px); padding: clamp(26px, 4vw, 52px); background: var(--paper); border-radius: 32px; box-shadow: var(--shadow); text-align: left; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.mark { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; }
.mark img { width: 64px; height: auto; margin-top: 4px; }
.mark p { max-width: 24em; }
.facts { border-top: 1px solid var(--line); font-size: 1rem; line-height: 1.6; }
.facts > div { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 0 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); }
.facts dd { text-wrap: balance; }

/* ── 문의: 블루 한 면 ───────────────────────────────────────────────────── */
.contact { margin-top: clamp(88px, 10.5vw, 152px); }
.contact__in { display: grid; gap: clamp(28px, 4vw, 48px); padding: clamp(32px, 5.4vw, 76px); border-radius: 36px; background: var(--blue); color: #fff; }
.contact ::selection { background: #fff; color: var(--blue); }
.contact :focus-visible { outline-color: #fff; }
.contact .label { color: rgba(255, 255, 255, .86); }
.contact__t { margin-top: 12px; font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.34; font-weight: 600; letter-spacing: -.026em; text-wrap: balance; }
.contact__mail { display: inline-block; font-size: clamp(1.25rem, 2.5vw, 2.125rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; text-decoration: underline; text-decoration-thickness: .05em; text-underline-offset: .2em; word-break: break-all; transition: text-decoration-color .2s; }
.contact__mail:hover { text-decoration-color: var(--sky); }
.contact__r { display: grid; gap: 22px; justify-items: start; align-content: end; }
@media (min-width: 900px) { .contact__in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; } .contact__r { justify-items: end; text-align: right; } }

/* ── 바닥글 ────────────────────────────────────────────────────────────── */
.ft { padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 56px); font-size: .875rem; line-height: 1.75; color: var(--ink-2); }
.ft__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 40px; }
.ft__logo { width: 132px; height: auto; margin-bottom: 18px; }
.ft a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.ft a:hover { color: var(--ink); }
.ft__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ft__credit { margin-top: 10px; max-width: 34em; }
.ft__credit a { white-space: nowrap; }
@media (min-width: 900px) { .ft__r { text-align: right; } .ft__r .ft__links { justify-content: flex-end; } .ft__credit { margin-left: auto; } }

/* ── 작은 화면 ──────────────────────────────────────────────────────────── */
@media (max-width: 899px) {
  .nav { display: none; }
  .stage { height: auto; padding: 0 var(--gutter); display: grid; gap: 14px; justify-items: center; }
  .stage .phone, .stage .chart, .stage .say, .stage .lens { position: relative; left: auto; right: auto; top: auto; transform: none; }
  .stage .phone { order: 3; width: min(70vw, 264px); margin-top: 10px; }
  .stage .say { order: 1; justify-self: start; }
  .stage .chart { order: 2; width: min(100%, 340px); justify-self: start; }
  .stage .lens { order: 2; width: min(100%, 250px); justify-self: end; margin-top: -6px; }
}
@media (max-width: 719px) {
  body { font-size: 1.0625rem; }
  .hd { top: 10px; }
  .hd__in { height: 56px; padding: 0 6px 0 16px; border-radius: 18px; }
  .brand img { width: 104px; }
  .btn--sm { height: 44px; padding: 0 16px; }
  .vis--phones .phone { border-width: 5px; border-radius: 28px; }
  .phone { border-width: 6px; border-radius: 34px; }
}

/* ── 움직임: 첫 화면에서 한 번만 ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__sub { animation-delay: .06s; }
  .hero__cta { animation-delay: .12s; }
  .stage > * { animation: rise 1s cubic-bezier(.2, .7, .2, 1) .18s both; }
  .stage .phone { animation-name: rise-c; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: .4; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .vis, .about, .contact__in { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% entry 42%; }
  }
}
@keyframes rise-c { from { opacity: 0; transform: translate(-50%, 22px); } to { opacity: 1; transform: translateX(-50%); } }
@media (max-width: 899px) { @keyframes rise-c { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media print { .hd { position: static; } .contact__in { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
