/* ==========================================================================
   (주)헬스앤소울 · health-soul.com
   Clean healthcare design system
   ========================================================================== */

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

:root {
  --ink: #0f1e33;
  --ink-soft: #3c5068;
  --muted: #6a7d94;
  --line: #e3ebf3;
  --bg: #ffffff;
  --bg-soft: #f4f9fc;
  --bg-tint: #eef6fb;
  --brand: #0f6fb8;
  --brand-dark: #0a5490;
  --brand-light: #d7ecf9;
  --mint: #17a08c;
  --mint-light: #dcf3ef;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 51, .06), 0 4px 16px rgba(15, 30, 51, .05);
  --shadow-md: 0 2px 6px rgba(15, 30, 51, .07), 0 18px 46px rgba(15, 30, 51, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -.02em;
}
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-en {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--muted);
  margin-top: -4px;
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a.is-active { color: var(--brand); font-weight: 600; }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}
.nav-cta:hover { background: var(--brand-dark); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--brand-light) 0%, rgba(215, 236, 249, 0) 65%),
    radial-gradient(700px 400px at 5% 110%, var(--mint-light) 0%, rgba(220, 243, 239, 0) 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 104px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--brand-light);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: var(--shadow-sm);
}
h1, h2, h3, h4 { letter-spacing: -.03em; line-height: 1.3; color: var(--ink); }
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 20px 0 18px;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand);
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 30px;
  max-width: 30em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* Hero card */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  padding: 26px;
}
.hero-card h3 { margin: 0 0 4px; font-size: 16px; }
.hero-card .sub { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.metric-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.metric {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.metric .k { font-size: 12px; color: var(--muted); font-weight: 600; }
.metric .v { font-size: 20px; font-weight: 700; letter-spacing: -.03em; margin-top: 2px; }
.metric .v small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.bar-list { margin-top: 18px; display: grid; gap: 12px; }
.bar-item .bar-top {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink-soft); font-weight: 600; margin-bottom: 6px;
}
.bar-track { height: 8px; border-radius: 999px; background: var(--bg-tint); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--mint)); }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.tinted { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head .tag {
  font-size: 13px; font-weight: 700; color: var(--mint);
  letter-spacing: .06em; text-transform: uppercase;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 14px; font-weight: 700; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 16px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.feature-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.feature-list li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; color: var(--ink-soft);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 3px;
  background: var(--mint);
}

/* Service block */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: 0; }
.service-block.reverse .visual { order: -1; }
.service-block h3 { font-size: 24px; margin: 12px 0 12px; }
.service-block p { color: var(--ink-soft); margin: 0 0 8px; }
.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--mint-light); color: #0d6f60;
  font-size: 12.5px; font-weight: 700;
}
.pill.blue { background: var(--brand-light); color: var(--brand-dark); }
.pill.gray { background: #eef1f5; color: var(--muted); }

.visual {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 22px;
}
.phone {
  margin: 0 auto;
  width: 250px;
  border: 9px solid #101c2c;
  border-radius: 34px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.phone-bar {
  height: 26px; background: #101c2c;
  display: flex; align-items: center; justify-content: center;
}
.phone-bar span { width: 60px; height: 5px; border-radius: 99px; background: #3a4c63; }
.phone-body { padding: 16px 14px 20px; }
.phone-body .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 10px; background: var(--bg-soft);
  margin-bottom: 8px; font-size: 13px; color: var(--ink-soft); font-weight: 600;
}
.phone-body .row b { color: var(--brand); font-size: 13px; }
.phone-title { font-size: 15px; font-weight: 700; margin: 0 0 12px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
}
.step-no {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.step h4 { margin: 6px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table th {
  width: 200px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand) 55%, var(--mint));
  color: #fff;
  border-radius: 22px;
  padding: 48px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: 26px; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .88); }
.cta-band .btn-ghost { background: #fff; border-color: #fff; color: var(--brand-dark); }

/* Prose (privacy / terms) */
.page-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.page-head h1 { font-size: clamp(28px, 3.6vw, 38px); margin: 10px 0 12px; font-weight: 800; }
.page-head p { color: var(--ink-soft); margin: 0; max-width: 44em; }
.prose { max-width: 860px; }
.prose h2 { font-size: 21px; margin: 40px 0 12px; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.notice {
  background: var(--bg-tint);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0f1e33;
  color: #b9c7d8;
  padding: 56px 0 40px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer h4 {
  color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 700;
  letter-spacing: .02em;
}
.site-footer a { color: #b9c7d8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-brand .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand p { margin: 14px 0 0; color: #8fa2b8; max-width: 26em; line-height: 1.7; }
.biz-info {
  padding-top: 24px;
  color: #8497ad;
  font-size: 13px;
  line-height: 2;
}
.biz-info span { margin-right: 16px; white-space: nowrap; }
.copyright { margin-top: 14px; color: #6d8098; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 28px; }
  .service-block.reverse .visual { order: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  section { padding: 60px 0; }
  .cta-band { padding: 34px 26px; }
  .info-table th { width: 130px; }

  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    box-shadow: var(--shadow-sm);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; margin-top: 12px; }
}

@media (max-width: 520px) {
  .metric-row { grid-template-columns: 1fr; }
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 4px; }
}
