/* 메디비서 병원용 공개 화면(랜딩·요금·무료 진단·가입).
   토큰: 밤 네이비(첫 화면·시연) + 도자기 흰색(본문) + 두 신호색(돈 = 앰버, 시스템 = 라이브 블루).
   글꼴: 한글 Pretendard(가독성), 숫자·영문 UI 는 IBM Plex Sans(엔지니어링 인상, 고정폭 숫자).
   과감함은 첫 화면 시연과 성장 숫자에만 쓴다. 나머지는 조용하게. 이모지 없음. */

:root {
  --night: #071428;
  --night-2: #0c1f3d;
  --night-3: #13305a;
  --porcelain: #f6f7f9;
  --white: #ffffff;
  --ink: #0a1a33;
  --text: #24314a;
  --muted: #5a677c;
  --faint: #8792a4;
  --rule: #dfe4ec;
  --rule-2: #eceff4;
  --amber: #e2a03f;       /* 돈·수익 */
  --amber-ink: #9b6316;
  --amber-soft: #fbf1e1;
  --live: #4d9bff;        /* 시스템이 움직이는 것 */
  --live-soft: #e8f1ff;
  --ok: #19a06b;
  --ok-soft: #e5f6ee;
  --danger: #c2372d;
  --r: 16px;
  --sans: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
          "Malgun Gothic", "Noto Sans KR", sans-serif;
  --num: "IBM Plex Sans", "Pretendard Variable", "Pretendard", sans-serif;
  --jp: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Pretendard Variable", sans-serif;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.mk { margin: 0; background: var(--porcelain); color: var(--text); font-family: var(--sans); font-size: 17px;
  line-height: 1.72; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; word-break: keep-all;
  overflow-wrap: anywhere; }
