*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --gray: #6b6b6b;
  --gray-light: #9a9a9a;
  --line: #e5e5e5;
  --paper: #f5f5f5;
  --white: #ffffff;
  --accent: #12b76a;
  --accent-bright: #22c55e;
  --accent-soft: #ecfdf3;
  --accent-glow: rgba(18, 183, 106, 0.22);
  --nav-h: 72px;
  --max: 1080px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --sans: "Inter", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Newsreader", "Noto Serif KR", Georgia, serif;
}

html { scroll-behavior: smooth; font-size: 18px; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

.ko, .en { display: none; }
body:not(.lang-en) .ko { display: inline; }
body:not(.lang-en) .ko-block { display: block; }
body.lang-en .en { display: inline; }
body.lang-en .en-block { display: block; }

/* ── Nav ── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
}

.nav {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.02em;
}

.logo img { width: 36px; height: 36px; border-radius: 8px; }

.logo small {
  display: block;
  font-size: 0.6875rem; font-weight: 500; color: var(--gray);
  letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}

.nav-links {
  display: flex; align-items: center; gap: 2rem;
}

.nav-links a {
  font-size: 0.9375rem; font-weight: 500; color: var(--gray);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray);
  padding: 0;
  letter-spacing: inherit;
}

.nav-dropdown-trigger:hover { color: var(--black); }

.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 280px; padding: 8px; padding-top: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-care-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  transition: background 0.2s;
}

.nav-care-link:hover { background: var(--paper); }

.nav-care-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--accent);
}

.nav-care-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nav-care-text strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.02em;
}

.nav-care-text small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.35;
}

.nav-dropdown-menu a.nav-care-link:hover .nav-care-text strong { color: var(--accent); }

/* legacy single-line dropdown links */
.nav-dropdown-menu a:not(.nav-care-link) {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: 0.8125rem;
}

.nav-dropdown-menu a:not(.nav-care-link):hover { background: var(--paper); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang {
  display: flex; gap: 2px; padding: 2px;
  border: 1px solid var(--line); border-radius: 999px;
}

.lang button {
  border: none; background: none; cursor: pointer;
  font: inherit; font-size: 0.75rem; font-weight: 600;
  padding: 5px 10px; border-radius: 999px; color: var(--gray);
}

.lang button.active { background: var(--black); color: var(--white); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, opacity 0.2s, background 0.2s, border-color 0.2s;
}

.btn-fill { background: var(--accent); color: var(--white); }
.btn-fill:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }

.btn-line { background: var(--white); color: var(--black); border-color: var(--line); }
.btn-line:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.menu-btn {
  display: none; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--white); cursor: pointer;
}

.menu-btn span {
  display: block; width: 16px; height: 1px; margin: 4px auto;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

.menu-btn.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-links a.active { color: var(--black); }

/* ── Hero split ── */
.hero-split {
  padding: calc(var(--nav-h) + 28px) 0 40px;
  background: var(--white);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(2.125rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-title .accent { color: var(--accent); }

.hero-lead {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 34ch;
  margin-bottom: 24px;
  line-height: 1.55;
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

.stats-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--gray);
}

.stats-inline strong {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-right: 4px;
}

.hero-device {
  will-change: transform;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-device img {
  width: min(100%, 300px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.hero-device img.en { display: none; }
body.lang-en .hero-device img.ko { display: none; }
body.lang-en .hero-device img.en { display: block; }

body.anim-ready .hero-device img {
  animation: floatY 5s ease-in-out infinite;
}

/* insight / trio mockups */
.insight-device img {
  width: min(100%, 200px);
  margin-inline: auto;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.08));
}

.insight-device img.en { display: none; }
body.lang-en .insight-device img.ko { display: none; }
body.lang-en .insight-device img.en { display: block; }

/* ── Sections ── */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section-tint { background: var(--paper); }
.section-dark { background: var(--black); color: var(--white); border-top: none; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head-light .label { color: rgba(255,255,255,0.45); }
.section-head-light h2 { color: var(--white); }

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 12px;
}

/* YouTube */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.video-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  transition: background 0.2s;
}

.video-card:hover .video-play { background: rgba(0, 0, 0, 0.32); }

.video-play svg {
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.youtube-cta {
  display: flex;
  justify-content: center;
}

/* Trio — clinic / app / book */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trio-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-spring);
}

.trio-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 48px var(--accent-glow);
  transform: translateY(-8px);
}

