:root {
  --black: #050609;
  --panel: #0a0b0f;
  --ink: #f4eee4;
  --muted: #a49f98;
  --gold: #d8ae61;
  --gold-light: #f0d08c;
  --red: #9e302d;
  --line: rgba(216, 174, 97, 0.2);
  --serif: "Noto Serif KR", "Batang", "궁서", serif;
  --sans: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #020305; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% 0, #171822 0, #050609 38rem);
  color: var(--ink);
  font-family: var(--sans);
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.home-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 74px;
  background: var(--black);
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.82);
  overflow: hidden;
}

.site-head {
  height: 72px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 6, 9, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 20;
}
.wordmark, .footer-brand { display: flex; align-items: center; gap: 10px; }
.wordmark b, .footer-brand b { color: var(--gold-light); font: 700 25px/1 var(--serif); letter-spacing: 0.12em; }
.wordmark span, .footer-brand span { color: #ddd; font-size: 11px; font-weight: 700; letter-spacing: 0.28em; }
.menu-button { width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; display: grid; align-content: center; gap: 5px; cursor: pointer; }
.menu-button span { height: 1px; background: #e7dfd2; }
.home-menu { position: absolute; z-index: 30; top: 72px; right: 0; width: 230px; padding: 17px 22px; background: #11131a; border: 1px solid var(--line); box-shadow: 0 18px 45px #000; }
.home-menu a { display: block; padding: 13px 2px; color: #d8d3ca; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }

.product-tabs {
  height: 48px;
  padding: 0 22px;
  display: flex;
  gap: 28px;
  align-items: stretch;
  background: #07080b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.product-tabs a { display: flex; align-items: center; color: #777; font-size: 13px; border-bottom: 2px solid transparent; }
.product-tabs a.is-active { color: var(--ink); border-color: var(--gold); }

.product-section { padding: 0 20px 58px; scroll-margin-top: 20px; }
.first-product { padding-top: 14px; }
.product-cover {
  position: relative;
  display: block;
  height: 600px;
  overflow: hidden;
  border: 1px solid rgba(238, 202, 131, 0.32);
  background: #171313;
}
.product-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.cover-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(9, 4, 4, 0.18) 56%, rgba(4, 4, 7, 0.92) 100%); }
.cover-copy { position: absolute; left: 23px; right: 23px; bottom: 25px; }
.cover-copy p { margin: 0 0 10px; color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.cover-copy h1, .cover-copy h2 { margin: 0; font: 700 33px/1.35 var(--serif); letter-spacing: -0.04em; text-shadow: 0 2px 18px #000; }
.cover-copy i { display: inline-block; margin-top: 16px; color: #d3cdc5; font-size: 12px; font-style: normal; }
.elder-cover { margin-top: 5px; }
.elder-cover img { object-position: 50% 48%; }

.product-intro { padding: 40px 5px 23px; text-align: center; }
.product-intro > span, .faq-section header span { display: block; margin-bottom: 8px; color: #a57e43; font-size: 9px; font-weight: 800; letter-spacing: 0.22em; }
.product-intro h2 { margin: 0; font: 700 25px/1.45 var(--serif); letter-spacing: -0.04em; }
.product-intro p { max-width: 380px; margin: 14px auto 0; color: var(--muted); font-size: 12px; line-height: 1.85; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.story-card { position: relative; height: 250px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: #111; }
.story-card.story-wide { grid-column: 1 / -1; height: 220px; }
.story-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.35s ease; }
.story-card:hover img { transform: scale(1.035); }
.story-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(3, 4, 7, 0.92) 100%); }
.story-card span, .story-card h3 { position: absolute; z-index: 1; left: 15px; right: 10px; }
.story-card span { bottom: 65px; color: var(--gold-light); font-size: 10px; }
.story-card h3 { bottom: 14px; margin: 0; font: 700 18px/1.42 var(--serif); letter-spacing: -0.03em; }
.story-wide h3 { font-size: 21px; }

.section-cta { height: 52px; margin-top: 15px; border: 1px solid rgba(216, 174, 97, 0.54); display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--gold-light); background: rgba(216, 174, 97, 0.06); font-size: 13px; font-weight: 700; }
.section-cta i { font-style: normal; font-size: 20px; }
.compatibility-cta { border-color: rgba(169, 66, 61, 0.72); color: #f0c6bd; background: rgba(140, 42, 39, 0.1); }
.section-divider { padding: 5px 35px 58px; display: grid; grid-template-columns: 1fr 38px 1fr; align-items: center; gap: 12px; color: #856536; }
.section-divider i { height: 1px; background: linear-gradient(90deg, transparent, rgba(216, 174, 97, 0.4)); }
.section-divider i:last-child { transform: rotate(180deg); }
.section-divider b { text-align: center; font: 400 17px var(--serif); }

.faq-section { padding: 48px 22px 60px; background: #08090d; border-top: 1px solid rgba(216, 174, 97, 0.12); }
.faq-section header { margin-bottom: 21px; }
.faq-section h2 { margin: 0; font: 700 24px var(--serif); }
details { border-top: 1px solid rgba(255, 255, 255, 0.1); }
details:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
summary { padding: 18px 2px; display: flex; align-items: center; justify-content: space-between; gap: 15px; list-style: none; font-size: 13px; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary i { color: #888; font-size: 18px; font-style: normal; }
details[open] summary i { transform: rotate(45deg); }
details p { margin: -4px 0 18px; padding-right: 25px; color: #8d8984; font-size: 12px; line-height: 1.75; }

.site-footer { padding: 40px 22px 46px; background: #06070a; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-brand b { font-size: 20px; }
.footer-brand span { font-size: 10px; }
.site-footer > p { margin: 15px 0 22px; color: #797672; font-size: 11px; }
.site-footer nav { display: flex; gap: 14px; flex-wrap: wrap; }
.site-footer nav a { color: #bbb4aa; font-size: 11px; }
.site-footer [data-business-footer] { margin-top: 19px; color: #77736d; font-size: 10px; line-height: 1.8; }
.site-footer small { display: block; margin-top: 13px; color: #514f4c; font-size: 9px; line-height: 1.6; }

.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  height: 68px;
  padding-bottom: env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(9, 10, 14, 0.96);
  border-top: 1px solid rgba(216, 174, 97, 0.16);
  backdrop-filter: blur(16px);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #77736d; font-size: 10px; }
.bottom-nav i { color: var(--gold-light); font: normal 17px/20px var(--serif); }
.bottom-nav a.is-active { color: var(--ink); }

@media (min-width: 700px) {
  body { padding: 24px 0; }
  .home-shell { min-height: calc(100vh - 48px); border: 1px solid rgba(255, 255, 255, 0.05); }
  .bottom-nav { bottom: 24px; }
}

@media (max-width: 380px) {
  .product-cover { height: 540px; }
  .cover-copy h1, .cover-copy h2 { font-size: 29px; }
  .story-card h3 { font-size: 16px; }
  .story-wide h3 { font-size: 19px; }
}
