:root {
  --ink: #0e2f38;
  --ink-soft: #1a4550;
  --cell: #1f6b4a;
  --cell-bright: #2a8a5f;
  --paper: #f3f0e8;
  --paper-deep: #e7e2d6;
  --line: rgba(14, 47, 56, 0.12);
  --text: #15262b;
  --muted: #4a6068;
  --white: #fffcf7;
  --radius: 4px;
  --font-brand: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 80% -10%, rgba(31, 107, 74, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 20%, rgba(14, 47, 56, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: var(--cell);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 240, 232, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: var(--cell);
}

.brand__name {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--cell);
}

.nav-cta {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--cell);
  color: var(--cell) !important;
}

.nav-cta:hover {
  background: rgba(31, 107, 74, 0.08);
}

.nav-home {
  color: var(--muted) !important;
  font-weight: 400;
}

.nav-home:hover {
  color: var(--cell) !important;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 40% 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent);
  animation: gridDrift 36s linear infinite;
}

.hero__content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 2rem;
}

.hero__visual {
  max-width: 820px;
  width: 100%;
  margin: 0.25rem auto 3.5rem;
  padding: 0 1.25rem;
  animation: visualIn 1.05s var(--ease) 0.16s both;
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}

.hero__window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(14, 47, 56, 0.1);
}

.hero__window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1;
  background: linear-gradient(90deg, var(--cell), var(--cell-bright));
}

.hero__window picture,
.hero__window img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 7.5vw, 4.6rem);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.03em;
  animation: riseIn 0.9s var(--ease) both;
}

.hero__headline {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--ink-soft);
  animation: riseIn 0.9s var(--ease) 0.08s both;
}

.hero__support {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.05rem;
  color: var(--muted);
  animation: riseIn 0.9s var(--ease) 0.14s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  animation: riseIn 0.9s var(--ease) 0.2s both;
}

.hero__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  animation: riseIn 0.9s var(--ease) 0.26s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--cell);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--cell-bright);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(14, 47, 56, 0.28);
}

.btn--ghost:hover {
  background: rgba(14, 47, 56, 0.05);
}

.section {
  padding: 5rem 0;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section__inner--narrow {
  max-width: 640px;
  text-align: center;
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 400;
}

.section__lead {
  margin: 0 0 2.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.25rem 2.5rem;
}

@media (min-width: 760px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feature h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.feature__tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cell);
  background: rgba(31, 107, 74, 0.1);
  border: 1px solid rgba(31, 107, 74, 0.22);
  border-radius: 999px;
}

.feature p {
  margin: 0;
  color: var(--muted);
}

.pricing {
  background: linear-gradient(180deg, transparent, rgba(31, 107, 74, 0.06));
}

.price-block {
  padding: 1.75rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

.price-block__free {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.price-block__paid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
}

.price-block__amount {
  font-family: var(--font-brand);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--cell);
}

.price-block__note {
  color: var(--muted);
}

.price-block__contact {
  margin: 0;
  color: var(--muted);
}

.wechat-copy {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--cell);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  border-bottom: 1px dashed rgba(31, 107, 74, 0.45);
}

.wechat-copy:hover {
  color: var(--cell-bright);
}

.cta-band {
  padding-top: 2rem;
}

.cta-band .btn {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  background: rgba(14, 47, 56, 0.04);
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-brand);
  font-size: 1.25rem;
  color: var(--ink);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer__home {
  margin-top: 0.85rem;
}

.site-footer__home a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer__home a:hover {
  color: var(--cell);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes visualIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 48px 48px;
  }
}

@media (max-width: 820px) {
  .hero__content {
    padding-top: 3.75rem;
    padding-bottom: 1.25rem;
  }
}

@media (max-width: 560px) {
  .site-nav a:not(.nav-cta):not(.nav-home) {
    display: none;
  }

  .hero__content {
    padding-top: 3.25rem;
  }

  .hero__support {
    margin-bottom: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__visual {
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  }
}
