

@font-face {
  font-family: "Pretendard";
  src: url("fonts/Pretendard-Regular.subset.woff2") format("woff2");
  font-weight: 400 500; font-style: normal; font-display: swap;
}

:root {
  --p-bg: #f7f9fc; --p-surface: #ffffff; --p-ink: #101827; --p-muted: #4a505c;
  --p-accent: #5271ff; --p-accent-ink: #101827; --p-action: #101827; --p-action-ink: #f7f9fc;
  --p-inv-bg: #101827; --p-inv-surface: #242e42; --p-inv-ink: #f7f9fc; --p-inv-muted: #a8b3c7;
  --p-inv-accent: #5271ff; --p-inv-accent-ink: #f7f9fc; --p-inv-action: #f7f9fc; --p-inv-action-ink: #101827;
  --font-display: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-text: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 400;          
  --display-tracking: -0.03em;
  --display-tracking-xl: -0.04em;
  --ly-scale: .8;                 
}

html:lang(ko) body { word-break: keep-all; overflow-wrap: break-word; }

.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; padding: 8px 12px; background: var(--bg); z-index: 20; }

.nav__logo img { display: block; height: 32px; width: auto; }
@media (max-width: 639px) { .nav__logo img { height: 28px; } }
.closing .nav__logo img { height: 36px; }

.hero h1 .muted { font-size: .5em; letter-spacing: 0; white-space: nowrap; }

