:root {
  color-scheme: light;
  --farm-cream: #fef7ef;
  --farm-surface: #fffdf8;
  --farm-ink: #14372b;
  --farm-muted: #496252;
  --farm-green: #24701b;
  --farm-line: #dcded0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  background: var(--farm-cream);
  color: var(--farm-ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
p, h1 { margin: 0; }

.wrap {
  display: flex;
  flex-direction: column;
  width: min(1240px, 100% - 96px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--farm-muted);
}

.site-header {
  min-height: 72px;
  border-bottom: 1px solid var(--farm-line);
}

.brand {
  font-family: Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.06em;
  color: var(--farm-ink);
}

.publisher {
  font: 700 13px Arial, sans-serif;
  letter-spacing: .14em;
}

.hero-copy {
  padding-block: 16px;
  animation: enter 440ms ease-out both;
}

h1 {
  font-size: clamp(46px, 5.1vw, 77px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1.13;
}

.intro {
  max-width: 24em;
  margin-top: 22px;
  color: var(--farm-muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.75;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--farm-green);
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, transform 150ms ease;
}

@media (hover: hover) {
  .download-link:hover { background: #1c5d16; transform: translateY(-2px); }
}

.download-link:active { background: #184c14; transform: translateY(1px); }

.download-icon {
  position: relative;
  width: 20px;
  height: 17px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
  transform: scaleY(.85);
  clip-path: polygon(0 65%, 32% 65%, 32% 0, 68% 0, 68% 65%, 100% 65%, 100% 100%, 0 100%);
}

.download-icon::before,
.download-icon::after { content: ""; position: absolute; left: 50%; }
.download-icon::before { width: 2px; height: 10px; background: currentColor; transform: translateX(-50%); }
.download-icon::after {
  top: 4px;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.release-status {
  margin-top: 10px;
  color: var(--farm-muted);
  font-size: 14px;
  line-height: 1.55;
}

.qr-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.qr-panel canvas {
  display: block;
  width: 96px;
  height: 96px;
  border: 1px solid var(--farm-line);
  border-radius: 10px;
  background: white;
  image-rendering: pixelated;
}

.qr-panel strong { font-size: 16px; }
.qr-panel p { margin-top: 6px; color: var(--farm-muted); font-size: 14px; line-height: 1.5; }

.site-footer {
  border-top: 1px solid var(--farm-line);
  min-height: 60px;
  font-size: 13px;
}

.skip-link {
  position: fixed;
  z-index: 1;
  top: 12px;
  left: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--farm-surface);
  color: var(--farm-ink);
  transform: translateY(calc(-100% - 20px));
}

.skip-link:focus { transform: none; }
a:focus-visible { outline: 3px solid var(--farm-ink); outline-offset: 4px; }

@keyframes enter {
  from { opacity: .55; transform: translateY(8px); }
}

@keyframes settle {
  from { transform: scale(1.035); }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  h1 { font-size: clamp(39px, 5.65vw, 54px); }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { min-height: 58px; }
  .brand { font-size: 29px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(40px, 10.25vw, 58px); }
  .intro { margin-top: 14px; }
  .download-link { display: flex; }
  .qr-panel { display: none; }
  .site-footer { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  .download-link { transition: none; }
  .download-link:hover, .download-link:active { transform: none; }
}
