/* 花哪儿le 官网 — 静态宣传站 */
:root {
  --green-900: #0f3d24;
  --green-800: #14532d;
  --green-700: #1b8a4a;
  --green-600: #22a55a;
  --green-500: #10b981;
  --green-100: #e8f8ee;
  --green-50: #f2fbf5;
  --mint: #d8f3e3;
  --cream-mint: #eef8f1;
  --ink: #14231a;
  --ink-soft: #3d5246;
  --muted: #6b7f72;
  --white: #ffffff;
  --expense: #ef4444;
  --income: #10b981;
  --gold: #e8b84a;
  --radius: 1.25rem;
  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-accent: "Fraunces", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
  --shadow-soft: 0 24px 60px rgba(15, 61, 36, 0.12);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(34, 165, 90, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(232, 184, 74, 0.14), transparent 50%),
    linear-gradient(180deg, #e7f6ec 0%, var(--cream-mint) 28%, #f7fcf9 60%, #eef7f1 100%);
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding:
    max(0.55rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0.55rem
    max(1rem, env(safe-area-inset-left));
  backdrop-filter: blur(14px);
  background: rgba(238, 248, 241, 0.96);
  border-bottom: 1px solid rgba(27, 138, 74, 0.08);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  min-height: 44px;
}

.logo-text,
.cta-brand,
.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.logo-le,
.brand-le,
.cta-brand span,
.footer-brand .logo-le {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  color: var(--green-700);
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--green-800);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 60;
  position: relative;
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--green-800);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

body.nav-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(15, 61, 36, 0.4);
  border: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-backdrop[hidden] {
  display: none !important;
}

/* 手机端：全宽下拉菜单（在 header 下方），避免侧滑撑宽页面 */
@media (max-width: 859px) {
  .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    max-height: min(75vh, 28rem);
    margin: 0;
    padding:
      calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.35rem)
      max(1rem, env(safe-area-inset-right))
      max(1rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
    background: rgba(247, 252, 249, 0.98);
    border-bottom: 1px solid rgba(27, 138, 74, 0.12);
    box-shadow: 0 18px 40px rgba(15, 61, 36, 0.12);
    z-index: 55;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  body.nav-open .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.35rem 0.15rem;
    border-bottom: 1px solid rgba(27, 138, 74, 0.08);
    font-size: 1.05rem;
  }

  .nav a::after {
    display: none;
  }

  .nav-cta {
    display: flex;
    margin-top: 0.85rem;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    font-weight: 600;
  }
}

@media (min-width: 860px) {
  .site-header {
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    height: var(--header-h);
    pointer-events: none;
  }

  .site-header > * {
    pointer-events: auto;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    pointer-events: none;
    transform: none;
    z-index: 61;
  }

  .nav a {
    pointer-events: auto;
  }

  .header-cta {
    display: flex;
  }

  .menu-toggle,
  .nav-backdrop,
  .nav-cta {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  touch-action: manipulation;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  box-shadow: 0 12px 28px rgba(27, 138, 74, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(27, 138, 74, 0.36);
}

.btn-ghost {
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(27, 138, 74, 0.22);
}

.btn-ghost:hover {
  background: var(--white);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  min-height: auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  padding:
    clamp(1.25rem, 4vw, 3.5rem)
    max(1rem, env(safe-area-inset-right))
    clamp(2rem, 6vw, 4rem)
    max(1rem, env(safe-area-inset-left));
}

@media (min-width: 960px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding: clamp(1.5rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4rem);
  }
}

.hero-glow {
  position: absolute;
  inset: 10% 0 auto;
  height: 50%;
  max-width: 100%;
  background: radial-gradient(ellipse at center, rgba(34, 165, 90, 0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  max-width: 34rem;
  min-width: 0;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.brand-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green-800);
  font-weight: 700;
}

.brand-le {
  font-size: 0.92em;
}

.hero-headline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.hero-sub {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  max-width: 28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 9.5rem);
}

@media (max-width: 479px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .brand-title {
    font-size: clamp(2.8rem, 14vw, 3.6rem);
  }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  animation: riseIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

.hero-orb {
  position: absolute;
  width: min(92%, 540px);
  max-width: 100%;
  aspect-ratio: 800 / 533;
  border-radius: 1.5rem;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.85), rgba(216, 243, 227, 0.35) 55%, transparent 72%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatSoft 6.5s ease-in-out infinite;
  pointer-events: none;
}

.hero-image {
  position: relative;
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  aspect-ratio: 800 / 533;
  object-fit: contain;
  object-position: center;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  animation: floatSoft 6.5s ease-in-out infinite;
  background: #e8f5ec;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-visual {
    justify-content: flex-end;
  }
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-inner {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

@media (min-width: 600px) {
  .section-inner {
    width: min(1100px, calc(100% - 2.5rem));
  }
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0 0 2.5rem;
  max-width: 36rem;
  color: var(--ink-soft);
}

/* Why */
.why {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45) 20%, rgba(255, 255, 255, 0.55) 80%, transparent);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .why-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.why-list li {
  padding: 0;
  border-left: 3px solid var(--green-500);
  padding-left: 1.1rem;
}

.why-list strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.why-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Features — not interaction cards: open blocks, no boxed chrome */
.feature-grid {
  display: grid;
  gap: 2rem 1.75rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-block {
  padding: 0.25rem 0.1rem;
}

.feature-icon {
  margin-bottom: 0.85rem;
}

.feature-block h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.feature-block p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Family */
.family {
  background:
    radial-gradient(600px 320px at 90% 20%, rgba(34, 165, 90, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(232, 248, 238, 0.65));
}

.family-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .family-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--green-100);
  box-shadow: inset 0 0 0 3px var(--green-600);
}

.mock-phone {
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 0.7rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, #1a2e22, #0f1c15);
  box-shadow: var(--shadow-soft);
  animation: floatSoft 7s ease-in-out infinite;
}

.mock-notch {
  width: 38%;
  height: 0.55rem;
  margin: 0.35rem auto 0.85rem;
  border-radius: 999px;
  background: #0a120e;
}

.mock-screen {
  background: linear-gradient(180deg, #f7fcf9, #eef8f1);
  border-radius: 1.4rem;
  padding: 1.1rem 1rem 1.25rem;
  min-height: 340px;
}

.mock-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--green-800);
}