.card__cover { color: inherit; text-decoration: none; }
.card__cover::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; }
.card:has(.card__cover:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.shot { display: block; height: auto; border-radius: 28px; border: 1px solid var(--line); background: #fff;
        box-shadow: 0 1px 2px color-mix(in oklab, var(--ink) 8%, transparent); }
.panel--app { --p-h: 340px; }
.panel--app > .stage { position: absolute; inset: 0; z-index: 1; }
.panel--app .shot { position: absolute; left: 50%; top: 40px; width: min(260px, 66%); translate: -50% 0; }
.frame--shot { padding: 0; align-items: flex-start; overflow: clip; background: var(--ground-bg); border: 0; }
.frame--shot .shot { position: absolute; left: 50%; top: clamp(32px, 5vw, 64px); translate: -50% 0; width: min(300px, 62%); }   
@media (max-width: 1023px) { .frame--shot { min-height: 420px; } }
.shots__item { display: flex; justify-content: center; }
.shots__item .shot { width: auto; height: min(560px, 58svh); max-width: 100%; }
@media (min-width: 640px) and (max-width: 1023px) {
  .grid.shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid.shots > .shots__item { grid-column: auto; }
  .shots__item .shot { height: min(440px, 40svh); }
}
@media (max-width: 639px) {
  .shots { row-gap: var(--s-5); }
  .shots__item:not(:first-child) { display: none; }      
  .shots__item .shot { height: min(470px, 56lvh); }
}

.pending { position: absolute; inset: 0; z-index: 1; display: grid; align-content: center; justify-items: center; text-align: center; gap: var(--s-2); padding: var(--s-6); color: #101827; }   
.pending__word { font: var(--display-weight) clamp(56px, 6vw, 96px)/1 var(--font-display); letter-spacing: var(--display-tracking-xl); }
.pending__note { font-size: var(--t-label); color: #25303a; }
.frame--pending { padding: 0; border: 0; background: var(--ground-bg); }

.frame--type { padding: 0; border: 0; background: var(--surface); align-items: flex-end; justify-content: flex-start; }
.type-moment { margin: 0; padding: clamp(24px, 4vw, 56px); font: var(--display-weight) clamp(44px, 5vw, 80px)/1.05 var(--font-display); letter-spacing: var(--display-tracking-xl); color: var(--ink); }
.type-moment::first-line { color: var(--ink); }
.frame--mark { border: 0; background: var(--surface); }
.mark-big { width: min(440px, 72%); height: auto; }   

.frame--logos { padding: 0; border: 0; display: grid; grid-template-rows: 1fr 1fr; align-items: stretch; background: none; }
.frame--logos::before { display: none; }   
.frame--logos > div { display: grid; place-items: center; min-height: 160px; }
.logos__light { background: #ffffff; border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.logos__dark { background: #101827; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.frame--logos img { width: min(262px, 60%); height: auto; }
.brand__lead { margin: var(--s-5) 0 var(--s-6); }
.swatches i { display: inline-block; width: 16px; height: 16px; margin-right: var(--s-3); vertical-align: -2px; border-radius: 50%;
              background: var(--sw); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ink) 18%, transparent); }

#features h2, #data h2, #rules h2 { margin-bottom: var(--s-6); }
@media (max-width: 639px) { #features h2, #data h2, #rules h2 { margin-bottom: var(--s-5); } }
.rows.features > li > p, #data .rows > li > p, #rules .rows > li > p, #promise .rows > li > p { margin: 0; }
.data__more { margin-top: var(--s-5); }
.faq-note { font-size: var(--t-small); color: var(--muted); }

.doc { padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); }

html main > section.doc.doc { height: auto; min-height: 0; padding: calc(var(--nav) + var(--s-8)) 0 var(--s-9); }   
html main > section.doc.doc > .wrap { height: auto; }
.doc h1 { font: var(--display-weight) clamp(32px, 2.5vw + 20px, 48px)/1.15 var(--font-display); letter-spacing: var(--display-tracking); margin: var(--s-5) 0 var(--s-7); max-width: 24ch; }
.doc__body { max-width: 760px; }
.doc__body h2 { font: 500 var(--t-lead)/1.4 var(--font-text); letter-spacing: 0; margin: var(--s-8) 0 var(--s-4); }
.doc__body h3 { font: 500 var(--t-body)/1.5 var(--font-text); margin: var(--s-6) 0 var(--s-2); }
.doc__body p, .doc__body li { line-height: 1.75; }
.doc__body ul { padding-left: 1.2em; }
.doc__body ul { list-style: disc; }   
.doc__body li + li { margin-top: var(--s-2); }
.doc--support .btn { margin-top: var(--s-2); }
.doc-sum { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.doc-sum > div { display: grid; grid-template-columns: 180px 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.doc-sum dt { font-weight: 500; } .doc-sum dd { margin: 0; }
@media (max-width: 639px) { .doc-sum > div { grid-template-columns: 1fr; gap: var(--s-1); } }
.doc-table { width: 100%; border-collapse: collapse; margin: var(--s-3) 0; font-size: var(--t-body); }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: var(--s-3); border-bottom: 1px solid var(--line); }
.doc-table thead th { font-weight: 500; color: var(--muted); font-size: var(--t-small); }
@media (max-width: 639px) {
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table th, .doc-table td { display: block; }
  .doc-table thead { display: none; }
  .doc-table tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .doc-table th, .doc-table td { padding: 2px 0; border: 0; }
}
.draft-band { margin: 0; padding: var(--s-4) var(--s-5); border: 2px solid #8f1d14; border-radius: var(--r-md); background: #fff4f2; color: #101827; }
.draft-band strong { margin-right: var(--s-2); color: #8f1d14; }   
mark.todo { background: #fff1c2; color: #101827; padding: 0 3px; border-radius: 3px; }
.doc__back { margin-top: var(--s-6); }

@media (max-width: 639px) {
  #features, #data, #promise, #brand, #rules { --hm: 2; }
  .faq > .faq__item { padding-block: var(--s-4); }   
  .panel--app { --p-h: 124px; }
  .panel--app .shot { top: 16px; width: min(150px, 50%); }
  .pending { padding: var(--s-5); }
  .pending__word { font-size: 48px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  :is(#apps, #list) .card--row { grid-column: 1 / -1; }
  
  .panel--app { --p-h: min(300px, calc((100svh - 316px) / 2 - 140px)); }
  .panel--app .shot { top: 24px; width: min(200px, 40%); }
  .closing__links .grid > .stack-4 { grid-column: 1 / -1; }
  .closing__links .grid > .footer__col { grid-column: auto / span 4; }
}

.hero--statement h1 { font-size: clamp(40px, 2.286vw + 31.09px, 64px); }
.hero__facts:not(.hero__facts--col) { border-top: 0; padding-top: 0; }
.hero h1 .muted { display: block; margin-top: var(--s-2); font-size: .45em; line-height: 1.3; letter-spacing: -0.01em; white-space: normal; }
.shots__item { justify-content: flex-start; }
@media (min-width: 640px) and (max-width: 1023px) { .shots__item { justify-content: flex-start; } }
#features h2 { margin-bottom: var(--s-4); }   
@media (max-width: 639px) { .faq > .faq__item { padding-block: var(--s-3); } }

.rows.features > li { padding-block: var(--s-3); }
.rows.features > li:first-child { padding-top: 0; }
@media (min-width: 640px) and (max-width: 1023px) { .rows.features:has(> li:nth-child(7)) > li { padding-block: var(--s-2); } }   
.features__note { margin: var(--s-4) 0 0; font-weight: 500; }   
@media (max-width: 639px) { .faq > .faq__item { gap: var(--s-1); } }
@media (min-width: 640px) and (max-width: 1023px) { .shots__item .shot { height: min(560px, 48svh); } }

.app-icon { display: block; aspect-ratio: 1; height: auto; border-radius: 22.4%; }
.stage--icon { display: grid; place-items: center; }
.panel--app .app-icon { width: clamp(96px, 34%, 168px); }
.frame.frame--icon { padding: 0; border: 0; background: var(--ground-bg); display: flex; align-items: center; justify-content: center; }
.frame--icon .app-icon { width: min(240px, 46%); }
.card__status { margin: 0; font-size: var(--t-label); color: #25303a; }
.card__status--later { color: #4A505C; }
@media (max-width: 639px) {
  #apps, #list { --hm: 2; }   
  :is(#apps, #list) .panel--app { --p-h: 300px; }   
  .panel--app .app-icon { width: 112px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  :is(#apps, #list) .card--row { grid-column: auto / span 4; }   
  :is(#apps, #list) .panel--app { --p-h: 220px; }
  #apps, #list { --hm: 1; }   
  .panel--app .app-icon { width: min(120px, 60%); }
}

.doc__lang { margin: 0 0 var(--s-5); }
.doc__body #en { margin-top: var(--s-9); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.doc-table td:first-child { font-weight: 500; }   
.doc__body p + p, .doc__body ul + p, .doc__body table + ul { margin-top: var(--s-3); }   
.nowrap { white-space: nowrap; }   

html:lang(ja) { --font-display: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; --font-text: var(--font-display); }
html:lang(zh-Hant) { --font-display: -apple-system, "PingFang TC", "Heiti TC", "Microsoft JhengHei", sans-serif; --font-text: var(--font-display); }
html:lang(th) { --font-display: -apple-system, Thonburi, "Leelawadee UI", Tahoma, sans-serif; --font-text: var(--font-display); }

.shots7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-4); align-items: start; }
.shots7 .shot { display: block; width: 100%; height: auto; border-radius: 18px; }
.shots7__note { margin-top: var(--s-4); color: var(--muted); font-size: var(--t-small); }

@media (min-width: 640px) and (max-width: 1279px) {
  .shots7 { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 0; row-gap: 12px; }
  .shots7__item { width: calc((100% - 3 * var(--s-4)) / 4); }
  .shots7__note { margin-top: var(--s-3); }
}
@media (min-width: 1024px) and (max-width: 1279px) { #screens { --h: 2; } .shots7 { row-gap: var(--s-6); } }
.shots7__note + .shots7__credit { margin-top: var(--s-1); }   
@media (max-width: 639px) {
  #screens { --hm: 2; }
  .shots7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shots7__item { display: flex; justify-content: center; }
  .shots7 .shot { width: min(150px, 100%); border-radius: 14px; }
  .shots7__item:nth-child(odd) { justify-content: flex-start; }
  .shots7__item:nth-child(even) { justify-content: flex-end; }
  .shots7__item:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }
}

html:is(:lang(ja), :lang(zh-Hant), :lang(th)) .close__word { font-family: "Pretendard", -apple-system, sans-serif; }

.lang-row { display: flex; flex-wrap: wrap; column-gap: 4px; row-gap: 0; margin: 0 0 var(--s-4); }
.lang-row__a:first-child { padding-left: 0; }
.lang-row__a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px; font-size: 15px; color: var(--muted); text-decoration: none; text-underline-offset: 6px; }
.lang-row__a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
.lang-row__a[aria-current="page"] { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; }
.lang-row__a:focus-visible { outline: 2px solid var(--p-accent); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 639px) { .lang-row__a { padding: 0 7px; font-size: 14px; } }

@media (min-width: 1024px) {
  :is(#apps, #list) .grid--4 > .card--row { grid-column: auto / span 3; }
  :is(#apps, #list) .grid--4 .panel--app { --p-h: 300px; }
}
@media (min-width: 640px) and (max-width: 1023px) {
  :is(#apps, #list) .grid--4 > .card--row { grid-column: auto / span 6; }
  :is(#apps, #list) .grid--4 .panel--app { --p-h: 170px; }
}
@media (max-width: 639px) {
  :is(#apps, #list) .grid--4 .panel--app { --p-h: 190px; }
}

@media (min-width: 1024px) { :is(#apps, #list) .grid--4 > .card--row > p:not(.card__status) { min-height: 4lh; } }
@media (min-width: 640px) and (max-width: 1023px) { :is(#apps, #list) .grid--4 > .card--row > p:not(.card__status) { min-height: 3lh; } }

@media (min-width: 1024px) and (max-width: 1279px) { #promise .rows:has(> li:nth-child(5)) > li { padding-block: var(--s-2); } #promise:has(.rows > li:nth-child(5)) .section-head { margin-bottom: var(--s-5); } }
