:root {
  color-scheme: light;
  --paper: #f7f2ea;
  --paper-deep: #ede1d3;
  --mint: #b8d9c3;
  --mint-bright: #d7efdd;
  --sage: #688672;
  --ink: #2c271f;
  --muted: #746b5e;
  --cocoa: #87543b;
  --cocoa-dark: #5e3528;
  --line: rgba(69, 52, 35, 0.14);
  --shadow: 0 26px 80px rgba(93, 69, 43, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 20% 8%, rgba(216, 239, 221, 0.92), transparent 32rem),
    radial-gradient(circle at 86% 22%, rgba(197, 224, 204, 0.62), transparent 24rem),
    linear-gradient(160deg, #fbf8f0 0%, #efe4d6 58%, #d8e7d9 100%);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family:
    "LXGW WenKai Screen",
    "Noto Serif SC",
    "PingFang SC",
    "Microsoft YaHei",
    serif;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  width: min(100%, 31rem);
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) 1rem 0.75rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.86), rgba(248, 239, 228, 0.78)),
    repeating-linear-gradient(
      -18deg,
      rgba(104, 134, 114, 0.055) 0,
      rgba(104, 134, 114, 0.055) 1px,
      transparent 1px,
      transparent 14px
    );
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.ambient-one {
  width: 14rem;
  height: 14rem;
  top: -5rem;
  right: -4rem;
  background: rgba(184, 217, 195, 0.68);
}

.ambient-two {
  width: 18rem;
  height: 18rem;
  bottom: 7rem;
  left: -9rem;
  background: rgba(135, 84, 59, 0.1);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.brand-mark img {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.72rem;
  box-shadow: 0 0.45rem 1.2rem rgba(104, 134, 114, 0.18);
}

.status-pill {
  border: 1px solid rgba(104, 134, 114, 0.18);
  border-radius: 999px;
  padding: 0.44rem 0.72rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--sage);
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 1.45rem 1.15rem 2.05rem;
  text-align: center;
}

.icon-stage {
  position: relative;
  display: grid;
  width: 9.4rem;
  height: 9.4rem;
  margin: 0 auto 1.55rem;
  place-items: center;
}

.icon-stage::before {
  position: absolute;
  inset: 0.1rem;
  content: "";
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, rgba(184, 217, 195, 0), rgba(184, 217, 195, 0.92), rgba(135, 84, 59, 0.22), rgba(184, 217, 195, 0));
  animation: slow-spin 12s linear infinite;
}

.phone-shadow {
  position: absolute;
  width: 7.4rem;
  height: 7.4rem;
  border-radius: 2rem;
  background: rgba(104, 134, 114, 0.2);
  filter: blur(22px);
  transform: translateY(1.2rem);
}

.icon-stage img {
  position: relative;
  width: 6.7rem;
  height: 6.7rem;
  border-radius: 1.8rem;
  box-shadow: 0 1.5rem 3rem rgba(80, 93, 78, 0.22);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--cocoa);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(2.32rem, 10.9vw, 3.42rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.lead {
  max-width: 19.5rem;
  margin: 1.05rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.78;
}

.actions {
  margin-top: 1.75rem;
}

.primary-button {
  width: min(100%, 21rem);
  border: 0;
  border-radius: 1.2rem;
  padding: 1.05rem 1.25rem;
  background: linear-gradient(135deg, var(--cocoa), var(--cocoa-dark));
  color: #fff9ef;
  box-shadow: 0 1rem 2rem rgba(94, 53, 40, 0.28);
  font: inherit;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.primary-button:active {
  transform: translateY(1px) scale(0.99);
}

.download-note {
  margin: 0.8rem 0 0;
  color: rgba(116, 107, 94, 0.85);
  font-size: 0.82rem;
}

.site-footer {
  width: min(100%, 31rem);
  margin: 0 auto;
  padding: 0.8rem 1.5rem max(1rem, env(safe-area-inset-bottom));
  color: rgba(44, 39, 31, 0.62);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.site-footer p {
  margin: 0.18rem 0;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: calc(2rem + env(safe-area-inset-bottom));
  min-width: 8rem;
  transform: translateX(-50%) translateY(0.8rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  background: rgba(44, 39, 31, 0.92);
  color: #fff9ef;
  box-shadow: 0 1rem 2rem rgba(44, 39, 31, 0.18);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 46rem) {
  .page-shell,
  .site-footer {
    width: min(100%, 36rem);
  }

  .page-shell {
    padding-top: max(1.25rem, env(safe-area-inset-top));
  }

  .hero-content {
    padding: 1.25rem 2rem 2.15rem;
  }

  h1 {
    font-size: 3.25rem;
  }

  .lead {
    max-width: 22rem;
  }
}
