:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1b1d22;
  --muted: #5d6470;
  --border: #dfe2e8;
  --accent: #1d5fd1;
  --accent-text: #ffffff;
  --accent-soft: #eaf1fd;
  color-scheme: light dark;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16181d;
    --surface: #1f2228;
    --text: #e8eaee;
    --muted: #9aa2ae;
    --border: #30343c;
    --accent: #60a5fa;
    --accent-text: #0b1a33;
    --accent-soft: #17263f;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

a {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

/* Header */
.top {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text);
  text-decoration: none;
}

.lang select {
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 0 24px;
  font-size: 18px;
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.08);
}

a[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: auto;
}

#release-note {
  margin: 10px 0 0;
  min-height: 1.55em;
}

.other {
  margin-top: 14px;
}

.other summary {
  cursor: pointer;
  color: var(--muted);
}

.other ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.hero-shot img,
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgb(0 0 0 / 0.12);
}

/* Features */
h2 {
  font-size: 26px;
  margin: 0 0 20px;
}

.features {
  padding-top: 24px;
  padding-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid article {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.grid h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--accent);
}

.grid p {
  margin: 0;
  color: var(--muted);
}

.shot {
  padding-bottom: 48px;
}

/* Install */
.install {
  padding-bottom: 40px;
}

.install p {
  max-width: 760px;
}

/* Footer */
.footer {
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