.mock-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(27, 138, 74, 0.1);
}

.mock-row strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.mock-row small {
  color: var(--muted);
  font-size: 0.75rem;
}

.mock-row em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.92rem;
}

.expense {
  color: var(--expense);
}

.income {
  color: var(--income);
}

.avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
}

.a1 { background: #3b82f6; }
.a2 { background: #ec4899; }
.a3 { background: var(--green-600); }

.mock-invite {
  margin-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(27, 138, 74, 0.08);
  font-size: 0.88rem;
}

.mock-invite code {
  font-family: var(--font-accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green-800);
}

/* Insights */
.insight-stage {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .insight-stage {
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem;
  }
}

.budget-panel,
.trend-panel {
  padding: 1.15rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(27, 138, 74, 0.1);
  box-shadow: 0 10px 40px rgba(15, 61, 36, 0.06);
  min-width: 0;
}

@media (min-width: 600px) {
  .budget-panel,
  .trend-panel {
    padding: 1.5rem 1.4rem;
  }
}

.budget-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.budget-head span {
  color: var(--muted);
  font-size: 0.92rem;
}

.budget-head strong {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--green-800);
}

.budget-bar {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(27, 138, 74, 0.12);
  overflow: hidden;
}

.budget-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green-500), var(--green-700));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.budget-fill.is-on {
  width: var(--p);
}

.budget-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.cat-bars {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.85rem;
}

.cat-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
}

.mini-bar {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(27, 138, 74, 0.1);
  overflow: hidden;
}

.mini-bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green-600);
  transition: width 1s ease;
}

.mini-bar i.is-on {
  width: var(--p);
}

.trend-label {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.trend-chart {
  width: 100%;
  height: 160px;
}

.trend-line {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
}

.trend-panel.is-on .trend-line {
  animation: drawLine 1.4s ease forwards;
}

.trend-panel.is-on .income-line {
  animation-delay: 0.15s;
}

.trend-area {
  opacity: 0;
}

.trend-panel.is-on .trend-area {
  animation: fadeIn 0.8s ease 0.4s forwards;
}

.trend-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.dot.income { background: var(--income); }
.dot.expense { background: var(--expense); }

/* How to */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: none;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.steps li {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.5rem;
  border-top: 2px solid rgba(27, 138, 74, 0.25);
}

.step-num {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-600);
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.steps span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA — interaction container ok */
.cta {
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.cta-inner > p {
  margin: 0 auto 2rem;
  max-width: 28rem;
  color: var(--ink-soft);
}

.cta-box {
  display: grid;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  justify-items: center;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(232, 248, 238, 0.95));
  border: 1px solid rgba(27, 138, 74, 0.14);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

@media (min-width: 560px) {
  .cta-box {
    grid-template-columns: 148px 1fr;
    width: min(480px, 100%);
    gap: 1.15rem;
    padding: 1.25rem 1.4rem;
    text-align: left;
    justify-items: stretch;
  }
}

.qr-wrap {
  margin: 0;
  width: 168px;
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.qr-frame {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(27, 138, 74, 0.1);
}

.qr-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* 裁掉原图四周白边，让小程序码铺满圆形区域 */
  transform: scale(1.12);
  transform-origin: center;
  -webkit-touch-callout: default;
  user-select: auto;
}

.qr-wrap figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 11rem;
}

@media (min-width: 560px) {
  .qr-wrap {
    width: 148px;
  }

  .qr-wrap figcaption {
    text-align: center;
  }
}

.cta-brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-800);
}

.cta-tag {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.cta-copy {
  min-width: 0;
}

.cta-copy ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: left;
}

.cta-copy li + li {
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding:
    2.5rem
    max(1rem, env(safe-area-inset-right))
    max(2rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  border-top: 1px solid rgba(27, 138, 74, 0.1);
  background: rgba(15, 61, 36, 0.03);
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.footer-brand p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 22rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--green-700);
}

.copyright {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}

.copyright .sep {
  opacity: 0.55;
}

.copyright .beian {
  color: var(--muted);
  transition: color 0.2s ease;
}

.copyright .beian:hover {
  color: var(--green-700);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Animations */
@keyframes riseIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy,
  .hero-visual,
  .hero-image,
  .hero-orb,
  .hero-glow,
  .mock-phone {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .budget-fill,
  .mini-bar i {
    width: var(--p);
    transition: none;
  }
  .trend-line {
    stroke-dashoffset: 0;
  }
  .trend-area {
    opacity: 1;
  }
}
