:root {
  color-scheme: light;
  --bg: #f5f2ed;
  --ink: #202423;
  --muted: #68716d;
  --line: #d9ded8;
  --surface: #ffffff;
  --surface-soft: #edf4f1;
  --accent: #0d7f78;
  --accent-strong: #075f5a;
  --blue: #2f67b1;
  --blue-soft: #e3edf9;
  --shadow: 0 18px 42px rgba(31, 38, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(245, 242, 237, 0.84);
  border-bottom: 1px solid rgba(217, 222, 216, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 15px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 7px;
  border: 1px solid transparent;
  padding: 0 16px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-button,
.secondary-button {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.primary-button {
  background: var(--accent);
  color: white;
}

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

.secondary-button:hover,
.nav-button:hover {
  border-color: #9fcfc9;
  background: #eef8f6;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 116px clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 242, 237, 0.98), rgba(245, 242, 237, 0.82) 44%, rgba(245, 242, 237, 0.35)),
    linear-gradient(0deg, rgba(245, 242, 237, 0.96), rgba(245, 242, 237, 0) 36%);
}

.hero-media {
  position: absolute;
  inset: 72px 0 0 32%;
  background-image: url("assets/app-preview.png");
  background-size: cover;
  background-position: left center;
  filter: saturate(0.98);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(560px, 100%);
  margin-bottom: 24px;
  color: #424946;
  font-size: 20px;
  line-height: 1.62;
}

.hero-meta {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.download-section,
.notes-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.download-section {
  padding: 54px 0 34px;
}

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

.section-heading h2,
.notes-section h2 {
  margin-bottom: 0;
  font-size: 26px;
}

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

.download-card {
  display: grid;
  gap: 22px;
  align-content: space-between;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 12px 28px rgba(31, 38, 36, 0.07);
}

.download-card.primary {
  border-color: #a9d8d2;
  background: var(--surface-soft);
}

.download-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.download-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.download-card .primary-button,
.download-card .secondary-button {
  width: fit-content;
}

.notes-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 0 64px;
}

.notes-section > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.notes-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.52;
}

@media (max-width: 760px) {
  .site-header {
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 88vh;
    padding-top: 140px;
  }

  .hero-media {
    inset: 92px 0 0 0;
    opacity: 0.26;
  }

  .hero::after {
    background: rgba(245, 242, 237, 0.82);
  }

  .hero-actions,
  .download-grid,
  .notes-section {
    grid-template-columns: 1fr;
  }

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

  .hero-actions a,
  .download-card .primary-button,
  .download-card .secondary-button {
    width: 100%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
