/* /software/readiness — the pilot-ready standard. Tokens from style.css; grade colours are not used here. */
.rd { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.rd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rd-sec { padding-bottom: clamp(2.5rem, 6vw, 4rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--rule); }
.rd-sec--last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.rd h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; margin: 0 0 0.6rem; }
.rd h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 0.4rem; }
.rd-lede { max-width: 60ch; color: var(--ink-soft); margin: 0 0 1.75rem; font-size: 1.05rem; }

/* The twelve checks */
.rd-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2.5rem; }
.rd-checks li { display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.75rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.rd-checks__n { font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--brand); font-variant-numeric: tabular-nums; }
.rd-checks strong { font-weight: 600; }
.rd-checks p { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 0.95rem; max-width: 52ch; }
@media (min-width: 52rem) { .rd-checks { grid-template-columns: 1fr 1fr; } }
.rd-gates { margin-top: 1.5rem; padding: 1.25rem 1.4rem; background: var(--ink); color: #fff; border-radius: var(--radius); }
.rd-gates h3 { color: #fff; }
.rd-gates p { margin: 0; max-width: 70ch; color: rgba(255,255,255,0.88); }
.rd-gates strong { color: #fff; }

/* Marks: shape as well as colour */
.rd-m { display: inline-block; width: 0.95rem; height: 0.95rem; border-radius: 50%; box-sizing: border-box; vertical-align: -0.12em; flex: none; }
.rd-m--y { background: var(--brand); }
.rd-m--p { border: 2px solid #8a6417; background: linear-gradient(90deg, #8a6417 50%, transparent 50%); }
.rd-m--n { border: 2px solid #76827f; background: transparent; }
.rd-m--u { border-radius: 0; height: 2px; width: 0.8rem; background: #76827f; vertical-align: 0.3em; }
.rd-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0 0 1.25rem; padding: 0; font-size: 0.92rem; color: var(--ink-soft); }
.rd-legend li { display: flex; align-items: center; gap: 0.45rem; }

/* The table: wide screens only; the product cards below carry the same marks on a phone */
.rd-tablewrap { display: none; }
@media (min-width: 64rem) {
  .rd-tablewrap { display: block; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); overflow-x: auto; }
  .rd-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
  .rd-table th, .rd-table td { padding: 0.6rem 0.35rem; text-align: center; border-bottom: 1px solid var(--rule); }
  .rd-table thead th { vertical-align: bottom; font-weight: 600; font-size: 0.78rem; line-height: 1.25; width: 6.5%; }
  .rd-table thead th a { color: var(--ink); }
  .rd-table .rd-table__check { text-align: left; width: auto; padding-left: 1rem; font-weight: 500; white-space: nowrap; }
  .rd-table tbody th span { display: inline-block; width: 1.5rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
  .rd-table tbody tr:hover { background: var(--paper); }
  .rd-table tfoot th, .rd-table tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); font-size: 1rem; }
  .rd-table tfoot .rd-table__check { font-weight: 600; font-size: 0.86rem; }
}
.rd-basis { margin-top: 1.75rem; max-width: 76ch; }
.rd-basis ul, .rd-plain { margin: 0; padding-left: 1.1rem; }
.rd-basis li, .rd-plain li { margin-bottom: 0.6rem; color: var(--ink-soft); }
.rd-basis li strong, .rd-plain li strong { color: var(--ink); }

/* One card per product */
.rd-products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); margin-top: 1.25rem; }
.rd-product { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.1rem 1.2rem 1rem; }
.rd-product header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.rd-product h3 { margin: 0; font-size: 1.1rem; }
.rd-product h3 a { color: var(--ink); }
.rd-product__score { margin: 0; white-space: nowrap; color: var(--ink-soft); font-size: 0.9rem; }
.rd-product__score strong { font-size: 1.35rem; color: var(--ink); font-weight: 700; }
.rd-strip { display: flex; align-items: center; gap: 0.3rem; margin: 0.7rem 0 0.8rem; }
.rd-strip .rd-m--u { vertical-align: 0; }
.rd-product p { margin: 0 0 0.6rem; font-size: 0.95rem; }
.rd-product__basis { color: var(--ink-soft); font-size: 0.85rem !important; }
.rd-product details { border-top: 1px solid var(--rule); margin-top: 0.8rem; padding-top: 0.6rem; }
.rd-product summary { cursor: pointer; font-weight: 500; font-size: 0.92rem; color: var(--brand); padding: 0.35rem 0; }
.rd-product__list { list-style: none; margin: 0.4rem 0 0; padding: 0; font-size: 0.9rem; }
.rd-product__list li { display: grid; grid-template-columns: 1.2rem 1fr auto; align-items: center; gap: 0.4rem; padding: 0.3rem 0; border-top: 1px solid var(--rule); }
.rd-product__list li:first-child { border-top: 0; }
.rd-product__list em { font-style: normal; color: var(--ink-soft); font-size: 0.85rem; }
.rd-product__list .rd-m--u { vertical-align: 0; }

/* What comes next */
.rd-cols { display: grid; gap: 1.5rem 3rem; margin-top: 1rem; }
@media (min-width: 52rem) { .rd-cols { grid-template-columns: 1fr 1fr; } }
.rd-order { margin: 0; padding-left: 1.3rem; }
.rd-order li { margin-bottom: 0.5rem; padding-left: 0.2rem; }
.rd-order li::marker { font-weight: 700; color: var(--brand); }
.rd-foot { margin: 2rem 0 0; color: var(--ink-soft); max-width: 70ch; }