.trio-media {
  aspect-ratio: 4/3;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trio-media img {
  width: 55%;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.1));
}

.trio-media img.en { display: none; }
body.lang-en .trio-media img.ko { display: none; }
body.lang-en .trio-media img.en { display: block; }

.trio-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trio-media.trio-book {
  aspect-ratio: auto;
  min-height: 240px;
}

.trio-book {
  background: var(--paper);
  padding: 24px;
}

/* Book cover */
.book-cover {
  position: relative;
  display: inline-flex;
  filter: drop-shadow(12px 16px 28px rgba(0, 0, 0, 0.18));
  transform: perspective(800px) rotateY(-8deg);
  transition: transform 0.4s var(--ease-spring);
}

.trio-card:hover .book-cover { transform: perspective(800px) rotateY(-4deg) translateY(-4px); }

.book-cover--lg { transform: perspective(900px) rotateY(-10deg); }

.book-hero-grid { align-items: center; }
.book-hero-copy { text-align: left; }
.book-hero-copy p { margin: 0 0 24px; text-align: left; max-width: none; color: var(--gray); font-size: 1.0625rem; line-height: 1.6; }

.book-cover__edge {
  width: 14px;
  background: linear-gradient(90deg, #1a1a1a, #333);
  border-radius: 2px 0 0 2px;
  flex-shrink: 0;
}

.book-cover__front {
  width: 148px;
  min-height: 210px;
  padding: 22px 18px 20px;
  background: var(--black);
  color: var(--white);
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.book-cover--lg .book-cover__front {
  width: 220px;
  min-height: 310px;
  padding: 32px 28px 28px;
}

.book-cover__stripe {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--accent);
}

.book-cover__series {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.book-cover--lg .book-cover__series { font-size: 0.6875rem; }

.book-cover__title {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin: 12px 0 auto;
}

.book-cover__title .ko,
.book-cover__title .en,
.book-cover__sub .ko,
.book-cover__sub .en { display: block; }

.book-cover--lg .book-cover__title { font-size: 1.5rem; }

.book-cover__sub {
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  margin-top: 8px;
}

.book-cover--lg .book-cover__sub { font-size: 0.75rem; }

.book-cover__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.book-cover--lg .book-cover__foot { font-size: 0.6875rem; }

.book-cover__date {
  color: var(--accent-bright);
  font-weight: 700;
}

/* legacy alias */
.book-cover-mini { display: none; }

.trio-body { padding: 24px; }

.trio-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trio-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.25s var(--ease-spring);
}

.trio-card:hover .trio-link { transform: translateX(4px); }

/* Insight */
.insight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.insight-copy h2 {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.tags-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform 0.3s var(--ease-spring), background 0.2s;
}

.tag:hover { transform: translateY(-2px); }

.tag-fill {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--accent);
}

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.tile {
  background: var(--white);
  padding: 36px 28px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s, transform 0.4s var(--ease-spring);
}

.tile:hover { background: var(--paper); transform: translateY(-4px); }

.tile h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.tile p { font-size: 1rem; color: var(--gray); flex: 1; line-height: 1.5; }
.tile-arrow { font-size: 1rem; font-weight: 600; color: var(--accent); margin-top: 20px; transition: transform 0.25s var(--ease-spring); }
.tile:hover .tile-arrow { transform: translateX(4px); }

