:root {
  --ink: #1e2422;
  --ink-soft: #46514c;
  --paper: #f5f3ed;
  --paper-deep: #e9e6dc;
  --line: rgba(30, 36, 34, .16);
  --muted: #7b817b;
  --sage: #b4c3b2;
  --accent: #d4a46b;
  --white: #fffdf8;
  --max: 1240px;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.page-width { width: min(calc(100% - 80px), var(--max)); margin: 0 auto; }
.section-pad { padding: 128px 0; }

.site-header { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 40px; color: var(--white); transition: background .25s ease, color .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { color: var(--ink); background: rgba(245, 243, 237, .94); border-color: var(--line); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-size: 16px; font-weight: 700; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: Georgia, "Songti SC", serif; font-size: 18px; letter-spacing: .05em; }
.brand-copy small { font-size: 10px; color: currentColor; opacity: .68; letter-spacing: .12em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 42px; font-size: 13px; letter-spacing: .05em; }
.desktop-nav a, .text-link, .footer-links a { transition: opacity .2s ease; }
.desktop-nav a:hover, .text-link:hover, .footer-links a:hover { opacity: .58; }
.header-actions { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.text-link { opacity: .86; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 24px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 13px; letter-spacing: .08em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }
.button-small { min-height: 40px; padding: 0 16px; font-size: 12px; }
.site-header:not(.is-scrolled) .button { border-color: var(--white); background: var(--white); color: var(--ink); }
.site-header:not(.is-scrolled) .button:hover { background: transparent; color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--ink); }
.button-light:hover { background: transparent; color: var(--white); }
.menu-toggle, .mobile-nav { display: none; }

.hero { position: relative; min-height: 760px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-image { position: absolute; inset: 0; background-image: url("/website/assets/merchant-dashboard.png"); background-size: cover; background-position: center top; opacity: .42; filter: saturate(.58) contrast(.94); }
.hero-scrim { position: absolute; inset: 0; background: rgba(15, 20, 18, .65); }
.hero-content { position: relative; z-index: 1; padding-top: 76px; }
.eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow.light { color: rgba(255, 253, 248, .68); }
.hero h1 { max-width: 760px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(52px, 7vw, 98px); font-weight: 400; line-height: 1.04; letter-spacing: 0; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-summary { max-width: 420px; margin: 32px 0 36px; color: rgba(255, 253, 248, .78); font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.quiet-link { font-size: 13px; letter-spacing: .08em; }
.light-link { color: var(--white); opacity: .8; }
.light-link:hover { opacity: 1; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 64px; color: rgba(255, 253, 248, .58); font-size: 11px; letter-spacing: .08em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a9c9a2; box-shadow: 0 0 0 5px rgba(169, 201, 162, .12); }
.hero-scroll { position: absolute; z-index: 1; right: 40px; bottom: 44px; display: flex; align-items: center; gap: 14px; color: rgba(255, 253, 248, .56); font-size: 10px; letter-spacing: .18em; writing-mode: vertical-rl; }
.hero-scroll span { width: 1px; height: 56px; background: rgba(255, 253, 248, .5); }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(38px, 4vw, 62px); font-weight: 400; line-height: 1.16; letter-spacing: 0; }
.intro-copy { max-width: 480px; padding-top: 42px; color: var(--ink-soft); font-size: 15px; line-height: 1.95; }
.intro-copy p { margin: 0 0 18px; }
.intro-copy .lead { color: var(--ink); font-size: 19px; line-height: 1.8; }
.arrow-link { display: inline-flex; gap: 18px; margin-top: 20px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-size: 13px; letter-spacing: .06em; }
.arrow-link span { transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(5px); }

.strategy { background: var(--paper-deep); }
.strategy-list { border-top: 1px solid var(--line); }
.strategy-row { display: grid; grid-template-columns: 116px 1fr 160px; align-items: center; gap: 30px; min-height: 126px; border-bottom: 1px solid var(--line); }
.strategy-role { color: var(--accent); font-family: Georgia, "Songti SC", serif; font-size: 22px; }
.strategy-row strong { display: block; font-family: Georgia, "Songti SC", serif; font-size: 22px; font-weight: 400; }
.strategy-row p { max-width: 620px; margin: 9px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.strategy-action { color: #836b5a; font-size: 12px; text-align: right; }

.dashboard-section { background: var(--paper-deep); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 58px; }
.section-heading > p { max-width: 330px; margin: 0 0 6px; color: var(--ink-soft); font-size: 14px; line-height: 1.9; }
.dashboard-frame { margin: 0; padding: 10px 10px 0; background: #d9d5c9; box-shadow: 0 26px 60px rgba(30, 36, 34, .1); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; color: #6e716a; background: #ebe8de; }
.frame-bar span { width: 7px; height: 7px; border-radius: 50%; background: #b6b4aa; }
.frame-bar small { margin-left: 10px; font-size: 10px; letter-spacing: .08em; }
.dashboard-image-wrap { height: 580px; overflow: hidden; background: #e6e4dd; }
.dashboard-image-wrap img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top center; }
.dashboard-frame figcaption { padding: 16px 8px 18px; color: #6f716a; font-size: 11px; letter-spacing: .03em; }

.workflow { background: var(--paper); }
.narrow-heading { max-width: 960px; }
.workflow-list { border-top: 1px solid var(--line); }
.workflow-row { display: grid; grid-template-columns: 70px 1fr 44px; align-items: center; gap: 26px; min-height: 150px; border-bottom: 1px solid var(--line); }
.row-number { align-self: start; padding-top: 28px; color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.workflow-row h3 { margin: 0 0 10px; font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 400; }
.workflow-row p { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.workflow-row > a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .2s ease, color .2s ease; }
.workflow-row > a:hover { background: var(--ink); color: var(--white); }

.pricing { background: var(--paper); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.pricing-note { max-width: 420px; margin: 28px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.pricing-card { padding: 34px; border: 1px solid #cbb8a6; background: #fffaf2; box-shadow: 0 24px 50px rgba(30,36,34,.08); }
.pricing-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.pricing-head strong { font-family: Georgia, "Songti SC", serif; font-size: 21px; font-weight: 400; }
.pricing-head span { color: var(--muted); font-size: 11px; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 12px; }
.price-line b { font-family: Georgia, "Songti SC", serif; font-size: 76px; font-weight: 400; line-height: 1; }
.price-line span { color: var(--ink-soft); font-size: 15px; }
.pricing-card > p { max-width: 380px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.pricing-rule { height: 1px; margin: 24px 0 18px; background: var(--line); }
.pricing-includes { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 28px; color: #756a60; font-size: 12px; }
.pricing-card .button { width: 100%; }

.scenes { background: var(--paper-deep); }
.scene-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scene-panel { position: relative; min-height: 640px; padding: 30px; overflow: hidden; background: var(--ink); color: var(--white); }
.scene-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.17); }
.scene-mobile { background: #cbc9be; color: var(--ink); }
.scene-label { position: relative; z-index: 2; display: grid; gap: 8px; }
.scene-label span { font-size: 10px; letter-spacing: .16em; opacity: .64; }
.scene-label strong { font-family: Georgia, "Songti SC", serif; font-size: 27px; font-weight: 400; }
.scene-image { position: absolute; right: -19%; bottom: 50px; width: 125%; height: 430px; overflow: hidden; border: 8px solid #313936; box-shadow: 0 18px 40px rgba(0,0,0,.24); transform: rotate(-3deg); }
.scene-image img { display: block; width: 100%; height: auto; }
.phone-preview { position: absolute; right: 18%; bottom: -90px; width: 205px; padding: 8px; border: 7px solid #252b29; border-radius: 24px; background: #252b29; box-shadow: 0 18px 34px rgba(30,36,34,.23); transform: rotate(5deg); }
.phone-preview img { display: block; width: 100%; border-radius: 13px; }
.scene-link { position: absolute; z-index: 2; bottom: 28px; left: 30px; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .08em; }
.scene-link b { font-size: 17px; font-weight: 400; }

.quote-section { background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: 1fr 2.6fr; column-gap: 60px; row-gap: 30px; align-items: start; }
blockquote { max-width: 780px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(28px, 4vw, 52px); line-height: 1.3; letter-spacing: 0; }
.quote-meta { grid-column: 2; display: flex; gap: 24px; color: var(--muted); font-size: 11px; letter-spacing: .1em; }

.cta-section { background: var(--ink); color: var(--white); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.cta-section h2 { color: var(--white); }
.site-footer { padding: 40px 0 24px; background: #dcd9cf; color: var(--ink); }
.footer-main { display: flex; align-items: start; justify-content: space-between; gap: 40px; padding-bottom: 70px; }
.footer-brand { min-width: 0; }
.footer-links { display: flex; gap: 28px; color: var(--ink-soft); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .05em; }

@media (max-width: 900px) {
  .page-width { width: min(calc(100% - 40px), var(--max)); }
  .site-header { height: 72px; padding: 0 20px; }
  .desktop-nav, .header-actions .text-link { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .button { padding: 0 12px; gap: 8px; letter-spacing: 0; white-space: nowrap; }
  .menu-toggle { display: grid; gap: 5px; width: 36px; padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; margin-left: auto; background: currentColor; }
  .mobile-nav { position: absolute; top: 71px; left: 0; right: 0; flex-direction: column; padding: 16px 20px 20px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .mobile-nav a:last-child { border: 0; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: clamp(48px, 15vw, 76px); }
  .hero-summary { max-width: 330px; font-size: 14px; }
  .hero-scroll { right: 20px; bottom: 24px; }
  .section-pad { padding: 86px 0; }
  .intro-grid, .scene-grid, .quote-grid { grid-template-columns: 1fr; gap: 38px; }
  .intro-copy { padding-top: 0; }
  .section-heading, .cta-inner { display: grid; align-items: start; gap: 28px; }
  .section-heading { margin-bottom: 38px; }
  .strategy-row { grid-template-columns: 54px 1fr; gap: 14px; min-height: 150px; }
  .strategy-role { font-size: 18px; }
  .strategy-row strong { font-size: 19px; }
  .strategy-action { grid-column: 2; text-align: left; font-size: 11px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 42px; }
  .pricing-card { padding: 26px 22px; }
  .price-line b { font-size: 64px; }
  .dashboard-image-wrap { height: 360px; }
  .workflow-row { grid-template-columns: 42px 1fr 34px; gap: 12px; min-height: 175px; }
  .workflow-row h3 { font-size: 24px; }
  .workflow-row p { font-size: 13px; }
  .scene-panel { min-height: 520px; padding: 24px; }
  .scene-image { bottom: 54px; height: 300px; }
  .phone-preview { right: 17%; width: 170px; }
  .scene-link { bottom: 24px; left: 24px; }
  .quote-meta { grid-column: auto; }
  .footer-main, .footer-bottom { display: grid; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 16px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
