/* Serve the same serif faces on iOS, which does not include the desktop CJK faces. */
@font-face {
  font-family: "Inokori Web Serif SC";
  src: url("fonts/inokori-serif-sc.woff2?v=20260930-download-labels") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Inokori Web Serif TC";
  src: url("fonts/inokori-serif-tc.woff2?v=20260930-download-labels") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
@font-face {
  font-family: "Inokori Web Serif KR";
  src: url("fonts/inokori-serif-kr.woff2?v=20260930-download-labels") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}
:root {
  color-scheme: dark;
  --paper: #111110;
  --ink: #eeece6;
  --muted: #b8b6af;
  --faint: #94938d;
  --rule: rgba(238, 236, 230, .12);
  font-family: "YuMincho", "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-padding-top: 24px; }
html:lang(zh-Hans), .language-links a:lang(zh-Hans) { font-family: "Inokori Web Serif SC", "Inokori Web Serif TC", "Inokori Web Serif KR", serif; }
html:lang(zh-Hant), .language-links a:lang(zh-Hant) { font-family: "Inokori Web Serif TC", "Inokori Web Serif SC", "Inokori Web Serif KR", serif; }
html:lang(ko), .language-links a:lang(ko) { font-family: "Inokori Web Serif KR", "Inokori Web Serif SC", "Inokori Web Serif TC", serif; }
html:lang(ko) { word-break: keep-all; overflow-wrap: break-word; }
/* Paint the paper in the document backdrop itself, not a separate fixed layer.
   iOS must be able to blend the native screen with this same backdrop. */
body { margin: 0; color: var(--ink); background: linear-gradient(rgba(17, 17, 16, .38), rgba(17, 17, 16, .38)), url("paper.png") center / 720px auto repeat var(--paper); font-size: 15px; }
.site-wrap { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 48px; }
a { color: inherit; text-underline-offset: .3em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 1px; }
.skip-link { position: fixed; z-index: 3; left: 24px; top: -120px; padding: 12px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; color: var(--paper); }
.site-header { position: relative; min-height: 120px; display: flex; align-items: center; }
.home-page .site-header { min-height: var(--home-header-height); z-index: 1; }
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 16px; letter-spacing: .16em; text-decoration: none; }
.site-header .wordmark { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1; }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 28px; }
.site-header nav { width: 100%; justify-content: space-between; }
.site-header nav a, .site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 11px; text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--ink); }
[aria-current="page"] { text-decoration: underline !important; }
.language-menu { position: relative; border: 0; z-index: 2; }
.language-menu > summary { min-height: 44px; display: flex; align-items: center; padding: 8px 18px 8px 0; font-size: 11px; color: var(--muted); }
.language-menu > summary::after { content: "▾"; right: 0; top: 50%; transform: translateY(-50%); font-size: 10px; }
.language-menu[open] > summary::after { content: "▴"; }
.language-menu > .language-links { position: absolute; top: 100%; right: 0; width: 150px; padding: 10px 16px; background: var(--paper) url("paper.png") center/720px auto; border: 1px solid var(--rule); }
.language-menu .language-links a { display: flex; width: 100%; }
.site-footer .language-menu { position: static; }
.site-footer .language-menu > .language-links { top: auto; right: auto; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.site-footer .language-menu > summary::after { content: "▴"; }
.site-footer .language-menu[open] > summary::after { content: "▾"; }
.language-links [aria-current="true"] { color: var(--ink); text-decoration: underline; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
.eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 24px; }
.home-page { --home-header-height: 120px; --home-heading-size: 17px; --home-body-size: 11px; --home-note-size: 11px; font-size: var(--home-body-size); }
.home-page .wordmark { font-size: var(--home-heading-size); }
.home-page .footer-wordmark { font-size: var(--home-body-size); }
.home-page .site-header nav a, .home-page .site-footer nav a,
.home-page .language-menu > summary, .home-page .language-menu > summary::after { font-size: var(--home-note-size); }
/* The first panel includes the header and fills the visible screen.
   The following two panels stay equal; the footer keeps its own spacing. */
.home-page #main { display: grid; grid-template-rows: auto 1fr 1fr; margin-top: calc(-1 * var(--home-header-height)); }
.home-page #main > section {
  min-height: clamp(600px, calc(100vh - 120px), 880px);
  min-height: clamp(600px, calc(100svh - 120px), 880px);
  padding: clamp(40px, 8vh, 80px) 0;
  padding: clamp(40px, 8svh, 80px) 0;
}
.home-page #main > .hero {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(clamp(40px, 8vh, 80px) + var(--home-header-height));
  padding-top: calc(clamp(40px, 8svh, 80px) + var(--home-header-height));
}
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-copy { order: 1; text-align: center; }
.hero h1 { font-size: var(--home-heading-size); line-height: 1.95; letter-spacing: .07em; margin: 0 0 32px; }
html:lang(ja) .hero h1, html:lang(zh) .hero h1, html:lang(ko) .hero h1 { white-space: nowrap; }
.hero-intro { color: var(--muted); line-height: 2; font-size: var(--home-body-size); margin: 0; }
.desk-stage { height: 300px; width: 100%; position: relative; overflow: hidden; margin-bottom: 66px; }
.desk-stage img { width: 300px; height: auto; max-width: none; position: absolute; left: 50%; top: 50%; transform: translate(-44.5%, -55.9%); }
.timer-section { border-top: 1px solid var(--rule); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 64px; }
.timer-section .focus-preview { width: 100%; }
.focus-preview { margin: 0; min-width: 0; }
/* Blend the finished masked crop as a whole, outside its isolated mask group. */
.screen-blend { mix-blend-mode: lighten; }
.screen-window { width: min(100%, 270px); aspect-ratio: 900 / 1480; margin: 0 auto; position: relative; overflow: hidden; mask-image: linear-gradient(transparent, #000 24px, #000 calc(100% - 24px), transparent), linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-composite: intersect; }
/* One continuous crop: preserve the real artwork, caption, state, timer and action. */
.screen-window img { position: absolute; display: block; width: 140%; height: auto; max-width: none; left: -20%; top: 0; transform: translateY(-35.0877193%); }
.focus-preview figcaption { text-align: center; font-size: var(--home-note-size); color: var(--muted); margin-top: 40px; }
.section-copy { width: fit-content; max-width: 100%; margin: 0 auto; text-align: center; }
.section-copy h2 { font-size: var(--home-heading-size); line-height: 2; letter-spacing: .035em; margin-bottom: 28px; }
.section-copy p { color: var(--muted); font-size: var(--home-body-size); line-height: 2.2; margin: 0; }
.plus-section { border-top: 1px solid var(--rule); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.plus-section h2 { font-family: Georgia, serif; font-size: var(--home-heading-size); letter-spacing: .12em; margin-bottom: 42px; }
.plus-features { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: var(--home-body-size); line-height: 2.5; }
.price { font-size: var(--home-heading-size); letter-spacing: .02em; margin: 42px 0 0; }
.price span { display: inline-block; font-size: var(--home-note-size); color: var(--muted); margin-left: 16px; letter-spacing: 0; }
.release-status { color: var(--faint); font-size: var(--home-note-size); letter-spacing: .03em; text-align: center; margin: 64px 0 0; }
.hero-download { font-size: var(--home-body-size); margin: 24px 0 0; }
.app-store-link { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--muted); text-decoration-color: var(--faint); }
.text-link { display: inline-block; min-height: 44px; padding: 8px 0; font-size: 13px; }
.site-footer { border-top: 1px solid var(--rule); padding: 36px 0 48px; display: flex; flex-direction: column; gap: 24px; align-items: center; color: var(--faint); }
.site-footer nav { position: relative; justify-content: center; }
.footer-wordmark { font-family: Georgia, serif; font-size: 13px; letter-spacing: .12em; }
.footer-platform { font-family: Georgia, serif; font-size: 12px; }
.article { width: min(100%, 700px); margin: 58px auto 110px; }
.article-header { margin-bottom: 56px; }
.article-header h1 { font-size: clamp(24px, 3vw, 29px); line-height: 1.6; letter-spacing: .03em; margin-bottom: 20px; }
.article-header > p:last-child { color: var(--muted); }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 22px 30px 22px 0; list-style: none; position: relative; font-size: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 22px; color: var(--muted); font-family: Georgia, serif; }
details[open] summary::after { content: "−"; }
details > div { color: var(--muted); padding: 0 32px 22px 0; }
details p { margin-bottom: 0; }
.small-note { font-size: 13px; color: var(--muted); margin-top: 30px; }
.contact-section { border-top: 1px solid var(--rule); margin-top: 50px; padding-top: 35px; }
.contact-section h2 { font-size: 22px; margin-bottom: 14px; }
.contact-section p { color: var(--muted); }
.return-link { margin-top: 42px; }
.legal-page section { margin-top: 44px; }
.legal-page section h2 { font-size: 21px; line-height: 1.75; margin-bottom: 14px; }
.legal-page section p { color: var(--muted); line-height: 2; }
.draft-note { padding: 22px 0 22px 20px; border-left: 1px solid var(--faint); font-size: 13px; color: var(--muted); }
.draft-note strong { font-weight: 400; color: var(--ink); }
.draft-note p { margin: 8px 0 0; }
.document-date { margin-top: 56px; color: var(--faint); font-size: 12px; }
html[lang="en"] .hero h1 { letter-spacing: 0; line-height: 1.4; }
html[lang="en"] .hero-intro { line-height: 1.85; }
@media (max-width: 760px) {
  .home-page { --home-header-height: 104px; --home-heading-size: 16px; }
  .site-wrap { padding: 0 32px; }
  .site-header { min-height: 104px; gap: 14px; }
  .wordmark { font-size: 15px; }
  .site-header nav { gap: 18px; }
  .site-header nav a, .language-menu > summary { font-size: 11px; }
  .home-page #main > section {
    min-height: clamp(560px, calc(100vh - 104px), 820px);
    min-height: clamp(560px, calc(100svh - 104px), 820px);
    padding: clamp(32px, 6vh, 70px) 0;
    padding: clamp(32px, 6svh, 70px) 0;
  }
  .home-page #main > .hero {
    padding-top: calc(clamp(32px, 6vh, 70px) + var(--home-header-height));
    padding-top: calc(clamp(32px, 6svh, 70px) + var(--home-header-height));
  }
  .desk-stage { height: 250px; margin-bottom: 56px; }
  .desk-stage img { width: 250px; }
  .hero h1 { margin-bottom: 30px; }
  .screen-window { width: min(100%, 250px); }
  .focus-preview figcaption { margin-top: 32px; }
  .section-copy h2 { margin-bottom: 24px; }
  .section-copy p { line-height: 2.3; }
  .plus-section h2 { margin-bottom: 36px; }
  .plus-features { line-height: 2.6; }
  .price { margin-top: 38px; }
  .site-footer { flex-direction: column; gap: 24px; padding: 38px 0 42px; }
  .site-footer nav { justify-content: center; gap: 10px 22px; }
  .site-footer nav a { font-size: 11px; }
  .article { margin: 46px auto 90px; }
  .article-header { margin-bottom: 44px; }
  .article-header .eyebrow { margin-bottom: 20px; }
  .article-header h1 { font-size: 24px; }
  summary { font-size: 15px; }
  .legal-page section h2 { font-size: 19px; }
  html[lang="en"] .hero h1 { line-height: 1.65; }
}
@media (max-width: 360px) {
  .site-wrap { padding: 0 26px; }
  .site-header nav { gap: 14px; }
  .desk-stage img { width: 235px; }
}
/* Keep the whole first panel readable on shorter screens and in landscape. */
@media (max-height: 760px) {
  .home-page #main > .hero {
    padding-top: calc(var(--home-header-height) + clamp(16px, 3vh, 24px));
    padding-top: calc(var(--home-header-height) + clamp(16px, 3dvh, 24px));
    padding-bottom: clamp(16px, 3vh, 24px);
    padding-bottom: clamp(16px, 3dvh, 24px);
  }
  .home-page .hero .desk-stage {
    height: clamp(90px, 36vh, 230px);
    height: clamp(90px, 36dvh, 230px);
    margin-bottom: clamp(12px, 3vh, 24px);
    margin-bottom: clamp(12px, 3dvh, 24px);
  }
  .home-page .hero .desk-stage img {
    width: clamp(120px, 55vh, 250px);
    width: clamp(120px, 55dvh, 250px);
  }
  .home-page .hero h1 { margin-bottom: 16px; }
}
@media (max-height: 480px) {
  .home-page { --home-header-height: 72px; }
  .home-page .hero .desk-stage {
    height: clamp(68px, calc(100vh - 252px), 140px);
    height: clamp(68px, calc(100dvh - 252px), 140px);
  }
  .home-page .hero .desk-stage img {
    width: clamp(120px, 40vh, 180px);
    width: clamp(120px, 40dvh, 180px);
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { color-scheme: light; --paper: #fff; --ink: #111; --muted: #333; --faint: #555; --rule: #bbb; }
  body::before, .desk-stage, .site-header nav, .site-footer, .skip-link { display: none; }
  body { background: #fff; }
  .site-wrap { max-width: none; padding: 0; }
  .site-header { min-height: 65px; }
  .home-page { --home-header-height: 65px; }
  .article { margin: 20px auto; width: 100%; }
  a { color: #111; }
}

/* Quiet studio navigation; the product keeps its own visual design. */
.studio-brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; }
.studio-brand img { display: block; width: 16px; height: 16px; filter: invert(1); }
.studio-brand span { color: #fff; }
