:root {
  --ink: #0c1b16;
  --ink-2: #10241c;
  --ink-3: #173026;
  --sand: #ede4d3;
  --sand-2: #e7dcc8;
  --paper: #f7f2e8;
  --paper-2: #f1eadb;
  --copper: #be6b3a;
  --copper-light: #d99a6c;
  --muted: #6a695e;
  --line: rgba(12, 27, 22, 0.14);
  --line-strong: rgba(12, 27, 22, 0.32);
  --line-light: rgba(237, 228, 211, 0.18);
  --serif: "Songti SC", "STSong", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--copper);
  color: #fff;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.mobile-only {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--sand);
  color: var(--ink);
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-head {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  color: var(--sand);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-head.scrolled {
  background: rgba(247, 242, 232, 0.94);
  color: var(--ink);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-cn {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand-en {
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.2em;
  opacity: 0.55;
  white-space: nowrap;
}

.head-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 12.5px;
  letter-spacing: 0.05em;
}

.head-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.25s ease;
}

.head-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.3s ease;
}

.head-nav a:hover {
  opacity: 1;
}

.head-nav a:hover::after {
  right: 0;
}

.head-cta {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.head-cta:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--sand);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.01);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 14, 0.88) 0%, rgba(7, 18, 14, 0.22) 22%, rgba(7, 18, 14, 0) 48%),
    linear-gradient(90deg, rgba(7, 18, 14, 0.98) 0%, rgba(7, 18, 14, 0.93) 30%, rgba(7, 18, 14, 0.52) 56%, rgba(7, 18, 14, 0.12) 100%),
    linear-gradient(0deg, #081410 0%, rgba(8, 20, 16, 0.72) 16%, rgba(8, 20, 16, 0) 56%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 24px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(237, 228, 211, 0.62);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-light);
}

.hero h1 {
  margin: 26px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--sand);
}

.hero h1 em {
  font-style: normal;
  color: var(--copper-light);
}

