/* ============================================================
   Checks catalogue + wiki — extends styles.css
   ============================================================ */

/* ------------------------------------------------------------
   Shared documentation hero
   ------------------------------------------------------------ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.doc-hero {
  position: relative;
  padding: clamp(136px, 15vw, 184px) 0 clamp(54px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
}
.doc-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  z-index: -1;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 44% 48% at 26% 40%, rgba(255, 106, 0, 0.13), transparent 68%),
    radial-gradient(ellipse 36% 42% at 82% 22%, rgba(87, 118, 255, 0.075), transparent 70%);
}
.doc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}
.doc-hero-single { display: block; max-width: 820px; }
.doc-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 74px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}
.doc-lede {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.doc-meta {
  margin: 22px 0 0;
  color: #56565f;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
  text-transform: uppercase;
}
.doc-meta i { padding: 0 6px; color: var(--accent); font-style: normal; }

/* ------------------------------------------------------------
   Catalogue summary card
   ------------------------------------------------------------ */

.catalogue-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  background: linear-gradient(158deg, rgba(26, 17, 11, 0.94) 0%, rgba(10, 10, 13, 0.97) 52%, rgba(8, 8, 10, 0.98) 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.catalogue-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.65), transparent);
}
.catalogue-top {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.022);
}
.catalogue-top-title {
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.catalogue-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 8px;
  border: 1px solid rgba(91, 227, 141, 0.22);
  border-radius: 999px;
  background: rgba(91, 227, 141, 0.08);
  color: #8ff0b3;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.catalogue-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(91, 227, 141, 0.8);
  animation: pulse 2.4s ease-in-out infinite;
}
.catalogue-body { padding: 24px 22px 20px; }
.catalogue-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.catalogue-stats b {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1;
}
.catalogue-stats span {
  display: block;
  margin-top: 7px;
  color: #64646d;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tier-bars { display: grid; gap: 10px; margin-top: 18px; }
.tier-bar {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 30px;
  gap: 10px;
  align-items: center;
}
.tier-bar .tier { min-width: 0; justify-content: flex-start; border: 0; background: none; padding: 0; }
.tier-track {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}
.tier-track i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.55), rgba(255, 154, 77, 0.95));
}
.tier-bar:nth-child(1) .tier-track i { background: linear-gradient(90deg, rgba(255, 100, 100, 0.55), rgba(255, 130, 130, 0.95)); }
.tier-bar:nth-child(3) .tier-track i { background: linear-gradient(90deg, rgba(255, 200, 80, 0.45), rgba(255, 215, 120, 0.9)); }
.tier-bar:nth-child(4) .tier-track i { background: linear-gradient(90deg, rgba(120, 200, 190, 0.4), rgba(160, 220, 210, 0.85)); }
.tier-bar b {
  color: #9d9da6;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  text-align: right;
}
.catalogue-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-soft);
  color: #5c5c65;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.catalogue-foot b { margin-right: 10px; color: #d9d9df; font-weight: 600; }
.catalogue-foot b:last-child { margin-right: 0; }

/* ------------------------------------------------------------
   Tier badges (shared by the card, filters and rows)
   ------------------------------------------------------------ */

