@font-face{font-family:"RG ko";src:url(/assets/fonts/display-ko.d05a94ff5e.woff2) format("woff2");font-display:swap;}
@font-face{font-family:"RG en";src:url(/assets/fonts/display-en.606c564001.woff2) format("woff2");font-display:swap;}
:root {
  --wine-950: #2e060b;
  --wine-900: #5a0d14;
  --wine-700: #8e1620;
  --wine-500: #b8232e;
  --gold-200: #fff0b8;
  --gold-300: #ffe07a;
  --gold-400: #f5c242;
  --gold-600: #c98d16;
  --gold-800: #7a5208;
  --cream: #fbf4e6;
  --cream-200: #efe1c2;
  --wood: #4a2a1a;
  --ink: #2a1a14;
  --muted: #5e4b42;
  --white: #ffffff;
  --radius: 18px;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: light;
}
:lang(ko) { --body: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif; --display: "RG ko", var(--body); }
:lang(en) { --display: "RG en", var(--body); }

*, *::before, *::after { box-sizing: border-box; }
html:lang(ko) { word-break: keep-all; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--cream); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine-700); text-underline-offset: 0.18em; }
a:hover { color: var(--wine-500); }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--wine-950); }
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; font-synthesis: none; letter-spacing: 0.005em; line-height: 1.25; }
h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin: 0 0 0.5em; color: var(--wine-900); text-wrap: balance; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; color: var(--wine-900); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--gold-400); color: var(--ink); border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Header */
.site-header { background: var(--wine-950); color: var(--white); border-bottom: 3px solid var(--gold-600); position: relative; z-index: 5; }
.bar { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-200); text-decoration: none; font-size: 1.2rem; margin-right: auto; }
.brand img { border-radius: 10px; }
.brand:hover { color: var(--gold-300); }
.site-nav ul, .footer-links, .shots, .store-badges { list-style: none; margin: 0; padding: 0; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { color: var(--white); text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); color: var(--gold-300); }
.site-nav a.lang { border: 1px solid rgba(255, 255, 255, 0.35); }
@media (max-width: 479px) { .site-nav li:first-child { display: none; } .brand { font-size: 1.05rem; } .brand img { width: 34px; height: 34px; } }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; padding: 0 0 64px; background: linear-gradient(var(--wine-700) 40%, var(--wine-900)); }
.hero-scene { position: relative; height: clamp(220px, 42vw, 460px); }
.hero-scene img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(rgba(142, 22, 32, 0), var(--wine-700)); }
.hero-copy { position: relative; z-index: 1; margin-top: clamp(-120px, -8vw, -48px); text-align: center; }
.hero-icon { width: 112px; height: 112px; margin: 0 auto 12px; border-radius: 26px; box-shadow: 0 0 0 4px var(--gold-400), 0 10px 24px rgba(46, 6, 11, 0.5); }
.hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.4rem); margin: 0 0 12px; color: var(--gold-300); text-shadow: 0 3px 0 var(--wine-950); }
.pitch { font-size: 1.1rem; max-width: 34em; margin: 0 auto 28px; color: #fdeee6; text-wrap: pretty; }
@media (min-width: 900px) { .hero-icon { width: 128px; height: 128px; } }

/* Store */
.stores { display: grid; justify-items: center; gap: 12px; }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px 20px; }
.store-badges li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.store-badge { display: block; border-radius: 9px; }
.store-badge img { height: 56px; width: auto; }
@media (max-width: 479px) { .store-badges { gap: 12px 14px; } .store-badges li { gap: 12px; } .store-badge img { height: 48px; } }
.soon-label { font-size: 1rem; line-height: 1; color: var(--gold-300); }
.store-sub { margin: 0; font-size: 0.9rem; font-weight: 600; color: #f6dcd4; }

/* Screenshots */
.feature { padding: 56px 0 72px; }
.feature h2 { text-align: center; }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; }
.shots li { scroll-snap-align: center; }
.shots img { border-radius: 22px; border: 5px solid var(--gold-400); box-shadow: 0 5px 0 var(--gold-800), 0 16px 30px rgba(46, 6, 11, 0.25); }
@media (min-width: 760px) { .shots { grid-auto-columns: 1fr; gap: 32px; overflow: visible; } }

/* Footer */
.site-footer { background: var(--wine-950); color: #ead2cc; padding: 32px 0 40px; font-size: 0.95rem; border-top: 3px solid var(--gold-600); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 16px; }
.footer-links a { color: var(--white); font-weight: 600; }
.footer-links a:hover { color: var(--gold-300); }
.note { margin: 0 0 6px; }

/* Documents */
.doc-hero { background: radial-gradient(ellipse at 70% 0%, var(--wine-500), var(--wine-700) 50%, var(--wine-900)); color: var(--white); padding: 40px 0 44px; }
.doc-hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin: 0 0 8px; color: var(--gold-300); text-shadow: 0 3px 0 var(--wine-950); }
.doc-lead { margin: 0; max-width: 40em; color: #fdeee6; font-size: 1.1rem; }
.doc-hero .wrap { max-width: 820px; }
.doc { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc h3 { margin-top: 1.4em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: 0.35em; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.95rem; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--cream-200); min-width: 11em; }
.doc th:first-child, .doc td:first-child { min-width: 7em; }
.doc th { background: var(--cream-200); }
.doc > :first-child, .doc .contact > h2 { margin-top: 0; }
.doc .faq details { background: var(--white); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 12px; box-shadow: 0 3px 0 rgba(122, 82, 8, 0.15); }
.doc .faq summary { cursor: pointer; font-weight: 700; color: var(--wine-900); }
.doc .faq details[open] summary { margin-bottom: 8px; }
.doc .contact { background: var(--white); border: 3px solid var(--gold-400); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.updated { color: var(--muted); font-size: 0.95rem; }
.button { display: inline-block; margin-top: 20px; padding: 12px 24px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 1.1rem; background: linear-gradient(var(--gold-300), var(--gold-400)); box-shadow: inset 0 -4px 0 var(--gold-600); }
