:root {
  color-scheme: light;
  --bg: #fbf8f0;
  --panel: #fffdf9;
  --panel-soft: #fff5ed;
  --text: #1f1e1c;
  --muted: #6f6961;
  --line: #e7ded0;
  --accent: #c74435;
  --accent-strong: #9f2f24;
  --leaf: #4f8a64;
  --leaf-soft: #e9f4ec;
  --shadow: 0 14px 30px rgba(47, 34, 22, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

.page {
  min-height: 100vh;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbar {
  padding: 18px 0 0;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--accent), #e36b43);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.brand-name {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
}

.brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

main {
  padding: 28px 0 64px;
}

.band {
  padding: 34px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 40px;
  align-items: center;
  padding-top: 18px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
  display: inline-block;
}

h1 {
  margin: 14px 0 16px;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 40rem;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: #fff;
}

.hero-shot {
  margin: 0;
  justify-self: end;
  width: 100%;
  max-width: 430px;
}

.hero-shot img {
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

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

.section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.card:nth-child(2n) {
  background: var(--leaf-soft);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

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

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

.shot {
  margin: 0;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shot img {
  width: 100%;
  height: auto;
}

.shot figcaption {
  border-top: 1px solid var(--line);
  padding: 12px 14px 14px;
  font-size: 14px;
  color: var(--muted);
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

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

.policy {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 18px;
}

.policy h1 {
  margin-top: 0;
  font-size: 54px;
}

.policy .meta {
  margin-bottom: 24px;
  color: var(--muted);
}

.policy h2 {
  margin: 28px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.policy p,
.policy li {
  line-height: 1.85;
}

.policy ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.policy .note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--panel-soft);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 980px) {
  h1 {
    font-size: 52px;
  }

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

  .hero-shot {
    justify-self: start;
    max-width: 100%;
  }

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

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

@media (max-width: 640px) {
  .topbar-row {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

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

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

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

  .policy h1 {
    font-size: 34px;
  }
}
