/* The other MUD clients page: a comparison table, one card per client in groups, then the accessibility, browser
   and older-clients notes. Layout and type only; every colour and face comes from the directory tokens in home.css. */

.clients { max-width: 1120px; min-width: 0; }
.clients-head { padding-bottom: 22px; min-width: 0; }
.clients-head h1 {
    margin-top: 10px;
    color: var(--dir-text);
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1.02;
    overflow-wrap: anywhere;
}
.clients-lede { max-width: 66ch; margin-top: 16px !important; color: var(--dir-muted); font-size: 17px; line-height: 1.55; }
.clients a { color: var(--dir-accent-bright); }

.clients h2 { margin-top: 38px; color: var(--dir-text); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.clients-compare h2 { margin-top: 18px; }

/* The table scrolls inside its own box on a narrow screen, never the page. */
.clients-table-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--dir-line); border-radius: 12px; background: var(--dir-surface); }
.clients-table-wrap:focus-visible { outline: 2px solid var(--dir-accent); outline-offset: 2px; }
.clients-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.clients-table th, .clients-table td { padding: 10px 14px; border-bottom: 1px solid var(--dir-line); text-align: left; vertical-align: top; color: var(--dir-muted); }
.clients-table thead th { color: var(--dir-faint); font-family: var(--dir-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.clients-table tbody th { font-weight: 600; white-space: nowrap; }
.clients-table tbody tr:last-child th, .clients-table tbody tr:last-child td { border-bottom: 0; }

/* One card per client. */
.clients-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.clients-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid var(--dir-line);
    border-radius: 14px;
    background: var(--dir-surface);
    scroll-margin-top: 20px;
}
.clients-card:target { border-color: var(--dir-accent); }
.clients-card h3 { color: var(--dir-text); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.clients-card > p { color: var(--dir-muted); font-size: 15px; line-height: 1.6; }
.clients-facts { display: grid; gap: 6px; margin: 0; }
.clients-facts div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 1.45; }
.clients-facts dt { color: var(--dir-faint); font-family: var(--dir-mono); font-size: 11px; letter-spacing: .06em; padding-top: 2px; text-transform: uppercase; }
.clients-facts dd { margin: 0; color: var(--dir-text); overflow-wrap: anywhere; }
.clients-link { margin-top: auto; font-size: 14px; font-weight: 600; }

.clients-prose { max-width: 760px; }
.clients-prose p, .clients-prose li { color: var(--dir-muted); font-size: 16px; line-height: 1.65; }
.clients-prose p { margin-top: 12px !important; }
.clients-prose ul { margin: 12px 0 0; padding-left: 20px; }
.clients-prose li + li { margin-top: 8px; }
.clients-more { margin-top: 38px !important; color: var(--dir-muted); font-size: 14px; }

@media (max-width: 760px) {
    .clients-list { grid-template-columns: minmax(0, 1fr); }
    .clients-card { padding: 18px 16px; }
}
