@font-face { font-family: Batang; src: url('./assets/fonts/LoopwaveShareBatang.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Batang; src: url('./assets/fonts/LoopwaveEditorialBatang-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Dodum; src: url('./assets/fonts/LoopwaveShareDodum.ttf') format('truetype'); font-display: swap; }

/* Figma 2안의 공통 색/서체를 웹에서도 한곳에서 관리한다. */
:root { color-scheme: dark; --night: #101d1b; --panel: #1c2b26; --cream: #faf8f3; --gold: #c7b58d; --fog: #b4c1b6; --line: rgba(199,181,141,.25); --gutter: clamp(24px, 6.111vw, 88px); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--night); color: var(--cream); font: 1rem/1.65 Dodum, sans-serif; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
button, input { -webkit-appearance: none; }
button { border: 0; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Batang, serif; font-weight: 400; word-break: keep-all; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.site-shell { max-width: 1920px; margin: auto; position: relative; overflow: clip; }
.content-width { width: calc(100% - var(--gutter) * 2); max-width: 1264px; margin-inline: auto; }
.screen-reader, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 50; top: 16px; left: 16px; padding: 12px 20px; background: var(--cream); color: var(--night); border-radius: 24px; }
.header { position: absolute; z-index: 4; top: 28px; left: max(calc((100% - 1296px) / 2), 32px); right: max(calc((100% - 1296px) / 2), 32px); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand strong { display: block; font: 700 1.3125rem/1.28 Batang, serif; letter-spacing: 3px; }
.brand small { display: block; color: var(--fog); font-size: .75rem; margin-top: 3px; }
.desktop-nav { position: absolute; left: 45%; display: flex; align-items: center; gap: 29px; }
.desktop-nav a { font-size: .875rem; padding-block: 12px; white-space: nowrap; }
.desktop-nav a:hover, .footer a:hover, .footer button:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.language-button { padding: 10px 3px; min-width: 32px; min-height: 44px; background: none; font-size: .75rem; letter-spacing: 1px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding: 12px 30px; border-radius: 32px; background: var(--gold); color: var(--night); border: 1px solid transparent; font-size: 1.0625rem; line-height: 1.55; transition: background .25s, transform .25s; text-align: center; }
.button:hover { background: #d8c9a7; transform: translateY(-2px); }
.header-preview { min-width: 176px; font-size: .875rem; }
.secondary { color: var(--cream); background: var(--night); border-color: rgba(199,181,141,.15); }
.secondary:hover { background: #233832; }
.menu-button { display: none; width: 44px; height: 44px; background: transparent; padding: 12px 7px; }
.menu-button span { display: block; height: 1px; background: var(--cream); margin: 6px 0; }
.hero { position: relative; isolation: isolate; min-height: 1010px; }
.hero-media { position: absolute; z-index: -3; inset: 0 0 20px; overflow: hidden; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { animation: dawn 35s ease-in-out infinite alternate; }
.hero-shade { position: absolute; z-index: -2; inset: 0; pointer-events: none; background: linear-gradient(90deg,rgba(16,29,27,.74),rgba(16,29,27,.30) 55%,rgba(16,29,27,.08)),linear-gradient(180deg,rgba(16,29,27,.48),transparent 190px); }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 665px 0 0; background: linear-gradient(180deg,transparent,rgba(16,29,27,.6) 65%,var(--night)); pointer-events: none; }
.hero-copy { padding-top: 204px; padding-bottom: 264px; }
.eyebrow { font-size: .8125rem; letter-spacing: 1.7px; color: var(--gold); }
.hero .eyebrow { font-size: .875rem; }
.hero h1 { font-size: clamp(4rem,7.222vw,6.5rem); line-height: 1.18; letter-spacing: -3px; margin: 53px 0 50px -8px; }
.hero h1 span, .hero-description span, h2 span, .section-description span { display: block; }
.hero-description { font-size: 1.1875rem; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 58px; }
.primary-action { min-width: 250px; }
.actions .secondary { min-width: 208px; }
.hero-bottom { position: absolute; inset: auto 0 130px; display: grid; grid-template-columns: 1fr 1fr 318px; align-items: end; gap: 24px; }
.motion-button { justify-self: start; background: none; color: var(--fog); padding: 10px 0; min-height: 44px; font-size: .75rem; text-align: left; }
.motion-symbol { margin-right: 8px; }
.scroll-link { display: flex; align-items: center; gap: 14px; color: var(--gold); font-size: .75rem; min-height: 46px; padding: 0 8px; justify-self: center; }
.scroll-link > span:first-child { height: 46px; width: 1px; background: rgba(199,181,141,.65); }
.invitation { border-radius: 18px; border: 1px solid rgba(199,181,141,.55); padding: 22px; min-height: 128px; background: rgba(16,29,27,.88); font: 1.4375rem/1.5 Batang, serif; }
.invitation span, .invitation em { display: block; }
.invitation em { color: var(--gold); font-style: normal; }
.light-path { position: absolute; z-index: 0; bottom: -69px; left: 0; width: 100%; height: auto; pointer-events: none; }
.rhythm { min-height: 710px; padding-top: 55px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,557px); gap: clamp(40px,10.417vw,150px); }
.rhythm-copy { padding-top: 25px; }
.rhythm h2 { font-size: 3.0625rem; line-height: 1.33; margin-top: 30px; }
.section-description { color: var(--fog); font-size: 1.0625rem; line-height: 1.65; margin-top: 32px; }
.features { margin-top: 52px; max-width: 538px; }
.feature { display: grid; grid-template-columns: 55px 147px minmax(0,1fr); align-items: center; min-height: 78px; border-top: 1px solid var(--line); gap: 0; padding-block: 12px; }
.feature-number { color: var(--gold); font-size: .75rem; }
.feature h3 { font-size: 1.4375rem; font-weight: 700; }
.feature p { font-size: .875rem; line-height: 1.65; color: var(--fog); word-break: keep-all; overflow-wrap: anywhere; }
.product-visual { position: relative; height: 625px; min-width: 0; }
.lake { position: absolute; inset: 0 0 auto; height: 510px; border-radius: 32px; overflow: hidden; }
.lake img { width: 100%; height: 100%; object-fit: cover; }
.lake::after { content: ''; position: absolute; inset: 350px 0 0; background: linear-gradient(transparent,var(--night)); }
.phone { position: absolute; width: 249px; padding: 6.64px; border-radius: 35px; background: #14241d; left: 143px; top: 15px; transform: rotate(4deg); box-shadow: 0 20px 40px rgba(0,15,6,.18); transition: transform .35s; }
.phone:hover { transform: rotate(2deg) translateY(-4px); }
.phone img { width: 100%; height: auto; border-radius: 29px; }
.product-visual figcaption { position: absolute; bottom: 7px; right: 0; color: var(--fog); font-size: .8125rem; text-align: right; }
.stories { padding-top: 28px; padding-bottom: 49px; }
.stories h2 { font-size: 2.5rem; line-height: 1.3; margin: 15px 0 11px; }
.posters { display: grid; grid-template-columns: 600fr 312fr 312fr; gap: 20px; }
.poster { position: relative; min-width: 0; padding: 0; display: block; width: 100%; height: 267px; border-radius: 18px; overflow: hidden; text-align: left; background: var(--panel); }
.poster > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.poster:hover > img { transform: scale(1.055); }
.poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 0,rgba(16,29,27,.62) 110px,rgba(16,29,27,.94) 100%); pointer-events: none; }
.poster-copy { position: absolute; z-index: 1; bottom: 22px; left: 24px; right: 18px; }
.poster-copy small { display: block; color: var(--gold); font-size: .75rem; letter-spacing: 1px; }
.poster-copy strong { display: block; font: 700 1.5rem/1.3 Batang, serif; margin: 14px 0 10px; word-break: keep-all; overflow-wrap: anywhere; }
.poster-main .poster-copy strong { font-size: 2rem; }
.poster-copy > span { display: block; color: var(--fog); font-size: .8125rem; line-height: 1.6; }
.poster-arrow { position: absolute; z-index: 2; top: 18px; right: 20px; color: var(--cream); font-size: 1.3rem; opacity: 0; transition: opacity .2s; }
.poster:hover .poster-arrow, .poster:focus-visible .poster-arrow { opacity: 1; }
.image-note { color: var(--fog); font-size: .6875rem; margin-top: 20px; }
.footer { border-top: 1px solid var(--line); padding-block: 47px 45px; min-height: 167px; display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.footer-details { text-align: right; color: var(--fog); }
.footer nav { display: flex; flex-wrap: wrap; justify-content: end; column-gap: 20px; }
.footer nav a, .footer nav button { background: none; padding: 8px 0; font-size: .8125rem; }
.footer-details p { font-size: .75rem; margin-top: 12px; }
.footer-details > small { display: block; font-size: .6875rem; margin-top: 7px; }

/* 대화상자는 native dialog의 포커스 가두기/ESC 복귀를 사용한다. */
dialog { color: var(--cream); background: var(--panel); border: 1px solid var(--line); }
dialog::backdrop { background: rgba(4,13,10,.78); backdrop-filter: blur(6px); }
.detail-dialog { width: min(620px,calc(100% - 32px)); max-height: calc(100svh - 40px); padding: 28px 32px 32px; border-radius: 24px; overflow: auto; overscroll-behavior: contain; }
.detail-heading, .menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.icon-button { width: 44px; height: 44px; border-radius: 50%; background: rgba(250,248,243,.06); color: var(--cream); font: 1.8rem/1 Dodum,sans-serif; flex-shrink: 0; }
.detail-dialog h2 { font-size: 2rem; line-height: 1.4; margin: 12px 0 24px; }
.detail-body { color: var(--fog); }
.detail-body p { margin-top: 16px; }
.detail-body .button { margin-top: 25px; }
.detail-body .contact-address { display: block; color: var(--cream); overflow-wrap: anywhere; margin-top: 20px; text-decoration: underline; text-underline-offset: 4px; }
.detail-body .copy-button { display: block; color: var(--gold); background: none; margin-top: 12px; padding: 8px 0; min-height: 44px; }
.detail-body .app-screenshot { display: block; width: min(100%,300px); height: auto; margin: 24px auto; border-radius: 24px; }
.detail-body .release-note { font-size: .875rem; border-top: 1px solid var(--line); padding-top: 16px; }
.mobile-menu { margin: 0 0 0 auto; width: min(390px,100%); height: 100svh; max-height: 100svh; padding: 24px; border-radius: 24px 0 0 24px; }
.mobile-menu nav { display: flex; flex-direction: column; margin-top: 40px; }
.mobile-menu nav a { border-bottom: 1px solid var(--line); padding: 18px 0; font: 1.5rem/1.5 Batang,serif; }
.mobile-menu > p { color: var(--fog); margin-top: 40px; font-size: .875rem; }
.noscript-note { margin: 30px var(--gutter); color: var(--fog); }
[data-motion="paused"] .hero-poster, [data-page-hidden="true"] .hero-poster { animation-play-state: paused; }
.capture * { animation: none !important; transition: none !important; }
@keyframes dawn { from { transform: scale(1); } to { transform: scale(1.04) translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } button, a, .poster > img, .phone { transition: none; } html:not([data-motion="playing"]) .hero-poster { animation: none; } }
@media (max-width: 1150px) {
  .desktop-nav { gap: 16px; }
  .header { gap: 20px; }
  .header-preview { min-width: auto; padding-inline: 20px; }
  .header-actions { gap: 10px; }
  .hero h1 { font-size: 5.375rem; }
  .rhythm { grid-template-columns: minmax(0,1fr) minmax(0,42%); gap: 40px; }
  .rhythm h2 { font-size: 2.5rem; }
  .feature { grid-template-columns: 35px 110px minmax(0,1fr); }
  .phone { left: 50%; transform: translateX(-50%) rotate(4deg); }
  .phone:hover { transform: translateX(-50%) rotate(2deg) translateY(-4px); }
  .poster-copy { left: 18px; }
  .poster-copy strong, .poster-main .poster-copy strong { font-size: 1.5rem; }
}
@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-button { display: block; }
  .hero h1 { font-size: clamp(3.5rem,8vw,5.375rem); }
  .hero-bottom { grid-template-columns: 1fr auto 280px; }
  .feature { grid-template-columns: 30px minmax(80px,.7fr) 1fr; }
  .feature h3 { font-size: 1.3rem; }
  .feature p { font-size: .8125rem; }
  .posters { grid-template-columns: 1.5fr 1fr 1fr; }
  .poster { height: 300px; }
  .poster-copy strong, .poster-main .poster-copy strong { font-size: 1.375rem; }
}
@media (max-width: 700px) {
  :root { --gutter: 26px; }
  .header { top: 23px; left: 23px; right: 23px; gap: 12px; }
  .brand { gap: 9px; }
  .brand img { width: 35px; height: 35px; border-radius: 10px; }
  .brand strong { font-size: 1rem; letter-spacing: 2px; }
  .brand small { font-size: .625rem; }
  .header .brand { min-width: 0; flex-shrink: 1; }
  .header .brand > span { min-width: 0; }
  /* 영문 로고는 그래픽 크기로 유지하고 설명/본문 확대 때 메뉴 조작 공간을 보존한다. */
  .header .brand strong { font-size: 16px; }
  .header-preview { display: none; }
  .header-actions { gap: 12px; flex-shrink: 0; }
  .language-button { width: 36px; }
  .hero { min-height: 900px; }
  .hero-media img { object-position: 63% center; }
  .hero::after { top: 520px; }
  .hero-copy { padding-top: 180px; padding-bottom: 0; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .8px; }
  .hero h1 { font-size: clamp(2rem,14vw,3.5625rem); line-height: 1.3; letter-spacing: -2px; margin: 38px 0 30px -2px; }
  .hero-description { font-size: .875rem; line-height: 1.85; }
  .actions { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 37px; }
  .actions .button { min-height: 50px; min-width: 0; font-size: .875rem; padding: 12px 25px; }
  .hero-bottom { position: relative; inset: auto; margin-top: 60px; padding-bottom: 60px; grid-template-columns: 1fr auto; gap: 24px; }
  .invitation { grid-column: 1 / -1; grid-row: 1; min-height: 92px; padding: 15px 20px; font-size: 1.25rem; display: flex; align-items: center; flex-wrap: wrap; column-gap: 10px; }
  .motion-button { font-size: .6875rem; }
  .scroll-link { font-size: .6875rem; justify-self: end; padding-right: 0; }
  .scroll-link > span:first-child { height: 30px; }
  .light-path { bottom: -20px; }
  .eyebrow { font-size: .6875rem; letter-spacing: .9px; }
  .rhythm { min-height: 0; display: flex; flex-direction: column; gap: 65px; padding-top: 30px; padding-bottom: 48px; }
  .rhythm-copy { padding-top: 0; }
  .rhythm h2 { font-size: clamp(1.8rem,9vw,2.1875rem); margin-top: 24px; }
  .section-description { font-size: .875rem; margin-top: 24px; }
  .features { margin-top: 32px; max-width: none; }
  .feature { min-height: 76px; display: flex; flex-wrap: wrap; row-gap: 8px; }
  .feature-number { flex: 0 0 35px; }
  .feature h3 { font-size: 1.3125rem; min-width: 91px; flex: 0 0 auto; }
  .feature p { font-size: .75rem; flex: 1 1 140px; }
  .product-visual { width: 100%; height: auto; }
  .lake { height: 414px; }
  .lake::after { top: 280px; }
  .phone { position: relative; display: block; left: auto; top: auto; width: min(249px,78%); margin: 46px auto 36px; transform: rotate(4deg); }
  .phone:hover { transform: rotate(2deg) translateY(-4px); }
  .product-visual figcaption { position: relative; bottom: auto; right: auto; font-size: .6875rem; padding-bottom: 10px; }
  .stories { padding-top: 20px; padding-bottom: 50px; }
  .stories h2 { font-size: 1.875rem; margin: 18px 0 27px; }
  .posters { grid-template-columns: 1fr; gap: 18px; }
  .poster { height: auto; min-height: 240px; }
  .poster > img { position: absolute; inset: 0; }
  .poster-copy { position: relative; display: block; inset: auto; padding: 116px 24px 22px; }
  .poster-copy strong, .poster-main .poster-copy strong { font-size: 1.625rem; }
  .poster-copy > span { font-size: .75rem; }
  .poster-arrow { opacity: 1; }
  .image-note { font-size: .6875rem; line-height: 1.8; }
  .footer { padding-block: 30px; min-height: 260px; flex-direction: column; gap: 28px; }
  .footer-details { text-align: left; }
  .footer nav { justify-content: start; column-gap: 16px; }
  .footer nav a, .footer nav button { font-size: .75rem; min-height: 44px; }
  .footer-details p { font-size: .6875rem; margin-top: 8px; }
  .detail-dialog { padding: 22px; }
  .detail-dialog h2 { font-size: 1.75rem; }
  .detail-body { font-size: .9375rem; }
}
@media (max-width: 350px) {
  :root { --gutter: 22px; }
  .header { left: 19px; right: 19px; }
  .header-actions { gap: 3px; }
  .brand strong { font-size: .9rem; }
  .feature-number { flex-basis: 28px; }
  .feature h3 { min-width: 82px; }
}
