/* 나날베리 nanalberry — 공통 스타일 */
:root {
  --bg: #FAF2EA;
  --white: #FFFFFF;
  --ink: #2B2422;
  --muted: #5A4E49;
  --soft: #6E605A;
  --purple: #5B3FA8;
  --deep: #3A2470;
  --lavender: #E6DDF5;
  --lilac: #C9B8F0;
  --peach: #F1DCCF;
  --line: #EADFD6;
  --dot: #F1E8E1;
  --serif: 'Gowun Batang', serif;
  --sans: 'Gowun Dodum', sans-serif;
  --en: 'Fraunces', serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; word-break: keep-all; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--purple); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }
p { margin: 0; }
.en { font-family: var(--en); font-style: italic; font-weight: 300; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }
.narrow { max-width: 1100px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }
.eyebrow { font-family: var(--en); font-style: italic; font-weight: 300; font-size: 20px; color: var(--purple); }
.h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.4; }
.lead { font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 440px; }
.note { font-size: 13px; line-height: 1.7; color: var(--soft); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.panel { background: var(--white); border-radius: 80px; }
.panel-dark { background: var(--deep); color: #F3EEFA; border-radius: 80px; }

/* buttons & pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { color: #FFFFFF; background: #000; }
.btn-purple { background: var(--purple); color: #FFFFFF; }
.btn-purple:hover { color: #FFFFFF; background: var(--deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--white); font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 5%; }
.logo { text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 24px; }
.logo .en { font-size: 18px; color: var(--purple); margin-left: 10px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.site-nav a { text-decoration: none; }

/* footer */
.site-footer { background: var(--ink); color: #E9DED6; border-radius: 80px 80px 0 0; margin-top: 40px; }
.site-footer .wrap { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; font-size: 14px; line-height: 1.9; }
.site-footer a { color: #E9DED6; }
.footer-logo { font-family: var(--serif); font-weight: 700; font-size: 22px; color: #FFFFFF; }
.footer-logo .en { font-size: 16px; color: var(--lilac); margin-left: 10px; }

/* hero */
.hero { padding-top: 48px; padding-bottom: 120px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); line-height: 1.3; }
.tag { display: inline-flex; align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--lavender); color: var(--deep); font-size: 13px; }
.arch { border-radius: 300px 300px 32px 32px; object-fit: cover; width: 100%; }
.badge { position: absolute; width: 136px; height: 136px; border-radius: 50%; background: var(--purple); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.badge .en { font-size: 30px; }
.badge small { font-size: 12px; }

/* circles */
.circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; }
.circle { width: 280px; height: 280px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 32px; }
.circle strong { font-family: var(--serif); font-size: 24px; }
.circle span:last-child { font-size: 14px; line-height: 1.7; color: var(--muted); }
.stat { width: 260px; height: 260px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.stat b { font-family: var(--en); font-style: italic; font-weight: 300; font-size: 52px; line-height: 1; }
.stat span { font-size: 14px; }

/* nanal dots */
.dots-grid { display: grid; grid-template-columns: 56px repeat(7, minmax(0, 1fr)); gap: 14px; align-items: center; }
.dots-grid .lbl { font-size: 14px; color: var(--muted); }
.dots-grid .day { font-family: var(--en); font-style: italic; font-weight: 300; font-size: 15px; color: var(--soft); text-align: center; }
.dot { aspect-ratio: 1 / 1; border-radius: 50%; background: var(--dot); transition: background .4s ease; }
.dot.am.on { background: var(--lilac); }
.dot.pm.on { background: var(--purple); }
.legend { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.legend i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* compare bars */
.bars { flex: 1 1 520px; background: var(--white); border-radius: 48px; padding: 48px; display: flex; flex-direction: column; gap: 28px; }
.bar-head { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.bar { height: 18px; border-radius: 999px; background: #F3ECE6; position: relative; }
.bar span { position: absolute; top: 0; bottom: 0; border-radius: 999px; }

/* formula */
.overlap { position: relative; min-height: 420px; flex: 1 1 420px; }
.overlap .stat { position: absolute; }
.pill-dark { background: #4E3590; color: #F3EEFA; }

/* routine */
.routine { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px; }
.step { display: flex; align-items: center; gap: 24px; background: var(--white); border-radius: 999px; padding: 16px 40px 16px 16px; }
.step img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }

/* products */
.products { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 96px; }
.product { flex: 0 1 480px; display: flex; flex-direction: column; gap: 20px; }
.product.offset { margin-top: 120px; }
.product .arch { aspect-ratio: 4 / 5; border-radius: 240px 240px 32px 32px; }
.product-title { display: flex; align-items: baseline; gap: 14px; }
.product-title strong { font-family: var(--serif); font-size: 28px; }

/* texture */
.texture-pics { position: relative; flex: 0 1 460px; }
.texture-pics .pillimg { width: 320px; max-width: 75%; aspect-ratio: 3 / 5; object-fit: cover; border-radius: 999px; }
.texture-pics .roundimg { position: absolute; right: 0; bottom: -32px; width: 230px; max-width: 50%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--white); }

/* Q&A */
.qna-list { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.qna-item { background: var(--white); border-radius: 28px; padding: 24px 30px; }
.qna-item summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.qna-item summary::-webkit-details-marker { display: none; }
.qna-item .done { padding: 5px 12px; border-radius: 999px; background: var(--lavender); color: var(--deep); font-size: 12px; }
.qna-item .cat { font-size: 13px; color: var(--muted); }
.qna-item .q { flex: 1 1 240px; font-size: 18px; }
.qna-item .plus { color: var(--purple); transition: transform .2s; }
.qna-item[open] .plus { transform: rotate(45deg); }
.qna-item .a { margin-top: 16px; font-size: 15px; line-height: 1.85; color: var(--muted); white-space: pre-line; }
.qna-empty { font-size: 15px; color: var(--soft); padding: 24px 4px; }

.qna-form { flex: 2 1 380px; min-width: 0; border-radius: 40px; background: var(--lavender); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.qna-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.qna-form select, .qna-form input[type=text], .qna-form input[type=email] { width: 100%; max-width: 100%; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid #CFC4E6; font-size: 15px; background: #FFFFFF; font-family: var(--sans); }
.qna-form textarea { width: 100%; padding: 14px 16px; border-radius: 24px; border: 1px solid #CFC4E6; font-size: 15px; resize: vertical; font-family: var(--sans); }
.qna-form .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qna-form .agree { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.6; color: #4A3F5C; }
.qna-form .agree input { width: 20px; height: 20px; margin: 0; flex: 0 0 20px; }
.qna-form .hidden { display: none; }
.form-msg { font-size: 14px; line-height: 1.6; padding: 14px 18px; border-radius: 20px; background: #FFFFFF; }
.form-msg[hidden] { display: none; }

/* detail page */
.crumb { font-size: 14px; color: var(--soft); padding-top: 8px; }
.crumb a { color: var(--soft); }
.gallery-main { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 300px 300px 40px 40px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.thumbs button { padding: 0; border: 3px solid #FFFFFF; border-radius: 50%; background: none; cursor: pointer; width: 96px; height: 96px; overflow: hidden; }
.thumbs button.active { border-color: var(--purple); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.price { display: flex; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.price b { font-family: var(--serif); font-size: 32px; }
.pair { display: flex; align-items: center; gap: 16px; padding: 12px 24px 12px 12px; border-radius: 999px; background: #FFFFFF; text-decoration: none; }
.pair img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.care { display: flex; flex-wrap: wrap; gap: 16px; }
.care > div { flex: 1 1 260px; background: #FFFFFF; border-radius: 40px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.care .en { font-size: 22px; }
.care strong { font-family: var(--serif); font-size: 20px; }
.care span:last-child { font-size: 15px; line-height: 1.8; color: var(--muted); }
.func-badge { width: 112px; height: 112px; border-radius: 50%; border: 1px solid var(--purple); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: 12px; line-height: 1.5; color: var(--deep); flex: 0 0 112px; }
.howto { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.howto li { display: flex; gap: 16px; align-items: flex-start; }
.howto .n { flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--lavender); color: var(--deep); display: flex; align-items: center; justify-content: center; font-family: var(--en); font-style: italic; }
.howto .t { padding-top: 8px; font-size: 16px; line-height: 1.8; }
.info { margin: 0; font-size: 15px; line-height: 1.7; }
.info div { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info dt { flex: 0 0 160px; color: var(--soft); }
.info dd { margin: 0; flex: 1 1 300px; }
.buy-band { border-radius: 999px; background: var(--deep); color: #FFFFFF; padding: 20px 20px 20px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.buy-band span { font-family: var(--serif); font-size: 20px; }

/* mobile */
@media (max-width: 760px) {
  .site-nav { gap: 16px; font-size: 14px; order: 3; width: 100%; }
  .panel, .panel-dark { border-radius: 40px; }
  .site-footer { border-radius: 40px 40px 0 0; }
  .row { gap: 40px; }
  .hero { padding-bottom: 72px; }
  .badge { width: 104px; height: 104px; left: 0 !important; }
  .badge .en { font-size: 22px; }
  .badge small { font-size: 10px; }
  .circle { width: 100%; max-width: 300px; height: auto; aspect-ratio: 1 / 1; }
  .stat { width: 200px; height: 200px; }
  .stat b { font-size: 40px; }
  .overlap { min-height: 360px; }
  .overlap .stat:nth-child(1) { left: 0 !important; top: 0 !important; }
  .overlap .stat:nth-child(2) { left: auto !important; right: 0; top: 150px !important; }
  .dots-grid { grid-template-columns: 40px repeat(7, minmax(0, 1fr)); gap: 8px; }
  .dots-grid .day { font-size: 11px; }
  .step { border-radius: 40px; padding: 16px 24px 16px 16px; }
  .step img { width: 96px; height: 96px; }
  .product.offset { margin-top: 0; }
  .bars { padding: 32px; border-radius: 32px; }
  .qna-form { padding: 28px 22px; }
  .qna-form .two { grid-template-columns: 1fr; }
  .buy-band { border-radius: 32px; padding: 24px; }
  .thumbs button { width: 64px; height: 64px; }
}
