/* SinoSource presentation pass — 23 August 2026
   Cohesion, contrast, proof, responsive rhythm, and the interactive decision preview. */

:root {
  --p10-motion: 180ms;
  --p10-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Homepage: stronger hierarchy, fewer boxes ---------- */
.home-page-v2 .home-hero {
  min-height: auto;
  padding-bottom: 64px;
}

.home-page-v2 .home-hero__sub {
  max-width: 640px;
  color: #cdccd6;
}

.home-page-v2 .home-hero__assurance {
  color: #aaa9b7;
}

.home-page-v2 .home-metric span,
.home-page-v2 .home-report-summary span,
.home-page-v2 .home-supplier-row small {
  color: #a3a2b1;
}

.home-page-v2 .home-section {
  padding-block: clamp(64px, 7vw, 92px);
}

.home-page-v2 .home-section__header {
  margin-bottom: 36px;
}

.home-page-v2 .home-deliverables {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--home-line-light);
}

.home-page-v2 .home-deliverable {
  min-height: 0;
  padding: 28px clamp(18px, 2.2vw, 30px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page-v2 .home-deliverable + .home-deliverable {
  border-left: 1px solid var(--home-line-light);
}

.home-page-v2 .home-deliverable::after {
  top: 20px;
  color: #14141a0b;
  font-size: 48px;
}

.home-page-v2 .home-deliverable__icon {
  margin-bottom: 22px;
}

.home-page-v2 .home-deliverable:hover {
  border-color: var(--home-line-light);
  box-shadow: none;
}

.home-page-v2 .home-method-grid {
  position: relative;
  gap: 0;
  border-block: 1px solid var(--home-line-light);
}

.home-page-v2 .home-method {
  position: relative;
  padding: 30px clamp(20px, 3vw, 38px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-page-v2 .home-method + .home-method {
  border-left: 1px solid var(--home-line-light);
}

.home-page-v2 .home-method-grid .home-method:hover {
  border-color: var(--home-line-light);
  box-shadow: none;
}

.home-page-v2 .home-accountability {
  margin-top: 20px;
}

/* ---------- Signature decision interaction ---------- */
.home-decision-lab {
  position: relative;
  z-index: 2;
  width: min(100%, 470px);
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(31,30,39,.98), rgba(12,12,18,.98));
  box-shadow: 0 34px 90px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.025);
}

.home-decision-lab::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(circle at 80% 0, rgba(244,173,34,.16), transparent 65%);
}

.decision-lab__head,
.decision-lab__result,
.decision-lab__weights,
.decision-lab__foot {
  position: relative;
}

.decision-lab__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.decision-lab__kicker,
.decision-lab__sample {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.decision-lab__kicker { color: #ffd36b; }
.decision-lab__sample { color: #aaa9b7; }

.decision-lab__result {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 19px 0 15px;
}

.decision-lab__rank {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  /* Gold, matching the candidate row directly beneath it. This badge was green
     while row 1 — the same candidate — was gold, so one result carried two
     accent colours stacked 60px apart, which is what read as a sudden colour
     change halfway down the card.
     Green also meant something here that it does not earn: everywhere else on
     the site it marks done or verified (the Published dot, the report glyph's
     tick). On a rank badge over illustrative sample data it looked like a
     status claim. Gold is the selection colour, which is what "rank 1" is. */
  border: 1px solid rgba(244,173,34,.28);
  border-radius: 14px;
  background: rgba(244,173,34,.12);
  color: #f4ad22;
  font: 800 17px/1 "Space Grotesk", sans-serif;
}

/* Scoped to the text column, not every descendant.
   `.decision-lab__result span` also matched .decision-lab__rank — the rank is a
   direct span child of the same row — and at 0,2,0 it outranked the badge's own
   0,1,0 rules while also coming later. The badge kept its 48px teal box but lost
   its centring (display:grid -> block), its colour (#65e3ae -> #b6b5c2) and its
   size (17px -> 11px), so "01" rendered as small grey text floating in an empty
   square. The badge styling above was never wrong; this selector was reaching
   past its intended target. */
.decision-lab__result > div strong,
.decision-lab__result > div span { display: block; }
.decision-lab__result > div strong { color: #fafafd; font-size: 15px; }
.decision-lab__result > div span { margin-top: 3px; color: #b6b5c2; font-size: 11px; line-height: 1.45; }
.decision-lab__score { color: #fff; font: 750 25px/1 "Space Grotesk", sans-serif; }

.decision-lab__candidates {
  display: grid;
  gap: 7px;
  margin-bottom: 17px;
}

.decision-lab__candidate {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px;
  background: rgba(255,255,255,.035);
  transition: transform var(--p10-motion) var(--p10-ease), border-color var(--p10-motion) ease;
}

.decision-lab__candidate[data-position="1"] {
  border-color: rgba(244,173,34,.28);
  background: rgba(244,173,34,.08);
}

.decision-lab__candidate b { color: #f4ad22; font-size: 11px; }
.decision-lab__candidate span { overflow: hidden; color: #d7d6df; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.decision-lab__candidate output { color: #fff; font-size: 11px; font-weight: 800; }

.decision-lab__weights {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
}

.decision-lab__weight {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr) 32px;
  align-items: center;
  gap: 10px;
}

.decision-lab__weight label { color: #c7c6d1; font-size: 10px; font-weight: 700; }
.decision-lab__weight output { color: #ffd36b; font-size: 10px; font-weight: 850; text-align: right; }
.decision-lab__weight input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 0;
  accent-color: #f4ad22;
  cursor: pointer;
}

.decision-lab__foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 13px;
  color: #a8a7b5;
  font-size: 10px;
  line-height: 1.45;
}

.decision-lab__foot strong { color: #65e3ae; }

/* ---------- Inspectable proof, never fabricated proof ---------- */
.home-proof-ledger {
  display: grid;
  grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr);
  gap: 16px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--home-line-light);
}

.home-proof-ledger__intro {
  padding: 8px 8px 8px 0;
}

.home-proof-ledger__intro h3 {
  margin: 0 0 10px;
  color: #17171d;
  font-size: 24px;
  letter-spacing: -.035em;
}

.home-proof-ledger__intro p {
  margin: 0;
  color: #626170;
  font-size: 13px;
  line-height: 1.65;
}

.home-proof-ledger__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--home-line-light);
  border-radius: 18px;
  background: #fff;
}

.home-proof-link {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 17px;
  color: inherit;
  text-decoration: none;
  transition: background var(--p10-motion) ease;
}

.home-proof-link:nth-child(even) { border-left: 1px solid var(--home-line-light); }
.home-proof-link:nth-child(n+3) { border-top: 1px solid var(--home-line-light); }
.home-proof-link:hover { background: rgba(244,173,34,.07); }
.home-proof-link__icon { color: #a86600; font-size: 18px; font-weight: 900; }
.home-proof-link strong { display: block; color: #19191f; font-size: 13px; }
.home-proof-link span { display: block; margin-top: 3px; color: #6b6a78; font-size: 11px; line-height: 1.45; }
.home-proof-link__arrow { color: #a86600 !important; font-size: 17px !important; }

/* ---------- Pricing: theme parity, density and rhythm ---------- */
.site-page--marketing .pricing-hero {
  padding-top: 112px;
  padding-bottom: 34px;
}

.site-page--marketing .pricing-hero h1 {
  max-width: 1120px;
  margin-inline: auto;
  text-wrap: balance;
}

.site-page--marketing .pricing-hero p {
  color: #c1c0cb;
  margin-bottom: 28px;
}

.site-page--marketing .trust-row {
  gap: 15px 30px;
  padding: 16px 0 34px;
  margin-bottom: 34px;
}

.site-page--marketing .trust-item,
.site-page--marketing .social-proof-ticker,
.site-page--marketing .sample-report-preview__copy p,
.site-page--marketing .pricing__desc,
.site-page--marketing .plan-fit p {
  color: #bcbac7;
}

.site-page--marketing .purchase-flow {
  margin-bottom: 24px;
}

.site-page--marketing .purchase-flow__card {
  min-height: 0;
  padding: 16px;
}

.site-page--marketing .sample-report-preview {
  margin-bottom: 38px;
}

.site-page--marketing .sample-report-preview__copy p {
  max-width: 58ch;
}

.sample-report-preview__proofs {
  display: grid;
  gap: 9px;
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
}

.sample-report-preview__proofs li {
  position: relative;
  padding-left: 22px;
  color: #d0cfda;
  font-size: 13px;
  line-height: 1.5;
}

.sample-report-preview__proofs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f4ad22;
  font-weight: 900;
}

html.light-mode .site-page--marketing .pricing-hero p,
html.light-mode .site-page--marketing .trust-item,
html.light-mode .site-page--marketing .social-proof-ticker,
html.light-mode .site-page--marketing .sample-report-preview__copy p,
html.light-mode .site-page--marketing .pricing__desc,
html.light-mode .site-page--marketing .plan-fit p {
  color: #525160;
}

html.light-mode .site-page--marketing .sample-report-preview__sheet {
  border-color: rgba(17,17,22,.13);
  background: linear-gradient(160deg,#fff,#f7f4ed);
  box-shadow: 0 22px 55px rgba(30,25,15,.12);
}

html.light-mode .site-page--marketing .sample-report-preview__row,
html.light-mode .site-page--marketing .sample-report-preview__bars {
  border-color: rgba(17,17,22,.1);
  background: rgba(17,17,22,.025);
}

html.light-mode .site-page--marketing .sample-report-preview__row strong,
html.light-mode .site-page--marketing .sample-report-preview__score,
html.light-mode .site-page--marketing .sample-report-preview__bar b {
  color: #17171d;
}

html.light-mode .site-page--marketing .sample-report-preview__row span,
html.light-mode .site-page--marketing .sample-report-preview__bar > span:first-child {
  color: #5c5b69;
}

html.light-mode .sample-report-preview__proofs li { color: #484754; }

/* ---------- Sample report: clearer proof and reading contrast ---------- */
.site-page--article .report-cover__sub,
.site-page--article .report-cover__disclaimer,
.site-page--article .rcs-label,
.site-page--article .report-section__intro {
  color: #bdbcc8;
}

.report-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 24px;
  color: #c8c7d2;
  font-size: 12px;
}

.report-proof-line span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.report-proof-line span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44d39a;
  box-shadow: 0 0 10px rgba(68,211,154,.45);
}

html.light-mode .site-page--article .report-cover__sub,
html.light-mode .site-page--article .report-cover__disclaimer,
html.light-mode .site-page--article .rcs-label,
html.light-mode .site-page--article .report-section__intro,
html.light-mode .report-proof-line {
  color: #555462;
}

/* ---------- Universal interaction/device finish ---------- */
.home-page-v2 a:focus-visible,
.home-page-v2 button:focus-visible,
.home-page-v2 input:focus-visible,
.site-page-v2 a:focus-visible,
.site-page-v2 button:focus-visible,
.site-page-v2 input:focus-visible,
.site-page-v2 summary:focus-visible {
  outline: 3px solid rgba(244,173,34,.76);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .home-page-v2 .home-deliverables { grid-template-columns: 1fr 1fr; }
  .home-page-v2 .home-deliverable:nth-child(3) { border-left: 0; }
  .home-page-v2 .home-deliverable:nth-child(n+3) { border-top: 1px solid var(--home-line-light); }
  .home-proof-ledger { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .home-page-v2 .home-hero { padding-top: calc(var(--nav-h) + 42px); }
  .home-page-v2 .home-hero__sub { font-size: 16px; line-height: 1.55; }
  .home-page-v2 .home-section { padding-block: 56px; }
  .home-page-v2 .home-deliverables { grid-template-columns: 1fr; }
  .home-page-v2 .home-deliverable + .home-deliverable,
  .home-page-v2 .home-deliverable:nth-child(3) { border-left: 0; border-top: 1px solid var(--home-line-light); }
  .home-page-v2 .home-method-grid { grid-template-columns: 1fr; }
  .home-page-v2 .home-method + .home-method { border-top: 1px solid var(--home-line-light); border-left: 0; }
  .home-decision-lab { width: 100%; padding: 18px; }
  .decision-lab__weight { grid-template-columns: 90px minmax(0,1fr) 30px; }
  .home-proof-ledger__links { grid-template-columns: 1fr; }
  .home-proof-link:nth-child(even) { border-left: 0; }
  .home-proof-link:nth-child(n+2) { border-top: 1px solid var(--home-line-light); }
  .site-page--marketing .pricing-hero { padding-top: 94px; padding-bottom: 24px; }
  .site-page--marketing .trust-row { justify-content: flex-start; margin-bottom: 20px; }
}

@media (max-width: 430px) {
  .decision-lab__head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .decision-lab__result { grid-template-columns: 42px minmax(0,1fr) auto; }
  .decision-lab__rank { width: 42px; height: 42px; }
  .decision-lab__foot { flex-direction: column; }
  .home-proof-link { min-height: 80px; padding: 14px; }
  .site-page--marketing .pricing-hero h1 { font-size: clamp(31px, 10vw, 43px); }
}

@media (prefers-reduced-motion: reduce) {
  .decision-lab__candidate,
  .home-proof-link {
    scroll-behavior: auto;
    transition: none;
  }
}

/* The score's working. The weighted score was always computed from the three
   criteria; the page showed only the result, so sliders and number looked
   decorative. Printing the products — and recomputing them as a weight moves —
   turns an assertion about method into something the reader can check. */
.decision-lab__working {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255,255,255,.09);
  list-style: none;
}
.decision-lab__working li {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto 52px;
  gap: 10px;
  align-items: baseline;
  font-size: 11.5px;
  color: #b6b5c2;
}
.decision-lab__working li span { color: #d7d6df; }
.decision-lab__working li em { font-style: normal; color: #8b8a99; font-variant-numeric: tabular-nums; }
.decision-lab__working li b { text-align: right; color: #fafafd; font-weight: 700; font-variant-numeric: tabular-nums; }
.decision-lab__working li.is-total {
  margin-top: 4px; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.09);
}
.decision-lab__working li.is-total span,
.decision-lab__working li.is-total b { color: #f4ad22; font-weight: 800; }

/* Source chips became links. They read as claims when they were <span>s —
   "we use Safety Gate" with no way to check. As anchors a reader can open the
   registry and confirm it exists and holds what we say it holds. The hover and
   focus states exist so they look operable rather than decorative. */
a.home-source-chip {
  text-decoration: none;
  transition: border-color var(--p10-motion) ease, color var(--p10-motion) ease, background var(--p10-motion) ease;
}
a.home-source-chip:hover,
a.home-source-chip:focus-visible {
  border-color: rgba(244,173,34,.5);
  background: rgba(244,173,34,.10);
  color: #a96c00;
  outline: none;
}
html.light-mode a.home-source-chip:hover,
html.light-mode a.home-source-chip:focus-visible { color: #8a5700; }
@media (prefers-reduced-motion: reduce) { a.home-source-chip { transition: none; } }
