:root {
  color-scheme: light;
  --navy: #11182d;
  --navy-soft: #1a2543;
  --cream: #fcf8ee;
  --gold: #ffdb8c;
  --ink: #182038;
  --muted: #50566a;
  --line: #e6ded0;
  --purple: #5a447a;
  font-family: "DM Sans", "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans CJK KR", system-ui, sans-serif;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8560dc; outline-offset: 5px; }
:where(.site-header, .hero, .site-footer) :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.65; }
:lang(ko) :is(p, h1, h2) { word-break: keep-all; overflow-wrap: anywhere; }
.wrap { width: min(1192px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; transform: translateY(-200%); z-index: 2; background: var(--gold); color: var(--navy); padding: 12px 18px; border-radius: 6px; }
.skip-link:focus { transform: translateY(0); }

.site-header { background: var(--navy); color: #fff9e9; border-bottom: 1px solid #2d354d; }
.header-inner { min-height: 77px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; justify-self: start; gap: 10px; width: fit-content; text-decoration: none; font-weight: 850; font-size: 21px; letter-spacing: .075em; }
.brand-mark { display: inline-block; position: relative; width: 25px; height: 25px; flex: 0 0 25px; }
.brand-mark::before { content: ""; position: absolute; top: 9px; left: 9px; width: 7px; height: 7px; border-radius: 50%; box-shadow: -8px 0 var(--gold), 8px 0 var(--gold), 0 -8px var(--gold), 0 8px var(--gold); }
.main-nav { display: flex; align-items: center; gap: 33px; }
.main-nav a { text-decoration: none; padding-block: 12px; color: #e5e4eb; font-size: 14px; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .language-nav a:hover { color: var(--gold); }
.language-nav { justify-self: end; display: flex; align-items: center; gap: 2px; border: 1px solid #41485d; border-radius: 24px; padding: 3px; }
.language-nav a { display: grid; place-items: center; min-width: 41px; min-height: 33px; padding-inline: 8px; border-radius: 20px; text-decoration: none; color: #d7d8e1; font-size: 12px; font-weight: 750; }
.language-nav a[aria-current="page"] { background: var(--gold); color: var(--navy); }

.hero { overflow: hidden; background: radial-gradient(ellipse at 80% 45%, #223356 0, var(--navy) 62%); color: #fff7e6; }
.hero-inner { min-height: 590px; padding-block: 66px 83px; display: grid; grid-template-columns: .87fr 1.13fr; align-items: center; gap: clamp(26px, 5vw, 74px); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 800; letter-spacing: .15em; color: var(--purple); }
.hero .eyebrow { margin-bottom: 25px; color: var(--gold); }
.hero-spark { font-size: 19px; line-height: 1; }
.hero h1 { font-size: clamp(50px, 5.45vw, 81px); letter-spacing: -.072em; line-height: 1.02; font-weight: 850; }
.hero h1 span { display: block; color: var(--gold); }
:lang(ko) .hero h1 { font-size: clamp(48px, 5.45vw, 80px); line-height: 1.13; letter-spacing: -.085em; }
:lang(ko) .hero .eyebrow { letter-spacing: .045em; }
.hero-description { max-width: 27rem; margin-block: 25px 29px; color: #e1e2ed; font-size: clamp(16px, 1.5vw, 19px); text-wrap: pretty; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 50px; width: fit-content; padding: 11px 20px; border-radius: 8px; font-size: 15px; font-weight: 800; text-decoration: none; transition: background .18s, color .18s; }
.button span { font-size: 18px; line-height: 1; }
.button-primary { background: var(--gold); color: var(--navy); }
.button-primary:hover { background: #ffe9b6; }
.hero-visual { position: relative; min-width: 0; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: -13px 16px 13px -12px; border: 1px solid #ffffff30; border-radius: 25px; z-index: -1; }
.hero-picture { display: block; overflow: hidden; background: #132648; border: 1px solid #ffffff4c; border-radius: 25px; aspect-ratio: 1.48; box-shadow: 0 22px 65px #080f23a6; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 49%; }
.hero-picture::after { content: ""; position: absolute; inset: 55% 1px 1px; background: linear-gradient(transparent, #091021a3); border-radius: 0 0 24px 24px; pointer-events: none; }
.visual-caption { position: absolute; left: 23px; bottom: 18px; color: #fff8e8; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.visual-caption span { margin-right: 5px; color: var(--gold); }
.hero-apps { display: flex; gap: 10px; position: absolute; right: 18px; bottom: -25px; }
.hero-apps img { width: clamp(51px, 5.3vw, 76px); height: auto; border: 3px solid #fff8e8; border-radius: 20%; background: #fff8e8; box-shadow: 0 8px 22px #0c1229a3; }

.apps { padding-block: 79px 90px; }
.section-intro { margin-bottom: 32px; }
.section h2 { margin-block: 8px 10px; font-size: clamp(35px, 4.2vw, 56px); line-height: 1.11; letter-spacing: -.058em; font-weight: 850; text-wrap: balance; }
.section-intro > p:last-child, .support-inner p:not(.eyebrow), .studio-inner > p { color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); text-wrap: pretty; }
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.app-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: #fffdf8; box-shadow: 0 8px 20px #3829120a; }
.app-art { position: relative; overflow: hidden; aspect-ratio: 2.12; }
.app-art.covers { display: flex; align-items: center; justify-content: center; gap: 3%; background: radial-gradient(ellipse at 50% 100%, #614974, #29213d 77%); }
.app-art.covers img { width: 24%; height: auto; aspect-ratio: 2/3; object-fit: cover; border-radius: 7px; border: 1px solid #fff8e08c; box-shadow: 0 10px 24px #130e2b98; }
.app-art.covers img:nth-child(1) { transform: translateY(10%) rotate(-10deg); }
.app-art.covers img:nth-child(2) { transform: translateY(-1%); z-index: 1; }
.app-art.covers img:nth-child(3) { transform: translateY(10%) rotate(10deg); }
.app-art.banner { background: #189bdf; }
.app-art.banner img { width: 100%; height: 100%; object-fit: cover; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 26px 27px 25px; }
.app-identity { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.app-identity img { width: 53px; height: 53px; border-radius: 12px; flex: 0 0 auto; }
.app-identity h3 { font-size: 21px; font-weight: 850; line-height: 1.16; letter-spacing: -.024em; }
.app-identity p { margin-top: 3px; color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .075em; }
.app-headline { font-weight: 850; font-size: clamp(18px, 2.05vw, 25px); line-height: 1.3; letter-spacing: -.04em; }
.app-description { margin-block: 8px 21px; color: var(--muted); font-size: 15px; text-wrap: pretty; }
.card-actions { margin-top: auto; }
.button-dark { background: var(--navy); color: #fffaf0; }
.button-dark:hover { background: #33416b; }
.play-symbol { width: 12px; height: 14px; background: conic-gradient(from 45deg at 32% 50%, #ffda71 0 25%, #ff819a 0 43%, #86c9ff 0 74%, #70dfbb 0); clip-path: polygon(0 0,100% 50%,0 100%); }
.policy-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 17px; margin: 16px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); list-style: none; }
.policy-links a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--muted); font-size: 13px; }
.policy-links a:hover, .email-address:hover { color: var(--purple); }

.studio { background: #f1ebfa; padding-block: 57px 61px; border-block: 1px solid #e4dcef; }
.studio-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.studio-inner > p { max-width: 34rem; }
.support { padding-block: 62px 67px; }
.support-inner { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; }
.support-inner p:not(.eyebrow) { max-width: 44rem; }
.contact-action { display: grid; justify-items: start; gap: 6px; }
.email-address { display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; }
.site-footer { background: var(--navy); color: #fff9e9; }
.footer-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-inner small { color: #d7d8e1; font-size: 12px; }
.missing { min-height: 100vh; display: grid; align-items: center; padding-block: 44px; }
.missing p { margin-block: 13px 23px; }
.legal-header { grid-template-columns: 1fr auto; }
.legal-copy { max-width: 800px; padding-block: 42px 72px; overflow-wrap: anywhere; }
.legal-copy h1 { font-size: clamp(29px, 5.4vw, 45px); line-height: 1.2; letter-spacing: -.045em; margin-block: 14px 22px; }
.legal-copy h2 { font-size: 19px; margin-block: 26px 7px; }
.legal-copy p { margin-bottom: 14px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--purple); }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 72px); }
  .hero-inner { min-height: 510px; }
  .hero h1, :lang(ko) .hero h1 { font-size: clamp(45px, 6.1vw, 65px); }
}

@media (max-width: 740px) {
  .wrap { width: calc(100% - 42px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 1px 12px; padding-top: 10px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 25px; }
  .main-nav a { min-height: 44px; }
  .language-nav a { min-height: 37px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 47px 59px; }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero h1, :lang(ko) .hero h1 { font-size: clamp(44px, 9.3vw, 68px); }
  .hero-description { margin-block: 17px 21px; }
  .hero-visual { margin-left: 8px; }
  .hero-visual::before { inset: -7px 9px 7px -8px; border-radius: 19px; }
  .hero-picture { aspect-ratio: 1.64; border-radius: 19px; }
  .hero-picture img { object-position: 50% 61%; }
  .hero-picture::after { border-radius: 0 0 18px 18px; }
  .visual-caption { left: 12px; bottom: 13px; font-size: 9px; }
  .hero-apps { right: 11px; bottom: -15px; gap: 7px; }
  .hero-apps img { border-width: 2px; }
  .apps { padding-block: 53px 62px; }
  .section-intro { margin-bottom: 24px; }
  .app-grid, .studio-inner, .support-inner { grid-template-columns: 1fr; gap: 20px; }
  .card-body { padding: 20px; }
  .studio, .support { padding-block: 43px 47px; }
  .studio-inner { gap: 5px; }
  .footer-inner { min-height: 70px; }
}

@media (max-width: 430px) {
  .hero-picture { aspect-ratio: 1.47; }
  .hero-picture img { object-position: 50% 62%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
 .store-status { margin-top: 8px; color: var(--muted); font-size: 13px; }
