/* =========================================================
   Chenfeng — trust pages
   about / warranty / shipping-payment / faq / contact
   Loaded after site.css + catalog.css. Same tokens.
   ========================================================= */

/* ---------- page header tweaks ---------- */
.phead h1 { max-width: 26ch; }
.phead .lede { margin-bottom: 0; }

.bluf {
  margin: 24px 0 26px;
  padding: 18px 20px 20px;
  background: var(--soft);
  border-left: 3px solid var(--accent);
}
.bluf .lb {
  display: block;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 9px;
}
.bluf p {
  font-family: var(--ff-head);
  font-weight: 700; font-size: 18px; line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 58ch;
}

/* ---------- trust nav strip ---------- */
.pnav { border-top: 1px solid var(--line); background: #fff; }
.pnav ul { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.pnav ul::-webkit-scrollbar { display: none; }
.pnav a {
  display: block; padding: 12px 0 11px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}
.pnav a:hover { color: var(--ink); }
.pnav a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

/* ---------- sections ---------- */
.tsec {
  padding: 34px 0;
  border-bottom: 1px solid var(--line-2);
  scroll-margin-top: 72px;
}
.tsec:last-of-type { border-bottom: 0; }
.tmain { min-width: 0; }

.tkick {
  font-family: var(--ff-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--accent-dk);
  margin-bottom: 8px;
}
.tsec h2 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: 22px; line-height: 1.24;
  letter-spacing: -0.016em;
  margin-bottom: 12px;
  max-width: 30ch;
}
.tsec h3 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: 16px; line-height: 1.35;
  letter-spacing: -0.008em;
  margin: 26px 0 8px;
}
.tsec h3:first-child { margin-top: 0; }

.tlead {
  font-size: 15px; line-height: 1.65; color: var(--muted);
  max-width: 68ch; margin-bottom: 18px;
}
.tprose p {
  font-size: 15px; line-height: 1.72; color: #3C4B5A;
  margin-bottom: 14px; max-width: 74ch;
}
.tprose p:last-child { margin-bottom: 0; }
.tprose b { color: var(--ink); font-weight: 600; }
.tprose-p { font-size: 15px; line-height: 1.7; color: #3C4B5A; max-width: 74ch; }
.tnote {
  font-size: 13px; line-height: 1.6; color: var(--muted);
  margin-top: 16px; max-width: 72ch;
}
.tnote a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.tnote .link-arrow { color: var(--ink); text-decoration: none; }

/* ---------- plus / minus lists ---------- */
.tlist { display: grid; gap: 11px; max-width: 76ch; }
.tlist li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px; line-height: 1.62; color: #3C4B5A;
}
.tlist li::before {
  content: "+";
  position: absolute; left: 0; top: 0;
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--accent-dk);
}
.tlist b { color: var(--ink); font-weight: 600; }
.tlist a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.tlist-no li::before { content: "\2013"; color: #93A3B2; }

/* ---------- checklist ---------- */
.chk { display: grid; gap: 10px; max-width: 70ch; margin-bottom: 22px; }
.chk li {
  position: relative; padding-left: 30px;
  font-size: 14.5px; line-height: 1.6; color: #3C4B5A;
}
.chk li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 15px; height: 15px;
  border: 1.5px solid #B9C4CF; border-radius: 1px;
}

/* ---------- numbered process ---------- */
.claim { display: grid; border-top: 1px solid var(--line); counter-reset: cl; margin-top: 6px; }
.claim li {
  position: relative; counter-increment: cl;
  padding: 18px 0 20px 44px;
  border-bottom: 1px solid var(--line-2);
}
.claim li::before {
  content: counter(cl);
  position: absolute; left: 0; top: 18px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: var(--ff-mono); font-size: 11.5px;
  display: flex; align-items: center; justify-content: center;
}
.claim h3 { margin: 0 0 5px; font-size: 15.5px; }
.claim p { font-size: 14px; line-height: 1.62; color: var(--muted); max-width: 72ch; }
.claim p a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.claim .sla {
  display: inline-block;
  font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.03em;
  color: var(--accent-dk); background: #FDF0E5;
  padding: 3px 7px; border-radius: 2px;
  margin-bottom: 7px;
}