.mk h1, .mk h2, .mk h3 { margin: 0; color: var(--ink); line-height: 1.28; letter-spacing: -.028em; font-weight: 800; text-wrap: balance; }
.mk .sub, .mk .lead { text-wrap: pretty; }
.mk p { margin: 0; }
.mk a { color: inherit; }
.mk :focus-visible { outline: 3px solid var(--live); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 99; background: #fff; color: var(--ink); padding: 10px 14px; }
.skip:focus { left: 14px; }
.n { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

/* --- 머리 ------------------------------------------------------------------ */
.mk-head { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.mk-head.solid { position: sticky; background: rgba(246, 247, 249, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule-2); }
.mk-head .wrap { display: flex; align-items: center; gap: 30px; height: 72px; }
.mk .logo { color: var(--white); }
.mk .mk-head.solid .logo { color: var(--ink); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.035em;
  text-decoration: none; color: var(--white); }
.mk-head.solid .logo { color: var(--ink); }
.logo svg { width: 26px; height: 26px; }
.mk-nav { display: flex; gap: 26px; font-size: 15px; }
.mk-nav a { text-decoration: none; color: rgba(255, 255, 255, .72); }
.mk-nav a:hover { color: var(--white); }
.mk-head.solid .mk-nav a { color: var(--muted); }
.mk-head.solid .mk-nav a:hover { color: var(--ink); }
.mk-head .grow { flex: 1; }
.mk-head .login { font-size: 15px; text-decoration: none; color: rgba(255, 255, 255, .72); }
.mk-menu { display: none; position: relative; }
.mk-menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 10px; display: grid; place-content: center; gap: 5px;
  border: 1px solid rgba(255, 255, 255, .25); }
.mk-menu summary::-webkit-details-marker { display: none; }
.mk-menu summary span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; }
.mk-head.solid .mk-menu summary { border-color: var(--rule); }
.mk-head.solid .mk-menu summary span { background: var(--ink); }
.mk-menu nav { position: absolute; right: 0; top: 54px; min-width: 220px; background: var(--white); border-radius: 14px; padding: 8px;
  box-shadow: 0 24px 60px rgba(7, 20, 40, .35); display: grid; }
.mk-menu nav a { padding: 13px 14px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 16.5px; font-weight: 600; }
.mk-menu nav a:hover { background: var(--porcelain); }
.mk-menu nav .login-m { border-top: 1px solid var(--rule-2); margin-top: 4px; color: var(--muted); }
.mk-menu nav .go-m { display: none; background: var(--amber); color: #1d1405; text-align: center; margin-top: 6px; }
.mk-head .logo, .mk-head .btn.sm { white-space: nowrap; }
.mk-head.solid .login { color: var(--muted); }

/* --- 버튼 ------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px;
  border-radius: 12px; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, box-shadow .15s, transform .15s; letter-spacing: -.01em; }
.btn:active { transform: translateY(1px); }
.btn.go { background: var(--amber); color: #1d1405; box-shadow: 0 10px 30px rgba(226, 160, 63, .28); }
.btn.go:hover { background: #ebad52; }
.btn.line { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .28); }
.btn.line:hover { border-color: rgba(255, 255, 255, .6); }
.btn.ink { background: var(--ink); color: var(--white); }
.btn.ink:hover { background: var(--night-3); }
.btn.ghost { background: var(--white); color: var(--ink); border-color: var(--rule); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn.block { width: 100%; }


/* --- 성장 숫자(해마다 커지는 숫자) ------------------------------------------------- */
.growth { background: var(--night); color: #c7d2e4; padding: 110px 0 100px; position: relative; overflow: hidden; border-top: 1px solid rgba(255,255,255,.06); }
.growth h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 48px); max-width: 860px; }
.growth .sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: #a9b8d0; max-width: 760px; }
.years { margin-top: 64px; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, .8fr) minmax(0, 1.25fr); gap: 28px; align-items: end; }
.yr { border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 22px; }
.yr .y { font-family: var(--num); font-size: 15px; color: #8597b4; font-weight: 600; }
.yr .v { font-family: var(--num); font-weight: 700; color: var(--white); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums;
  margin-top: 10px; font-size: 40px; transition: font-size 1.4s cubic-bezier(.2, .8, .2, 1), color .6s; }
.yr .v small { font-family: var(--sans); font-size: .4em; font-weight: 700; margin-left: 4px; letter-spacing: -.02em; }
.yr.big .v { color: var(--amber); }
.yr .d { margin-top: 10px; font-size: 14.5px; color: #a9b8d0; }
.grow-on .yr:nth-child(1) .v { font-size: clamp(40px, 4vw, 54px); }
.grow-on .yr:nth-child(2) .v { font-size: clamp(54px, 5.6vw, 78px); }
.grow-on .yr:nth-child(3) .v { font-size: clamp(72px, 8.6vw, 124px); }
.share { margin-top: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.share > div { padding: 26px 26px 0 0; }
.share > div + div { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .12); }
.share b { display: block; font-family: var(--num); font-size: clamp(34px, 3.4vw, 46px); color: var(--white); letter-spacing: -.03em; line-height: 1.05; }
.share > div > span { display: block; margin-top: 8px; font-size: 15px; color: #a9b8d0; }
.share b span { display: inline; font: inherit; color: inherit; margin: 0; }
.nations { margin-top: 56px; }
.nations .row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 14px; align-items: center; margin-top: 12px; font-size: 15px; }
.nations .tr { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.nations .tr i { display: block; height: 100%; width: 0; border-radius: 999px; background: #3a5f93; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.nations .row.jp .tr i { background: var(--amber); }
.nations .row b { text-align: right; font-family: var(--num); color: var(--white); }
.growth .src { color: #6f83a3; }

/* --- 공통 섹션 ---------------------------------------------------------------------- */
/* 광고 영상 띠 */
.film { background: var(--night); padding: 0 0 110px; }
.film-frame { position: relative; border-radius: 22px; overflow: hidden; background: #02060d; box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.07);
  aspect-ratio: 16 / 9; }
.film-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-sound { position: absolute; right: 16px; bottom: 16px; border: 0; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 700;
  color: #fff; background: rgba(7,20,40,.62); backdrop-filter: blur(8px); cursor: pointer; }
.film-sound:hover { background: rgba(7,20,40,.82); }
.film-sound[aria-pressed="true"] { background: var(--amber); color: #1d1405; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .film { padding-bottom: 72px; }
  .film-frame { aspect-ratio: 9 / 16; max-height: 82vh; margin: 0 auto; max-width: calc(82vh * 9 / 16); border-radius: 18px; }
}
.sec { padding: 112px 0; }
.sec.white { background: var(--white); }
.sec h2 { font-size: clamp(30px, 3.5vw, 46px); }
.sec .sub { margin-top: 16px; font-size: clamp(17px, 1.45vw, 19.5px); color: var(--muted); max-width: 720px; }
.src { font-size: 13px; color: var(--faint); margin-top: 26px; line-height: 1.7; }
.src a { color: inherit; }

/* 아픈 곳 두 개(병원 두 부류) */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 2px solid var(--ink); }
.pain { padding: 40px 44px 44px 0; }
.pain + .pain { padding: 40px 0 44px 44px; border-left: 1px solid var(--rule); }
.pain .who { font-size: 15px; font-weight: 700; color: var(--amber-ink); }
.pain h3 { font-size: clamp(25px, 2.5vw, 33px); margin-top: 12px; line-height: 1.32; }
.pain .now { margin-top: 18px; font-size: 16.5px; color: var(--muted); }
.pain .fix { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--rule); font-size: 17px; color: var(--ink); font-weight: 600; }
.pain .fix b { color: var(--ok); }

/* 계산기 */
.calc { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(10, 26, 51, .16); }
.calc-in { background: var(--white); padding: 44px 40px; }
.calc-out { background: var(--night-2); color: #c7d2e4; padding: 44px 40px; }
.calc .row + .row { margin-top: 32px; }
.calc .lab { display: block; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.calc label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink); font-size: 16.5px; }
.calc label output { font-family: var(--num); color: var(--amber-ink); font-weight: 700; }
.calc input[type=range] { width: 100%; margin-top: 16px; accent-color: var(--amber); height: 28px; }
.calc .plans { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.calc .plans label { font-weight: 600; font-size: 15px; border: 1px solid var(--rule); border-radius: 10px; padding: 9px 16px; cursor: pointer; color: var(--text); }
.calc .plans input { position: absolute; opacity: 0; pointer-events: none; }
.calc .plans label:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.calc .plans label:has(input:focus-visible) { outline: 3px solid var(--live); outline-offset: 2px; }
.calc-out .ln { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 16px; }
.calc-out .ln b { font-family: var(--num); color: var(--white); font-size: 19px; font-variant-numeric: tabular-nums; }
.calc-out .ln.bad b { color: #ff8b7f; }
.calc-out .big { margin-top: 30px; }
.calc-out .big .k { font-size: 16px; color: #a9b8d0; }
.calc-out .big .v { font-family: var(--num); font-size: clamp(40px, 4.4vw, 60px); font-weight: 700; color: var(--amber); letter-spacing: -.035em; line-height: 1.1;
  font-variant-numeric: tabular-nums; }
.calc-out .big .y { font-size: 16px; color: #dfe7f3; margin-top: 6px; }
.calc-out .fine { font-size: 13px; color: #7f92b0; margin-top: 26px; line-height: 1.65; }

/* 환자가 보는 화면 / 원장님이 보는 화면 */
.two-views { margin-top: 56px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.view h3 { font-size: 23px; }
.view .d { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.view ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; }
.view li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.view li svg { width: 18px; height: 18px; margin-top: 4px; stroke: var(--ok); fill: none; stroke-width: 2.4; }
.device { margin-top: 26px; border-radius: 22px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 24px 60px rgba(10, 26, 51, .12); overflow: hidden; }
.pt-site { font-family: var(--jp); }
.pt-hero { background: linear-gradient(160deg, #eef3f8, #f8f5ef); padding: 22px; }
.pt-hero .nm { font-size: 13px; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.pt-hero h4 { margin: 8px 0 0; font-size: 19px; color: var(--ink); line-height: 1.45; }
.pt-hero .price { margin-top: 10px; font-size: 13px; color: var(--text); }
.pt-hero .price b { font-family: var(--num); }
.pt-doc { display: flex; gap: 12px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--rule-2); font-size: 13px; }
.pt-doc i { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #d9e2ef, #b8c6da); flex: none; }
.pt-faq { padding: 4px 22px 18px; font-size: 13px; color: var(--muted); }
.pt-faq div { padding: 10px 0; border-top: 1px solid var(--rule-2); }
.pt-chat { margin: 0 16px 16px; background: var(--night-2); color: var(--white); border-radius: 14px; padding: 12px 14px; font-size: 13px; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pt-chat span { font-family: var(--sans); font-size: 12px; color: #a9c4ee; }
.cl-dash { padding: 20px; }
.cl-dash .hd { display: flex; justify-content: space-between; align-items: baseline; }
.cl-dash .hd b { font-size: 17px; color: var(--ink); }
.cl-dash .hd span { font-size: 12.5px; color: var(--faint); }
.attr { margin-top: 16px; width: 100%; border-collapse: collapse; font-size: 13.5px; }
.attr th { text-align: left; font-size: 12px; color: var(--faint); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.attr td { padding: 11px 10px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.attr td.jp { font-family: var(--jp); color: var(--ink); }
.attr td.n { text-align: right; font-weight: 700; color: var(--ink); }
.attr tr.top td { background: #f5f9ff; }

/* 안심 */
.trust { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.trust > div { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--rule); }
.trust > div:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--rule); }
.trust h3 { font-size: 20px; }
.trust p { margin-top: 8px; color: var(--muted); font-size: 16px; }

/* 요금 */
.price-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--rule); border-radius: 22px; background: var(--white); overflow: hidden; }
.pcol { padding: 36px 30px; display: flex; flex-direction: column; position: relative; }
.pcol + .pcol { border-left: 1px solid var(--rule); }
.pcol.rec { background: var(--night-2); color: #c7d2e4; }
.pcol.rec h3, .pcol.rec .amt b { color: var(--white); }
.pcol .badge { position: absolute; top: 14px; right: 18px; font-size: 13px; font-weight: 800; color: #1d1405; background: var(--amber); border-radius: 999px; padding: 3px 12px; }
.pcol h3 { font-size: 24px; }
.pcol .tl { margin-top: 6px; font-size: 15px; color: var(--muted); min-height: 50px; }
.pcol.rec .tl { color: #a9b8d0; }
.pcol .amt { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.pcol .amt b { font-family: var(--num); font-size: 46px; font-weight: 700; color: var(--ink); letter-spacing: -.04em; }
.pcol .amt span { font-size: 16px; }
.pcol .annual { font-size: 14px; color: var(--amber-ink); margin-top: 2px; }
.pcol.rec .annual { color: var(--amber); }
/* 요금 카드: 첫 결제(세팅비 포함)와 그다음 달부터 매달 내는 금액을 한눈에 */
.pcol .bill { margin-top: 20px; padding: 16px 0 14px; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); display: grid; gap: 6px; }
.pcol.rec .bill { border-color: rgba(255, 255, 255, .12); }
.pcol .bill-first, .pcol .bill-next { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pcol .bill-first span, .pcol .bill-next span { font-size: 15px; font-weight: 700; }
.pcol .bill-first b { font-family: var(--num); font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.pcol .bill-next { margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--rule-2); }
.pcol .bill-next b { font-family: var(--num); font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.pcol .bill-sum { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.pcol .bill .annual { margin: 4px 0 0; }
.pcol .bill-sum span, .pcol .bill .annual span { white-space: nowrap; }
.pcol.rec .bill-first b, .pcol.rec .bill-next b { color: var(--white); }
.pcol.rec .bill-first span, .pcol.rec .bill-next span { color: #e4ebf5; }
.pcol.rec .bill-sum { color: #a9b8d0; }
.pcol.rec .bill-next { border-color: rgba(255, 255, 255, .16); }
.pcol .once { margin-top: 18px; font-size: 14px; display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); }
.pcol.rec .once { border-color: rgba(255, 255, 255, .12); }
.pcol .once div { display: flex; justify-content: space-between; gap: 10px; }
.pcol .once b { font-family: var(--num); font-weight: 600; }
.pcol ul { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 9px; font-size: 15.5px; flex: 1; }
.pcol li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.pcol li svg { width: 17px; height: 17px; margin-top: 5px; stroke: var(--ok); fill: none; stroke-width: 2.4; }
.pcol.rec li svg { stroke: #6fd6a8; }
.terms { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; font-size: 16px; color: var(--text); }
.terms li { position: relative; padding-left: 14px; }
.terms li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.cmp-wrap { overflow-x: auto; margin-top: 44px; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; font-size: 15.5px; }
.cmp th, .cmp td { padding: 16px 18px; border-bottom: 1px solid var(--rule-2); text-align: left; vertical-align: top; }
.cmp thead th { background: #f1f4f8; color: var(--ink); }
.cmp tbody th { color: var(--text); font-weight: 600; width: 16%; white-space: nowrap; }
.cmp td:last-child, .cmp th:last-child { width: 20%; }
.cmp .rec { background: #f6f9ff; }

/* 자주 묻는 질문 */
.faq { margin-top: 44px; border-top: 2px solid var(--ink); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 44px 24px 0; font-weight: 700; font-size: 18.5px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(225deg); }
.faq .a { padding: 0 0 26px; color: var(--muted); font-size: 16.5px; }

/* 마지막 */
.final { background: var(--night); color: #c7d2e4; padding: 110px 0; text-align: center; }
.final h2 { color: var(--white); font-size: clamp(30px, 3.8vw, 50px); }
.final .sub { margin: 18px auto 0; color: #a9b8d0; font-size: clamp(17px, 1.5vw, 20px); max-width: 640px; }
.final .cta { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* 발 */
.mk-foot { background: var(--night); border-top: 1px solid rgba(255, 255, 255, .08); color: #6f83a3; font-size: 14px; padding: 40px 0 52px; }
.mk-foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.mk-foot .biz { line-height: 1.9; }
.mk-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.mk-foot a { color: #a9b8d0; text-decoration: none; }

/* 폼 화면(무료 진단·가입) */
.page-top { background: radial-gradient(900px 400px at 80% 0%, #12305e 0%, transparent 60%), var(--night); color: #c7d2e4; padding: 140px 0 72px; }
.page-top h1 { color: var(--white); font-size: clamp(30px, 3.6vw, 46px); }
.page-top .sub { margin-top: 14px; font-size: 18px; color: #a9b8d0; max-width: 720px; }
.page-top .q { margin: 14px 0 0; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--amber); letter-spacing: -.03em; line-height: 1.35; }
.mk-nav a[aria-current="page"] { color: var(--white); font-weight: 700; }


.sec .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.sec .btn.line { color: var(--ink); border-color: var(--rule); }

/* 왜 지금인가 */
.wrap.narrow { max-width: 900px; }
.sec .body { margin: 20px 0 0; font-size: 18px; color: var(--text); max-width: 780px; }
.sec .body.muted { color: var(--muted); font-size: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.stat { display: flex; flex-direction: column; gap: 10px; background: var(--white); border: 1px solid var(--rule); border-radius: 18px; padding: 26px 24px; }
.stat b { font-family: var(--num); font-size: clamp(36px, 3.4vw, 50px); color: var(--ink); letter-spacing: -.03em; line-height: 1.05; }
.stat b i { font-style: normal; color: var(--faint); font-size: .6em; }
.stat p { margin: 0; font-size: 16px; color: var(--text); }
.stat .s { margin-top: auto; font-size: 12.5px; color: var(--faint); text-decoration: none; line-height: 1.55; }
.stat .s:hover { color: var(--muted); text-decoration: underline; }
.click-cmp { margin-top: 32px; display: grid; gap: 14px; }
.click-cmp div { display: grid; grid-template-columns: 150px minmax(0, 1fr) 56px; gap: 14px; align-items: center; font-size: 15px; color: var(--muted); }
.click-cmp i { display: block; height: 18px; border-radius: 9px; background: #c9d3e2; }
.click-cmp .on i { background: var(--live); }
.click-cmp b { font-family: var(--num); font-size: 20px; color: var(--ink); text-align: right; }

/* 작동 방식 */
.day { list-style: none; margin: 40px 0 0; padding: 0; }
.day li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); }
.day li:last-child { border-bottom: 1px solid var(--rule); }
.day time { font-family: var(--num); font-size: 30px; font-weight: 700; color: #1d5fc4; letter-spacing: -.02em; line-height: 1.2; }
.day li:nth-child(3) time { color: var(--amber-ink); }
.day li:nth-child(4) time { font-family: var(--sans); font-size: 24px; color: var(--ink); }
.day b { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.02em; line-height: 1.45; }
.day p { margin: 8px 0 0; color: var(--muted); font-size: 16.5px; }
.dark-sec { background: var(--night); color: #c7d2e4; }
.dark-sec h2 { color: var(--white); }
.dark-sec .sub { color: #a9b8d0; }
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tech-grid div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: 16px; padding: 24px 26px; }
.tech-grid b { display: block; color: var(--white); font-size: 18px; letter-spacing: -.02em; line-height: 1.45; }
.tech-grid p { margin: 8px 0 0; font-size: 15.5px; color: #a9b8d0; }
@media (max-width: 1080px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .tech-grid { grid-template-columns: 1fr; }
  .day li { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .click-cmp div { grid-template-columns: 110px minmax(0, 1fr) 46px; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 16px 14px; gap: 6px; }
  .stat b { font-size: 28px; }
  .stat p { font-size: 15px; line-height: 1.55; }
  .stat .s { font-size: 11.5px; }
}
.form-card { background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 36px; box-shadow: 0 20px 60px rgba(10, 26, 51, .08); }
.form-card .field { margin-top: 20px; }
.form-card label { display: block; font-weight: 700; color: var(--ink); font-size: 15.5px; margin-bottom: 7px; }
.form-card input[type=text], .form-card input[type=email], .form-card input[type=tel], .form-card input[type=url], .form-card input[type=password], .form-card select {
  width: 100%; min-height: 52px; border: 1px solid #cfd6e1; border-radius: 12px; padding: 0 15px; font: inherit; font-size: 16.5px; background: var(--white); color: var(--ink); }
.form-card input:focus, .form-card select:focus { border-color: var(--live); outline: none; box-shadow: 0 0 0 4px rgba(77, 155, 255, .18); }
.form-card .hint { font-size: 13.5px; color: var(--faint); margin-top: 6px; }
.form-card .agree { margin-top: 20px; border: 1px solid var(--rule); border-radius: 14px; padding: 16px 18px; display: grid; gap: 12px; }
.form-card .agree label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-weight: 500; font-size: 14.5px; color: var(--text); margin: 0; }
.form-card .agree input { margin-top: 5px; width: 17px; height: 17px; accent-color: var(--ink); }
.form-card .btn { margin-top: 26px; width: 100%; }
.errors { background: #fdf0ee; border: 1px solid #f2c9c4; color: var(--danger); border-radius: 14px; padding: 14px 18px; font-size: 15px; margin-top: 18px; }
.errors ul { margin: 0; padding-left: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* 요금: 받는 것 */
.incl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.incl-grid div { border: 1px solid var(--rule); border-radius: 16px; padding: 22px 22px 18px; background: var(--porcelain); }
.incl-grid b { display: block; color: var(--ink); font-size: 18px; letter-spacing: -.02em; line-height: 1.45; }
.incl-grid p { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.fee-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.fee { border: 1px solid var(--rule); border-radius: 16px; padding: 26px; background: var(--white); }
.fee h3 { font-size: 21px; }
.fee ul { margin: 14px 0 0; padding-left: 20px; color: var(--text); font-size: 16.5px; }
.fee li + li { margin-top: 4px; }
.fee .done { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--rule); font-size: 16px; color: var(--text); }
.fee .done span { display: inline-block; margin-right: 8px; font-size: 13px; font-weight: 800; color: #0d6e48; background: var(--ok-soft); border-radius: 6px; padding: 2px 8px; }
.two-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.two-notes > div { border-radius: 16px; padding: 26px; background: var(--amber-soft); border: 1px solid #f0d9b0; }
.two-notes > div + div { background: var(--porcelain); border-color: var(--rule); }
.two-notes h3 { font-size: 20px; }
.two-notes p { margin: 10px 0 0; font-size: 16.5px; color: var(--text); }
.two-notes .btn { margin-top: 16px; }

/* 작동 방식: AI 범위 + 실제 응답 */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.scope > div { border: 1px solid var(--rule); border-radius: 16px; padding: 24px 26px; }
.scope h3 { font-size: 19px; }
.scope ul { margin: 12px 0 0; padding-left: 20px; font-size: 16.5px; color: var(--text); }
.scope li + li { margin-top: 6px; }
.convo { margin-top: 24px; border-radius: 16px; background: var(--porcelain); border: 1px solid var(--rule); padding: 24px 26px; max-width: 860px; }
.convo .who { font-size: 13px; font-weight: 800; color: var(--muted); }
.convo .who.ai { margin-top: 18px; color: #1d5fc4; }
.convo .jp { margin: 6px 0 0; font-family: var(--jp); font-size: 16.5px; color: var(--ink); }
.convo .ko { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.convo .cap { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; }

/* 환자 화면 예시: 시술 설명·가격 기준·의료진·위치·언어·문의 버튼 */
.pt-desc { margin: 8px 0 0; font-size: 13.5px; color: var(--text); line-height: 1.7; }
.pt-rows { padding: 6px 22px 10px; font-size: 13px; color: var(--text); }
.pt-rows div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rule-2); }
.pt-rows span { color: var(--faint); font-weight: 600; }
.pt-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px 16px 16px; }
.pt-btns b { text-align: center; font-size: 13px; color: var(--white); border-radius: 10px; padding: 10px 6px; }
.pt-btns .line { background: #06c755; }
.pt-btns .wa { background: #1fa855; }
.pt-btns .web { background: var(--night-2); }
.pt-note { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1080px) { .incl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .incl-grid, .fee-grid, .two-notes, .scope { grid-template-columns: 1fr; }
  .yr { padding-left: 10px; }
}

/* --- 반응형 ------------------------------------------------------------------------------ */
@media (max-width: 1080px) {
  .mk-nav { display: none; }
  .mk-menu { display: block; }
  .mk-head .login { display: none; }
  .two-views, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body.mk { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  /* 숫자는 세로로 길게 늘이지 않고 한 줄 추이로 압축한다 */
  .years { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .yr .v { font-size: 30px !important; white-space: nowrap; }
  .yr .v small { font-size: 12px; margin-left: 2px; }
  .grow-on .yr:nth-child(3) .v, .yr.big .v { font-size: 38px !important; }
  .yr .d { font-size: 12.5px; line-height: 1.5; }
  .growth .src { margin-top: 30px; }
  .share { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .share > div + div { padding-left: 10px; }
  .share > div { padding: 18px 0 6px; }
  .share b { font-size: 26px !important; }
  .share > div > span { font-size: 13px; }
  .stat p, .day p, .tech-grid p { font-size: 16px; }
  .terms { font-size: 16px; }
  .pains { grid-template-columns: 1fr; }
  .pain, .pain + .pain { padding: 34px 0; border-left: 0; }
  .pain + .pain { border-top: 1px solid var(--rule); }
  .trust { grid-template-columns: 1fr; }
  .trust > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .pcol + .pcol { border-left: 0; border-top: 1px solid var(--rule); }
  .terms { grid-template-columns: 1fr; }
  .calc-in, .calc-out { padding: 32px 22px; }
  .sec, .growth, .final { padding: 80px 0; }
  .mk-foot .wrap { grid-template-columns: 1fr; }
  .mk-head .login { display: none; }
}
@media (max-width: 480px) {
  .mk-head .wrap { gap: 12px; }
  .mk-head .btn.go.sm { display: none; }
  .mk-menu nav .go-m { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live .dot { animation: none; }
  .yr .v, .nations .tr i { transition: none; }
}

/* ===================== E1 검수 반영(2차) ===================== */
/* 대비: 밝은 바탕의 연한 글씨를 AA 기준으로 */
:root { --faint: #647084; }
html { scroll-padding-top: 84px; }

/* 머리띠가 따라온다. 내려가면 바탕을 깐다 */
.mk-head { position: fixed; transition: background .2s ease, border-color .2s ease; border-bottom: 1px solid transparent; }
.mk-head.scrolled { background: rgba(7, 20, 40, .94); backdrop-filter: blur(10px); border-bottom-color: rgba(255, 255, 255, .08); }
.mk-head .btn.go.sm .short { display: none; }
.mk-menu nav a[aria-current="page"] { background: var(--porcelain); font-weight: 800; }

.growth { padding-top: 80px; }


/* 일본어·중국어는 글자 사이에서 바르게 줄을 바꾼다(keep-all 이 CJK 줄바꿈을 막는다) */
.pt-site, .attr td.jp, .convo .jp {
  word-break: normal; overflow-wrap: normal; line-break: strict; }



/* 정렬: 좁은 섹션도 왼쪽 끝을 맞춘다 */
.wrap.narrow { max-width: var(--wrap); }
.wrap.narrow > * { max-width: 820px; }

/* /why 숫자 출처 접기 */
.stat .trend { font-size: 14px; color: var(--muted); font-family: var(--num); }
.src-list { margin-top: 18px; font-size: 14px; color: var(--muted); }
.src-list summary { cursor: pointer; font-weight: 700; color: var(--text); min-height: 44px; display: flex; align-items: center; }
.src-list ul { margin: 6px 0 0; padding-left: 18px; }
.src-list a { color: inherit; }

/* /how 환자 화면: 실제 샘플 사이트를 그대로 띄운다 */
.pt-live { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 26px; }
.pt-phone { width: 300px; height: 600px; border-radius: 34px; border: 8px solid #0b1220; background: #fff; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 26, 51, .2); }
.pt-phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.pt-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: lg; }
.pt-legend li { counter-increment: lg; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 16px; color: var(--text); line-height: 1.6; }
.pt-legend li::before { content: counter(lg); width: 26px; height: 26px; border-radius: 50%; background: var(--live-soft); color: #1d4f9c; font-family: var(--num);
  font-weight: 700; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.pt-legend b { color: var(--ink); }

/* 대시보드 예시 표 */
.attr th { white-space: nowrap; }

/* 요금 카드: 1회성 비용·선결제도 본문 크기로 */
.pcol .once { font-size: 16px; }
.pcol .annual { font-size: 15px; }
.pcol .once .tot { border-top: 1px dashed var(--rule); margin-top: 6px; padding-top: 6px; font-weight: 700; color: var(--ink); }
.pcol.rec .once .tot { color: var(--white); border-top-color: rgba(255, 255, 255, .2); }
.fee h3 small { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.fee .only { margin: 12px 0 0; font-size: 16px; color: var(--ink); font-weight: 600; }
.terms { grid-template-columns: 1fr; max-width: 860px; }
.days30 { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.days30 li { border-top: 3px solid var(--live); padding-top: 10px; font-size: 15px; color: var(--text); line-height: 1.55; }
.days30 li b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.days30 li.end { border-top-color: var(--amber); }

/* 계산기 누르는 영역 */
.calc input[type=range] { min-height: 44px; }
.calc .plans label { min-height: 44px; }

@media (max-width: 1080px) {
  .days30 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  /* 표는 카드로 */
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule-2); }
  .cmp th, .cmp td { display: block; width: auto !important; white-space: normal; border: 0 !important; padding: 4px 16px; }
  .cmp td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; font-weight: 700; color: var(--amber-ink); }
  .cmp.plans-cmp tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp.plans-cmp th { grid-column: 1 / -1; }
  .cmp.plans-cmp td[data-label]::before { color: var(--muted); font-weight: 600; }
  .attr th:nth-child(2), .attr td:nth-child(2) { display: none; }
  .pt-live { grid-template-columns: 1fr; justify-items: center; }
  .pt-legend { justify-self: stretch; }
  /* /why 숫자: 출처는 아래로 접는다 */
  .stat .s { display: none; }
  .stat b { white-space: nowrap; font-size: 26px; }
  /* /check: 받는 것을 폼보다 먼저 */
  #checkGrid > div:last-child { order: -1; }
  .page-top { padding: 104px 0 48px; }
  .form-card { padding: 22px; }
}
@media (max-width: 480px) {
  .mk-head .btn.go.sm { display: inline-flex; padding: 0 12px; font-size: 14px; }
  .mk-head .btn.go.sm .long { display: none; }
  .mk-head .btn.go.sm .short { display: inline; }
}
/* 검수 3차 */
.views-h { margin-top: 40px; font-size: 21px; }
.pt-live { grid-template-columns: 320px minmax(0, 1fr); gap: 36px; }
.pt-live .pt-note .btn { margin-left: 6px; }
.pt-phone { position: relative; }
.pt-cover { display: none; }
.owner-view { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; margin-top: 18px; }
.owner-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.owner-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16.5px; }
.owner-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.owner-view .device { margin-top: 0; }
.pcol .tl { min-height: 3.4em; }
.src-list { display: none; }
@media (max-width: 820px) {
  .src-list { display: block; }
  .pt-live { grid-template-columns: 1fr; justify-items: center; }
  .pt-phone { height: 520px; }
  .pt-cover { display: grid; place-items: center; position: absolute; inset: 0; width: 100%; border: 0; background: rgba(7, 20, 40, .35);
    color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
  .pt-cover[hidden] { display: none; }
  .owner-view { grid-template-columns: 1fr; }
  #compare { display: none; }
  .incl-grid p, .tech-grid p { display: none; }
  .incl-grid div, .tech-grid div { padding: 14px 16px; }
  .mk-head .btn.go.sm { min-height: 44px; }
}
.views-h + .owner-view, .pt-live + .views-h { margin-top: 56px; }
.pt-live .pt-note { margin-top: 18px; }
.pt-cover span { background: var(--night); color: #fff; border-radius: 999px; padding: 12px 20px; box-shadow: 0 10px 30px rgba(7, 20, 40, .4); }

/* 가이드(블로그) — 목록 · 글. 본문은 읽기 폭 700px, 18px, 행간 1.9 */
.blog-top .eyebrow, .post-top .crumb { font-size: 14px; font-weight: 700; color: var(--amber); letter-spacing: .02em; margin: 0 0 14px; }
.blog-top h1 { max-width: 880px; }
.blog-list-sec { padding-top: 64px; }
.blog-lead { display: block; text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: 20px; padding: 40px 44px; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.blog-lead::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--amber); }
.blog-lead:hover { border-color: #c9d2df; box-shadow: 0 18px 40px rgba(10, 26, 51, .08); }
.blog-lead .k { font-size: 14px; font-weight: 700; color: var(--amber-ink); }
.blog-lead h2 { margin-top: 12px; font-size: clamp(25px, 2.6vw, 34px); max-width: 860px; }
.mk .blog-lead p { margin-top: 14px; color: var(--muted); font-size: 17.5px; max-width: 780px; }
.blog-lead .more, .blog-grid .more { display: inline-block; margin-top: 20px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.blog-lead .more::after, .blog-grid .more::after { content: " →"; }
.blog-grid { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blog-grid a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--white); border: 1px solid var(--rule); border-radius: 16px; padding: 26px 26px 22px; transition: border-color .2s, transform .2s; }
.blog-grid a:hover { border-color: #c2ccdb; transform: translateY(-2px); }
.blog-grid time { font-family: var(--num); font-size: 13px; color: var(--faint); font-weight: 600; }
.blog-grid h3 { margin-top: 10px; font-size: 19.5px; line-height: 1.42; }
.mk .blog-grid p { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.65; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-grid .more { margin-top: 16px; color: var(--muted); font-weight: 600; }
.blog-next { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--rule); }
.mk .blog-next p { font-size: 18px; color: var(--ink); font-weight: 600; max-width: 720px; }
.blog-next .cta { margin-top: 20px; }

.post-top { padding-bottom: 56px; }
.post-top h1 { max-width: 900px; font-size: clamp(29px, 3.4vw, 44px); }
.post-top .crumb { display: flex; gap: 8px; align-items: center; }
.post-top .crumb a { color: var(--amber); text-decoration: none; }
.post-top .crumb span { color: #6d7d97; }
.mk .post-meta { margin-top: 18px; font-size: 15px; color: #9fb0ca; }
.post-wrap { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 64px; justify-content: space-between; padding-top: 56px; padding-bottom: 96px; }
.post { min-width: 0; }
.answer { background: var(--white); border: 1px solid var(--rule); border-left: 5px solid var(--live); border-radius: 14px; padding: 24px 28px; }
.answer .k { font-size: 13.5px; font-weight: 800; color: #1d5fc4; letter-spacing: .02em; }
.mk .answer p { margin-top: 8px; font-size: 18.5px; line-height: 1.8; color: var(--ink); font-weight: 600; }
.toc { font-size: 15px; }
.toc b { display: block; font-size: 13.5px; color: var(--muted); letter-spacing: .02em; margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; }
.toc a { color: var(--text); text-decoration: none; line-height: 1.5; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc-inline { display: none; margin-top: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 20px 24px; }
.prose { margin-top: 12px; font-size: 18px; line-height: 1.9; color: var(--text); }
.mk .prose > * + * { margin-top: 1.15em; }
.mk .prose h2 { margin-top: 64px; font-size: clamp(23px, 2.3vw, 28px); line-height: 1.4; scroll-margin-top: 96px; padding-top: 28px; border-top: 1px solid var(--rule); }
.mk .prose h3 { margin-top: 40px; font-size: 20.5px; line-height: 1.45; }
.mk .prose h2 + p, .mk .prose h3 + p { margin-top: 16px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: #1d5fc4; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--amber); color: var(--ink); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 48px 0; }
.prose .tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); }
.prose table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; line-height: 1.6; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.prose thead th { background: #f1f4f8; color: var(--ink); font-weight: 700; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose code { font-size: .9em; background: #eef1f6; border-radius: 5px; padding: 1px 6px; }
.post-faq { margin-top: 72px; }
.post-faq h2, .post-src h2 { font-size: 24px; }
.post-faq .faq { margin-top: 20px; }
.post-faq .faq summary { font-size: 17.5px; }
.post-src { margin-top: 56px; }
.post-src ol { margin: 14px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--muted); line-height: 1.7; display: grid; gap: 6px; }
.post-src a { color: var(--muted); text-underline-offset: 3px; word-break: break-all; }
.post-cta { margin-top: 64px; background: var(--night); color: #c7d2e4; border-radius: 20px; padding: 36px 40px; }
.post-cta .t { color: var(--white); font-size: 22px; font-weight: 800; line-height: 1.45; letter-spacing: -.02em; }
.mk .post-cta p + p { margin-top: 10px; font-size: 16.5px; }
.post-cta .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.post-side { position: sticky; top: 96px; align-self: start; }
.post-side .toc { background: var(--white); border: 1px solid var(--rule); border-radius: 14px; padding: 22px 22px 22px; }
.side-cta { margin-top: 18px; background: var(--amber-soft); border: 1px solid #f0dcbc; border-radius: 14px; padding: 22px; }
.side-cta b { display: block; color: var(--ink); font-size: 16.5px; line-height: 1.45; }
.mk .side-cta p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.side-cta .btn { margin-top: 14px; }
.post-rel h2 { font-size: clamp(24px, 2.4vw, 30px); }
.post-rel .all { margin-top: 26px; font-weight: 700; }
.post-rel .all a { color: var(--ink); }
@media (max-width: 1080px) {
  .post-wrap { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 780px; }
  .post-side { display: none; }
  .toc-inline { display: block; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .blog-list-sec { padding-top: 36px; }
  .blog-lead { padding: 28px 22px 26px 26px; border-radius: 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-grid a { padding: 22px 20px 18px; }
  .post-wrap { padding-top: 32px; padding-bottom: 64px; }
  .answer { padding: 20px 20px; }
  .answer p { font-size: 17px; }
  .prose { font-size: 17px; line-height: 1.85; }
  .mk .prose h2 { margin-top: 48px; padding-top: 22px; }
  .post-cta { padding: 28px 22px; border-radius: 16px; }
  .post-cta .t { font-size: 19.5px; }
  .post-cta .btn { flex: 1 1 100%; }
}
.prose pre { margin: 24px 0; background: #0e2240; color: #e6edf7; border-radius: 12px; padding: 16px 20px; overflow-x: auto; font-size: 14px; line-height: 1.65; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
/* 검수 4차: 앵커가 머리띠에 가리지 않게, 하단 링크 누르는 영역, 모바일 글 표 */
.mk [id] { scroll-margin-top: 88px; }
.mk-foot nav a { display: inline-block; padding: 8px 0; }
@media (max-width: 640px) {
  .prose table { min-width: 0; font-size: 14px; }
  .prose th, .prose td { padding: 10px 10px; }
}

/* 글 전환 장치(그로스 플랜 7.3·7.4): 답 상자 아래 CTA 한 줄, 본문 중간 진단 미니 폼, 휴대폰 하단 고정 막대,
   계산기 결과 → 진단 버튼, 공통 신뢰 줄. 버튼은 머리띠의 .btn.go.sm 과 같은 모양을 쓴다. */
.answer-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding: 14px 18px 14px 22px;
  background: var(--amber-soft); border: 1px solid #f0dcbc; border-radius: 12px; }
.mk .answer-cta p { font-size: 16px; line-height: 1.55; color: var(--ink); font-weight: 600; }
.answer-cta .btn { flex: none; white-space: nowrap; }
.mk .prose .mini-check { margin: 48px 0 0; background: var(--white); border: 1px solid var(--rule); border-top: 4px solid var(--amber);
  border-radius: 14px; padding: 24px 26px 20px; }
.mk .mini-check .t { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.45; letter-spacing: -.02em; }
.mk .mini-check .d { margin-top: 6px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.mini-check form { margin-top: 16px; }
.mini-check label { display: block; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 7px; }
.mini-check .row { display: flex; gap: 10px; }
.mini-check input[type=url] { flex: 1 1 auto; min-width: 0; min-height: 54px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--porcelain); }
.mini-check input[type=url]:focus { border-color: var(--live); outline: none; box-shadow: 0 0 0 4px rgba(77, 155, 255, .18); background: var(--white); }
.mini-check .btn { flex: none; white-space: nowrap; }
.mk .mini-check .hint { margin-top: 10px; font-size: 13.5px; line-height: 1.6; color: var(--faint); }
.calc-out .calc-go { margin-top: 24px; }
.final .fine { margin: 18px auto 0; max-width: 640px; font-size: 14px; color: #8597b4; }
.mk-foot .trust-row { display: block; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.trust-line { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; line-height: 1.6; color: #c7d2e4; }
.trust-line li { display: inline-flex; align-items: flex-start; gap: 9px; }
.trust-line li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: calc(.8em - 3px); border-radius: 50%; background: var(--amber); }
.m-bar { display: none; }
@media (max-width: 820px) {
  .m-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7, 20, 40, .94); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .m-bar.on { transform: none; visibility: visible; }
  .m-bar .btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0 10px; white-space: nowrap; }
  body:has(.m-bar) .mk-foot { padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .answer-cta { flex-direction: column; align-items: stretch; padding: 16px 18px; }
  .answer-cta .btn { width: 100%; }
  .mk .prose .mini-check { padding: 20px 18px 16px; }
  .mini-check .row { flex-direction: column; }
  .mini-check .btn { width: 100%; }
  .trust-line { display: grid; gap: 6px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .m-bar { transition: none; }
}

/* 5분 진단(/check) 7.1-1: 병원 이름 자동완성·고른 병원 표시·더 적기 */
.hosp-box { position: relative; }
.hosp-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff;
  border: 1px solid var(--rule, #dfe4ec); border-radius: 10px; box-shadow: 0 10px 28px rgba(10, 26, 51, .14); max-height: 340px; overflow-y: auto; }
.hosp-list li { display: block; padding: 10px 14px; cursor: pointer; }
.hosp-list li[aria-selected="true"], .hosp-list li[role=option]:hover { background: #eef3fb; }
.hosp-list .hn { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.hosp-list .hn em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); border: 1px solid var(--rule, #dfe4ec);
  border-radius: 6px; padding: 1px 6px; margin-left: 8px; vertical-align: 1px; }
.hosp-list .ha { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.hosp-list .hosp-empty { cursor: default; font-size: 13.5px; color: var(--muted); }
.hosp-help { margin: 6px 0 0; }
.hosp-pick { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 8px 0 0;
  padding: 9px 12px; border-radius: 10px; background: #e5f6ee; color: #14532d; font-size: 14px; line-height: 1.55; }
.hosp-clear { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: #14532d; text-decoration: underline; cursor: pointer; }
.hosp-pick[hidden], .place-fields[hidden], .hosp-help[hidden] { display: none !important; }
.more-fields { margin: 4px 0 18px; }
.more-fields summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.more-fields[open] summary { margin-bottom: 10px; }

@keyframes caret { 50% { opacity: 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* =====================================================================================
   홈(/) 2026-10 전면 개편: 장면으로 보여 주는 첫 화면. 접두어 hm-(홈), ps-(휴대폰 안 환자 사이트).
   첫 화면 영상 → 제작 콘솔과 휴대폰 → 사이트 → 나라 → AI 검색 → AI 코디 → 원장님 화면 → 숫자 → 요금 → 질문.
   움직임은 landing.js 가 붙이고, 움직임 줄이기 설정이면 마지막 상태만 보여 준다.
   ===================================================================================== */
.mk .hm-hero h1, .mk .hm-sec h2, .mk .hm-build h2 { text-wrap: balance; }
.hm-k { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 800; color: #1d5fc4; letter-spacing: .02em; }
.hm-k::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.hm-mini { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.hm-sec { padding: 120px 0; }
.mk .hm-sec h2, .mk .hm-build h2 { font-size: clamp(30px, 3.5vw, 50px); letter-spacing: -.04em; max-width: 1000px; line-height: 1.24; }
.hm-sec .sub, .hm-build .sub { margin-top: 18px; font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 780px; }
.hm-dark { background: var(--night); color: #c7d2e4; }
.mk .hm-dark h2 { color: var(--white); }
.hm-dark .sub { color: #a9b8d0; }
.hm-dark .hm-k { color: var(--live); }
.hm-cap { margin-top: 24px; font-size: 14px; line-height: 1.7; color: var(--faint); max-width: 900px; }
.hm-cap a { color: inherit; text-underline-offset: 3px; }
.hm-dark .hm-cap { color: #8597b4; }
.hm-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.hm-js .reveal.in { opacity: 1; transform: none; }

/* --- 1. 첫 화면: 도쿄 밤 영상 + 대화 + 병원 이름 넣기 ------------------------------------- */
.hm-hero { position: relative; overflow: hidden; background: var(--night); color: #c7d2e4; min-height: min(860px, 100vh); padding: 128px 0 64px;
  display: flex; flex-direction: column; justify-content: center; }
.hm-hero-media { position: absolute; inset: 0; }
.hm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hm-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 40, .96) 0%, rgba(7, 20, 40, .9) 32%, rgba(7, 20, 40, .45) 58%, rgba(7, 20, 40, .12) 78%, rgba(7, 20, 40, .35) 100%),
              linear-gradient(0deg, rgba(7, 20, 40, .85) 0%, rgba(7, 20, 40, 0) 34%); }
.hm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 48px; align-items: end; width: 100%; }
.hm-hero-copy { max-width: 640px; }
.mk .hm-hero h1 { color: var(--white); font-size: clamp(34px, 3.9vw, 56px); line-height: 1.18; letter-spacing: -.045em; }
.hm-hero h1 .q { display: block; margin-top: 14px; font-size: .6em; font-weight: 600; color: #b9c8de; }
.mk .nw { white-space: nowrap; }
.hm-hero h1 #heroNum { color: var(--amber); }
.hm-hero .lead { margin-top: 22px; max-width: 560px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.7; color: #d3dceb; }
.hm-hero-fine { position: relative; z-index: 1; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 28px;
  font-size: 12.5px; color: #8597b4; }
.hm-hero-fine .hm-pause { margin: 0; }
.hm-still .hm-map .arcs path, .hm-still .hm-typing i { animation-play-state: paused; }

.hm-try { margin-top: 30px; max-width: 620px; padding: 18px; border-radius: 18px; background: rgba(9, 24, 48, .72); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.hm-try label { display: block; margin-bottom: 12px; font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -.02em; }
.hm-try-row { display: flex; gap: 10px; }
.hm-try-box { position: relative; flex: 1 1 auto; min-width: 0; }
.hm-try input { width: 100%; min-height: 56px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(3, 12, 26, .7);
  color: var(--white); font: inherit; font-size: 17px; }
.hm-try input::placeholder { color: #7f92b0; }
.hm-try input:focus { outline: none; border-color: var(--live); box-shadow: 0 0 0 4px rgba(77, 155, 255, .28); }
.hm-try .btn { flex: none; min-height: 56px; }
.hm-try-help { margin-top: 10px; font-size: 14px; color: #8fa2c0; }
.hm-try-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; margin: 0; padding: 6px; list-style: none; background: var(--white);
  border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); max-height: 330px; overflow-y: auto; }
.hm-try-list li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.hm-try-list li[aria-selected="true"], .hm-try-list li:hover { background: var(--live-soft); }
.hm-try-list .hn { font-size: 15.5px; font-weight: 700; }
.hm-try-list .hn em { margin-left: 6px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); }
.hm-try-list .ha { font-size: 13px; color: var(--muted); }
.hm-try-list .raw { margin-top: 4px; border-top: 1px solid var(--rule-2); border-radius: 0 0 8px 8px; font-size: 14.5px; color: var(--text); }

/* 영상 속 휴대폰 옆 LINE 대화(HTML) */
.hm-line { align-self: end; width: 100%; max-width: 380px; justify-self: end; border-radius: 22px; overflow: hidden; background: rgba(240, 243, 248, .94);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-family: var(--jp); }
.hm-line-top { display: flex; align-items: center; gap: 8px; padding: 11px 16px; background: #0f2a1d; color: #dff7ea; font-family: var(--sans); font-size: 13px; }
.hm-line-top .dot, .hm-chat-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #2fd36d; flex: none; }
.hm-line-top .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b9e8cd; }
.hm-line-top .n { color: #b9e8cd; font-size: 12px; }
.hm-line-body { display: flex; flex-direction: column; gap: 8px; padding: 14px; height: 268px; overflow: hidden; justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34px); mask-image: linear-gradient(to bottom, transparent 0, #000 34px); }
.hm-line-cap { padding: 8px 16px 12px; font-family: var(--sans); font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--rule-2); }

/* 대화 말풍선(첫 화면·AI 코디 공통) */
.hm-msg { max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: 14px; line-height: 1.6; word-break: normal; overflow-wrap: anywhere; line-break: strict; }
.hm-msg p { margin: 0; }
.hm-msg.pt { align-self: flex-start; background: var(--white); color: var(--ink); border: 1px solid var(--rule-2); border-top-left-radius: 6px; }
.hm-msg.pt small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 12px; color: var(--muted); line-height: 1.5; }
.hm-msg.ai { align-self: flex-end; background: #1d4f9c; color: var(--white); border-top-right-radius: 6px; }
.hm-msg.ai .tag { display: block; margin-bottom: 2px; font-family: var(--sans); font-size: 10.5px; font-weight: 700; color: #a9c8ff; }
.hm-msg .caret::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: currentColor; animation: caret 1s steps(1) infinite; }
.hm-typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 11px 13px; border-radius: 16px; background: #1d4f9c; }
.hm-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a9c8ff; animation: blink 1s infinite; }
.hm-typing i:nth-child(2) { animation-delay: .15s; } .hm-typing i:nth-child(3) { animation-delay: .3s; }
.hm-armed .hm-msg, .hm-armed .hm-why { display: none; }
.hm-armed .hm-msg.in, .hm-armed .hm-why.in { display: block; animation: msgIn .35s ease both; }
.hm-armed .hm-why.in { display: flex; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* --- 2. 제작 콘솔 + 휴대폰 안 사이트 ------------------------------------------------------- */
.hm-build { position: relative; background: radial-gradient(900px 500px at 85% 30%, rgba(77, 155, 255, .14), transparent 62%), var(--night);
  color: #c7d2e4; padding: 110px 0 96px; border-top: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.hm-build::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, black 10%, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 90%); }
.hm-build .wrap { position: relative; }
.mk .hm-build h2 { color: var(--white); }
.hm-build .sub { color: #a9b8d0; }
.hm-build .sub b { color: var(--white); }
.hm-build .hm-k { color: var(--live); }
.hm-build-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hm-build-head .btn { flex: none; }
.hm-stage { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "console device" "result device" "note device";
  grid-template-rows: auto auto 1fr; gap: 22px 56px; align-items: start; }
.hm-console { grid-area: console; border-radius: 20px; background: rgba(12, 31, 61, .82); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4); overflow: hidden; }
.hm-bar { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: #a9b8d0; }
.hm-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.hm-bar span { margin-left: 8px; font-weight: 700; }
.hm-state { margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #8ee0b9; background: rgba(25, 160, 107, .16); }
.hm-state.busy { color: #a9c8ff; background: rgba(77, 155, 255, .16); }
.hm-state.busy::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: blink 1s infinite; }
.hm-for { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 18px 22px 6px; }
.hm-for b { font-size: 22px; color: var(--white); letter-spacing: -.02em; }
.hm-for span { font-size: 14px; color: #8ea3c2; }
.hm-steps { list-style: none; margin: 6px 0 0; padding: 0 22px 18px; display: grid; }
.hm-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .07); opacity: .4; transition: opacity .3s; }
.hm-steps li.on, .hm-steps li.done { opacity: 1; }
.hm-steps .ic { position: relative; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); }
.hm-steps li.on .ic { border-color: var(--live); border-top-color: transparent; animation: hmSpin .8s linear infinite; }
.hm-steps li.done .ic { background: var(--ok); border-color: var(--ok); }
.hm-steps li.done .ic::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@keyframes hmSpin { to { transform: rotate(360deg); } }
.hm-steps b { display: block; font-size: 16.5px; color: var(--white); letter-spacing: -.02em; }
.hm-steps small { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.55; color: #8ea3c2; overflow-wrap: anywhere; }
.hm-chips i { display: inline-block; margin: 6px 6px 0 0; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-style: normal; font-size: 12.5px;
  color: #c7d2e4; transition: background .25s, border-color .25s, color .25s; }
.hm-steps li.done .hm-chips i, .hm-chips i.lit { background: rgba(25, 160, 107, .16); border-color: rgba(25, 160, 107, .55); color: #c4f1dc; }
.hm-stream { display: grid; gap: 4px; margin-top: 8px; font-family: var(--jp); font-size: 14px; color: #e6edf7; }
.hm-stream p { margin: 0; min-height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-stream p::before { display: inline-block; width: 30px; margin-right: 8px; font-family: var(--num); font-size: 11px; font-weight: 700; color: var(--live); }
.hm-stream p[lang="ja"]::before { content: "JA"; } .hm-stream p[lang="en"]::before { content: "EN"; } .hm-stream p[lang="zh-Hant"]::before { content: "ZH"; }
.hm-sw { display: flex; gap: 6px; margin-top: 10px; }
.hm-sw i { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--a) 52%, var(--b) 52%); border: 1px solid rgba(255, 255, 255, .22);
  transition: transform .2s, box-shadow .2s; }
.hm-sw i.on { transform: scale(1.18); box-shadow: 0 0 0 2px var(--white); }
.hm-result { grid-area: result; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-note { grid-area: note; font-size: 14px; line-height: 1.7; color: #8597b4; max-width: 640px; }
.hm-pause { min-height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #a9b8d0;
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.hm-pause:hover { color: var(--white); border-color: rgba(255, 255, 255, .5); }

.hm-device { grid-area: device; position: relative; }
.hm-device::before { content: ""; position: absolute; left: 50%; top: 52%; width: 420px; height: 420px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(77, 155, 255, .28), transparent); pointer-events: none; }
.hm-langs { position: relative; display: flex; gap: 4px; width: max-content; margin: 0 auto 16px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); }
.hm-langs button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: #a9b8d0; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.hm-langs button[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.hm-phone { position: relative; width: 320px; height: 640px; margin: 0 auto; padding: 11px; border-radius: 46px; background: linear-gradient(150deg, #24365a, #0a1426 60%);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .06);
  transform: perspective(1600px) rotateY(var(--ry, -8deg)) rotateX(var(--rx, 3deg)); transition: transform .5s ease; }
.ps { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: var(--s-bg); color: var(--s-ink);
  font-family: var(--s-body); word-break: normal; overflow-wrap: anywhere; line-break: strict; transition: background .5s, color .5s; }
.ps-status { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 22px 4px; font-size: 11px; color: var(--s-ink2); }
.ps-status > .n { flex: none; white-space: nowrap; }
.ps-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--s-ink) 7%, transparent);
  font-family: var(--num); font-size: 10.5px; }
.ps-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 18px 10px; border-bottom: 1px solid var(--s-line); }
.ps-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--s-head); font-size: 14.5px; font-weight: 700; color: var(--s-ink); letter-spacing: .01em; }
.ps-menu { display: grid; gap: 4px; } .ps-menu i { display: block; width: 16px; height: 1.5px; background: var(--s-ink); }
.ps-hero { position: relative; }
.ps-img { position: relative; height: 176px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--s-tint) 45%, #ffffff) 0%, var(--s-tint) 58%, color-mix(in srgb, var(--s-motif) 45%, var(--s-tint)) 100%); }
.ps-img svg, .hm-gen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ps-sun { fill: color-mix(in srgb, #ffffff 62%, var(--s-hl)); opacity: .9; }
.ps-far { fill: color-mix(in srgb, var(--s-motif) 42%, var(--s-tint)); }
.ps-city { fill: color-mix(in srgb, var(--s-accent) 52%, var(--s-tint)); }
.ps-river { fill: color-mix(in srgb, #ffffff 45%, var(--s-tint)); opacity: .75; }
.ps[data-dark="1"] .ps-img { background: linear-gradient(180deg, var(--s-deep) 0%, color-mix(in srgb, var(--s-accent) 22%, var(--s-deep)) 70%, color-mix(in srgb, var(--s-accent) 40%, var(--s-deep)) 100%); }
.ps[data-dark="1"] .ps-sun { fill: var(--s-accent); opacity: .55; }
.ps[data-dark="1"] .ps-far { fill: color-mix(in srgb, var(--s-accent) 18%, var(--s-deep)); }
.ps[data-dark="1"] .ps-city { fill: color-mix(in srgb, #000000 55%, var(--s-deep)); }
.ps[data-dark="1"] .ps-river { fill: color-mix(in srgb, var(--s-accent) 30%, var(--s-deep)); }
.ps-tag { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0, 0, 0, .5); color: #ffffff; font-family: var(--sans); font-size: 10px; font-weight: 600; }
.ps-copy { padding: 16px 18px 14px; }
.ps-h { margin: 0; font-family: var(--s-head); font-size: 20px; line-height: 1.38; font-weight: 700; color: var(--s-ink); letter-spacing: .01em; }
.ps-lead { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: var(--s-ink2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ps-btn { display: inline-flex; margin-top: 12px; padding: 9px 15px; border-radius: min(var(--s-r), 999px); background: var(--s-btn); color: var(--s-on-btn); font-size: 12.5px; font-weight: 700; }
.ps-sec { padding: 12px 18px; border-top: 1px solid var(--s-line); }
.ps-label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--s-label); }
.ps-skel i { display: block; height: 7px; margin-top: 8px; border-radius: 4px; background: color-mix(in srgb, var(--s-ink) 11%, transparent); }
.ps-skel i:nth-child(1) { width: 92%; } .ps-skel i:nth-child(2) { width: 68%; } .ps-skel i:nth-child(3) { width: 80%; }
.ps-faq { list-style: none; margin: 4px 0 0; padding: 0; }
.ps-faq li { padding: 7px 0; border-bottom: 1px solid var(--s-line); font-size: 12px; color: var(--s-ink); }
.ps-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: center; padding: 11px; border-radius: max(var(--s-r), 14px);
  background: var(--s-deep); color: var(--s-on-deep); font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
/* 첫 화면 배치(site/designs.VARIANTS hero) */
.ps[data-hero="overlay"] .ps-img, .ps[data-hero="center"] .ps-img { height: 300px; }
.ps[data-hero="overlay"] .ps-copy, .ps[data-hero="center"] .ps-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0)); }
.ps[data-hero="overlay"] .ps-h, .ps[data-hero="center"] .ps-h { color: #ffffff; }
.ps[data-hero="overlay"] .ps-lead, .ps[data-hero="center"] .ps-lead { color: rgba(255, 255, 255, .88); -webkit-line-clamp: 3; }
.ps[data-hero="center"] .ps-copy { text-align: center; }
.ps[data-hero="center"] .ps-h::before { content: ""; display: block; width: 36px; height: 1px; margin: 0 auto 10px; background: var(--s-accent); }
.ps[data-hero="split"] .ps-hero, .ps[data-hero="magazine"] .ps-hero { display: flex; flex-direction: column-reverse; }
.ps[data-hero="split"] .ps-img { height: 130px; margin: 0 18px; border-radius: var(--s-r); }
.ps[data-hero="magazine"] .ps-h { font-size: 25px; line-height: 1.22; padding-bottom: 10px; border-bottom: 2px solid var(--s-ink); }
.ps[data-hero="magazine"] .ps-img { height: 120px; margin: 0 0 0 64px; }
.ps[data-hero="arch"] .ps-img { height: 168px; margin: 14px 40px 0; border-radius: 140px 140px var(--s-r) var(--s-r); }
.ps[data-hero="arch"] .ps-copy { text-align: center; }
.ps[data-hero="arch"] .ps-tag { top: auto; bottom: 8px; right: 50%; transform: translateX(50%); }
.ps[data-hero="card"] .ps-img { height: 210px; }
.ps[data-hero="card"] .ps-copy { position: relative; margin: -46px 14px 0; border-radius: var(--s-r); background: var(--s-surface); box-shadow: 0 14px 34px rgba(15, 27, 45, .16); }
.ps[data-hero="vertical"]:not([lang="en"]) .ps-hero { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "h img" "h lead" "h btn";
  gap: 10px 12px; padding: 14px 16px 12px; }
.ps[data-hero="vertical"]:not([lang="en"]) .ps-copy { display: contents; }
.ps[data-hero="vertical"]:not([lang="en"]) .ps-h { grid-area: h; writing-mode: vertical-rl; font-size: 21px; line-height: 1.6; max-height: 300px; }
.ps[data-hero="vertical"]:not([lang="en"]) .ps-img { grid-area: img; height: 150px; border-radius: var(--s-r); }
.ps[data-hero="vertical"]:not([lang="en"]) .ps-lead { grid-area: lead; margin: 0; }
.ps[data-hero="vertical"]:not([lang="en"]) .ps-btn { grid-area: btn; justify-self: start; margin: 0; }
.ps.swap .ps-hero, .ps.swap .ps-sec, .ps.swap .ps-name { animation: psIn .5s ease both; }
.ps.swap .ps-sec { animation-delay: .12s; } .ps.swap .ps-sec + .ps-sec { animation-delay: .22s; }
@keyframes psIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- 3. 사이트 ------------------------------------------------------------------------- */
.hm-site { background: var(--white); }
.hm-site-grid { margin-top: 56px; display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 52px; align-items: start; }
.hm-sample { margin: 0; position: sticky; top: 96px; }
.hm-sample-phone { position: relative; width: 320px; height: 640px; border-radius: 42px; border: 10px solid #0b1220; overflow: hidden; background: var(--white);
  box-shadow: 0 30px 70px rgba(10, 26, 51, .22); }
.hm-sample-phone iframe { display: block; width: 100%; height: 100%; border: 0; }
.hm-cover { display: none; }
.hm-sample figcaption { margin-top: 16px; max-width: 320px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.hm-sample figcaption a { color: var(--ink); font-weight: 700; }
.hm-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hm-tile { display: flex; flex-direction: column; padding: 16px 16px 24px; border-radius: 22px; background: var(--porcelain); border: 1px solid var(--rule); }
.mk .hm-tile h3 { margin-top: 18px; padding: 0 6px; font-size: 21px; letter-spacing: -.03em; }
.hm-tile > p { margin: 8px 0 0; padding: 0 6px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.hm-facts { display: grid; grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 206px; padding: 14px 12px;
  border-radius: 14px; background: var(--white); border: 1px solid var(--rule-2); }
.hm-src p, .hm-out p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink); }
.hm-src mark { background: #fff1c9; color: var(--ink); padding: 1px 3px; border-radius: 3px; }
.hm-src em { display: block; margin-top: 2px; font-style: normal; font-family: var(--num); font-size: 10.5px; color: #1d5fc4; }
.hm-out { font-family: var(--jp); }
.hm-out p { padding-bottom: 7px; border-bottom: 1px dashed var(--rule); word-break: normal; line-break: strict; }
.hm-arrow { position: relative; height: 100%; }
.hm-arrow i { position: absolute; left: 50%; top: 10%; bottom: 10%; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--rule), var(--live), var(--rule)); }
.hm-arrow i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -6px; border: solid var(--live); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.hm-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hm-photos figure { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #e9edf3; }
.hm-photos img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-photos .drop span { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #eef1f5 0 9px, #e2e7ee 9px 18px); }
.hm-photos figcaption { position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px 2px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); font-size: 11.5px; font-weight: 700; color: #0d6e48; }
.hm-photos figcaption svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.hm-photos .drop figcaption { color: var(--danger); }
.hm-gen { position: relative; height: 206px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #fbeee2 0%, #f6dccb 58%, #e7c2ab 100%);
  --s-tint: #f6dccb; --s-hl: #ffd9a8; --s-motif: #c9967b; --s-accent: #8b4f3a; }
.hm-fams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.hm-fam { border-radius: 11px; overflow: hidden; background: var(--white); border: 1px solid var(--rule); transition: box-shadow .25s, border-color .25s, transform .25s; }
.hm-fam.on { border-color: var(--live); box-shadow: 0 0 0 2px var(--live); transform: translateY(-2px); }
.hm-fam-art { position: relative; display: block; height: 66px; background: var(--fb); }
.hm-fam-art i { position: absolute; left: 10px; top: 14px; width: 58%; height: 6px; border-radius: 3px; background: var(--fi); }
.hm-fam-art b { position: absolute; left: 10px; top: 26px; width: 40%; height: 4px; border-radius: 2px; background: var(--fi); opacity: .4; }
.hm-fam-art em { position: absolute; left: 10px; bottom: 11px; width: 34%; height: 10px; border-radius: 3px; background: var(--fa); }
.hm-fam-name { display: block; padding: 6px 7px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.3; color: var(--text); }

/* --- 4. 나라 ---------------------------------------------------------------------------- */
.hm-nations { overflow: hidden; }
.hm-nations-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px; align-items: center; }
.hm-nations .hm-cap { margin-top: 28px; }
.hm-map { width: 100%; height: auto; overflow: visible; }
.hm-map .grid line { stroke: rgba(255, 255, 255, .07); stroke-width: 1; stroke-dasharray: 2 6; }
.hm-map .arcs path { fill: none; stroke: url(#none); stroke: rgba(77, 155, 255, .75); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 6 10; animation: arcFlow 1.6s linear infinite; }
.hm-map .arcs path:nth-child(4) { stroke: rgba(226, 160, 63, .8); }
@keyframes arcFlow { to { stroke-dashoffset: -32; } }
.hm-map .pts circle { fill: #9fc4ff; }
.hm-map .pts .seoul { fill: var(--amber); filter: drop-shadow(0 0 10px rgba(226, 160, 63, .8)); }
.hm-map .lbl text { fill: #c7d2e4; font-family: var(--sans); font-size: 27px; font-weight: 600; }
.hm-map .lbl .big { fill: var(--white); font-size: 34px; font-weight: 800; }
.hm-countries { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hm-country { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #0e2240; }
.hm-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-country::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 20, 40, .92) 0%, rgba(7, 20, 40, .2) 52%, rgba(7, 20, 40, 0) 100%); }
.hm-country-in { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: grid; gap: 4px; }
.hm-country-in b { font-size: 16px; color: var(--white); }
.hm-country-in .big { font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; color: var(--white); line-height: 1.15; }
.hm-country-in .meta { font-size: 13px; color: #b9c8de; line-height: 1.5; }
.hm-ai-stats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hm-ai-stats li { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.hm-ai-stats b { font-size: clamp(28px, 2.6vw, 38px); color: var(--live); line-height: 1.1; }
.hm-ai-stats span { font-size: 14.5px; color: #dfe7f3; line-height: 1.55; }
.hm-ai-stats a { margin-top: auto; font-size: 12px; line-height: 1.5; color: #7f92b0; text-underline-offset: 3px; }

/* --- 5. AI 검색 ------------------------------------------------------------------------- */
.hm-search { background: var(--porcelain); }
.hm-search-grid { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; align-items: start; }
.hm-answer { padding: 22px; border-radius: 22px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 30px 70px rgba(10, 26, 51, .1); }
.hm-answer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.hm-tabs, .hm-code-tabs { display: flex; gap: 4px; }
.hm-tabs button, .hm-code-tabs button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.hm-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hm-q { margin: 16px 0 0; padding: 13px 16px; border-radius: 14px; background: var(--porcelain); border: 1px solid var(--rule); font-family: var(--jp); font-size: 16.5px;
  font-weight: 700; color: var(--ink); line-height: 1.5; word-break: normal; line-break: strict; }
.hm-a { margin-top: 14px; min-height: 150px; font-family: var(--jp); font-size: 15.5px; line-height: 1.8; color: var(--text); word-break: normal; line-break: strict; }
.hm-a p { margin: 0; }
.hm-a sup, .hm-cite .num { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 3px; border-radius: 50%; background: var(--live-soft);
  color: #1d4f9c; font-family: var(--num); font-size: 10.5px; font-weight: 700; vertical-align: 3px; line-height: 1; }
.hm-cite { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 14px; background: #f3f8ff; border: 1px solid #cfe0fb;
  transition: box-shadow .4s, transform .4s; }
.hm-cite .num { flex: none; margin: 2px 0 0; width: 22px; height: 22px; font-size: 12px; background: #1d5fc4; color: var(--white); }
.hm-cite b { display: block; font-size: 14.5px; color: var(--ink); }
.hm-cite span { display: block; margin-top: 2px; font-family: var(--jp); font-size: 13.5px; color: var(--text); line-height: 1.5; }
.hm-cite em { display: block; margin-top: 4px; font-style: normal; font-family: var(--num); font-size: 12px; color: #1d5fc4; overflow-wrap: anywhere; }
.hm-cite.flash { box-shadow: 0 0 0 3px rgba(77, 155, 255, .35); transform: translateY(-2px); }
.hm-anatomy { padding: 24px; border-radius: 22px; background: var(--night-2); color: #c7d2e4; }
.hm-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: part; }
.hm-parts li { counter-increment: part; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; }
.hm-parts li::before { content: counter(part); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(77, 155, 255, .18);
  color: #a9c8ff; font-family: var(--num); font-size: 13px; font-weight: 700; }
.hm-parts b { color: var(--white); font-size: 15.5px; }
.hm-parts span { font-size: 13.5px; color: #a9b8d0; line-height: 1.55; }
.hm-code { margin-top: 20px; border-radius: 14px; background: #050e1c; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.hm-code-tabs { padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.hm-code-tabs button { background: transparent; border-color: rgba(255, 255, 255, .14); color: #a9b8d0; }
.hm-code-tabs button[aria-pressed="true"] { background: rgba(77, 155, 255, .18); border-color: rgba(77, 155, 255, .5); color: var(--white); }
.hm-code pre { margin: 0; padding: 14px 16px; max-height: 250px; overflow: auto; font: 12.5px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #cfe0ff; white-space: pre; }
.hm-code pre[hidden] { display: none; }
.hm-code [data-k] { color: #f2c27a; }

/* --- 6. AI 코디 ------------------------------------------------------------------------- */
.hm-chat-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.hm-chat { border-radius: 22px; overflow: hidden; background: #0e2240; border: 1px solid rgba(255, 255, 255, .1); }
.hm-chat-top { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 13px; color: #a9b8d0; }
.hm-chat-top b { color: var(--white); }
.hm-chat-top.wa .dot { background: #25d366; }
.hm-chat-top > span:last-child { margin-left: auto; }
.hm-chat-body { display: flex; flex-direction: column; gap: 8px; min-height: 420px; padding: 16px 14px 18px; font-family: var(--jp); }
.hm-chat .hm-msg.ai { background: #275fb8; }
.hm-why { align-self: flex-end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0 0 6px; font-family: var(--sans); font-size: 12px; }
.hm-why span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #c7d2e4; }
.hm-why .pass { display: inline-flex; align-items: center; gap: 4px; color: #8ee0b9; border-color: rgba(25, 160, 107, .45); }
.hm-why svg, .hm-guard svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.hm-swipe { display: none; margin-top: 12px; font-size: 13.5px; color: #8597b4; }
.hm-guard { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hm-guard b { margin-right: 6px; font-size: 15px; color: var(--white); }
.hm-guard span { position: relative; padding: 6px 12px 6px 28px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13.5px; color: #c7d2e4;
  transition: background .3s, border-color .3s, color .3s; }
.hm-guard span::before, .hm-guard span::after { content: ""; position: absolute; left: 11px; top: 50%; width: 10px; height: 2px; margin-top: -1px; border-radius: 1px; background: #ff8b7f; transform: rotate(45deg); }
.hm-guard span::after { transform: rotate(-45deg); }
.hm-guard span.hit { background: rgba(255, 139, 127, .14); border-color: rgba(255, 139, 127, .7); color: var(--white); }

/* --- 7. 병원 데스크 + 원장님 화면 ------------------------------------------------------------ */
.hm-results { background: var(--white); }
.hm-results-grid { margin-top: 52px; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 22px; align-items: stretch; }
.hm-desk { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; background: #1b1714; }
.hm-desk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 20, 40, .55), rgba(7, 20, 40, 0) 55%); }
.hm-notes { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hm-notes li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .94); box-shadow: 0 14px 36px rgba(0, 0, 0, .35); font-size: 14px; color: var(--text); }
.hm-notes b { color: var(--ink); }
.hm-notes li:nth-child(2) b { color: var(--amber-ink); }
.hm-notes em { font-style: normal; font-size: 13px; color: var(--muted); }
.hm-js .hm-notes li { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .9, .3, 1.2); }
.hm-js .hm-notes li.in { opacity: 1; transform: none; }
.hm-dash { border-radius: 22px; border: 1px solid var(--rule); background: var(--white); box-shadow: 0 40px 90px rgba(10, 26, 51, .13); overflow: hidden; }
.hm-dash-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--rule-2); background: #f6f8fb; font-size: 12px; color: var(--muted); }
.hm-dash-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4dbe6; }
.hm-dash-bar span { margin-left: 8px; }
.hm-dash-bar em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--amber-ink); }
.hm-dash-in { padding: 20px 22px 22px; }
.hm-dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hm-dash-head b { font-size: 18px; color: var(--ink); }
.hm-dash-head span { font-size: 13px; color: var(--faint); }
.hm-kpis { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hm-kpis div { padding: 12px 12px 10px; border-radius: 14px; border: 1px solid var(--rule); }
.hm-kpis span { display: block; font-size: 12px; line-height: 1.4; color: var(--muted); min-height: 2.8em; }
.hm-kpis b { display: block; margin-top: 2px; font-size: 32px; line-height: 1.1; color: var(--ink); }
.hm-chart { margin: 18px 0 16px; }
.hm-bars { display: flex; align-items: flex-end; gap: 4px; height: 96px; margin-top: 8px; border-bottom: 1px solid var(--rule); }
.hm-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #4d9bff, #1d5fc4); transform-origin: bottom; }
.hm-js .hm-dash .hm-bars i { transform: scaleY(0); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.hm-js .hm-dash.in .hm-bars i { transform: none; }
.hm-attr { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
.hm-attr th { padding: 8px 6px; text-align: left; font-size: 12px; font-weight: 600; color: var(--faint); border-bottom: 1px solid var(--rule); }
.hm-attr th.n, .hm-attr td.n { width: 52px; text-align: right; }
.hm-attr td { padding: 10px 6px; border-bottom: 1px solid var(--rule-2); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--jp); }
.hm-attr td.n { font-family: var(--num); font-weight: 700; }
.hm-attr tr:first-child td { background: #f5f9ff; }
.hm-results .cta { margin-top: 28px; }

/* --- 8~11 ------------------------------------------------------------------------------- */
.growth .live { margin-top: 44px; }
.live { display: inline-flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
  background: rgba(255, 255, 255, .04); }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); align-self: center; }
.live .k { font-size: 15px; color: #b6c3d8; }
.live .v { font-family: var(--num); font-size: 30px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.live .u { font-size: 15px; color: #b6c3d8; }
.hm-plans { background: var(--porcelain); }
.hm-plan-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hm-plan { display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--rule); color: var(--text);
  text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hm-plan:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(10, 26, 51, .12); }
.hm-plan .nm { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.hm-plan .nm em { font-style: normal; font-size: 12.5px; font-weight: 800; color: #1d1405; background: var(--amber); border-radius: 999px; padding: 2px 10px; }
.hm-plan .tg { font-size: 14.5px; line-height: 1.55; color: var(--muted); min-height: 3.1em; }
.hm-plan .mo { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.hm-plan .mo small { font-size: 15px; font-weight: 700; }
.hm-plan .mo b { font-size: 40px; color: var(--ink); letter-spacing: -.03em; }
.hm-plan .fp { font-size: 14.5px; color: var(--text); }
.hm-plan .ar { padding-top: 10px; border-top: 1px solid var(--rule-2); font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.hm-plan.rec { background: var(--night-2); border-color: var(--night-2); color: #c7d2e4; }
.hm-plan.rec .nm, .hm-plan.rec .mo b { color: var(--white); }
.hm-plan.rec .tg, .hm-plan.rec .ar { color: #a9b8d0; border-color: rgba(255, 255, 255, .12); }
.hm-plan.rec .fp { color: #dfe7f3; }
.hm-broker { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border-radius: 18px;
  background: var(--amber-soft); border: 1px solid #f0d9b0; }
.hm-broker p { margin: 0; font-size: 16.5px; color: var(--text); max-width: 760px; }
.hm-broker b { color: var(--ink); }
.hm-fine { margin-top: 14px; font-size: 13.5px; color: var(--faint); }
.hm-fine a { color: inherit; }
.hm-faq { background: var(--white); }
.hm-faq .faq { margin-top: 36px; }

/* --- 반응형 ----------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hm-line { justify-self: start; }
  .hm-site-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-sample { position: static; display: grid; justify-items: center; }
  .hm-nations-head { grid-template-columns: minmax(0, 1fr); }
  .hm-map { max-width: 560px; }
  .hm-countries, .hm-ai-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-search-grid, .hm-results-grid { grid-template-columns: minmax(0, 1fr); }
  .hm-chat-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(300px, 46%); overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; overscroll-behavior-x: contain; }
  .hm-chat { scroll-snap-align: start; }
  .hm-swipe { display: block; }
  .hm-plan-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .hm-sec { padding: 80px 0; }
  .hm-hero { min-height: 0; padding: 104px 0 32px; }
  /* 좁은 화면: 영상은 첫 화면 위쪽(제목 뒤)에서 인물이 보이게, 입력 칸부터는 밤 바탕 */
  .hm-hero-media { bottom: auto; height: 600px; }
  .hm-video { object-position: 80% 20%; }
  .hm-hero-media::after { background: linear-gradient(90deg, rgba(7, 20, 40, .78) 0%, rgba(7, 20, 40, .35) 62%, rgba(7, 20, 40, .1) 100%),
    linear-gradient(180deg, rgba(7, 20, 40, .2) 0%, rgba(7, 20, 40, .15) 30%, rgba(7, 20, 40, .82) 70%, var(--night) 100%); }
  .hm-hero h1 { text-shadow: 0 2px 18px rgba(7, 20, 40, .6); }
  .hm-build { padding: 80px 0 72px; }
  .hm-build-head { display: block; }
  .hm-build-head .btn { margin-top: 20px; }
  .hm-stage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "console" "device" "result" "note"; gap: 22px; }
  .hm-phone { --ry: 0deg; --rx: 0deg; }
  .hm-tiles { grid-template-columns: minmax(0, 1fr); }
  .hm-chat-grid { grid-auto-columns: 86%; }
  .hm-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-kpis span { min-height: 0; }
  .hm-desk { min-height: 380px; }
  .hm-sample-phone { height: 560px; }
  .hm-cover { display: grid; place-items: center; position: absolute; inset: 0; width: 100%; border: 0; background: rgba(7, 20, 40, .3); color: #fff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
  .hm-cover[hidden] { display: none; }
  .hm-cover span { background: var(--night); border-radius: 999px; padding: 12px 20px; box-shadow: 0 10px 30px rgba(7, 20, 40, .4); }
}
@media (max-width: 640px) {
  .hm-try { padding: 16px; }
  .hm-try label { font-size: 17px; }
  .hm-try-row { flex-direction: column; }
  .hm-try .btn { width: 100%; }
  .hm-line { max-width: none; }
  .hm-line-body { min-height: 0; max-height: 300px; }
  .mk .hm-hero h1 { font-size: 31px; }
  .hm-for { padding: 16px 18px 4px; }
  .hm-steps { padding: 0 18px 14px; }
  .hm-steps li { gap: 12px; padding: 11px 0; }
  .hm-steps b { font-size: 15.5px; }
  .hm-phone { width: 300px; height: 600px; padding: 10px; border-radius: 42px; }
  .ps { border-radius: 33px; }
  .hm-device::before { width: 300px; height: 300px; }
  .hm-result .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.4; padding: 12px 18px; }
  .hm-line-body { height: 240px; }
  .hm-facts { grid-template-columns: minmax(0, 1fr); }
  .hm-arrow { height: 22px; }
  .hm-arrow i { left: 10%; right: 10%; top: 50%; bottom: auto; width: auto; height: 2px; transform: none; background: linear-gradient(90deg, var(--rule), var(--live), var(--rule)); }
  .hm-arrow i::after { transform: rotate(135deg); margin: -6px 0 0 -5px; }
  .hm-fams { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hm-countries { gap: 10px; }
  .hm-country { aspect-ratio: 3 / 4; border-radius: 16px; }
  .hm-country-in { left: 12px; right: 12px; bottom: 12px; }
  .hm-country-in .big { font-size: 20px; }
  .hm-country-in .meta { font-size: 12px; }
  .hm-ai-stats { gap: 10px; }
  .hm-ai-stats li { padding: 14px; }
  .hm-ai-stats span { font-size: 13.5px; }
  .hm-answer, .hm-anatomy { padding: 18px; }
  .hm-a { min-height: 0; font-size: 15px; }
  .hm-code pre { font-size: 11.5px; }
  .hm-kpis b { font-size: 26px; }
  .hm-dash-in { padding: 16px; }
  .hm-attr td { font-size: 12.5px; }
  .hm-broker { padding: 18px; }
  .hm-broker .btn { width: 100%; }
}
@media (max-width: 374px) {
  .hm-phone { width: 280px; height: 570px; }
  .hm-countries, .hm-ai-stats { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-js .reveal, .hm-js .hm-notes li, .hm-js .hm-dash .hm-bars i { opacity: 1; transform: none; transition: none; }
  .hm-phone { transition: none; }
  .hm-map .arcs path, .hm-steps li.on .ic, .hm-state.busy::before, .hm-typing i, .hm-msg .caret::after { animation: none; }
  .ps.swap .ps-hero, .ps.swap .ps-sec, .ps.swap .ps-name, .hm-armed .hm-msg.in, .hm-armed .hm-why.in { animation: none; }
}

/* 요금: 계속 사용하면 받는 프리미엄 사이트(2026-10). 밤 네이비 대신 영상과 어울리는 따뜻한 먹색과 샴페인 금빛 한 가지만 쓴다. */
.pm-card { display: grid; gap: 4px; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: linear-gradient(90deg, rgba(21, 18, 15, .96) 52%, rgba(21, 18, 15, .55) 100%), #15120f url("/static/media/premium/lobby-film.jpg") right center / cover no-repeat; border: 1px solid rgba(217, 196, 160, .38); transition: border-color .2s ease, transform .2s ease; }
.pm-card b { font-size: 15px; line-height: 1.45; color: #fff; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.pm-card span { font-size: 13.5px; color: #d6c39f; }
.pm-card:hover { border-color: #d9c4a0; transform: translateY(-1px); }
.pcol.rec .pm-card { border-color: rgba(217, 196, 160, .6); }
.pm { background: #0e0c0a; color: #cfc6b8; }
.pm-stage { position: relative; isolation: isolate; overflow: hidden; min-height: min(80vh, 740px); display: flex; align-items: flex-end; }
.pm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pm-stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 12, 10, .3) 0%, rgba(14, 12, 10, .08) 34%, rgba(14, 12, 10, .82) 80%, #0e0c0a 100%), linear-gradient(90deg, rgba(14, 12, 10, .66) 0%, rgba(14, 12, 10, 0) 72%); }
.pm-stage-in { width: 100%; padding-top: 170px; padding-bottom: 76px; }
.pm-k { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: #d9c4a0; }
.mk .pm h2 { margin-top: 14px; color: #fff; font-size: clamp(30px, 3.8vw, 52px); max-width: 22em; letter-spacing: -.035em; line-height: 1.24; }
.pm .sub { margin-top: 18px; max-width: 640px; color: #e2d9cb; font-size: clamp(17px, 1.5vw, 19.5px); }
.pm .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pm .btn.line { color: #fff; border-color: rgba(255, 255, 255, .38); }
.pm-body { padding-top: 28px; padding-bottom: 108px; }
.pm-cmp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; }
.pm-col { border-radius: 18px; padding: 26px 28px; }
.pm-before { border: 1px solid rgba(255, 255, 255, .12); }
.pm-after { background: linear-gradient(160deg, #2b2319 0%, #17130f 72%); border: 1px solid rgba(217, 196, 160, .48); box-shadow: 0 30px 80px -40px rgba(217, 196, 160, .35); }
.pm-col-h { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: #a99f90; }
.pm-after .pm-col-h { color: #d9c4a0; }
.pm-col dl { margin: 14px 0 0; }
.pm-col dl div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.pm-col dt { font-size: 14px; color: #92887a; }
.pm-col dd { margin: 0; font-size: 16.5px; color: #c9c0b2; }
.pm-after dd { color: #fff; font-weight: 600; }
.mk .pm-h3 { margin-top: 68px; color: #fff; font-size: 22px; }
.pm-items { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 36px; border-top: 1px solid rgba(255, 255, 255, .16); counter-reset: pm; }
.pm-items li { padding: 24px 0 26px; border-bottom: 1px solid rgba(255, 255, 255, .1); counter-increment: pm; }
.pm-items li::before { content: counter(pm, decimal-leading-zero); display: block; font-family: var(--num); font-size: 13px; font-weight: 600; color: #d9c4a0; letter-spacing: .12em; }
.pm-items b { display: block; margin-top: 8px; color: #fff; font-size: 18.5px; letter-spacing: -.02em; }
.pm-items p { margin-top: 8px; font-size: 15.5px; color: #bdb3a5; line-height: 1.72; }
.pm-terms { list-style: none; margin: 44px 0 0; padding: 24px 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 36px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.pm-terms li { font-size: 15.5px; color: #e2d9cb; line-height: 1.65; }
.pm-terms b { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .14em; color: #d9c4a0; }
.pm-fine { margin-top: 18px; font-size: 13px; color: #8f8576; }
@media (max-width: 900px) {
  .pm-cmp, .pm-items, .pm-terms { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pm-stage { min-height: 560px; }
  .pm-stage-in { padding-top: 120px; padding-bottom: 40px; }
  .pm .cta .btn { flex: 1 1 100%; }
  .pm-col { padding: 20px; }
  .pm-col dl div { grid-template-columns: 70px minmax(0, 1fr); gap: 10px; }
  .pm-body { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-video { display: none; }
  .pm-stage { background: #0e0c0a url("/static/media/premium/lobby-film.jpg") center / cover no-repeat; }
}
