:root {
  color-scheme: light;
  --ink: #1c1716;
  --muted: #6e625e;
  --soft: #f8f3ee;
  --paper: #fffdf9;
  --panel: #ffffff;
  --line: #eadfd7;
  --rose: #b96f69;
  --rose-dark: #7f4441;
  --sage: #7e9276;
  --clay: #d9a477;
  --charcoal: #262120;
  --shadow: 0 24px 70px rgba(47, 34, 30, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 74px;
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 249, 0.88);
  border-bottom: 1px solid rgba(234, 223, 215, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--rose-dark);
  border-radius: 8px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 32px);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--rose-dark);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-button {
  color: #ffffff;
  background: var(--rose-dark);
  box-shadow: 0 12px 28px rgba(127, 68, 65, 0.22);
}

.secondary-button {
  color: var(--rose-dark);
  background: #ffffff;
  border: 1px solid var(--line);
}

.secondary-button.light {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: clamp(34px, 7vw, 88px);
  min-height: calc(100vh - 74px);
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 62px);
  background:
    linear-gradient(135deg, rgba(185, 111, 105, 0.16), transparent 32%),
    linear-gradient(315deg, rgba(126, 146, 118, 0.15), transparent 34%),
    var(--soft);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6.3vw, 78px);
  line-height: 1.08;
  font-weight: 800;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.74;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 38px 0 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  margin-bottom: 5px;
  color: var(--rose-dark);
  font-size: 27px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-visual,
.visual-panel {
  position: relative;
}

.hero-visual img,
.visual-panel img {
  width: min(100%, 760px);
  margin-left: auto;
  border: 1px solid rgba(38, 33, 32, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  background: var(--charcoal);
}

.trust-strip span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
  text-align: center;
}

.section,
.split-section,
.reviews,
.contact {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.worry {
  background: #ffffff;
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.worry-grid p {
  position: relative;
  min-height: 132px;
  margin: 0;
  padding: 24px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.worry-grid p::before {
  display: block;
  margin-bottom: 14px;
  color: var(--rose-dark);
  content: "Q";
  font-size: 22px;
  font-weight: 800;
}

.worry-note {
  max-width: 980px;
  margin-top: 22px;
  padding: 26px;
  background: var(--charcoal);
  border-radius: 8px;
}

.worry-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

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

.feature-card,
.price-card,
blockquote {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(47, 34, 30, 0.08);
}

.feature-card {
  overflow: hidden;
  padding: 0;
}

.card-photo {
  width: 100%;
  height: 245px;
  margin: 0 0 24px;
  object-fit: cover;
  object-position: center 34%;
  border-bottom: 1px solid var(--line);
}

.feature-card > .feature-icon,
.feature-card > h3,
.feature-card > p {
  margin-right: 30px;
  margin-left: 30px;
}

.feature-card > p {
  margin-bottom: 30px;
}

.feature-icon {
  display: inline-grid;
  width: 46px;
  height: 36px;
  place-items: center;
  margin-bottom: 30px;
  color: #ffffff;
  background: var(--sage);
  border-radius: 8px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  background: #f1e8df;
}

.process {
  background: #ffffff;
}

.timeline {
  display: grid;
  gap: 16px;
  max-width: 960px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #ffffff;
  background: var(--rose);
  border-radius: 8px;
  font-weight: 800;
}

.timeline p,
.feature-card p {
  margin-bottom: 0;
}

.recommend {
  background: var(--soft);
}

.recommend-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.recommend-list span {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 18px;
  color: var(--rose-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.diagnosis {
  background:
    linear-gradient(135deg, rgba(127, 68, 65, 0.12), transparent 32%),
    var(--soft);
}

.diagnosis-shell {
  max-width: 1040px;
  margin: 0 auto;
}

.diagnosis-intro {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.diagnosis-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.diagnosis-progress {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: var(--charcoal);
}

.diagnosis-progress span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.diagnosis-progress span.is-active {
  color: var(--charcoal);
  background: #d9b98b;
}

.quiz-step,
.quiz-result {
  display: none;
  padding: clamp(28px, 5vw, 48px);
}

.quiz-step.is-active {
  display: block;
}

.quiz-result:not([hidden]) {
  display: block;
}

.step-label,
.result-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--rose-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-step h3,
.quiz-result h3 {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quiz-options button {
  min-height: 142px;
  padding: 22px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
}

.quiz-options button:hover,
.quiz-options button:focus-visible {
  outline: 0;
  border-color: var(--rose-dark);
  box-shadow: 0 0 0 3px rgba(127, 68, 65, 0.12);
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(300px, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.result-main,
.result-detail {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.result-main strong {
  display: block;
  margin-bottom: 12px;
  color: var(--rose-dark);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.result-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.result-price b {
  color: var(--ink);
  font-size: 22px;
}

.result-detail h4 {
  margin: 0 0 14px;
  font-size: 20px;
}

.result-detail ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 18px;
  color: var(--muted);
  list-style: none;
}

.result-detail li::before {
  content: "· ";
  color: var(--rose-dark);
  font-weight: 800;
}

.result-note {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.menu-photo {
  width: calc(100% + 60px);
  max-width: none;
  height: 260px;
  margin: -30px -30px 24px;
  object-fit: cover;
  object-position: center 34%;
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
}

.price-card.featured {
  border-color: rgba(127, 68, 65, 0.36);
  box-shadow: 0 24px 70px rgba(127, 68, 65, 0.14);
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--rose-dark);
  border-radius: 8px;
  font-weight: 800;
}

.price {
  margin: 8px 0 18px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 800;
  line-height: 1.3;
}

.price s {
  display: block;
  color: #9e918c;
  font-size: 17px;
  font-weight: 700;
}

.price-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  color: var(--muted);
  list-style: none;
}

.price-card li::before {
  content: "· ";
  color: var(--rose-dark);
  font-weight: 800;
}

.discount {
  margin: 22px 0 0;
  color: var(--rose-dark);
  font-weight: 800;
}

.reviews {
  background: #ffffff;
}

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

blockquote {
  margin: 0;
  padding: 30px;
}

blockquote p {
  color: var(--ink);
  font-size: 18px;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
  background: var(--charcoal);
}

.contact div:first-child {
  max-width: 760px;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact .eyebrow {
  color: #f0c3bd;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
  padding: 10px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(47, 34, 30, 0.2);
  backdrop-filter: blur(16px);
}

.sticky-cta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #ffffff;
  background: var(--rose-dark);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.sticky-cta a:last-child {
  color: var(--rose-dark);
  background: #ffffff;
  border: 1px solid var(--line);
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding-block: 16px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .price-grid,
  .review-grid,
  .worry-grid,
  .quiz-options,
  .result-layout {
    grid-template-columns: 1fr;
  }

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

  .contact {
    display: grid;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 14px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-stats,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .sticky-cta {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }
}