.tier {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-bla { border-color: rgba(255, 100, 100, 0.3); background: rgba(255, 100, 100, 0.09); color: #ff9d9d; }
.tier-high { border-color: rgba(255, 122, 26, 0.32); background: rgba(255, 122, 26, 0.1); color: var(--accent-soft); }
.tier-med { border-color: rgba(255, 200, 80, 0.28); background: rgba(255, 200, 80, 0.08); color: #ffd479; }
.tier-low { border-color: rgba(120, 200, 190, 0.24); background: rgba(120, 200, 190, 0.07); color: #a9d7cf; }
.tier-silent { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04); color: #b9b9c1; }

/* ------------------------------------------------------------
   Catalogue section, toolbar and rows
   ------------------------------------------------------------ */

.catalogue-head { max-width: 780px; }
.doc-title {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.12;
  text-wrap: balance;
}
.doc-lede-small {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.checks-toolbar {
  position: sticky;
  top: 82px;
  z-index: 20;
  margin-top: 38px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 11, 14, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
.checks-search { display: block; }
.checks-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.checks-search input::placeholder { color: #62626b; }
.checks-search input:focus { outline: none; border-color: rgba(255, 122, 26, 0.5); background: rgba(255, 255, 255, 0.045); }
.filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.filter-group { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-chip {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #9a9aa3;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.filter-chip span { margin-left: 4px; color: #5f5f68; }
.filter-chip:hover { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.filter-chip.is-active { background: #f4f4f5; border-color: #f4f4f5; color: #111; }
.filter-chip.is-active span { color: #55555d; }
.checks-count {
  margin: 12px 0 0;
  color: #5f5f68;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-transform: uppercase;
}
.checks-catalogue { display: grid; gap: 14px; margin-top: 24px; }
.check-module {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
}
.check-module-head {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.check-module-cat {
  margin: 0 0 8px;
  color: rgba(255, 170, 110, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.check-module-title h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.check-module-title h2 span {
  margin-left: 6px;
  color: #5c5c65;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0;
  vertical-align: middle;
}
.check-module-desc { margin: 0; color: #8e8e97; font-size: 13px; line-height: 1.65; }
.check-rows { list-style: none; margin: 0; padding: 0; }
.check-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto 54px;
  gap: 14px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.check-row:last-child { padding-bottom: 0; border-bottom: 0; }
.check-row-main h3 {
  margin: 0;
  color: #f1f1f4;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.check-row-main p { margin: 3px 0 0; color: #8b8b94; font-size: 12px; line-height: 1.55; }
.check-flags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.proof-badge {
  padding: 3px 7px;
  border: 1px solid rgba(91, 227, 141, 0.28);
  border-radius: 999px;
  background: rgba(91, 227, 141, 0.08);
  color: #7ef0a4;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}
.proof-instant { border-color: rgba(255, 100, 100, 0.3); background: rgba(255, 100, 100, 0.1); color: #ff9d9d; }
.check-points {
  justify-self: end;
  color: #5f5f68;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
}
.check-silent { margin: 14px 0 0; color: #9d9da6; font-size: 12.5px; line-height: 1.65; }
.check-silent .tier { margin-right: 6px; }
.checks-empty {
  margin: 26px 0 0;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: #9d9da6;
  font-size: 13.5px;
  text-align: center;
}
.checks-note {
  margin: 26px 0 0;
  color: #64646d;
  font-size: 12px;
  line-height: 1.7;
}
.checks-note code,
.check-module code {
  padding: 1px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #dedee3;
  font-family: var(--mono);
  font-size: 10.5px;
}

/* ------------------------------------------------------------
   Wiki
   ------------------------------------------------------------ */

.wiki-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 62px);
  align-items: start;
  padding: 0 0 clamp(60px, 8vw, 90px);
}
.wiki-nav {
  position: sticky;
  top: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.015);
}
.wiki-nav h2 {
  margin: 0 0 12px;
  color: #5c5c65;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.wiki-nav a {
  display: block;
  padding: 7px 9px;
  border-radius: 9px;
  color: #9a9aa3;
  font-size: 12.5px;
  line-height: 1.45;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.wiki-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.wiki-nav-extra {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.wiki-nav-extra a { color: var(--accent-soft); }
.wiki-main { min-width: 0; max-width: 820px; }
.wiki-article {
  padding: 32px 0 38px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
  overflow-wrap: anywhere;
}
.wiki-article:first-child { padding-top: 0; }
.wiki-article:last-child { border-bottom: 0; }
.wiki-article h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.18;
}
.wiki-article h3 {
  margin: 26px 0 10px;
  color: #f0f0f3;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}
.wiki-article p, .wiki-article li { color: #a3a3ac; font-size: 14px; line-height: 1.75; }
.wiki-article p { margin: 0 0 14px; }
.wiki-article ul, .wiki-article ol { margin: 0 0 16px; padding-left: 20px; }
.wiki-article li { margin-bottom: 7px; }
.wiki-article li::marker { color: rgba(255, 170, 110, 0.6); }
.wiki-article strong { color: #fff; font-weight: 600; }
.wiki-article a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
.wiki-article a:hover { color: #fff; }
.wiki-article code {
  padding: 2px 5px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: #dedee3;
  font-family: var(--mono);
  font-size: 11.5px;
  overflow-wrap: anywhere;
}
.wiki-article pre {
  margin: 0 0 18px;
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #09090c;
}
.wiki-article pre code {
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  line-height: 1.65;
}
.wiki-table-wrap { margin: 0 0 18px; max-width: 100%; overflow-x: auto; }
.wiki-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.wiki-table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: #6c6c75;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-align: left;
  text-transform: uppercase;
}
.wiki-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: #a3a3ac;
  line-height: 1.6;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.wiki-table td:first-child { color: #e5e5ea; }
.wiki-callout {
  margin: 18px 0;
  padding: 15px 17px;
  border: 1px solid rgba(255, 122, 26, 0.22);
  border-radius: 14px;
  background: rgba(255, 122, 26, 0.05);
  color: #c1c1c9;
  font-size: 13px;
  line-height: 1.7;
}
.wiki-callout strong { color: var(--accent-soft); }
.wiki-steps { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: step; }
.wiki-steps li { position: relative; padding-left: 38px; margin-bottom: 14px; }
.wiki-steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: rgba(255, 170, 110, 0.72);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}
.wiki-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.wiki-link-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.wiki-link-card:hover { border-color: rgba(255, 122, 26, 0.3); background: rgba(255, 255, 255, 0.03); }
.wiki-link-card b { display: block; margin-bottom: 4px; color: #fff; font-size: 13px; }
.wiki-link-card span { display: block; color: #7d7d86; font-size: 11.5px; line-height: 1.5; }

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

@media (max-width: 1100px) {
  .wiki-shell { gap: 36px; }
}

@media (max-width: 980px) {
  .doc-hero { padding-top: 126px; }
  .doc-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .doc-lede { max-width: 620px; }
  .catalogue-card { max-width: 560px; }
  .wiki-shell { grid-template-columns: 1fr; }
  .wiki-nav { position: static; }
  .wiki-nav nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
  .wiki-nav-extra { grid-column: 1 / -1; }
  .wiki-main { max-width: none; }
}

@media (max-width: 820px) {
  .check-module-head { grid-template-columns: 1fr; gap: 10px; }
  .checks-toolbar { top: 74px; }
}

@media (max-width: 700px) {
  .doc-hero { padding: 112px 0 46px; }
  .doc-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .doc-lede { margin-top: 16px; font-size: 13.5px; line-height: 1.68; }
  .doc-meta { margin-top: 17px; font-size: 7.5px; letter-spacing: 0.035em; }
  .doc-meta i { padding: 0 4px; }
  .catalogue-body { padding: 20px 18px 17px; }
  .catalogue-stats b { font-size: 34px; }
  .catalogue-top { padding: 10px 14px; }
  .catalogue-foot { padding: 10px 14px; font-size: 6.5px; }
  .catalogue-foot b { margin-right: 6px; }
  .doc-title { font-size: 31px; }
  .doc-lede-small { font-size: 13.5px; }
  .checks-toolbar { position: static; margin-top: 28px; padding: 11px; border-radius: 15px; }
  .checks-search input { font-size: 16px; min-height: 42px; }
  .filter-groups { gap: 8px; margin-top: 10px; }
  .filter-chip { padding: 6px 8px; font-size: 7.5px; }
  .checks-count { font-size: 7.5px; }
  .checks-catalogue { margin-top: 18px; gap: 10px; }
  .check-module { padding: 16px; border-radius: 16px; }
  .check-module-title h2 { font-size: 19px; }
  .check-module-desc { font-size: 12.5px; }
  .check-row { grid-template-columns: 54px minmax(0, 1fr); gap: 8px 10px; padding: 10px 0; }
  .check-row-main h3 { font-size: 11px; }
  .check-row-main p { font-size: 11.5px; }
  .check-flags { grid-column: 2; justify-content: flex-start; }
  .check-points { grid-column: 2; justify-self: start; }
  .proof-badge { font-size: 6px; }
  .checks-note { font-size: 11px; }
  .wiki-nav { padding: 14px; }
  .wiki-nav nav { grid-template-columns: 1fr; }
  .wiki-article { padding: 26px 0 30px; }
  .wiki-article h2 { font-size: 23px; }
  .wiki-article h3 { font-size: 16px; }
  .wiki-article p, .wiki-article li { font-size: 13px; line-height: 1.72; }
  .wiki-table { font-size: 11.5px; }
  .wiki-table th, .wiki-table td { padding: 8px 9px; }
  .wiki-callout { font-size: 12px; }
  .wiki-article pre { padding: 13px; }
  .wiki-article pre code { font-size: 11px; }
}

/* ------------------------------------------------------------
   Checks — plain-English legend, families and CTA
   ------------------------------------------------------------ */

.tier-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.tier-legend-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}
.tier-legend-card .tier { align-self: flex-start; }
.tier-legend-card h3 {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.tier-legend-card p { margin: 0; color: #8e8e97; font-size: 12.5px; line-height: 1.6; }
.tier-legend-foot {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  color: #5f5f68;
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}
.badge-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.badge-legend-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.012);
}
.badge-legend-item .proof-badge,
.badge-legend-item .tier,
.badge-legend-item .check-points { flex: none; margin-top: 1px; }
.badge-legend-item p { margin: 0; color: #8e8e97; font-size: 12px; line-height: 1.55; }

.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.watch-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.018);
}
.watch-tag {
  display: inline-block;
  margin-bottom: 12px;
  color: rgba(255, 170, 110, 0.72);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.watch-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.watch-card p { margin: 0; color: #8e8e97; font-size: 12.5px; line-height: 1.6; }

.checks-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 122, 26, 0.24);
  border-radius: 22px;
  background: linear-gradient(140deg, rgba(255, 122, 26, 0.1), rgba(255, 122, 26, 0.02) 60%, transparent);
}
.checks-cta h3 {
  margin: 8px 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.checks-cta p { margin: 0; color: #a3a3ac; font-size: 13px; line-height: 1.6; }
.checks-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .tier-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tier-legend { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .tier-legend-card { padding: 16px; border-radius: 16px; }
  .badge-legend { gap: 10px; }
  .watch-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .watch-card { padding: 16px; border-radius: 16px; }
  .checks-cta { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px; }
  .checks-cta-actions { width: 100%; }
  .checks-cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}
