:root {
  --bg: #f4f5f7;
  --panel: rgba(255, 255, 255, 0.84);
  --panel-solid: #ffffff;
  --text: #17202b;
  --muted: #647183;
  --line: rgba(30, 39, 52, 0.1);
  --accent: #1c67e3;
  --accent-strong: #0d56d3;
  --shadow: 0 24px 60px rgba(19, 33, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, #eef3f8 0%, #f6f7f8 100%);
  font:
    16px/1.6 "Helvetica Neue",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.page-shell {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(19, 33, 53, 0.08);
}

.brand,
.topbar-actions,
.topnav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.brand-word {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topnav a,
.language-picker {
  font-size: 14px;
  color: var(--muted);
}

.topnav a:hover {
  color: var(--text);
}

.language-picker {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.hero,
.section {
  margin-bottom: 28px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: 28px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-text,
.section-copy,
.feature-card p,
.download-card span {
  color: var(--muted);
}

.hero-text {
  max-width: 58ch;
  margin-top: 16px;
  font-size: 18px;
}

.hero-actions,
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 22px;
}

.hero-meta {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover,
.download-card:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 26px rgba(28, 103, 227, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero-shot-frame,
.preview-panel {
  padding: 16px;
}

.hero-shot-frame {
  transform: rotate(-1.2deg);
}

.hero-shot,
.preview-image {
  width: 100%;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.feature-grid,
.download-grid {
  display: grid;
  gap: 16px;
}

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

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

.feature-card,
.download-card {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-solid);
  box-shadow: 0 10px 30px rgba(19, 33, 53, 0.06);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.download-card {
  align-content: start;
}

.download-card.is-detected {
  border-color: rgba(28, 103, 227, 0.34);
  box-shadow:
    0 12px 30px rgba(28, 103, 227, 0.1),
    inset 0 0 0 1px rgba(28, 103, 227, 0.12);
}

.download-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-sponsor .section-heading {
  margin-bottom: 16px;
}

.sponsor-embed-wrap {
  overflow: hidden;
  background: var(--panel-solid);
}

.sponsor-embed {
  width: 100%;
  min-height: 240px;
  border: 0;
  display: block;
}

.section-footer {
    background-color: none;
    text-align: center;
    color: #b4b4b4;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 10px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: space-between;
  }

  .hero,
  .section {
    padding: 20px;
    border-radius: 22px;
  }

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