/* Contrast */
.contrast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
}

.contrast-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contrast-item-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.contrast-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.contrast-label.muted { color: var(--gray-light); }

.contrast-item p { font-size: 1.0625rem; color: var(--gray); line-height: 1.6; }
.contrast-item-active p { color: var(--accent); }

.approach-minimal {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.approach-minimal h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.approach-minimal p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.65;
}

/* BMV pillars */
.bmv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
}

.bmv-item {
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  text-align: center;
}

.bmv-item span {
  display: block;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 8px;
}

.bmv-item strong {
  display: block;
  font-family: var(--sans);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-bright);
}

.bmv-item p { font-size: 0.9375rem; color: rgba(255,255,255,0.6); }

/* CTA */
.cta-band {
  padding: 80px 0;
  text-align: center;
  background: var(--paper);
}

.cta-band h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.cta-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* Footer */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); }

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-links { display: flex; gap: 48px; }

.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--gray);
  margin-bottom: 8px;
}

.footer-col a:hover { color: var(--black); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--gray-light);
}

.footer-bottom a { color: inherit; }

/* Float */
.float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}

.float a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.float .phone { background: var(--black); color: var(--white); }
.float .kakao { background: #fee500; color: #3a1d1d; }

/* ── Subpages ── */
.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 48px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero h1 em { font-style: normal; color: var(--accent); }

.page-hero p {
  font-size: 1.0625rem;
  color: var(--gray);
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.6;
}

.page-content { padding: 64px 0 80px; }

.page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.page-grid-wide { grid-template-columns: 1.1fr 0.9fr; }

.video-wrap {
  border-radius: 16px;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16/10;
}

.video-wrap video { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 1.0625rem; color: var(--gray); line-height: 1.75; }
.prose p { margin-bottom: 1rem; }
.prose strong { color: var(--black); font-weight: 600; }

.info-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--gray); flex-shrink: 0; }
.info-row a { color: var(--accent); font-weight: 500; }

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  margin-top: 32px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}

.feature-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p { font-size: 0.9375rem; color: var(--gray); line-height: 1.6; }

