:root {
  --paper: #efe8dc;
  --paper-2: #e6dccb;
  --cream: #f7f2e8;
  --ink: #241c14;
  --muted: #6a5f52;
  --line: rgba(36, 28, 20, 0.14);
  --copper: #a35b2d;
  --copper-deep: #7c3f1c;
  --white: #fcfaf6;
  --shadow: 0 18px 50px rgba(36, 28, 20, 0.12);
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Songti SC", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(163, 91, 45, 0.08), transparent 55%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

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

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

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

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding: 16px 28px;
  background: rgba(239, 232, 220, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.03em;
  margin-right: auto;
}

.logo img {
  width: 34px;
  height: 22px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

.nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.lang-switch select {
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%236a5f52' stroke-width='1.4'/%3E%3C/svg%3E") right 10px center no-repeat;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 32px 8px 12px;
  min-height: 40px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
  padding: 48px 0 12px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  font-size: 28px;
  line-height: 1.15;
}

.subtitle {
  margin: 12px 0 0;
  font-size: 20px;
}

.lede {
  max-width: 42em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 22%;
  box-shadow: var(--shadow);
  flex: none;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  letter-spacing: 0.03em;
}

.btn:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
}

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

.btn.ghost:hover {
  background: transparent;
  border-color: var(--copper);
  color: var(--copper-deep);
}

.hero-photo {
  overflow: hidden;
  border-radius: 4px 48px 4px 4px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: auto;
}

.section {
  padding: 42px 0;
}

.band {
  margin-top: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.specs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 0;
}

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

.specs dd {
  margin: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.film {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 12px;
  margin: 0 -4px;
}

.film figure {
  flex: 0 0 min(760px, 88vw);
  margin: 0;
  scroll-snap-align: start;
}

.film img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.film figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.prose {
  max-width: 68ch;
}

.prose p,
.feature p,
.faq p,
.card p {
  margin: 0 0 14px;
}

.prose h2,
.stack h2 {
  margin: 28px 0 12px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.feature,
.card,
.note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 8px;
  box-shadow: 0 10px 30px rgba(36, 28, 20, 0.05);
}

.feature h3,
.card h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: center;
  padding-bottom: 18px;
}

.card .app-icon {
  grid-row: span 3;
  width: 92px;
  height: 92px;
}

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

.card .actions {
  grid-column: 2;
  margin-top: 4px;
}

.note {
  padding-bottom: 18px;
  background: #f3ecdf;
}

.note ul,
.plain-list {
  margin: 8px 0 0;
  padding-left: 1.1em;
}

.lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lang-list li {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

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

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq summary:hover {
  color: var(--copper-deep);
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 68ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding: 32px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-grid p,
.footer-grid address {
  margin: 8px 0 0;
  color: var(--muted);
  font-style: normal;
}

.footer-grid a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 14px;
  font-size: 14px;
}

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

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  letter-spacing: 0;
  line-height: 1.12;
}

html[lang="zh-CN"] .kicker,
html[lang="zh-CN"] .nav a {
  letter-spacing: 0.06em;
  text-transform: none;
}

@media (min-width: 860px) {
  .specs {
    grid-template-columns: auto 1fr auto 1fr;
    column-gap: 28px;
  }
}

@media (max-width: 860px) {
  .hero,
  .features,
  .footer-grid,
  .card {
    grid-template-columns: 1fr;
  }

  .card .app-icon,
  .card .actions {
    grid-row: auto;
    grid-column: auto;
  }

  h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

  .site-header {
    padding: 14px 16px;
  }

  .wrap {
    width: min(1120px, calc(100% - 28px));
  }
}

.prose h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

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