:root {
  color-scheme: light dark;
  --primary: #8f6b59;
  --primary-deep: #6b4f45;
  --primary-soft: #e5ded9;
  --secondary: #af938a;
  --background: #faf7f2;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --text: #2c1a15;
  --muted: #745f58;
  --line: #e7ddd7;
  --success: #73a673;
  --shadow: 0 24px 70px rgba(44, 26, 21, 0.1);
  --radius-lg: 32px;
  --radius-md: 22px;
  --shell: min(1180px, calc(100% - 48px));
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--success); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  width: var(--shell);
  height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 38px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 700; letter-spacing: 0.01em; }
.brand img { border-radius: 11px; }
nav { display: flex; gap: 30px; margin-left: auto; }
nav a, .footer-links a { color: var(--muted); font-size: 14px; font-weight: 600; }
nav a:hover, .footer-links a:hover { color: var(--primary); }
.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  font-size: 14px;
  font-weight: 700;
}
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.lang-switch a, .lang-switch span { padding: 5px 9px; border-radius: 999px; color: var(--muted); }
.lang-switch span[aria-current] { background: color-mix(in srgb, var(--text) 9%, transparent); color: var(--text); }
.lang-switch a:hover { color: var(--primary); }

.hero {
  position: relative;
  isolation: isolate;
  width: var(--shell);
  min-height: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 72px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 760px;
  height: 760px;
  right: -270px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175,147,138,.22), rgba(175,147,138,0) 68%);
}
.eyebrow, .section-kicker {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(38px, 5.15vw, 68px);
  line-height: 1.22;
  letter-spacing: -.055em;
  font-weight: 750;
  text-wrap: balance;
}
.hero-hook { margin: 28px 0 0; color: var(--primary-deep); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; }
.hero-sub { max-width: 600px; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.store-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 190px;
  padding: 11px 18px;
  border-radius: 14px;
  background: #f3ead6;
  color: #2c1a15;
  transition: transform .2s ease, box-shadow .2s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(44,26,21,.17); }
.store-badge svg { width: 26px; height: 26px; flex: 0 0 auto; }
.store-badge .st { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store-badge .st b { font-weight: 800; font-size: 16px; }
.store-badge small { font-size: 11px; font-weight: 500; opacity: .62; }
.availability { display: flex; align-items: center; gap: 9px; margin: 20px 0 0; color: var(--muted); font-size: 13px; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 14%, transparent); }