.num-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.num-item {
  text-align: center;
  padding: 20px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.num-item em {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.num-item span { font-size: 0.8125rem; color: var(--gray); line-height: 1.45; }

.toc-part {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.toc-part h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 8px; }
.toc-part p { font-size: 0.9375rem; color: var(--gray); margin-bottom: 12px; }
.toc-part ul { list-style: none; font-size: 0.9375rem; color: var(--gray); }
.toc-part li { padding: 4px 0; }

.doc {
  max-width: 680px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 48px) 20px 80px;
}

.doc h1 {
  font-family: var(--sans);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.doc-meta { font-size: 0.9375rem; color: var(--gray); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }

.doc h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.doc p, .doc li { font-size: 1rem; color: var(--gray); line-height: 1.75; margin-bottom: 10px; }
.doc ul { margin-left: 1.25rem; margin-bottom: 16px; }
.doc .callout {
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.65;
}

.mockup-center img {
  width: min(100%, 300px);
  margin-inline: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.mockup-center img.en { display: none; }
body.lang-en .mockup-center img.ko { display: none; }
body.lang-en .mockup-center img.en { display: block; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.anim-hero {
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) forwards;
  animation-delay: var(--delay, 0s);
}

.anim-hero-scale {
  opacity: 0;
  animation: scaleIn 1s var(--ease-out) forwards;
  animation-delay: var(--delay, 0.15s);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.reveal-scale {
  transform: scale(0.96) translateY(24px);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-left.is-visible,
.reveal-right.is-visible { opacity: 1; transform: none; }

.header { transition: box-shadow 0.3s, background 0.3s; }
.header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.97);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
  body.anim-ready .hero-device img { animation: none !important; }
}

/* Responsive */
@media (min-width: 901px) and (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-split-grid, .insight, .trio, .tiles, .contrast, .bmv, .page-grid, .feature-grid, .num-grid, .video-grid {
    grid-template-columns: 1fr;
  }
  .num-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-device { order: -1; }
  .hero-device img { width: min(100%, 240px); }
  .hero-split { padding-bottom: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed; inset: var(--nav-h) 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px 20px 24px;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-dropdown-trigger {
    padding: 14px 0; border-bottom: 1px solid var(--line);
    width: 100%;
    text-align: left;
  }
  .nav-dropdown-menu {
    position: static; transform: none; display: none;
    box-shadow: none; border: none; padding: 0 0 8px 16px;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-right .btn-fill { display: none; }
  .menu-btn { display: block; }
  .nav .lang { margin-top: 12px; align-self: center; }
  .section { padding: 56px 0; }
  .footer-links { flex-direction: column; gap: 24px; }
}


/* ── Phase 2: Residual 정서 카피 ── */
.insight-lead {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--black);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.insight-lead em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
@media (max-width: 768px) {
  .insight-lead { font-size: 0.9375rem; }
}


/* ── Phase 2: book / app 정서 카피 ── */
.book-lead, .app-lead {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  margin: 12px 0 0;
  letter-spacing: -0.005em;
  font-weight: 400;
}
@media (max-width: 768px) {
  .book-lead, .app-lead { font-size: 0.9375rem; }
}


/* ── Phase 2: treatment 페이지 정서 박스 ── */
.emotion-box {
  margin: 32px 0;
  padding: 28px 32px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
}
.emotion-box p {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--black);
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.emotion-box p:last-child {
  margin-bottom: 0;
}
.emotion-bridge {
  margin-top: 20px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-weight: 500 !important;
  color: var(--accent) !important;
}
.emotion-bridge em {
  font-style: italic;
  font-weight: 600;
  color: var(--black);
}
@media (max-width: 768px) {
  .emotion-box {
    padding: 22px 20px;
    margin: 24px 0;
  }
  .emotion-box p {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .emotion-bridge {
    text-align: left;
  }
}


/* ── Phase 2 fix: BMV 라이트 버전 (app.html용) ── */
.bmv-light {
  background: var(--line);
  border: 1px solid var(--line);
}
.bmv-light .bmv-item {
  background: var(--white);
}
/* span 색상을 .bmv-item 다크 규칙에서 분리 */
.bmv-light .bmv-item > span {
  color: var(--gray);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bmv-light .bmv-item strong {
  color: var(--black);
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
}
.bmv-light .bmv-item strong span {
  color: inherit;
}
.bmv-light .bmv-item p {
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-top: 6px;
}
.bmv-light .bmv-item p span {
  color: inherit;
}
@media (max-width: 768px) {
  .bmv-light {
    grid-template-columns: 1fr;
  }
  .bmv-light .bmv-item {
    padding: 22px 20px;
  }
}


/* ── Phase 2 fix: 글꼴 가독성 강화 ── */

/* BMV 다크 — 라벨 / 본문 키우고 대비 강화 */
.bmv-item span {
  font-size: 0.8125rem;  /* 14.6px (기존 12.4px) */
  color: rgba(255,255,255,0.55);  /* 0.35 → 0.55 대비 강화 */
}
.bmv-item p {
  font-size: 1rem;  /* 18px (기존 16.9px) */
  line-height: 1.65;
  color: rgba(255,255,255,0.85);  /* 대비 강화 */
}

/* BMV 라이트 (app.html) — 라벨 / 본문 키우고 색상 진하게 */
.bmv-light .bmv-item > span {
  font-size: 0.8125rem;  /* 14.6px (기존 12.4px) */
  font-weight: 700;
  color: var(--accent);  /* gray → accent 강조 */
  letter-spacing: 0.08em;
}
.bmv-light .bmv-item strong {
  font-size: 1.375rem;  /* 24.75px (기존 22.5px) */
}
.bmv-light .bmv-item p {
  font-size: 1.0625rem;  /* 19.1px (기존 16.9px) */
  line-height: 1.65;
  color: #3a3a3a;  /* gray(#6b6b6b)보다 진하게 — 가독성 강화 */
  font-weight: 500;
}

/* 책 페이지 — "이 책으로 얻는 것" 5가지 */
.num-item {
  padding: 24px 16px;  /* 패딩 키워서 시각적 무게 */
}
.num-item em {
  display: block;
  font-size: 1.5rem;  /* 번호 크게 */
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-style: normal;
}
.num-item span {
  font-size: 1rem;  /* 18px (기존 14.6px) — 사용자 핵심 지적 */
  font-weight: 600;
  color: var(--black);
  line-height: 1.5;
}

/* 책 페이지 — 목차 본문 */
.toc-part h3 {
  font-size: 1.125rem;  /* 20.25px */
}
.toc-part p {
  font-size: 1rem;  /* 18px (기존 16.9px) */
  line-height: 1.65;
  color: #3a3a3a;
}

/* feature-card — app.html 4 features */
.feature-card strong {
  font-size: 1.125rem;  /* 20.25px */
}
.feature-card p {
  font-size: 1rem;  /* 18px */
  line-height: 1.6;
  color: #3a3a3a;
}

/* 라벨 (.label) — 전체적으로 살짝 키움 */
.label {
  font-size: 0.8125rem;  /* 14.6px (기존 13.5px) */
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* 정보 카드 (clinic.html) */
.info-card h3 {
  font-size: 0.8125rem;  /* 14.6px */
  letter-spacing: 0.08em;
}
.info-row {
  font-size: 1rem;  /* 18px (기존 16.9px) */
  line-height: 1.7;
}

/* tile (메인 페이지 진료 카드) */
.tile p {
  font-size: 1.0625rem;  /* 19.1px */
  line-height: 1.65;
  color: #3a3a3a;
}

/* stats-inline */
.stats-inline {
  font-size: 0.9375rem;  /* 16.9px (기존 15.8px) */
}
.stats-inline strong {
  font-size: 1.125rem;
  color: var(--accent);
}

/* tag */
.tag {
  font-size: 0.9375rem;  /* 16.9px */
  padding: 8px 16px;
}

/* 푸터 가독성 */
.footer-col h4 {
  font-size: 0.8125rem;  /* 14.6px */
  letter-spacing: 0.06em;
}
.footer-col a {
  font-size: 1rem;  /* 18px */
}
.footer-bottom {
  font-size: 0.8125rem;  /* 14.6px */
}

/* 모바일 — 작은 화면에서도 가독성 유지 */
@media (max-width: 768px) {
  .bmv-light .bmv-item p,
  .num-item span,
  .feature-card p,
  .toc-part p,
  .tile p,
  .info-row {
    font-size: 1rem;  /* 18px 유지 */
  }
  .num-item em {
    font-size: 1.375rem;
  }
}


/* ── Phase 2 add: app.html 프리미엄 섹션 ── */
.premium-box {
  margin-top: 48px;
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.premium-head {
  text-align: center;
  margin-bottom: 28px;
}
.premium-head h2 {
  font-family: var(--serif);
  font-size: 1.625rem;
  font-weight: 400;
  margin: 8px 0 12px;
}
.premium-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: #3a3a3a;
  max-width: 540px;
  margin: 0 auto;
}
.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.premium-card {
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
}
.premium-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  line-height: 1;
}
.premium-card strong {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.35;
}
.premium-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #3a3a3a;
  margin: 0;
}
.premium-cta {
  text-align: center;
}
.premium-pricing {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .premium-box {
    padding: 28px 20px;
  }
  .premium-grid {
    grid-template-columns: 1fr;
  }
  .premium-card p {
    font-size: 0.9375rem;
  }
}
