/* tang.saykrosmart.com 首页：沿用 App 和业主网页的酒红、象牙白；首屏庭院实景，正文分段卡片。 */
:root {
  --wine: #782638;
  --wine-dark: #5e1d2c;
  --blush: #f5e9eb;
  --ivory: #f8f6f2;
  --paper: #ffffff;
  --ink: #26292d;
  --muted: #5f656b;
  --line: #e4e0da;
  --night: #121a26;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", serif;
  --sans: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.7 var(--sans); }
a { color: var(--wine); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.25; margin: 0; }

/* 首屏 */
.hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) var(--gutter) clamp(40px, 8vh, 88px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 16, 26, .72) 0%, rgba(10, 16, 26, .38) 52%, rgba(10, 16, 26, .08) 100%),
    linear-gradient(180deg, rgba(10, 16, 26, .45) 0%, rgba(10, 16, 26, 0) 28%),
    var(--night) url("/pay/assets/site-hero.jpg?v=20261123") center 45% / cover no-repeat;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); width: 100%; margin: 0 auto; }
.brand { color: #fff; text-decoration: none; font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: #fff; text-decoration: underline; }
.hero-copy { max-width: var(--max); width: 100%; margin: 0 auto; }
.eyebrow { margin: 0 0 14px; font-size: 15px; letter-spacing: .12em; color: rgba(255, 255, 255, .86); }
.hero h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: .04em; }
.lead { margin: 18px 0 30px; font-size: clamp(17px, 2.2vw, 21px); color: rgba(255, 255, 255, .92); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color 150ms ease, color 150ms ease; }
.button.primary { background: var(--wine); color: #fff; }
.button.primary:hover { background: var(--wine-dark); }
.button.ghost { border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; }
.button.ghost:hover { background: rgba(255, 255, 255, .14); }

/* 数字 */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: min(calc(100% - 2 * var(--gutter)), calc(var(--max) - 2 * var(--gutter))); margin: -36px auto 0; position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px rgba(38, 41, 45, .08); }
.stats div { padding: 24px 12px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); color: var(--wine); }
.stats span { color: var(--muted); }

/* 分段 */
.band { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 96px) var(--gutter) 0; }
main > .band:first-of-type { padding-top: clamp(64px, 9vw, 104px); }
.band h2 { font-size: clamp(26px, 3.6vw, 36px); margin-bottom: 14px; }
.intro { max-width: 46em; }
.intro p { color: var(--muted); margin: 0; }
.chain { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.chain li { padding: 6px 14px; border-radius: 999px; background: var(--blush); color: var(--wine); font-weight: 600; font-size: 15px; }
.chain li + li::before { content: "›"; margin: 0 10px 0 -2px; color: rgba(120, 38, 56, .45); }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.cards article { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.cards img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cards h3 { font-size: 21px; margin: 22px 24px 8px; }
.cards p { margin: 0 24px 24px; color: var(--muted); }
.more { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; padding: 0; }
.more li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.more strong { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.more span { color: var(--muted); }

/* 购买与联系：左文右码 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 6vw, 72px); align-items: center; }
.split > div > p { color: var(--muted); margin: 0 0 8px; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--wine); color: var(--wine); font-size: 18px; }
.steps strong { display: block; font-size: 18px; }
.steps span { color: var(--muted); }
.qr { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 16px; text-align: center; box-shadow: 0 10px 30px rgba(38, 41, 45, .06); }
.qr img { width: 100%; border-radius: 12px; }
.qr figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.qr small { font-size: 13px; opacity: .8; }
.contact { margin: 20px 0 0; display: grid; gap: 0; }
.contact div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; font-weight: 600; }
.contact a { text-decoration: none; }

.footer { margin-top: clamp(64px, 9vw, 104px); padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.footer a { color: var(--muted); }
.footer span + span::before { content: "·"; margin: 0 10px; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { min-height: 560px; background-position: center, center, 62% center; }
  .stats { grid-template-columns: 1fr; margin: -28px var(--gutter) 0; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats div { display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 14px 12px; }
  .stats strong { display: inline; }
  .cards, .more { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .qr { max-width: 280px; margin: 0 auto; }
  .footer span { display: block; }
  .footer span + span::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
