/* PMCO public website
   Light and dark themes use the application's cool grey and indigo palette.
   Display: Cormorant Garamond; interface: IBM Plex Sans; technical labels: IBM Plex Mono. */

:root {
  --bg: #e8ecf0;
  --bg-soft: #eff2f5;
  --surface: #f6f8fa;
  --surface-2: #edf1f4;
  --ink: #141b24;
  --muted: #56616e;
  --line: #c5cdd6;
  --line-strong: #aeb9c4;
  --accent: #2b3990;
  --accent-hover: #202c74;
  --accent-soft: #e3e6f4;
  --accent-ink: #ffffff;
  --tag-bg: #e3e6f4;
  --tag-ink: #2b3990;
  --danger: #a33a3a;
  --shadow: 0 28px 70px -28px rgba(20, 27, 36, 0.38), 0 2px 8px rgba(20, 27, 36, 0.06);
  --shadow-soft: 0 16px 40px -24px rgba(20, 27, 36, 0.32);
  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

html[lang="ja"] {
  --font-display: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "IBM Plex Sans", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans JP", "Hiragino Sans", ui-monospace, monospace;
}

html[lang="zh-CN"] {
  --font-display: "Cormorant Garamond", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "IBM Plex Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Noto Sans SC", "PingFang SC", ui-monospace, monospace;
}

html[data-theme="dark"] {
  --bg: #0f1319;
  --bg-soft: #121820;
  --surface: #171d25;
  --surface-2: #1d242e;
  --ink: #e6eaef;
  --muted: #9aa5b2;
  --line: #2b3440;
  --line-strong: #3d4958;
  --accent: #97a4f2;
  --accent-hover: #afb9f7;
  --accent-soft: #232b3a;
  --accent-ink: #0f1319;
  --tag-bg: #232b3a;
  --tag-ink: #c3cbf8;
  --danger: #f0a0a0;
  --shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.24);
  --shadow-soft: 0 18px 44px -28px rgba(0, 0, 0, 0.62);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --bg: #0f1319;
    --bg-soft: #121820;
    --surface: #171d25;
    --surface-2: #1d242e;
    --ink: #e6eaef;
    --muted: #9aa5b2;
    --line: #2b3440;
    --line-strong: #3d4958;
    --accent: #97a4f2;
    --accent-hover: #afb9f7;
    --accent-soft: #232b3a;
    --accent-ink: #0f1319;
    --tag-bg: #232b3a;
    --tag-ink: #c3cbf8;
    --danger: #f0a0a0;
    --shadow: 0 28px 70px -24px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.24);
    --shadow-soft: 0 18px 44px -28px rgba(0, 0, 0, 0.62);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background-color: var(--bg);
  background-image: radial-gradient(1100px 620px at 88% -12%, var(--accent-soft), transparent 68%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

button,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:where(a, button, summary, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--small {
  width: 18px;
  height: 18px;
}

.icon--chevron {
  width: 14px;
  height: 14px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.icon-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.045em;
}

.primary-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 30px;
}

.primary-nav a {
  padding: 7px 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.primary-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.lang-control {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  transition: border-color 0.18s var(--ease);
}

.lang-control:hover,
.lang-control:focus-within {
  border-color: var(--line-strong);
}

.lang-select {
  appearance: none;
  max-width: 96px;
  padding: 0 13px 0 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  line-height: 38px;
  cursor: pointer;
}

.lang-select option {
  background: var(--surface);
  color: var(--ink);
}

.lang-control .icon--chevron {
  margin-left: -15px;
  pointer-events: none;
}

.theme-icon {
  display: none;
  width: 18px;
  height: 18px;
}

html[data-theme-choice="system"] .theme-icon--system,
html[data-theme-choice="light"] .theme-icon--light,
html[data-theme-choice="dark"] .theme-icon--dark {
  display: block;
}

.mobile-nav {
  display: none;
}

.menu-btn {
  list-style: none;
}

.menu-btn::-webkit-details-marker {
  display: none;
}

.menu-icon--close {
  display: none;
}

.mobile-nav[open] .menu-icon--open {
  display: none;
}

.mobile-nav[open] .menu-icon--close {
  display: block;
}

.mobile-nav[open] .menu-btn {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--surface);
}

.mobile-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  padding: 10px var(--gutter) 24px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.mobile-links {
  display: flex;
  flex-direction: column;
}

.mobile-links a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-lang {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.mobile-lang-label {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lang-select--block {
  flex: 1;
  max-width: none;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--bg-soft);
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -44%;
  right: -13%;
  width: min(840px, 66vw);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  opacity: 0.62;
}

.hero::after {
  top: -21%;
  right: -2%;
  width: min(470px, 40vw);
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  opacity: 0.16;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  max-width: 12ch;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(50px, 6.15vw, 84px);
  font-weight: 500;
  line-height: 0.97;
  letter-spacing: -0.02em;
  text-wrap: balance;
  white-space: pre-line;
}

html[lang="ja"] .hero h1 {
  max-width: none;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.16;
  letter-spacing: 0;
}

html[lang="zh-CN"] .hero h1 {
  max-width: none;
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

html[lang="ja"] .section-head h2 {
  word-break: auto-phrase;
}

.lede {
  max-width: 52ch;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16.5px, 1.25vw, 18.5px);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--accent) 72%, transparent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.platform-line {
  margin-top: 26px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.release-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.dot-sep {
  opacity: 0.5;
}

.hero-visual {
  position: relative;
}

.app-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg-soft);
}

.window-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.sample-tag {
  justify-self: end;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-window img {
  width: 100%;
  height: auto;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  right: -34px;
  bottom: -34px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.65;
}

.hero-orbit::after {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

/* Sections ---------------------------------------------------------------- */

.section {
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.section--tint {
  background: var(--surface);
}

.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.section-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-head > p:not(.eyebrow) {
  max-width: 60ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.68;
}

/* Features ---------------------------------------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.feature {
  min-height: 232px;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  transition: background-color 0.2s var(--ease);
}

.feature:hover {
  background: var(--bg-soft);
}

.feature-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--accent);
}

.feature h3 {
  margin-bottom: 9px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.feature p {
  max-width: 36ch;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.66;
}

/* Playback ---------------------------------------------------------------- */

.playback-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.playback-copy {
  max-width: 580px;
  margin-bottom: 0;
}

.playback-note {
  max-width: 52ch;
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.playback-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.playback-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.playback-card-top .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.playback-points {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 19px 0 0;
  list-style: none;
}

.playback-points li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.playback-check {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
}

.playback-check .icon {
  width: 13px;
  height: 13px;
}

.playback-points h3 {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}

.playback-points p {
  max-width: 52ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.62;
}

.playback-formats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.playback-format-list {
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* Screenshots ------------------------------------------------------------- */

.shots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
}

.shot {
  min-width: 0;
}

.shot--collection {
  grid-column: 1 / -1;
}

.shot-open {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}

.shot-open img {
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--ease);
}

.shot-open:hover img {
  transform: scale(1.01);
}

.shot-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0.9;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), opacity 0.18s var(--ease);
}

.shot-open:hover .shot-expand,
.shot-open:focus-visible .shot-expand {
  background: var(--accent);
  color: var(--accent-ink);
  opacity: 1;
}

figcaption {
  padding-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.shot-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-note {
  margin-top: 30px;
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.7;
}

/* Downloads --------------------------------------------------------------- */

.release-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.release-facts > div {
  padding: 15px 20px;
  border-left: 1px solid var(--line);
}

.release-facts > div:first-child {
  border-left: 0;
}

.release-facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.release-facts dd {
  margin-top: 3px;
  font-size: 14.5px;
  font-weight: 600;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: stretch;
  gap: 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.download-card--primary {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  box-shadow: var(--shadow-soft);
}

.download-card-head .tag {
  margin-bottom: 15px;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--tag-bg);
  color: var(--tag-ink);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.tag--quiet {
  background: var(--surface-2);
  color: var(--muted);
}

.download-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
}

.download-card-head p {
  max-width: 44ch;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.file-facts {
  display: grid;
  gap: 9px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.file-facts > div {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.file-facts dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.file-facts dd {
  min-width: 0;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.5;
}

.file-facts code,
.sha-value {
  font-family: var(--font-mono);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.file-facts code {
  color: var(--ink);
  word-break: break-all;
}

.sha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 17px;
  margin-bottom: 22px;
  padding-top: 15px;
  border-top: 1px dashed var(--line);
}

.sha-label {
  grid-column: 1;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.sha-value {
  display: block;
  min-width: 0;
  color: var(--muted);
  line-height: 1.6;
  word-break: break-all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 5px;
  align-self: start;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.copy-btn:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--bg-soft);
}

.copy-btn .icon {
  width: 13px;
  height: 13px;
}

.copy-btn .check-icon {
  display: none;
}

.copy-btn.is-copied {
  color: var(--accent);
  border-color: var(--accent);
}

.copy-btn.is-copied .copy-icon {
  display: none;
}

.copy-btn.is-copied .check-icon {
  display: block;
}

.download-button {
  width: 100%;
  margin-top: auto;
}

.install-block {
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.install-block > h3 {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
}

.steps h4 {
  margin-top: 3px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}

.steps p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.note-box {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 30px;
  padding: 17px 19px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.note-icon {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  color: var(--accent);
}

.note-box p {
  max-width: 84ch;
  font-size: 13.5px;
  line-height: 1.65;
}

.verify {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.verify summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.verify summary::-webkit-details-marker {
  display: none;
}

.verify summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
}

.verify[open] summary::after {
  content: "−";
}

.verify-body {
  padding-bottom: 12px;
}

.verify-body p {
  max-width: 78ch;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.verify pre {
  max-width: 100%;
  margin: 0;
  padding: 13px 15px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
}

.verify code {
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: pre;
}

/* FAQ --------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(34px, 6vw, 80px);
}

.faq-head {
  position: sticky;
  top: 104px;
  margin-bottom: 0;
}

.faq-list {
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-item[open] summary {
  color: var(--accent);
}

.faq-item[open] .faq-plus::before {
  background: var(--accent);
}

.faq-body p {
  max-width: 65ch;
  margin: -2px 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Footer ------------------------------------------------------------------ */

.site-footer {
  padding: 44px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: 40px;
}

.brand--footer .brand-name {
  font-size: 26px;
}

.brand--footer img {
  width: 31px;
  height: 31px;
  border-radius: 7px;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  padding-top: 6px;
  font-size: 13.5px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-nav .icon {
  width: 13px;
  height: 13px;
}

.footer-meta {
  padding-top: 5px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.9;
  text-align: right;
}

/* Lightbox ---------------------------------------------------------------- */

.lightbox {
  width: min(1120px, calc(100vw - 32px));
  max-width: none;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(9, 13, 19, 0.78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid var(--line);
}

.lightbox-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lightbox-close {
  width: 36px;
  height: 36px;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 18px 64px;
  background: var(--bg-soft);
}

.lightbox-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 68vh;
  border: 1px solid var(--line);
  background: var(--surface);
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--ink);
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.lightbox-nav:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-caption {
  padding: 14px 24px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] {
    animation: lightbox-in 0.18s ease-out;
  }

  @keyframes lightbox-in {
    from {
      opacity: 0;
      transform: translateY(6px) scale(0.99);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1000px) {
  .header-inner {
    gap: 16px;
  }

  .primary-nav {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(48px, 6.4vw, 72px);
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .primary-nav,
  .header-tools > .lang-control {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding-top: clamp(46px, 7vw, 72px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  html[lang="ja"] .hero h1 {
    font-size: clamp(34px, 7.8vw, 60px);
  }

  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(42px, 8vw, 84px);
  }

  .hero-visual {
    width: 100%;
    max-width: 780px;
  }

  .hero::before {
    top: -24%;
    right: -24%;
    width: 620px;
  }

  .hero::after {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .playback-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .playback-copy,
  .playback-card {
    max-width: 680px;
  }

  .faq-head {
    position: static;
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .faq-head {
    margin-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-meta {
    grid-column: 1 / -1;
    padding-top: 0;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .shots-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .shot--collection {
    grid-column: auto;
  }

  .hero h1 {
    font-size: clamp(46px, 8.4vw, 68px);
  }
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .section-head h2 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .hero::before {
    opacity: 0.32;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    min-height: 0;
  }

  .release-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-facts > div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .release-facts > div:nth-child(-n + 2) {
    border-top: 0;
  }

  .release-facts > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-meta {
    grid-column: auto;
  }

  .brand-name {
    font-size: 27px;
  }

  .app-window-bar {
    grid-template-columns: 1fr auto;
  }

  .window-title {
    display: none;
  }

  .sample-tag {
    justify-self: end;
  }

  .lightbox-stage {
    padding: 14px 46px;
  }

  .lightbox-stage img {
    max-height: 62vh;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 62px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 25px;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: clamp(43px, 11.5vw, 58px);
  }

  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(38px, 11vw, 42px);
  }

  .lede {
    margin-top: 20px;
  }

  .app-window {
    border-radius: 11px;
  }

  .window-dots {
    gap: 4px;
  }

  .sample-tag {
    font-size: 8px;
  }

  .release-facts > div {
    padding: 13px 15px;
  }

  .download-card {
    padding: 22px 18px;
  }

  .download-card h3 {
    font-size: 27px;
  }

  .file-facts > div {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 8px;
  }

  .sha-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .copy-btn {
    justify-self: start;
  }

  .playback-card {
    padding: 20px 18px;
  }

  .playback-formats {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .faq-item summary {
    font-size: 15.5px;
  }

  .lightbox-stage {
    padding: 10px 40px;
  }

  .lightbox-nav {
    width: 34px;
    height: 34px;
  }

  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }

  .lightbox-caption {
    padding: 12px 16px 18px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .skip-link {
    transition: none;
  }
}
