@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --ink: #0d1717;
  --deep: #102425;
  --steel: #37606a;
  --blue: #4f8da0;
  --mint: #dcebe6;
  --porcelain: #f7f8f4;
  --paper: #ffffff;
  --clay: #a8684c;
  --line: rgba(13, 23, 23, 0.14);
  --muted: #5f6d6b;
  --shadow: 0 28px 90px rgba(13, 23, 23, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  word-break: keep-all;
}

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

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

button,
select,
textarea {
  font: inherit;
}

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

.sample-disclosure {
  position: fixed;
  top: 136px;
  right: max(20px, calc((100vw - 1180px) / 2));
  z-index: 30;
  max-width: 290px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(13, 23, 23, 0.86);
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
  backdrop-filter: blur(16px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(220px, 1fr) minmax(220px, 0.34fr);
  grid-template-areas:
    "top brand support"
    "nav nav nav";
  gap: 0 20px;
  align-items: center;
  min-height: 116px;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: #fff;
  background: linear-gradient(180deg, rgba(13, 23, 23, 0.58), rgba(13, 23, 23, 0.08));
}

.clinic-topline {
  grid-area: top;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.clinic-topline strong {
  color: #e0cda8;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.header-support {
  grid-area: support;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-bottom: 1px solid rgba(224, 205, 168, 0.7);
  color: #e0cda8;
  font-size: 13px;
  font-weight: 920;
  white-space: nowrap;
}

.brand-row {
  grid-area: brand;
  display: flex;
  justify-content: center;
  min-height: 52px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 920;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 1000;
}

.nav-links {
  grid-area: nav;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 850;
  background: rgba(13, 23, 23, 0.24);
  backdrop-filter: blur(14px);
}

.nav-links .nav-cta {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
}

.hero-photo,
.hero-photo img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    radial-gradient(circle at 73% 52%, rgba(158, 215, 223, 0.18), transparent 18%),
    linear-gradient(0deg, rgba(13, 23, 23, 0.86) 0%, rgba(13, 23, 23, 0.18) 45%, rgba(13, 23, 23, 0.68) 100%),
    linear-gradient(90deg, rgba(13, 23, 23, 0.62), rgba(13, 23, 23, 0.08) 56%, rgba(13, 23, 23, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 158px max(20px, calc((100vw - 1180px) / 2)) 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: #9ed7df;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.diagnosis-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scan-target {
  position: absolute;
  top: 43%;
  right: 9.5%;
  width: clamp(220px, 22vw, 330px);
  aspect-ratio: 1.55;
  border: 1px solid rgba(158, 215, 223, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 49%, rgba(158, 215, 223, 0.42) 49%, rgba(158, 215, 223, 0.42) 50%, transparent 50%),
    linear-gradient(0deg, transparent 49%, rgba(158, 215, 223, 0.28) 49%, rgba(158, 215, 223, 0.28) 50%, transparent 50%);
  box-shadow:
    0 0 0 999px rgba(13, 23, 23, 0.03),
    inset 0 0 32px rgba(158, 215, 223, 0.14),
    0 0 42px rgba(158, 215, 223, 0.12);
}

.scan-target::before,
.scan-target::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(158, 215, 223, 0.48);
  border-radius: 999px;
}

.scan-target::before {
  inset: 18%;
}

.scan-target::after {
  inset: 34%;
}

.scan-target span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9ed7df;
  box-shadow: 0 0 20px rgba(158, 215, 223, 0.86);
}

.map-note {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 162px;
  border-left: 1px solid rgba(158, 215, 223, 0.62);
  background: linear-gradient(90deg, rgba(13, 23, 23, 0.62), rgba(13, 23, 23, 0.26));
  color: rgba(255, 255, 255, 0.88);
  padding: 10px 12px;
  backdrop-filter: blur(14px);
}

.map-note::after {
  content: "";
  position: absolute;
  top: 50%;
  width: var(--line-width, 96px);
  height: 1px;
  background: linear-gradient(90deg, rgba(158, 215, 223, 0.78), rgba(158, 215, 223, 0));
  transform: rotate(var(--line-angle, 0deg));
  transform-origin: left center;
}

.map-note span {
  color: #9ed7df;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.map-note strong {
  font-size: 14px;
  line-height: 1.2;
}

.map-note em {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.note-bone {
  top: 31%;
  right: 31%;
  --line-width: 132px;
  --line-angle: 18deg;
}

.note-bone::after,
.note-bite::after,
.note-care::after {
  left: calc(100% + 8px);
}

.note-path {
  top: 39%;
  right: max(92px, 4vw);
  --line-width: 118px;
  --line-angle: 162deg;
}

.note-path::after {
  right: calc(100% + 8px);
  background: linear-gradient(90deg, rgba(158, 215, 223, 0), rgba(158, 215, 223, 0.78));
}

.note-bite {
  top: 62%;
  right: 36%;
  --line-width: 112px;
  --line-angle: -16deg;
}

.note-care {
  top: 70%;
  left: 42%;
  --line-width: 150px;
  --line-angle: -9deg;
}

.hero-brief {
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  bottom: 174px;
  z-index: 3;
  max-width: 520px;
}

.hero-brief h1 {
  max-width: 520px;
  margin-bottom: 14px;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero-brief > p:not(.eyebrow) {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.72;
}

.hero-actions {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 164px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.hero-reading-strip {
  position: absolute;
  left: max(20px, calc((100vw - 1180px) / 2));
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 104px;
  background: rgba(247, 248, 244, 0.93);
  color: var(--ink);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.18);
}

.hero-reading-strip > span {
  display: flex;
  align-items: center;
  border-right: 1px solid var(--line);
  padding: 0 28px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.hero-reading-strip ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-reading-strip li {
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding: 18px 22px;
}

.hero-reading-strip li:last-child {
  border-right: 0;
}

.hero-reading-strip b {
  color: var(--clay);
  font-size: 12px;
  font-weight: 1000;
}

.hero-reading-strip strong {
  font-size: clamp(17px, 1.4vw, 24px);
  line-height: 1.1;
}

.quick-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 25;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.quick-rail a {
  display: grid;
  place-items: center;
  width: 76px;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 23, 23, 0.46);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
}

.quick-rail span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 900;
}

.quick-rail strong {
  font-size: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 900;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.hero .button.primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.decision-desk,
.case-selector,
.pathway,
.cost-board,
.source-faq,
.consult {
  padding: 92px max(20px, calc((100vw - 1180px) / 2));
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-kicker h2,
.case-copy h2,
.cost-intro h2,
.source-faq h2,
.consult-copy h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.05;
}

.decision-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.decision-head,
.decision-table article {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr) minmax(170px, 0.25fr);
  gap: 20px;
  align-items: start;
}

.decision-head {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.decision-table article {
  min-height: 118px;
  border-top: 1px solid var(--line);
  padding: 22px 20px;
}

.decision-table strong {
  font-size: 22px;
  line-height: 1.18;
}

.decision-table p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.decision-table em {
  color: var(--steel);
  font-style: normal;
  font-weight: 1000;
}

.case-selector {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(360px, 0.56fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: stretch;
  background: #e8f0ed;
}

.case-copy p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.case-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.case-tab {
  min-height: 42px;
  border: 1px solid rgba(13, 23, 23, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  padding: 0 13px;
  cursor: pointer;
  font-weight: 900;
}

.case-tab.is-active {
  background: var(--deep);
  color: #fff;
}

.case-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  border: 1px solid rgba(13, 23, 23, 0.16);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
}

.case-panel span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.case-panel h3 {
  margin: 36px 0 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.06;
}

.case-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.case-panel ul {
  display: grid;
  gap: 9px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.case-panel li {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: #263333;
  font-weight: 850;
}

.pathway-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  list-style: none;
  overflow: hidden;
}

.pathway-list li {
  min-height: 300px;
  border-right: 1px solid var(--line);
  padding: 24px;
}

.pathway-list li:last-child {
  border-right: 0;
}

.pathway-list span,
.cost-grid span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 1000;
}

.pathway-list strong {
  display: block;
  margin-top: 88px;
  font-size: 27px;
  line-height: 1.1;
}

.pathway-list p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.cost-board {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  background: var(--deep);
  color: #fff;
}

.cost-intro {
  position: sticky;
  top: 92px;
  align-self: start;
}

.cost-intro p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.72;
}

.cost-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cost-grid div {
  min-height: 178px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 20px;
}

.cost-grid strong {
  display: block;
  margin-top: 58px;
  font-size: 24px;
  line-height: 1.15;
}

.source-faq {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
}

.source-faq p,
.consult-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 1000;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.source-links {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.source-links strong,
.source-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.source-links strong {
  background: var(--ink);
  color: #fff;
}

.source-links a {
  border: 1px solid var(--line);
  background: #fff;
}

.consult {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 0.72fr);
  gap: 32px;
  background: #e8f0ed;
}

.consult-form {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(13, 23, 23, 0.14);
  border-radius: 8px;
  background: var(--paper);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}

.consult-form label {
  color: #2f3d3d;
  font-size: 13px;
  font-weight: 1000;
}

.consult-form select,
.consult-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
}

.consult-form textarea {
  resize: vertical;
}

.consult-form .button {
  margin-top: 8px;
}

.form-note {
  min-height: 22px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 32px max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "nav";
    min-height: 112px;
  }

  .clinic-topline {
    display: none;
  }

  .header-support {
    display: none;
  }

  .case-selector,
  .cost-board,
  .source-faq,
  .consult {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 142px;
  }

  .map-note {
    display: none;
  }

  .scan-target {
    top: 39%;
    right: 7%;
    width: 270px;
  }

  .hero-brief {
    bottom: 206px;
    max-width: 620px;
  }

  .hero-actions {
    right: auto;
    left: max(20px, calc((100vw - 1180px) / 2));
    bottom: 142px;
  }

  .hero-reading-strip {
    grid-template-columns: 1fr;
    min-height: 132px;
  }

  .hero-reading-strip > span {
    min-height: 42px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
  }

  .hero-reading-strip li {
    padding: 16px 18px;
  }

  .pathway-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-list li:nth-child(2n) {
    border-right: 0;
  }

  .pathway-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .cost-intro {
    position: static;
  }

  .source-links {
    grid-column: auto;
  }

  .sample-disclosure {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    display: grid;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a:first-child,
  .nav-links .nav-cta {
    display: none;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
  }

  .hero-photo img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(13, 23, 23, 0.94) 0%, rgba(13, 23, 23, 0.68) 54%, rgba(13, 23, 23, 0.25) 100%),
      linear-gradient(90deg, rgba(13, 23, 23, 0.52), rgba(13, 23, 23, 0.22));
  }

  .hero-content {
    min-height: 760px;
    padding: 136px 20px 0;
  }

  .diagnosis-map {
    display: none;
  }

  .hero-brief {
    left: 20px;
    right: 20px;
    bottom: 238px;
    max-width: none;
  }

  .hero-brief h1 {
    max-width: 440px;
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1.2;
  }

  .hero-brief > p:not(.eyebrow) {
    max-width: 430px;
    font-size: 15px;
  }

  .hero-actions {
    left: 20px;
    right: 20px;
    bottom: 166px;
  }

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

  .hero-reading-strip {
    left: 20px;
    right: 20px;
    min-height: 144px;
  }

  .hero-reading-strip ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-reading-strip li {
    min-height: 50px;
    border-top: 1px solid var(--line);
    padding: 12px 14px;
  }

  .hero-reading-strip li:nth-child(2n) {
    border-right: 0;
  }

  .hero-reading-strip strong {
    font-size: 17px;
  }

  .quick-rail {
    display: none;
  }

  .decision-desk,
  .case-selector,
  .pathway,
  .cost-board,
  .source-faq,
  .consult {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-kicker,
  .decision-head,
  .decision-table article,
  .cost-grid,
  .pathway-list {
    grid-template-columns: 1fr;
  }

  .decision-head {
    display: none;
  }

  .decision-table article {
    gap: 10px;
  }

  .decision-table em {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    border-radius: 999px;
    background: #e8f0ed;
    padding: 6px 10px;
  }

  .case-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-panel {
    min-height: 0;
  }

  .pathway-list li,
  .pathway-list li:nth-child(2n) {
    min-height: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .pathway-list li:first-child {
    border-top: 0;
  }

  .pathway-list strong,
  .cost-grid strong {
    margin-top: 28px;
  }

  .sample-disclosure {
    display: none;
  }
}
