/* Generated by src/build.py. */
:root {
  color-scheme: dark light;
  --background: #17140f;
  --surface: #211c15;
  --surface-soft: #2a2319;
  --text: #f5eddc;
  --muted: #c5b99f;
  --gold: #e3c47f;
  --gold-strong: #f4dca3;
  --on-gold: #241b0b;
  --border: #63533a;
  --halo: #322717;
  --shadow: #00000033;
  --focus: #f4dca3;
}
@media (prefers-color-scheme: light) {
  :root {
    --background: #fbf7ee;
    --surface: #fffcf5;
    --surface-soft: #f1e8d6;
    --text: #302619;
    --muted: #67583f;
    --gold: #765316;
    --gold-strong: #50370b;
    --on-gold: #fffaf0;
    --border: #b7a27e;
    --halo: #f1e4c5;
    --shadow: #53402012;
    --focus: #765316;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC",
    "PingFang SC", "Hiragino Sans", "Yu Gothic", "Malgun Gothic",
    "Noto Sans CJK TC", "Noto Sans Thai", "Leelawadee UI", Thonburi,
    "Noto Sans Devanagari", "Kohinoor Devanagari", Mangal, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
:lang(th), :lang(hi) { line-height: 1.95; }
a { color: var(--gold); text-underline-offset: .22em; }
a:hover { color: var(--gold-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, blockquote { margin: 0; }
p + p { margin-top: 1.1em; }
.container { width: calc(100% - 2rem); max-width: 67.5rem; margin-inline: auto; }
.skip-link {
  position: absolute;
  top: .75rem;
  left: 1rem;
  z-index: 2;
  transform: translateY(-200%);
  padding: .65rem 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .5rem;
}
.skip-link:focus { transform: none; }
.site-header { padding-block: 1rem; }
.language-menu summary {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  padding: .5rem .9rem;
  min-height: 44px;
  color: var(--gold);
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: .65rem;
}
.language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem .75rem;
  list-style: none;
  padding: 1rem;
  margin: .75rem 0 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .75rem;
}
.language-list a { display: block; padding: .5rem; min-height: 44px; }
.language-list [aria-current="page"] { color: var(--text); font-weight: 700; }
main:focus { outline: none; }
main:focus-visible { outline: 3px solid var(--focus, currentColor); outline-offset: 4px; }
.hero {
  text-align: center;
  padding: 2rem 0 3.5rem;
  background: radial-gradient(ellipse at 50% 22%, var(--halo), transparent 66%);
}
.app-icon {
  width: 8rem;
  margin: 0 auto 1.75rem;
  border-radius: 24%;
  box-shadow: 0 1rem 3rem var(--shadow);
}
h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.2; font-weight: 650; color: var(--gold); }
.name-detail { display: block; margin-top: .8rem; font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 500; line-height: 1.6; }
.subtitle { margin: 1.1rem auto 1.75rem; max-width: 38rem; font-size: 1.15rem; color: var(--muted); }
.app-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: .8rem 1.6rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  text-decoration: none;
  text-align: center;
  font-weight: 650;
  line-height: 1.6;
}
.app-store:hover { background: var(--gold-strong); color: var(--on-gold); }
.introduction { max-width: 46rem; margin: 0 auto; }
.introduction p:first-child { font-size: 1.2rem; }
.promotion {
  max-width: 50rem;
  margin: 3rem auto;
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  border-block: 1px solid var(--border);
  color: var(--gold);
  text-align: center;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.8;
}
.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1rem;
  max-width: 100%;
  padding: .4rem .4rem 1.25rem;
  margin-bottom: 3rem;
}
.screenshots figure { min-width: 0; margin: 0; scroll-snap-align: start; }
.screenshots img { width: 100%; border: 1px solid var(--border); border-radius: 1.4rem; box-shadow: 0 .6rem 1rem var(--shadow); }
.features { display: grid; gap: 1rem; }
.feature { min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); }
h2 { font-size: 1.15rem; line-height: 1.6; font-weight: 650; color: var(--gold); }
.feature p { margin-top: .8rem; }
.device-note { max-width: 46rem; margin: 2rem auto 3rem; color: var(--muted); font-size: .925rem; }
.subscription { max-width: 50rem; margin: 0 auto; padding: clamp(1.25rem, 3vw, 2rem); background: var(--surface-soft); border: 1px solid var(--border); border-radius: 1rem; }
.subscription p { margin-top: 1rem; }
.download-again { padding: 2rem 0 3.5rem; text-align: center; }
.site-footer { padding: 2rem 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.footer-links li { min-width: 0; max-width: 100%; }
.footer-links a { display: inline-block; padding-block: .5rem; min-height: 44px; }
.copyright { text-align: center; }
@media (min-width: 45rem) {
  .language-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature:last-child { grid-column: 1 / -1; }
  .hero { padding-block: 3rem 4rem; }
}
@media (max-width: 44.999rem) {
  .screenshots { grid-auto-columns: min(76vw, 17rem); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screenshots { scroll-snap-type: none; }
}
