:root {
  --ink: #3f2f2b;
  --muted: #7c6e67;
  --paper: #fff8ed;
  --paper-deep: #fff0dc;
  --peach: #f27f6d;
  --peach-dark: #d95e4e;
  --mint: #7cc7ad;
  --sage: #eaf7ef;
  --blue: #8fc4e8;
  --line: rgba(117, 82, 62, 0.18);
  --shadow: 0 18px 48px rgba(119, 73, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "ZCOOL KuaiLe", "LXGW WenKai", "Microsoft YaHei", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.68) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.68) 1px, transparent 1px),
    radial-gradient(circle at 10% 5%, #e4f6ea 0 10%, transparent 28%),
    radial-gradient(circle at 88% 15%, #ffe0d8 0 12%, transparent 30%),
    var(--paper);
  background-size: 24px 24px, 24px 24px, auto, auto, auto;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid #7b4c36;
  border-radius: 14px;
  background: linear-gradient(145deg, #fff7d6, #f7c7b8);
  box-shadow: 4px 4px 0 #4b332b;
}

.nav-links {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
}

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

.header-download,
.primary-btn,
.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #9e4e40;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(180deg, #ff9988, var(--peach));
  box-shadow: 0 5px 0 #a94f43, 0 14px 28px rgba(242, 127, 109, 0.28);
  font-weight: 900;
}

.header-download {
  min-height: 48px;
  padding: 0 22px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px);
  gap: 42px;
  min-height: 620px;
  padding: 86px clamp(20px, 7vw, 112px) 64px;
  border-bottom: 1px solid var(--line);
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  right: -70px;
  bottom: -100px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(124, 199, 173, 0.18);
}

.hero::after {
  left: 4vw;
  bottom: 42px;
  width: 180px;
  height: 56px;
  border-radius: 50%;
  background: rgba(216, 176, 125, 0.13);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid #f1b5aa;
  border-radius: 999px;
  color: var(--peach-dark);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow img {
  width: 22px;
  height: 22px;
  image-rendering: pixelated;
}

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

h1 {
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-shadow: 5px 5px 0 rgba(111, 72, 52, 0.08);
}

h1 span {
  display: inline-block;
  margin-left: 12px;
  padding: 8px 16px 12px;
  border: 3px solid #ff9287;
  border-radius: 10px;
  color: var(--peach);
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
  vertical-align: middle;
  background: rgba(255, 255, 255, 0.55);
}

.lead {
  max-width: 620px;
  margin-top: 24px;
  color: #5f514b;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.8;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.primary-btn,
.ghost-btn {
  min-height: 58px;
  padding: 0 28px;
  font-size: 18px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d8aa86;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 5px 0 #d7b593;
  color: #75553d;
  font-weight: 900;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.meta-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.download-card {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 34px;
  border: 2px solid #f0a86f;
  border-radius: 28px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.85), rgba(255, 253, 248, 0.85)),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(224, 174, 116, 0.13) 16px),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(224, 174, 116, 0.13) 16px);
  box-shadow: var(--shadow);
}

.beta-ribbon {
  position: absolute;
  top: 22px;
  right: -10px;
  padding: 8px 18px;
  border-radius: 12px 0 0 12px;
  color: #fff;
  background: linear-gradient(135deg, #ff978a, #ec6c61);
  font-weight: 900;
}

.android-badge {
  display: grid;
  width: 94px;
  height: 94px;
  margin-bottom: 18px;
  place-items: center;
  border: 2px solid #f0cf9d;
  border-radius: 22px;
  background: #fff7df;
  color: #609676;
  font-size: 17px;
  font-weight: 900;
}

.download-card h2 {
  font-size: 30px;
}

.download-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.download-card dl {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.download-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 245, 225, 0.82);
}

.download-card dt {
  color: var(--muted);
  font-weight: 800;
}

.download-card dd {
  margin: 0;
  font-weight: 900;
}

.download-btn {
  width: 100%;
  min-height: 58px;
  font-size: 19px;
}

.install-note {
  text-align: center;
  font-size: 13px;
}

.mascot-wrap {
  position: absolute;
  right: clamp(12px, 3vw, 52px);
  bottom: 24px;
  z-index: 1;
  width: clamp(140px, 18vw, 240px);
  animation: floaty 4s ease-in-out infinite;
}

.mascot {
  width: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 18px rgba(76, 49, 35, 0.18));
}

.features,
.safety,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.features {
  padding: 70px 20px 40px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-heading span,
.tag {
  color: var(--peach-dark);
  font-size: 14px;
  font-weight: 900;
}

.section-heading h2,
.safety h2 {
  margin-top: 8px;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.section-heading p,
.safety p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
  font-weight: 700;
}

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

.feature-card {
  min-height: 174px;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 12px 30px rgba(114, 77, 52, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  image-rendering: pixelated;
}

.feature-card h3 {
  margin-top: 12px;
  font-size: 24px;
}

.feature-card p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 700;
}

.green { border-color: #bbd5a2; background: rgba(247, 255, 235, 0.76); }
.blue { border-color: #aad0eb; background: rgba(239, 249, 255, 0.78); }
.sand { border-color: #e9c387; background: rgba(255, 247, 230, 0.82); }
.rose { border-color: #f4b5b4; background: rgba(255, 242, 242, 0.78); }
.mint { border-color: #9ed8ca; background: rgba(239, 255, 250, 0.78); }
.violet { border-color: #c7bef3; background: rgba(249, 247, 255, 0.78); }

.safety {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  margin-top: 30px;
  margin-bottom: 56px;
  padding: 28px;
  border: 2px solid #eccb8f;
  border-radius: 26px;
  background: rgba(255, 248, 229, 0.82);
  box-shadow: var(--shadow);
}

.shield {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid #e59565;
  border-radius: 22px;
  color: #e0675f;
  background: #fff4dc;
  font-size: 34px;
  box-shadow: 4px 4px 0 #8a5b3e;
}

.safety ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.safety li {
  position: relative;
  padding-left: 28px;
  color: #5f514b;
  line-height: 1.7;
  font-weight: 700;
}

.safety li::before {
  position: absolute;
  left: 0;
  content: "✓";
  color: #6aa88f;
  font-weight: 900;
}

code {
  word-break: break-all;
  color: #995647;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 20px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer a {
  color: var(--peach-dark);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .mascot-wrap {
    right: 20px;
    bottom: 420px;
    opacity: 0.78;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 22px;
  }

  .header-download {
    width: 100%;
  }

  .hero {
    padding: 38px 16px 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .download-card {
    padding: 24px;
  }

  .mascot-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    width: 160px;
    margin: -20px auto 0;
  }

  .features {
    padding: 48px 16px 24px;
  }

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

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