.hero-sub {
  max-width: 33em;
  margin: 26px 0 0;
  font-size: 16.5px;
  line-height: 1.85;
  color: rgba(237, 228, 211, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-solid {
  background: var(--sand);
  color: var(--ink);
}

.btn-solid:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.btn-line {
  border-color: rgba(237, 228, 211, 0.38);
  color: var(--sand);
}

.btn-line:hover {
  background: rgba(237, 228, 211, 0.08);
  border-color: var(--sand);
}

.hero-note {
  margin: 16px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: rgba(237, 228, 211, 0.46);
}

.hero-facts {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.hero-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.1;
}

.hero-facts span {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(237, 228, 211, 0.45);
}

.hero-ledger {
  position: relative;
  z-index: 2;
  padding-bottom: 22px;
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(237, 228, 211, 0.22);
}

.ledger-item {
  padding: 16px 24px 0;
  border-left: 1px solid rgba(237, 228, 211, 0.13);
}

.ledger-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.ledger-item:last-child {
  padding-right: 0;
}

.ledger-cat {
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.ledger-en {
  margin: 4px 0 10px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(237, 228, 211, 0.42);
}

.ledger-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.ledger-main strong {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.ledger-main span {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(237, 228, 211, 0.48);
}

.ledger-sub {
  margin: 6px 0 0;
  font-size: 10px;
  letter-spacing: 0.03em;
  color: rgba(237, 228, 211, 0.5);
}

.is-pick .ledger-cat {
  color: var(--copper-light);
}

.pick-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 3px 5px;
  background: var(--copper);
  color: #fff;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  vertical-align: 2px;
}

/* ---------- Shared sections ---------- */

.section {
  padding: clamp(84px, 10vw, 140px) 0;
}

.sec-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.sec-title {
  max-width: 15em;
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.sec-lede {
  max-width: 36em;
  margin: 22px 0 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- Pain ---------- */

.pain-list {
  margin-top: 72px;
  border-top: 1px solid var(--line-strong);
}

.pain-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 180px;
  gap: 32px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.pain-index {
  margin: 0;
  padding-top: 6px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pain-body h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 600;
  line-height: 1.4;
}

.pain-body p {
  max-width: 40em;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.pain-stat {
  padding-top: 2px;
  text-align: right;
}

.pain-stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pain-stat span {
  display: block;
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pain-close {
  max-width: 34em;
  margin: 44px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
}

/* ---------- Report ---------- */

.section-sand {
  background: var(--sand-2);
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  margin-top: 58px;
}

.report-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 30px 0;
  border-top: 1px solid rgba(12, 27, 22, 0.19);
}

.report-num {
  margin: 0;
  padding-top: 4px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--copper);
}

.report-item h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.report-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: #5f5c50;
}

.report-note {
  max-width: 62em;
  margin: 48px 0 0;
  padding-left: 18px;
  border-left: 2px solid var(--copper);
  font-size: 13px;
  line-height: 1.9;
  color: #555348;
}

/* ---------- Data ---------- */

.table-scroll {
  margin-top: 52px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  padding-bottom: 16px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 15px 0 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}

.data-table thead th {
  padding-top: 0;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table thead th:first-child,
.data-table tbody th {
  padding-left: 16px;
  text-align: left;
}

.data-table tbody tr {
  transition: background 0.2s ease;
}

.data-table tbody tr:hover {
  background: rgba(12, 27, 22, 0.025);
}

.data-table .cat {
  position: relative;
  font-family: var(--serif);
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.data-table .cat small {
  display: block;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.data-table .tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 5px;
  background: var(--copper);
  color: #fff;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  vertical-align: 2px;
}

.row-pick .cat::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 2px;
  background: var(--copper);
}

.row-pick {
  background: rgba(190, 107, 58, 0.055);
}

.scroll-hint {
  display: none;
  margin: 10px 0 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px;
  margin-top: 72px;
}

.chart h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.chart-sub {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}

.bars {
  margin-top: 22px;
}

.bar-row {
  display: grid;
  grid-template-columns: 82px 1fr 46px;
  gap: 16px;
  align-items: center;
  padding: 9px 0;
}

.bar-label {
  font-size: 11.5px;
  color: var(--muted);
}

.bar-track {
  position: relative;
  height: 6px;
  background: rgba(12, 27, 22, 0.09);
}

.bar-fill {
  display: block;
  width: var(--v);
  height: 100%;
  background: var(--ink-2);
}

.bar-val {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.bar-row.is-pick .bar-label,
.bar-row.is-pick .bar-val {
  color: var(--copper);
  font-weight: 600;
}

.bar-row.is-pick .bar-fill {
  background: var(--copper);
}

.insight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  margin-top: 68px;
  padding-top: 28px;
  border-top: 2px solid var(--copper);
}

.insight p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.insight p:last-child {
  color: var(--muted);
}

.data-note {
  margin: 26px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Process ---------- */

.section-ink {
  background: var(--ink);
  color: var(--sand);
}

.section-ink .sec-label {
  color: rgba(237, 228, 211, 0.48);
}

.section-ink .sec-title {
  color: var(--sand);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin-top: 68px;
}

.step {
  padding-top: 26px;
  border-top: 1px solid rgba(237, 228, 211, 0.22);
}

.step-time {
  margin: 0;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-light);
}

.step-num {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 62px;
  line-height: 0.9;
  color: rgba(237, 228, 211, 0.24);
}

.step h3 {
  margin: 18px 0 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.step p:last-child {
  max-width: 28em;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(237, 228, 211, 0.62);
}

.process-note {
  max-width: 66em;
  margin: 58px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 228, 211, 0.16);
  font-size: 11.5px;
  line-height: 1.8;
  color: rgba(237, 228, 211, 0.52);
}

/* ---------- Pricing ---------- */

.pilot-note {
  display: inline-block;
  max-width: 52em;
  margin: 34px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--copper);
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--ink);
}

.pricing {
  margin-top: 40px;
  border-top: 2px solid var(--ink);
}

.price-row {
  display: grid;
  grid-template-columns: 1.02fr 0.58fr 1.55fr auto;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.price-row:hover {
  background: rgba(190, 107, 58, 0.055);
}

.price-row.is-feature {
  padding-right: 22px;
  padding-left: 22px;
  border-left: 2px solid var(--copper);
  background: rgba(190, 107, 58, 0.05);
}

.price-name h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.price-name p {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.price-amount strong {
  display: block;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-amount small {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}

.price-desc {
  max-width: 34em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.price-cta {
  text-align: right;
}

.text-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--copper);
}

.price-note {
  margin: 24px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 96px;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 112px;
}

.faq-side-copy {
  max-width: 22em;
  margin: 26px 0 20px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover,
.faq-item.open .faq-q {
  color: var(--copper);
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::before {
  top: 8px;
  right: 0;
  left: 0;
  height: 1px;
}

.faq-icon::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
}

.faq-item.open .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.js .faq-a {
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a p {
  max-width: 40em;
  margin: 0;
  padding: 0 54px 24px 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.faq-a a {
  color: var(--ink);
  text-underline-offset: 3px;
}

/* ---------- Contact ---------- */

.section-contact {
  background: var(--ink);
  color: var(--sand);
  padding-bottom: clamp(80px, 9vw, 120px);
}

.section-contact .sec-label {
  color: rgba(237, 228, 211, 0.48);
}

.section-contact .sec-title {
  color: var(--sand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr;
  gap: 96px;
  align-items: start;
}

.contact-lede {
  max-width: 30em;
  margin: 28px 0 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: rgba(237, 228, 211, 0.65);
}

.contact-list {
  max-width: 30em;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.contact-list li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 12.5px;
  color: rgba(237, 228, 211, 0.72);
}

.contact-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 1px;
  margin-top: 11px;
  background: var(--copper-light);
}

.qr-block {
  justify-self: end;
  width: 100%;
  max-width: 320px;
  padding: 24px;
  border: 1px solid rgba(237, 228, 211, 0.28);
}

.qr-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--sand);
}

.qr-frame img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.qr-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1;
}

.qr-title {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.qr-fallback small {
  margin-top: 5px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.qr-label {
  margin: 14px 0 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: center;
  color: rgba(237, 228, 211, 0.45);
}

.qr-id {
  margin: 8px 0 0;
  font-size: 12px;
  text-align: center;
  color: rgba(237, 228, 211, 0.7);
}

.qr-id strong {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--sand);
}

.copy-id {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 9px 0;
  border: 1px solid rgba(237, 228, 211, 0.3);
  background: transparent;
  color: var(--sand);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.copy-id:hover {
  background: var(--copper);
  border-color: var(--copper);
}

.qr-note {
  margin: 10px 0 0;
  font-size: 9.5px;
  text-align: center;
  color: rgba(237, 228, 211, 0.4);
}

/* ---------- Footer ---------- */

.site-foot {
  background: var(--ink-2);
  color: rgba(237, 228, 211, 0.52);
  padding: 48px 0 36px;
  font-size: 11.5px;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.foot-brand {
  margin: 0;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--sand);
}

.foot-tag {
  margin: 4px 0 0;
  font-size: 10.5px;
  color: rgba(237, 228, 211, 0.4);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 11px;
}

.foot-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.foot-links a:hover {
  color: var(--sand);
}

.foot-legal {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(237, 228, 211, 0.12);
  font-size: 10px;
  line-height: 1.8;
  color: rgba(237, 228, 211, 0.38);
}

.foot-legal p {
  margin: 0;
}

.foot-legal p:first-child {
  max-width: 62em;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 80;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--sand);
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Reveal & entry motion ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.js .chart .bar-fill {
  width: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.js .chart.is-in .bar-fill {
  width: var(--v);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    opacity: 0.35;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.01);
  }
}

.js .hero-copy > * {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .hero-copy > *:nth-child(1) {
  animation-delay: 0.08s;
}

.js .hero-copy > *:nth-child(2) {
  animation-delay: 0.16s;
}

.js .hero-copy > *:nth-child(3) {
  animation-delay: 0.24s;
}

.js .hero-copy > *:nth-child(4) {
  animation-delay: 0.32s;
}

.js .hero-copy > *:nth-child(5) {
  animation-delay: 0.4s;
}

.js .hero-copy > *:nth-child(6) {
  animation-delay: 0.48s;
}

.js .hero-img {
  animation: heroZoom 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.js .hero-ledger {
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

/* ---------- Legal page ---------- */

body.legal-page {
  background: var(--paper);
}

.legal-page .site-head {
  background: rgba(247, 242, 232, 0.96);
  color: var(--ink);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.legal-hero {
  padding: 152px 0 52px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .sec-label {
  margin-bottom: 22px;
}

.legal-title {
  max-width: 16em;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 18px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
}

.legal-toc a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-toc a:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.legal-body {
  padding: 16px 0 96px;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin: 54px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 38px;
  border-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  margin: 28px 0 8px;
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
}

.legal-content p,
.legal-content li {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.95;
  color: #555348;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 18px;
}

.legal-content li::marker {
  color: var(--copper);
}

.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-content a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.legal-note {
  margin: 28px 0;
  padding: 18px 20px;
  background: var(--paper-2);
  border-left: 2px solid var(--copper);
  font-size: 12.5px;
  line-height: 1.9;
  color: #555348;
}

.legal-back {
  margin-top: 48px;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-copy {
    max-width: 560px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
  }

  .ledger-item {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ledger-sub {
    font-size: 9.5px;
  }

  .report-grid {
    column-gap: 48px;
  }

  .charts {
    gap: 48px;
  }

  .faq-layout {
    gap: 64px;
  }

  .contact-grid {
    gap: 64px;
  }
}

@media (max-width: 900px) {
  .head-nav {
    display: none;
  }

  .hero-inner {
    padding-top: 118px;
  }

  .hero-img {
    object-position: 76% center;
  }

  .ledger-item {
    padding-right: 12px;
    padding-left: 12px;
  }

  .ledger-main strong {
    font-size: 23px;
  }

  .pain-row {
    grid-template-columns: 44px minmax(0, 1fr) 150px;
    gap: 24px;
  }

  .price-row {
    grid-template-columns: 1fr 0.55fr 1.4fr;
    gap: 28px;
  }

  .price-cta {
    grid-column: 3;
    text-align: left;
    margin-top: -4px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .mobile-only {
    display: inline;
  }

  .head-inner {
    height: 68px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    align-items: center;
    padding-top: 98px;
    padding-bottom: 44px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(2.45rem, 8.2vw, 3.2rem);
    line-height: 1.08;
  }

  .hero-sub {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-facts {
    display: grid;
  }

  .hero-ledger {
    display: none;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 18, 14, 0.9) 0%, rgba(7, 18, 14, 0.36) 26%, rgba(7, 18, 14, 0.1) 52%),
      linear-gradient(90deg, rgba(7, 18, 14, 0.97) 0%, rgba(7, 18, 14, 0.86) 55%, rgba(7, 18, 14, 0.35) 100%),
      linear-gradient(0deg, #081410 0%, rgba(8, 20, 16, 0.82) 26%, rgba(8, 20, 16, 0.08) 72%);
  }

  .section {
    padding: 76px 0;
  }

  .sec-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .sec-lede {
    font-size: 14.5px;
  }

  .pain-list {
    margin-top: 46px;
  }

  .pain-row {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 18px;
    padding: 26px 0;
  }

  .pain-stat {
    grid-column: 2;
    padding-top: 4px;
    text-align: left;
  }

  .pain-stat strong {
    display: inline;
    font-size: 26px;
    margin-right: 8px;
  }

  .pain-stat span {
    display: inline;
    margin-top: 0;
  }

  .pain-close {
    margin-top: 32px;
    font-size: 17px;
  }

  .report-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    margin-top: 40px;
  }

  .report-item {
    padding: 24px 0;
  }

  .report-note {
    margin-top: 34px;
    font-size: 12px;
  }

  .table-scroll {
    margin-top: 38px;
  }

  .data-table {
    min-width: 0;
  }

  .data-table th,
  .data-table td {
    padding-left: 10px;
    font-size: 12.5px;
  }

  .data-table thead th {
    font-size: 8.5px;
    letter-spacing: 0.06em;
  }

  .data-table thead th:first-child,
  .data-table tbody th {
    padding-left: 10px;
  }

  .data-table th:nth-child(2),
  .data-table td:nth-child(2),
  .data-table th:nth-child(4),
  .data-table td:nth-child(4),
  .data-table th:nth-child(6),
  .data-table td:nth-child(6),
  .data-table th:nth-child(8),
  .data-table td:nth-child(8) {
    display: none;
  }

  .data-table .cat {
    font-size: 14px;
  }

  .data-table .cat small {
    font-size: 8.5px;
  }

  .scroll-hint {
    display: block;
  }

  .charts {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 52px;
  }

  .insight {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 48px;
    padding-top: 22px;
  }

  .insight p {
    font-size: 13px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 46px;
  }

  .step {
    padding: 24px 0 30px;
  }

  .step-num {
    display: inline-block;
    margin-top: 12px;
    font-size: 44px;
  }

  .step h3 {
    margin-top: 10px;
  }

  .process-note {
    margin-top: 10px;
  }

  .pilot-note {
    margin-top: 26px;
  }

  .pricing {
    margin-top: 32px;
  }

  .price-row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name amount"
      "desc desc"
      "cta cta";
    gap: 12px 18px;
    padding: 24px 0;
  }

  .price-name {
    grid-area: name;
  }

  .price-amount {
    grid-area: amount;
    text-align: right;
  }

  .price-amount strong {
    font-size: 27px;
  }

  .price-desc {
    grid-area: desc;
  }

  .price-cta {
    grid-area: cta;
    margin-top: 2px;
    text-align: left;
  }

  .price-row.is-feature {
    padding: 24px 16px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .faq-side {
    position: static;
  }

  .faq-side-copy {
    margin: 18px 0 12px;
  }

  .faq-q {
    padding: 20px 0;
    font-size: 16px;
  }

  .faq-a p {
    padding-right: 8px;
    font-size: 13px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .contact-list {
    margin-top: 28px;
  }

  .qr-block {
    justify-self: start;
    max-width: 340px;
  }

  .foot-top {
    flex-direction: column;
    gap: 22px;
  }

  .foot-legal {
    flex-direction: column;
    gap: 12px;
  }

  .legal-hero {
    padding-top: 124px;
  }

  .legal-content h2 {
    font-size: 21px;
  }
}

@media (max-width: 520px) {
  .brand-en {
    display: none;
  }

  .brand-cn {
    font-size: 14px;
  }

  .head-cta {
    padding: 8px 13px;
    font-size: 11px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-facts {
    gap: 10px;
  }

  .hero-facts strong {
    font-size: 21px;
  }

  .hero-facts span {
    font-size: 8.5px;
  }

  .pain-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pain-index {
    padding-top: 0;
  }

  .pain-stat {
    grid-column: 1;
  }

  .bar-row {
    grid-template-columns: 72px 1fr 40px;
    gap: 10px;
  }

  .price-name h3 {
    font-size: 18px;
  }

  .price-amount strong {
    font-size: 24px;
  }

  .qr-block {
    max-width: none;
    padding: 18px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .chart .bar-fill {
    width: var(--v);
  }
}
