:root {
  --ink: #2c1812;
  --muted: #6d5144;
  --line: rgba(44, 24, 18, 0.14);
  --paper: #f6eee6;
  --card: #fffaf6;
  --orange: #e07a3d;
  --cream: #fff3e8;
  --brown: #3a241c;
  --shadow: 0 30px 70px rgba(58, 36, 28, 0.14);
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(820px 420px at 110% -8%, rgba(224, 122, 61, 0.34), transparent 62%),
    radial-gradient(640px 360px at -12% 8%, rgba(255, 214, 176, 0.85), transparent 60%),
    var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

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

a { color: inherit; }

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand img { width: 36px; height: 36px; }

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 42px 0 28px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 38em;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brown);
  color: var(--cream);
}

.btn-primary:hover { background: #24140f; }

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

.btn-ghost:hover { background: rgba(255, 255, 255, 0.55); }

.btn:focus-visible,
.nav-links a:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.phone {
  width: min(320px, 100%);
  margin-left: auto;
  padding: 12px;
  border-radius: 36px;
  background: #24160f;
  box-shadow: var(--shadow);
}

.phone-screen {
  overflow: hidden;
  border-radius: 26px;
  background: #fff8f4;
}

.phone-screen img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.chat {
  display: grid;
  gap: 8px;
  padding: 14px 14px 18px;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  margin: 0;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}

.bubble.cat {
  background: #95ec69;
  color: #173012;
}

.bubble.me {
  justify-self: end;
  background: #ffe0c2;
}

.section { padding: 54px 0; }

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.section .intro {
  margin: 0 0 28px;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature {
  padding: 22px 22px 20px;
  background: rgba(255, 250, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature .num {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

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

.feature.photo {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 16px;
  align-items: center;
}

.feature.photo img {
  width: 118px;
  height: 148px;
  object-fit: cover;
  border-radius: 16px;
}

.guide {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.facts {
  margin: 0;
  padding: 8px 0 0;
}

.facts div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

.download {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 36px;
  border-radius: 28px;
  background: var(--brown);
  color: var(--cream);
}

.download h2 { color: white; }
.download p { color: rgba(255, 243, 232, 0.82); }
.download .btn-primary { background: var(--cream); color: var(--brown); }
.download .btn-primary:hover { background: white; }

.steps { margin: 0; padding-left: 1.2em; }
.steps li { margin: 8px 0; }
.steps li::marker { color: var(--orange); font-weight: 700; }

.meta {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 243, 232, 0.7);
  word-break: break-all;
}

.page {
  padding: 18px 0 64px;
}

.page h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 8px;
}

.page h2 {
  margin: 32px 0 8px;
  font-size: 22px;
}

.page p { color: var(--muted); }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.foot nav { display: flex; gap: 16px; }
.foot a { color: var(--muted); }

.missing {
  min-height: 70vh;
  display: grid;
  align-content: center;
}

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: flex-start; }

  .hero,
  .features,
  .guide,
  .download,
  .feature.photo {
    grid-template-columns: 1fr;
  }

  .phone { margin: 8px auto 0; }
  .download { padding: 26px 20px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}