/* ---------- callout ---------- */
.callout {
  margin-top: 22px; padding: 16px 18px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  background: #FBFCFD;
}
.callout h3 { margin: 0 0 7px; font-size: 14.5px; }
.callout p { font-size: 13.5px; line-height: 1.62; color: #435261; max-width: 74ch; }
.callout a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }
.callout-warn { border-left-color: var(--accent); background: #FFF9F4; }

/* ---------- tables ---------- */
.tscroll { margin-top: 18px; }
.wt {
  width: 100%; border-collapse: collapse;
  font-size: 13.5px; text-align: left;
}
.wt caption {
  caption-side: top; text-align: left;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 8px;
}
.wt th {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted);
  padding: 10px 16px 10px 0;
  border-bottom: 1.5px solid var(--ink);
  vertical-align: bottom;
}
.wt td {
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
  line-height: 1.58; color: #435261;
}
.wt th:last-child, .wt td:last-child { padding-right: 0; }
.wt td.k { font-weight: 600; color: var(--ink); }
.wt-fixed { table-layout: fixed; }

/* ---------- role cards ---------- */
.roles { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 6px; }
.roles > li { background: #fff; padding: 20px 18px 22px; }
.rnum {
  display: inline-block;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--accent-dk);
  margin-bottom: 10px;
}
.roles h3 { margin: 0 0 7px; font-size: 16px; }
.roles p { font-size: 13.5px; line-height: 1.62; color: var(--muted); }
.roles a { color: var(--accent-dk); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- category links ---------- */
.catlinks { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 20px; }
.catlinks li { background: #fff; }
.catlinks a {
  display: block; padding: 14px 16px;
  transition: background-color .15s ease;
}
.catlinks a:hover { background: var(--soft); }
.catlinks strong {
  display: block; font-family: var(--ff-head);
  font-size: 15px; font-weight: 700; letter-spacing: -0.008em;
  margin-bottom: 3px;
}
.catlinks span { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------- contact list ---------- */
.tcontact {
  display: grid; gap: 8px;
  margin-top: 22px; padding: 18px 20px;
  background: var(--soft); border: 1px solid var(--line);
}
.tcontact li {
  display: grid; grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px; font-size: 13.5px; color: var(--ink-2);
}
.tcontact span {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted-2);
  padding-top: 2px;
}
.tcontact a { color: var(--ink); border-bottom: 1px solid #D6DDE4; }
.tcontact a:hover { border-color: var(--accent); color: var(--accent-dk); }

/* ---------- contact cards ---------- */
.ccards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ccards > li { background: #fff; padding: 18px 18px 20px; }
.clab {
  display: block;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 8px;
}
.cval {
  display: block;
  font-family: var(--ff-head); font-size: 16.5px; font-weight: 700;
  letter-spacing: -0.012em; color: var(--ink);
  word-break: break-word;
  border-bottom: 1px solid transparent;
  margin-bottom: 6px;
}
.cval:hover { border-bottom-color: var(--accent); color: var(--accent-dk); }
.ccards p { font-size: 13px; line-height: 1.58; color: var(--muted); }

/* ---------- address ---------- */
.addr { display: grid; gap: 24px; margin-top: 6px; }
.addr h3 { margin: 0 0 7px; font-size: 14px; }
.addr p { font-size: 14px; line-height: 1.65; color: #435261; }
.addr .tnote { margin-top: 10px; }

/* ---------- cross links ---------- */
.txlinks {
  padding: 40px 0 48px;
  background: var(--soft);
  border-top: 1px solid var(--line);
}
.txlinks h2 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 14px;
}
.xgrid { display: grid; gap: 10px; }
.xgrid a {
  display: block; height: 100%;
  padding: 15px 16px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .15s ease, background-color .15s ease;
}
.xgrid a:hover { border-color: #B4C0CC; }
.xgrid strong {
  display: block;
  font-family: var(--ff-head); font-size: 14.5px; font-weight: 700;
  letter-spacing: -0.008em; margin-bottom: 4px;
}
.xgrid span { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ---------- closing CTA ---------- */
.tcta { padding: 38px 0; background: var(--ink); color: #D5E0EA; }
.tcta-in { display: grid; gap: 22px; }
.tcta h2 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: 22px; line-height: 1.22; letter-spacing: -0.016em;
  color: #fff; margin-bottom: 8px; max-width: 32ch;
}
.tcta p { font-size: 14px; line-height: 1.6; color: #A9BACC; max-width: 60ch; }
.tcta-act { display: flex; flex-wrap: wrap; gap: 10px; }
.tcta-act .btn { flex: 1 1 auto; min-width: 180px; }
.tcta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.34); }
.tcta .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- version line ---------- */
.pver {
  max-width: 1240px; margin: 0 auto;
  padding: 18px var(--pad) 26px;
  font-size: 11.5px; line-height: 1.55; color: var(--muted-2);
  border-top: 1px solid var(--line-2);
}

/* ---------- quote block reused from catalog.css ---------- */
.qwrap { margin-top: 6px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 640px) {
  .bluf { padding: 22px 24px 24px; }
  .bluf p { font-size: 20px; }
  .catlinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catlinks > li:last-child { grid-column: span 2; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .tsec { padding: 40px 0; }
  .tsec h2 { font-size: 24px; }
  .wt { min-width: 0; }
  .addr { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .tcta-in { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tcta-act .btn { flex: 0 0 auto; }
}

@media (min-width: 900px) {
  .roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catlinks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* five categories on a three-column grid: let the last one run wide so the
     final row is filled instead of leaving a gray hole */
  .catlinks > li:last-child { grid-column: span 2; }
  .xgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .phead h1 { font-size: 38px; }
  .tsec h2 { font-size: 26px; }
}

@media (min-width: 1280px) {
  .phead h1 { font-size: 42px; }
}

/* ---------- stacked tables on small screens ---------- */
@media (max-width: 759px) {
  .wt { min-width: 0; }
  .wt thead { display: none; }
  .wt, .wt tbody, .wt tr, .wt td { display: block; width: 100%; }
  .wt caption { padding-bottom: 4px; }
  .wt tr {
    padding: 14px 0 16px;
    border-bottom: 1px solid var(--line);
  }
  .wt tr:last-child { border-bottom: 0; }
  .wt td {
    border: 0; padding: 0;
    font-size: 13.5px; line-height: 1.58;
  }
  .wt td.k {
    font-size: 15px; font-weight: 700; color: var(--ink);
    margin-bottom: 6px;
  }
  .wt td[data-th]::before {
    content: attr(data-th);
    display: block;
    font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--muted-2);
    margin: 10px 0 2px;
  }
  .claim li { padding-left: 38px; }
  .pnav ul { gap: 18px; }
}

/* =========================================================
   PRINT — a buyer should be able to put these on paper
   ========================================================= */
@media print {
  .topbar, .hdr, .ftr, .mbar, .pnav, .tcta, .txlinks, .skip,
  .phead .eyebrow::after, .bluf .lb { display: none !important; }
  body { padding: 0 !important; font-size: 10.5pt; color: #000; }
  .container { max-width: none; padding: 0; }
  .phead { padding-top: 0; }
  .phead h1 { font-size: 20pt; max-width: none; }
  .bluf {
    border: 1px solid #999; border-left: 3px solid #000;
    background: #fff; padding: 10pt 12pt;
  }
  .bluf p { font-size: 12pt; }
  .tsec { padding: 12pt 0; border-bottom: 1px solid #ccc; page-break-inside: avoid; }
  .tsec h2 { font-size: 13pt; }
  a { text-decoration: none; color: #000; }
  .wt th { border-bottom: 1pt solid #000; }
  .wt td { border-bottom: 1px solid #ddd; }
  .rfaq-item[open] summary::after, .rfaq-item summary::after { display: none; }
}
