:root {
  color-scheme: light dark;
  --bg: #f6f1ec;
  --surface: #fffdfb;
  --surface-2: #efe7e0;
  --ink: #2b2427;
  --muted: #6b5f63;
  --line: #e4d9d1;
  --accent: #e97c86;
  --accent-ink: #b44856;
  --accent-soft: #fbe4e6;
  --button: #2b2427;
  --button-ink: #fffdfb;
  --shadow: 0 18px 40px -22px rgba(64, 36, 44, 0.35);
  --radius: 22px;
  --max: 1080px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", system-ui, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #191416;
    --surface: #231d20;
    --surface-2: #2c2428;
    --ink: #f3ede8;
    --muted: #b8acb0;
    --line: #3b3236;
    --accent: #f0939c;
    --accent-ink: #f6aab1;
    --accent-soft: #3a2629;
    --button: #f3ede8;
    --button-ink: #191416;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--button);
  color: var(--button-ink);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 10;
}

.skip:focus {
  left: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.nav .lang {
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .nav .hide-sm {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin: 0 0 30px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  max-width: 34em;
}

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

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  background: var(--button);
  color: var(--button-ink);
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease;
}

.store:hover {
  transform: translateY(-2px);
}

.store svg {
  flex: none;
  width: 26px;
  height: 26px;
}

.store small {
  display: block;
  font-size: 12px;
  opacity: 0.8;
}

.store strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.facts {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--muted);
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: var(--accent);
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}


.shot {
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--surface);
  border: 1px solid var(--line);
}

.hero-art .shot {
  position: relative;
  width: 260px;
}

.hero-art .shot.back {
  position: absolute;
  width: 220px;
  top: 64px;
  left: calc(50% + 40px);
  transform: rotate(6deg);
  opacity: 0.95;
}

.hero-art .shot.front {
  transform: rotate(-3deg) translateX(-40px);
}

@media (max-width: 860px) {
  .hero {
    padding-top: 40px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-art {
    min-height: 0;
    padding: 10px 0 20px;
  }


  .hero-art .shot {
    width: 210px;
  }

  .hero-art .shot.back {
    width: 170px;
    top: 50px;
    left: calc(50% + 10px);
  }

  .hero-art .shot.front {
    transform: rotate(-3deg) translateX(-50px);
  }
}

/* Sections */
section {
  scroll-margin-top: 80px;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 700;
}

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

.feature {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.section.alt .feature {
  background: var(--bg);
}

.feature .num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 15px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 860px) {
  .features {
    grid-template-columns: 1fr;
  }
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery li {
    flex: 0 0 62%;
    scroll-snap-align: center;
  }
}

/* Steps */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Info + FAQ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 16px;
}

.card p:last-child {
  margin-bottom: 0;
}

.spec {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 18px;
  font-size: 16px;
}

.spec dt {
  color: var(--muted);
}

.spec dd {
  margin: 0;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 22px;
}

.section.alt .faq details {
  background: var(--bg);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  position: relative;
  font-weight: 700;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent-ink);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  margin-bottom: 14px;
}

.cta p {
  margin: 0 auto 28px;
  max-width: 32em;
  color: var(--muted);
}

.cta .stores {
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: grid;
  gap: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.biz {
  margin: 0;
  line-height: 1.9;
}

.biz span + span::before {
  content: "|";
  margin: 0 10px;
  color: var(--line);
}

.biz span {
  white-space: nowrap;
}

@media (max-width: 560px) {
  .biz span {
    display: block;
    white-space: normal;
  }

  .biz span + span::before {
    content: none;
  }
}

/* Legal documents */
.doc {
  padding: 48px 0 72px;
}

.doc .wrap {
  max-width: 780px;
}

.doc h1 {
  font-size: clamp(30px, 5vw, 40px);
  margin-bottom: 10px;
}

.doc .meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
}

.doc .note {
  margin: 0 0 36px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 15px;
}

.doc h2 {
  font-size: 22px;
  margin: 44px 0 12px;
  padding-top: 8px;
}

.doc h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}

.doc p,
.doc li {
  font-size: 16px;
}

.doc p {
  margin: 0 0 12px;
}

.doc ul,
.doc ol {
  margin: 0 0 14px;
  padding-left: 1.3em;
}

.doc li {
  margin-bottom: 6px;
}

.doc .toc {
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.doc .toc ol {
  margin: 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
  font-size: 15px;
}

.doc th,
.doc td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  color: var(--muted);
  font-weight: 600;
}

.doc .small {
  font-size: 14px;
  color: var(--muted);
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}

.notfound h1 {
  font-size: clamp(30px, 6vw, 44px);
}

.notfound p {
  color: var(--muted);
  margin: 0 0 8px;
}

@media (prefers-reduced-motion: reduce) {
  .store {
    transition: none;
  }
}
