:root {
  --paper: #faf7f0;
  --paper-2: #f3eee3;
  --ink: #1b1816;
  --ink-2: #4a4440;
  --ink-3: #8a827a;
  --line: #e7e0d2;
  --accent: #c9480e;
  --accent-ink: #a83a09;
  --accent-soft: #fbe9dc;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27,24,22,.04), 0 12px 40px -12px rgba(27,24,22,.18);
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1080px; }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px;
  border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px -10px rgba(201,72,14,.7);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--paper-2); }
.btn--block { width: 100%; height: 58px; font-size: 17px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250,247,240,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { max-width: 1080px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 15.5px; }
.brand__mark {
  width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 800;
}

/* Hero */
.hero { padding: 72px 0 40px; }
.hero__inner { text-align: center; }
.hero__title {
  margin: 0;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 800;
}
.hero__lead { margin: 26px 0 0; font-size: clamp(18px, 2.6vw, 22px); color: var(--ink-2); line-height: 1.55; }
.meta { list-style: none; margin: 22px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 0; color: var(--ink-3); font-size: 14.5px; }
.meta li + li::before { content: "·"; margin: 0 10px; }
.hero__cta { margin-top: 34px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.film { margin: 64px 0 0; }
.film__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(27,24,22,.06);
  aspect-ratio: 16 / 9;
}
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film__sound {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 14px;
  border: 0; border-radius: 999px;
  background: rgba(27,24,22,.78); color: #fff;
  font: 600 13.5px/1 var(--font);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background-color .2s ease, opacity .3s ease;
}
.film__sound:hover { background: rgba(27,24,22,.92); }
.film__sound[aria-pressed="true"] .wave { opacity: 1; }
.film__sound[aria-pressed="false"] .wave { opacity: .35; }
.film__cap { margin-top: 14px; text-align: center; color: var(--ink-3); font-size: 13px; }

/* Detail images */
.detail { padding: 56px 0 24px; }
.detail__col {
  max-width: 720px; margin: 0 auto;
  background: var(--paper);
}
.detail__col img { width: 100%; }
@media (min-width: 760px) {
  .detail__col { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); outline: 1px solid rgba(27,24,22,.05); }
}

/* Buy card */
.buy { padding: 72px 0 24px; }
.card {
  max-width: 520px; margin: 0 auto;
  background: #fff;
  border-radius: 26px;
  padding: 36px 30px 28px;
  box-shadow: var(--shadow);
  outline: 1px solid rgba(27,24,22,.05);
}
.card__title { margin: 0; font-size: 28px; line-height: 1.25; letter-spacing: -0.035em; }
.card__sub { margin: 8px 0 0; color: var(--accent); font-weight: 600; font-size: 15.5px; }
.card__price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 28px 0 22px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price small { font-size: 22px; font-weight: 700; margin-left: 2px; }
.price__note { color: var(--ink-3); font-size: 14px; }
.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15.5px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.card__fine { margin: 16px 0 0; color: var(--ink-3); font-size: 13px; line-height: 1.6; text-align: center; }

/* FAQ */
.faq { padding: 72px 0 96px; }
.faq__title { margin: 0 0 20px; font-size: 24px; letter-spacing: -0.03em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 2px;
  font-weight: 600; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { margin: -4px 2px 22px; color: var(--ink-2); font-size: 15.5px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 120px; color: var(--ink-3); font-size: 13px; }
.foot__inner { max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.foot p { margin: 0; }

/* Sticky purchase bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.bar.is-on { transform: none; pointer-events: auto; }
.bar__inner {
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: rgba(27,24,22,.94); color: #fff;
  box-shadow: 0 12px 40px -10px rgba(0,0,0,.4);
  backdrop-filter: blur(10px);
}
.bar__text { display: grid; line-height: 1.3; min-width: 0; }
.bar__text strong { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__text span { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .bar { transition: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 52px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .film { margin-top: 44px; }
  .film__frame { border-radius: 16px; }
  .film__sound { right: 10px; bottom: 10px; height: 34px; padding: 0 12px; font-size: 12.5px; }
  .detail { padding-top: 40px; }
  .card { padding: 30px 22px 24px; border-radius: 22px; }
  .price { font-size: 34px; }
  .brand__name { font-size: 14.5px; }
}
.faq details a, .foot a { color: var(--accent-ink); text-underline-offset: 3px; }
