/* TJ Tools — suite index only.
 *
 * Replaces a page that was a slogan plus five equal cards. Two things were wrong
 * with that: five equal items fall into a 3+2 grid with a hole at the right, and
 * nothing in the first viewport proved a product existed.
 *
 * Fix: a six-column grid where the lead tool takes four columns, so the rows read
 * 4+2 / 2+2+2 with no leftover cell, and every card carries a one-line proof of
 * what it actually does. Tokens are the same paper/graphite/amber set the rest of
 * the suite shell uses (product.css) so the index does not look like a third site.
 */

.su-in { width: min(1180px, 100% - 2rem); margin-inline: auto; }

/* ── hero: deliberately short, so the first card row is above the fold ── */
.su-hero { padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(1.6rem, 3vw, 2.2rem); }

.su-kicker {
  margin: 0 0 1.1rem;
  font-family: var(--er-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--er-ink-3);
}

.su-h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -.026em;
  font-weight: 640;
  max-width: 19ch;
  text-wrap: balance;
}
html[lang^="zh"] .su-h1 { letter-spacing: -.01em; max-width: 16em; }

.su-lede {
  margin: 0;
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--er-ink-2);
}

/* ── the grid ── */
.su-grid-wrap { padding-bottom: clamp(3rem, 6vw, 4.5rem); }

.su-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.su-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.25rem 1.3rem 1.15rem;
  background: #fff;
  border: 1px solid var(--er-rule);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--er-lift);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.su-card:hover,
.su-card:focus-visible {
  border-color: var(--er-ink-3);
  transform: translateY(-2px);
  box-shadow: 0 1px 1px rgba(25, 24, 23, .04), 0 10px 24px rgba(25, 24, 23, .08);
}

/* the lead tool takes four columns: rows resolve to 4+2 and 2+2+2, no empty cell */
.su-card-lead { grid-column: span 4; }
.su-card-lead h2 { font-size: 1.55rem; }
.su-card-lead p { font-size: 1rem; max-width: 52ch; }

.su-tag {
  font-family: var(--er-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--er-ink-3);
}

.su-card h2 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 620;
  letter-spacing: -.012em;
}

.su-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--er-ink-2);
}

/* the proof line sits at the card floor so every card ends on evidence, not on a claim */
.su-proof {
  margin-top: auto;
  padding-top: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--er-ok);
}
.su-proof::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

/* ── trust band ── */
.su-band {
  border-top: 1px solid var(--er-rule);
  background: var(--er-paper-2);
  padding: clamp(2.6rem, 5vw, 3.8rem) 0;
}

.su-sechead { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.4rem; }
.su-secnum {
  font-family: var(--er-mono);
  font-size: .78rem;
  color: var(--er-action);
  border: 1px solid var(--er-rule);
  background: #fff;
  border-radius: 4px;
  padding: .1rem .42rem;
}
.su-sechead h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 620;
  letter-spacing: -.018em;
}

.su-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1rem 1.6rem;
}
.su-facts li {
  border-top: 1px solid var(--er-rule);
  padding-top: .8rem;
  font-size: .92rem;
  line-height: 1.62;
  color: var(--er-ink-2);
}
.su-facts strong { display: block; color: var(--er-ink); font-weight: 600; }

.su-note {
  margin: 1.6rem 0 0;
  font-size: .86rem;
  color: var(--er-ink-3);
  max-width: 70ch;
}

/* ── narrow screens ── */
@media (max-width: 960px) {
  .su-grid { grid-template-columns: repeat(2, 1fr); }
  .su-card { grid-column: span 1; }
  .su-card-lead { grid-column: span 2; }
}
@media (max-width: 620px) {
  .su-grid { grid-template-columns: 1fr; }
  .su-card, .su-card-lead { grid-column: span 1; }
  .su-card-lead h2 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .su-card { transition: none; }
  .su-card:hover, .su-card:focus-visible { transform: none; }
}

/* Sister-product block.
 *
 * The two product sites are run by the same company and share a buyer — a cross-border
 * seller dealing with chargebacks is usually also exposed to EU packaging rules — yet
 * neither linked to the other. A visitor had no way to discover the second product, and
 * search engines had no path between two new domains with no inbound links. */
.su-sister { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.su-sister-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.6rem; padding: 1.7rem 1.9rem;
  border: 1px solid var(--er-rule); border-left: 3px solid var(--er-action);
  border-radius: 10px; background: #fff;
}
.su-sister-card > div { flex: 1 1 420px; }
.su-sister-card h2 { margin: .4rem 0 .55rem; font-size: 1.3rem; font-weight: 620; letter-spacing: -.015em; }
.su-sister-card h2 a { color: inherit; text-decoration: none; }
.su-sister-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.su-sister-card p { margin: 0; font-size: .93rem; line-height: 1.62; color: var(--er-ink-2); max-width: 66ch; }
.su-sister-cta {
  flex: none; display: inline-block; padding: .62rem 1.1rem; border-radius: 7px;
  background: var(--er-ink); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 560;
}
.su-sister-cta:hover { background: #000; }
@media (max-width: 620px) { .su-sister-cta { width: 100%; text-align: center; } }

/* Price on the card floor. The index listed five products and not one price, so a reader
   deciding whether to click — and an answer engine deciding what to say about us — had no
   figure to go on. The paid ones carry data-tj-price and are filled from /api/catalog. */
.su-price { font-weight: 620; color: var(--er-ink); }
.su-price-free { color: var(--er-ok); }

