:root {
  color-scheme: dark;
  --night: #101a29;
  --paper: #f6f4ed;
  --muted: #abb8c8;
  --orange: #ff641f;
  --blue: #2964f0;
  --line: #ffffff24;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", sans-serif;
  font-synthesis: none;
  background: var(--night);
  color: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--orange); }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, figure { margin: 0; }
p { text-wrap: pretty; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; padding: 12px 20px; background: var(--paper); color: var(--night); z-index: 10; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.wordmark { font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; font-size: 25px; font-weight: 900; letter-spacing: -.045em; }
.language-picker { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; color: var(--muted); font-size: 13px; }
.language-icon { position: absolute; left: 12px; width: 18px; height: 18px; z-index: 1; pointer-events: none; }
.language-picker select { appearance: auto; min-height: 44px; width: 132px; padding: 9px 10px 9px 38px; border: 1px solid var(--line); border-radius: 8px; color: var(--paper); background: var(--night); cursor: pointer; }
.hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr); align-items: center; gap: 80px; padding-block: 105px 112px; }
.hero-name { font-family: ui-rounded, "SF Pro Rounded", -apple-system, sans-serif; font-weight: 900; letter-spacing: -.055em; font-size: clamp(52px, 6.8vw, 90px); line-height: 1; margin-bottom: 25px; }
.hero h1 { font-size: clamp(30px, 3.3vw, 45px); letter-spacing: -.025em; font-weight: 760; line-height: 1.15; color: var(--orange); text-wrap: balance; }
.hero-subtitle { margin-top: 22px; max-width: 450px; font-size: 23px; line-height: 1.55; color: #d0d8e3; text-wrap: balance; }
.hero-subtitle .phrase { display: inline-block; }
.hero-icon { width: min(100%, 294px); justify-self: center; position: relative; }
.hero-icon::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 2px solid var(--blue); border-radius: 30%; pointer-events: none; }
.hero-icon img { position: relative; aspect-ratio: 1; border-radius: 25%; box-shadow: 18px 18px 0 var(--blue); }
.intro { border-top: 1px solid var(--line); padding-block: 65px 52px; }
.intro p { max-width: 880px; font-size: clamp(21px, 2.35vw, 28px); line-height: 1.6; letter-spacing: -.018em; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; }
.gallery figure:first-of-type { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 50 / 23; object-fit: contain; background: #233950; border-radius: 9px; border: 1px solid #ffffff2e; }
.gallery figcaption { display: flex; align-items: center; gap: 12px; padding-top: 15px; font-size: 15px; color: var(--muted); }
.gallery figcaption::before { content: ""; width: 20px; height: 3px; background: var(--orange); }
.gallery figure:nth-of-type(2) figcaption::before { background: var(--blue); }
.download { margin-top: 90px; padding: 62px 36px; display: flex; justify-content: space-between; align-items: center; gap: 36px; background: var(--paper); color: var(--night); border-radius: 12px; }
.download h2 { font-size: clamp(25px, 3vw, 36px); font-weight: 750; letter-spacing: -.035em; }
.download p { font-size: 15px; margin-top: 12px; color: #4b596b; }
.store-button { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; gap: 16px; padding: 16px 22px; border: 0; border-radius: 10px; background: var(--night); color: white; font-size: 16px; font-weight: 650; text-decoration: none; text-align: center; flex-shrink: 0; max-width: 100%; }
.store-button:hover { color: white; background: #263951; }
.store-button[aria-disabled="true"] { cursor: default; }
.store-button[aria-disabled="true"]:hover { background: var(--night); }
.site-footer { margin-top: 85px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 29px 38px; }
.site-footer p { color: var(--muted); font-size: 13px; }
.site-footer nav { display: flex; align-items: center; gap: 26px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.site-footer a[aria-current="page"] { color: var(--orange); }
.document { max-width: 790px; margin-inline: auto; padding-top: 66px; }
.back-home { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; text-decoration: none; margin-bottom: 35px; }
.document h1 { font-size: clamp(35px, 5vw, 52px); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 38px; }
.document-body { font-size: 17px; line-height: 1.85; color: #d0d8e3; }
.document-body p + p { margin-top: 25px; }
.document-body a { color: var(--paper); overflow-wrap: anywhere; }
.license-link { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-top: 38px; padding-block: 22px; border-block: 1px solid var(--line); text-decoration: none; font-weight: 650; }
.license-source { display: inline-block; margin-bottom: 28px; color: var(--muted); overflow-wrap: anywhere; }
.license-text { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #d0d8e3; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:lang(zh-Hans) .hero h1, :lang(ja) .hero h1 { letter-spacing: 0; line-height: 1.45; font-size: clamp(27px, 3.1vw, 40px); }
:lang(zh-Hans) .hero-subtitle, :lang(ja) .hero-subtitle { line-height: 1.75; }
:lang(zh-Hans) .intro p, :lang(ja) .intro p { line-height: 1.8; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 45px; padding-block: 80px 85px; }
  .hero-subtitle { font-size: 20px; }
  .hero-icon { max-width: 230px; }
  .download { flex-direction: column; align-items: flex-start; padding: 38px 28px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 82px; gap: 15px; }
  .brand { gap: 9px; }
  .wordmark { font-size: 23px; }
  .hero { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 44px; padding-block: 53px 57px; }
  .hero-icon { width: 128px; align-self: flex-start; margin-left: 10px; }
  .hero-icon img { box-shadow: 10px 10px 0 var(--blue); }
  .hero-icon::before { inset: -10px 10px 10px -10px; }
  .hero-name { font-size: 65px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(26px, 8vw, 37px); }
  .hero-subtitle { font-size: 20px; max-width: 340px; margin-top: 17px; }
  .intro { padding-block: 38px 34px; }
  .intro p { font-size: 20px; }
  .gallery { grid-template-columns: 1fr; gap: 28px; }
  .gallery figure:first-of-type { grid-column: auto; }
  .gallery figcaption { padding-top: 11px; font-size: 14px; }
  .download { margin-top: 55px; padding: 29px 22px; gap: 26px; }
  .store-button { flex-shrink: 1; font-size: 15px; width: 100%; }
  .site-footer { margin-top: 55px; flex-direction: column-reverse; align-items: flex-start; gap: 12px; padding-bottom: 30px; }
  .site-footer nav { gap: 26px; flex-wrap: wrap; }
  .document { padding-top: 30px; }
  .back-home { margin-bottom: 23px; }
  .document h1 { margin-bottom: 30px; font-size: 36px; }
  .document-body { font-size: 16px; line-height: 1.9; }
  .license-text { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) {
  a, button, select { transition: color .16s ease, background-color .16s ease; }
}
