:root {
  --cream: #fbf5ea;
  --cream-2: #f4e9d5;
  --paper: #ffffff;
  --ink: #2a1e33;
  --ink-2: #5d5266;
  --line: #e7dccb;
  --brand: #6b0b78;      /* 로고 보라 */
  --leaf: #7ab52a;       /* 로고 잎 */
  --active: #6a3aa8;     /* 액티브 패키지 */
  --nutrition: #e8674f;  /* 뉴트리션 패키지 */
  --teal: #2bbfa4;       /* 상세페이지 포인트 */
  --naver: #03c75a;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(60, 35, 20, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 4vw, 38px); }
p { margin: 0 0 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-top: 32px; }
.eyebrow { color: var(--teal); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .sub { color: var(--ink-2); max-width: 620px; margin: 0 auto; }
section { padding: 88px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-store { background: var(--naver); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-active { background: var(--active); color: #fff; }
.btn-nutrition { background: var(--nutrition); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--brand); }
.menu-btn { display: none; }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 500; }
.hero h1 strong { font-weight: 800; color: var(--brand); }
.lead { font-size: 18px; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; line-height: 1.3; }
.hero-badges b { display: block; font-size: 20px; color: var(--brand); }
.hero-badges span { font-size: 13px; color: var(--ink-2); }
.hero-visual img { border-radius: 32px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }

/* Story */
.story { background: var(--paper); text-align: center; }
.story p { color: var(--ink-2); font-size: 18px; }
.story b { color: var(--ink); }
.story-quote { font-size: 22px !important; font-weight: 700; color: var(--brand) !important; margin-top: 28px; }

/* Promises */
.promises { padding-top: 0; background: var(--paper); }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--cream); border-radius: var(--radius); padding: 28px 24px; }
.promise-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--teal); margin-bottom: 10px; }
.promise h3 { font-size: 20px; }
.promise p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Why protein */
.protein { background: var(--cream); }
.ratio { list-style: none; padding: 0; margin: 0 auto; display: flex; justify-content: center; gap: 16px; max-width: 760px; }
.ratio li { flex: 1; background: var(--paper); border-radius: var(--radius); padding: 24px 12px; text-align: center; line-height: 1.3; }
.ratio span { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.ratio b { font-size: clamp(22px, 3vw, 30px); color: var(--teal); }
.ratio li:not(:first-child) b { color: var(--brand); }
.ratio-note { text-align: center; font-size: 13px; color: var(--ink-2); margin: 14px 0 40px; }
.protein-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.protein-card { border-radius: var(--radius); padding: 28px; }
.protein-card h3 { font-size: 21px; }
.protein-card.lack { background: #fff1ec; }
.protein-card.lack h3::before { content: "!"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--nutrition); color: #fff; font-size: 16px; margin-right: 10px; vertical-align: 2px; }
.protein-card.lack ul { margin: 0; padding: 0; list-style: none; }
.protein-card.lack li { padding: 10px 0; border-bottom: 1px solid #f6d5cb; }
.protein-card.lack li:last-child { border-bottom: 0; }
.protein-card.good { background: var(--paper); }
.protein-card.good p { color: var(--ink-2); }
.roles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.roles li { background: #e7f8f4; border-radius: 14px; padding: 16px 8px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.4; }
.equals { max-width: 1000px; margin: 20px auto 0; background: var(--brand); color: #fff; border-radius: var(--radius); padding: 28px; text-align: center; }
.equals p { margin: 0; }
.equals-lead b { font-size: 26px; }
.equals ul { list-style: none; padding: 0; margin: 16px 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.equals li { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 18px; }
.equals li b { margin-right: 6px; font-weight: 500; opacity: .85; }
.equals-tail { opacity: .85; }

/* Finder */
.finder { background: var(--cream-2); }
.finder-box { background: var(--paper); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); max-width: 920px; margin: 0 auto; }
.finder-step { border: 0; padding: 0; margin: 0 0 24px; }
.finder-step legend { font-weight: 700; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 10px 18px; min-height: 48px; line-height: 1.2;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
}
.chip small { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--teal); }
.chip.is-on { border-color: var(--teal); background: #e7f8f4; }
.finder-result {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center;
  border-top: 1px dashed var(--line); padding-top: 28px; margin-top: 8px;
}
.result-imgs { display: flex; gap: 8px; }
.result-imgs img { flex: 1; min-width: 0; border-radius: 16px; background: #eee; aspect-ratio: 1; object-fit: cover; transform: scale(1); }
.result-label { font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.result-copy h3 { font-size: 26px; }
.result-copy h3 .t-active { color: var(--active); }
.result-copy h3 .t-nutrition { color: var(--nutrition); }
.result-copy p { color: var(--ink-2); }

/* Products */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { background: var(--paper); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-img { background: #ececec; }
.product-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 55%; }
.product-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-tag { font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.product-active .product-tag, .product-active h3 em { color: var(--active); }
.product-nutrition .product-tag, .product-nutrition h3 em { color: var(--nutrition); }
.product h3 { font-size: 26px; margin-top: 6px; }
.product h3 em { font-style: normal; }
.product-for { color: var(--ink-2); }
.spec { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.spec li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 10px; }

/* Feeding guide */
.guide { background: var(--paper); }
.guide-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.table-wrap { max-width: 760px; margin: 0 auto; }
.guide-table { width: 100%; border-collapse: collapse; background: var(--cream); border-radius: var(--radius); overflow: hidden; text-align: center; }
.guide-table th, .guide-table td { padding: 16px 8px; border-bottom: 1px solid var(--line); }
.guide-table thead th { background: var(--brand); color: #fff; font-size: 15px; line-height: 1.3; }
.guide-table thead small { display: block; font-weight: 500; font-size: 12px; opacity: .8; }
.guide-table tbody th { font-weight: 700; }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
.ingredients { max-width: 760px; margin: 24px auto 0; border: 1px solid var(--line); border-radius: 16px; }
.ingredients summary { cursor: pointer; padding: 16px 24px; font-weight: 700; }
.ingredients dl { margin: 0; padding: 0 24px 20px; font-size: 14px; }
.ingredients dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.ingredients dt { font-weight: 700; margin-bottom: 2px; }
.ingredients dd { margin: 0; color: var(--ink-2); }

/* Band */
.band { position: relative; padding: 0; height: clamp(320px, 48vw, 560px); overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band-copy { position: absolute; inset: auto 0 0 0; padding: 40px 16px; background: linear-gradient(0deg, rgba(42, 30, 51, .75), transparent); }
.band-copy p { max-width: 1160px; margin: 0 auto; color: #fff; font-size: clamp(22px, 3.4vw, 34px); line-height: 1.4; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border-radius: var(--radius); padding: 28px; margin: 0; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { color: #e23b3b; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; flex: 1; }
.review b { background: linear-gradient(transparent 60%, #c9f1e8 60%); }
.review figcaption { font-size: 14px; color: var(--ink-2); }

/* History */
.history { background: var(--paper); }
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 70px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 14px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 65px; top: 24px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }
.timeline time { font-weight: 800; color: var(--brand); font-size: 20px; }
.timeline p { margin: 0; padding-left: 8px; }

/* FAQ */
.faq details { background: var(--paper); border-radius: 16px; margin-bottom: 12px; box-shadow: 0 2px 8px rgba(60, 35, 20, .05); }
.faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--teal); font-weight: 800; margin-right: 12px; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 24px 22px 50px; margin: 0; color: var(--ink-2); }

/* Contact */
.contact { background: var(--brand); color: #fff; padding: 64px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.contact h2 { font-size: 28px; }
.contact p { margin: 0; opacity: .85; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact .btn-ghost { border-color: #fff; color: #fff; }

/* Footer */
.site-footer { background: #1f1726; color: #b9adc2; padding: 48px 0 120px; font-size: 14px; }
.footer-logo { height: 30px; width: auto; border-radius: 6px; background: #fff; padding: 4px 8px; margin-bottom: 20px; }
.biz { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0 0 16px; }
.biz div { display: flex; gap: 8px; }
.biz dt { color: #8a7d94; }
.biz dd { margin: 0; }
.copy { margin: 0; color: #8a7d94; }

.mobile-buy { display: none; }

/* Responsive */
@media (max-width: 960px) {
  .header-inner { justify-content: space-between; gap: 12px; position: relative; }
  .logo { margin-right: auto; }
  .menu-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 12px;
    background: transparent; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { order: -1; }
  .promise-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .br-desk { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 20px; }
  .hero-cta .btn { width: 100%; }
  .promise-grid, .product-grid, .protein-grid { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
  .ratio { gap: 8px; }
  .finder-box { padding: 24px 18px; }
  .finder-result { grid-template-columns: 1fr; }
  .result-imgs { max-width: 260px; }
  .timeline::before { left: 54px; }
  .timeline li { grid-template-columns: 54px 1fr; gap: 20px; }
  .timeline li::after { left: 49px; }
  .site-header .btn-store { display: none; }
  .mobile-buy {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30;
    height: 56px; border-radius: 999px; background: var(--naver); color: #fff;
    font-weight: 800; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  }
}
