:root {
  color-scheme: light;
  --bg: #f6f8f7;
  --paper: #ffffff;
  --ink: #17211d;
  --muted: #5f6d66;
  --line: #dce6df;
  --green: #0f7a4f;
  --green-dark: #095f3b;
  --mint: #e9f6ef;
  --gold: #b7892f;
  --shadow: 0 22px 64px rgba(17, 25, 23, .10);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f5faf7 48%, #eef4f1 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wechat-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

.wechat-hero {
  padding: 4px 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 12px 26px rgba(15, 122, 79, .18);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.15;
  font-weight: 950;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: stretch;
  margin-top: 34px;
}

.hero-copy {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 122, 79, .08), rgba(183, 137, 47, .10)),
    var(--paper);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-title p,
.share-pack p {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

h1,
h2 {
  margin: 0;
  font-weight: 950;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(32px, 6vw, 62px);
  line-height: 1.04;
}

h2 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
}

.hero-lead {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
}

.hero-actions,
.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.primary-action,
.secondary-action,
.share-actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.primary-action {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(15, 122, 79, .22);
}

.secondary-action,
.share-actions a {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.qr-panel {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.qr-panel img {
  width: min(220px, 62vw);
  aspect-ratio: 1;
  display: block;
  border: 10px solid #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px var(--line), 0 16px 36px rgba(17, 25, 23, .10);
}

.qr-panel strong {
  font-size: 18px;
  font-weight: 950;
}

.qr-panel span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.quick-ask,
.resource-band,
.share-pack {
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
}

.section-title {
  margin-bottom: 18px;
}

.ask-grid,
.resource-grid {
  display: grid;
  gap: 10px;
}

.ask-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ask-grid a,
.resource-grid a {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.ask-grid a:hover,
.resource-grid a:hover,
.secondary-action:hover,
.share-actions a:hover {
  border-color: rgba(15, 122, 79, .38);
  box-shadow: 0 14px 32px rgba(17, 25, 23, .08);
}

.ask-grid strong,
.resource-grid strong {
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 950;
}

.ask-grid span,
.resource-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.share-pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.share-actions {
  margin-top: 0;
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .wechat-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-layout,
  .ask-grid,
  .resource-grid,
  .share-pack {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 12px;
    margin-top: 22px;
  }

  .hero-copy,
  .qr-panel {
    min-height: 0;
  }

  .hero-copy,
  .quick-ask,
  .resource-band,
  .share-pack {
    padding: 22px;
  }

  .share-pack {
    display: block;
  }

  .share-actions {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .primary-action,
  .secondary-action,
  .share-actions a {
    flex: 1 1 160px;
  }
}

@media (max-width: 420px) {
  .hero-actions,
  .share-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ask-grid a,
  .resource-grid a {
    min-height: 0;
  }
}


/* youyou-unified-logo-style:start */
.brand-mark.youyou-logo-mark,
.mark.youyou-logo-mark,
.logo-mark.youyou-logo-mark{
  display:inline-grid!important;
  place-items:center!important;
  overflow:hidden!important;
  background:#287f43!important;
  background-image:none!important;
  border:0!important;
  color:transparent!important;
  padding:0!important;
  line-height:0!important;
}
.brand-mark.youyou-logo-mark img,
.mark.youyou-logo-mark img,
.logo-mark.youyou-logo-mark img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover!important;
}
.youyou-sites-hub-float::before{
  background:#287f43 url("/assets/brand/youyou-logo.png") center/cover no-repeat!important;
  border-radius:5px!important;
}
/* youyou-unified-logo-style:end */

