/* The client page. Layout only: every colour and face comes from the directory tokens in home.css, which the
   shell loads first. A head with the download, the hero capture, three rows that alternate copy and capture,
   a list of the rest, and the download again. One column below 900px. */

/* min-width: 0 lets the page shrink below its longest unbreakable line; without it the heading held the
   whole shell wider than a phone and pushed the top bar off screen. */
.client { max-width: 1120px; min-width: 0; }
.client-head, .client-row, .client-copy, .client-shot { min-width: 0; }

.client-head { padding-bottom: 30px; }
.client-head h1 {
    margin-top: 10px;
    color: var(--dir-text);
    font-size: clamp(30px, 7.4vw, 60px);
    font-weight: 500;
    letter-spacing: -0.04em;
    line-height: .98;
    overflow-wrap: anywhere;
}
.client-lede {
    max-width: 62ch;
    margin-top: 18px !important;
    color: var(--dir-muted);
    font-size: 17px;
    line-height: 1.55;
}
.client-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 24px; }
.client-actions a:not(.directory-topbar-button) { color: var(--dir-accent-bright); font-size: 14px; }

/* Captures sit on the page like windows: rounded, lifted, never stretched past their own width. */
.client-hero, .client-shot { margin: 0; }
.client-hero img, .client-shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 0 1px var(--dir-line), var(--dir-shadow-promo);
}
.client-hero figcaption { margin-top: 12px; color: var(--dir-faint); font-size: 13px; }

.client-rows { display: grid; gap: 64px; margin-top: 76px; }
.client-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
.client-row:nth-child(even) .client-copy { order: 2; }
.client h2 {
    color: var(--dir-text);
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.client-copy p, .client-get p { margin-top: 14px !important; color: var(--dir-muted); font-size: 15px; line-height: 1.6; }

.client-features { margin-top: 84px; padding-top: 34px; border-top: 1px solid var(--dir-line); }
.client-features ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 34px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}
.client-features li { color: var(--dir-muted); font-size: 14px; line-height: 1.55; }
.client-features-more { margin-top: 10px !important; color: var(--dir-muted); font-size: 14px; }
.client-features-more a { color: var(--dir-accent-bright); }
.client-features strong { display: block; margin-bottom: 4px; color: var(--dir-text); font-weight: 600; }

.client-get { margin-top: 72px; padding: 30px; border-radius: 16px; background: var(--dir-raised); }
.client-get p { max-width: 70ch; }

/* One direct link per download of the latest release; the visitor's own system is outlined. */
.client-downloads {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}
.client-downloads li { min-width: 0; }
.client-downloads a {
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid var(--dir-line);
    border-radius: 12px;
    background: var(--dir-surface);
    color: var(--dir-muted);
    font-size: 13px;
}
.client-downloads a:hover { border-color: var(--dir-accent); }
.client-downloads a.is-suggested { border-color: var(--dir-accent); box-shadow: 0 0 0 1px var(--dir-accent); }
.client-downloads strong { color: var(--dir-text); font-size: 16px; font-weight: 600; }
.client-downloads small { margin-top: 4px; color: var(--dir-faint); font-family: var(--dir-mono); font-size: 11px; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .client-rows { gap: 48px; margin-top: 56px; }
    .client-row { grid-template-columns: 1fr; gap: 20px; }
    .client-row:nth-child(even) .client-copy { order: 0; }
    .client-features ul { grid-template-columns: 1fr 1fr; }
    .client-downloads { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .client-features ul { grid-template-columns: 1fr; }
    .client-get { padding: 22px 18px; }
}