.hero-visual { position: relative; align-self: end; justify-self: end; width: min(440px, 100%); padding-top: 60px; }
.app-shot { margin: 0; border-radius: 42px 42px 0 0; overflow: hidden; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.app-shot img { width: 100%; height: auto; }
.visual-note {
  position: absolute;
  z-index: 2;
  padding: 11px 17px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: var(--primary-deep);
  box-shadow: 0 12px 30px rgba(44,26,21,.1);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}
.note-one { left: -34px; top: 19%; }
.note-two { right: -2px; top: 48%; color: #416b48; }

.section-shell { width: var(--shell); margin: 0 auto; padding: 132px 0; }
.intro { padding-top: 120px; padding-bottom: 24px; text-align: center; }
.intro h2 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.2; letter-spacing: -.045em; }
.section-heading { max-width: 710px; margin-bottom: 58px; }
.section-heading h2, .recommend-heading h2, .closing h2 { margin: 0; font-size: clamp(34px, 4.8vw, 58px); line-height: 1.24; letter-spacing: -.045em; text-wrap: balance; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { border-color: var(--secondary); transform: translateY(-3px); box-shadow: 0 18px 45px rgba(44,26,21,.06); }
.feature-main { grid-row: span 2; min-height: 618px; background: var(--primary-deep); color: #fffaf6; border-color: transparent; }
.feature-number { color: var(--secondary); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.feature-main .feature-number { color: #d7b7aa; }
.feature-visual { flex: 1; width: 100%; min-height: 0; color: #fffaf6; opacity: .92; margin: 20px 0; }
.feature-icon { width: 52px; height: 52px; color: var(--secondary); margin: 16px 0 -2px; stroke-width: 1.5; }
.feature-card h3 { margin: 0 0 14px; font-size: 24px; line-height: 1.35; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 15px; }
.feature-main p { color: rgba(255,250,246,.73); font-size: 17px; }

.recommend { padding-top: 72px; }
.recommend-panel {
  padding: clamp(36px, 7vw, 88px);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #261713, #51342c);
  color: #fffaf6;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  box-shadow: var(--shadow);
}
.recommend-heading { align-self: center; }
.recommend-heading .section-kicker { color: #d0aaa0; }
.recommend-heading > p:last-child { margin: 24px 0 0; color: rgba(255,250,246,.66); font-size: 14px; }
.recommend ul { list-style: none; margin: 0; padding: 0; }
.recommend li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
.recommend li:last-child { border: 0; }
.recommend li span { color: #d0aaa0; font-size: 11px; font-weight: 800; letter-spacing: .1em; }

.faq { max-width: 900px; }
.faq .section-heading { margin-left: auto; margin-right: auto; text-align: center; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary h3 { margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -.02em; }
summary span { flex: 0 0 auto; width: 18px; height: 18px; position: relative; }
summary span::before, summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--primary); transform: translate(-50%,-50%); transition: transform .2s ease; }
summary span::after { transform: translate(-50%,-50%) rotate(90deg); }
details[open] summary span::after { transform: translate(-50%,-50%) rotate(0); }
details > p { max-width: 740px; margin: -5px 0 30px; color: var(--muted); }

.closing { padding-top: 80px; }
.closing-inner { padding: 82px 40px; border-radius: var(--radius-lg); background: #eee4de; text-align: center; }
.closing img { margin: 0 auto 32px; border-radius: 18px; box-shadow: 0 14px 28px rgba(44,26,21,.13); }
.closing .section-kicker { margin-bottom: 14px; }
.centered { justify-content: center; }

.site-footer { padding: 52px 0 32px; }
.footer-inner { width: var(--shell); margin: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 40px; }
.footer-brand { justify-self: start; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 24px; grid-row: 1; grid-column: 2; }
.copyright { grid-column: 2; text-align: right; }

.legal-back { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 700; }
.legal-page { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0 100px; }
.breadcrumbs { display: block; margin: 0 0 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: var(--muted); font-size: 13px; font-weight: 600; }
.breadcrumbs li + li::before { content: ">"; margin-right: 8px; color: var(--secondary); }
.breadcrumbs a:hover { color: var(--primary); }
.legal-title { padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.legal-title h1 { font-size: clamp(40px, 7vw, 64px); }
.legal-title > p:last-child { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.legal-body { padding-top: 42px; }
.legal-body > p { color: var(--muted); }
.legal-body section { padding: 26px 0; }
.legal-body h2 { margin: 0 0 14px; font-size: 20px; line-height: 1.5; letter-spacing: -.025em; }
.legal-body p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.legal-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 680px); }
  nav { display: none; }
  .lang-switch { display: none; }
  .nav-cta { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 32px; padding-top: 100px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-visual { justify-self: center; width: min(400px, 86vw); }
  .note-one { left: -18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-main { grid-row: auto; min-height: 360px; }
  .feature-card { min-height: 270px; }
  .recommend-panel { grid-template-columns: 1fr; gap: 42px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-brand { justify-self: center; }
  .footer-links, .copyright { grid-row: auto; grid-column: auto; text-align: center; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .nav-wrap { height: 66px; }
  .brand span { font-size: 17px; }
  .nav-cta { min-height: 40px; padding: 0 15px; font-size: 12px; }
  .hero { padding-top: 76px; }
  h1 { font-size: 38px; }
  .hero-sub { font-size: 15px; }
  .store-links { width: 100%; justify-content: center; }
  .store-badge { width: 100%; max-width: 240px; }
  .section-shell { padding-top: 96px; padding-bottom: 96px; }
  .intro { padding-top: 90px; padding-bottom: 0; }
  .feature-card { min-height: 0; gap: 72px; padding: 28px; }
  .feature-main { min-height: 420px; }
  .recommend { padding-top: 30px; }
  .recommend-panel { padding: 38px 26px; border-radius: 24px; }
  .recommend li { grid-template-columns: 28px 1fr; gap: 12px; font-size: 14px; }
  summary { min-height: 86px; }
  summary h3 { font-size: 17px; }
  details > p { font-size: 14px; }
  .closing-inner { padding: 60px 20px; border-radius: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #1e1512;
    --surface: #2a1d19;
    --surface-strong: #32231e;
    --text: #f5ede8;
    --muted: #c3aaa1;
    --line: #49352e;
    --primary: #c6a095;
    --primary-deep: #d1afa3;
    --secondary: #a8877d;
    --shadow: 0 24px 70px rgba(0,0,0,.28);
  }
  .nav-cta { background: #f5ede8; color: #2c1a15; }
  .visual-note { background: rgba(50,35,30,.84); border-color: rgba(255,255,255,.12); color: #f0d9d1; }
  .note-two { color: #a8cea8; }
  .feature-main { background: #4b3028; }
  .closing-inner { background: #35241f; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
