/* Scoped to the Linux / Debian resource tab. */
.home-page [data-links-tabs] { scroll-margin-top: 88px; }
.home-page .linux-resource { color: #e5edf9; }
.home-page .linux-resource__heading { display: flex; justify-content: space-between; gap: 24px; align-items: start; margin: 7px 0 24px; }
.home-page .linux-resource__eyebrow { margin: 0 0 9px; color: #8bdcc7; font-size: .66rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.home-page .linux-resource__heading h3 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.home-page .linux-resource__heading p:not(.linux-resource__eyebrow) { margin: 10px 0 0; color: #a6b7cc; font-size: .88rem; line-height: 1.65; }
.home-page .linux-resource__permalink { flex-shrink: 0; margin-top: 4px; color: #9ed9e6; font-size: .77rem; text-underline-offset: 4px; }
.home-page .kcheck-card { border: 1px solid #334b56; border-radius: 17px; padding: clamp(18px, 3vw, 30px); background: linear-gradient(130deg, rgba(26, 87, 75, .12), rgba(7, 16, 30, .6) 60%); }
.home-page .kcheck-card__intro { display: flex; justify-content: space-between; align-items: start; gap: 30px; }
.home-page .kcheck-card h4 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 2rem; line-height: 1.2; letter-spacing: -.025em; }
.home-page .kcheck-card__version { border: 1px solid #375b50; border-radius: 7px; padding: 4px 7px; color: #aae7d1; font-size: .7rem; font-weight: 600; letter-spacing: 0; }
.home-page .kcheck-card__intro p:not(.linux-resource__eyebrow) { max-width: 64ch; margin: 12px 0 0; color: #b3c3d7; line-height: 1.7; font-size: .88rem; }
.home-page .kcheck-card__download { display: flex; flex-shrink: 0; flex-direction: column; gap: 5px; padding: 14px 22px; border: 1px solid #6ac6ab; border-radius: 11px; background: #a4e6d2; color: #092c25; font-size: .94rem; font-weight: 800; text-decoration: none; }
.home-page .kcheck-card__download span { font-size: .72rem; font-weight: 600; }
.home-page .kcheck-card__download:hover { background: #c0f4e4; }
.home-page .kcheck-card__features { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 24px; padding: 0; list-style: none; color: #b1c8ce; font-size: .74rem; }
.home-page .kcheck-card__features li::before { content: '·'; margin-right: 7px; color: #9cd8c6; }
.home-page .kcheck-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; border: 1px solid #2f424f; border-radius: 11px; background: #2f424f; overflow: hidden; }
.home-page .kcheck-stats > div { padding: 17px 20px; background: #111e2c; }
.home-page .kcheck-stats dt { color: #aabbd0; font-size: .72rem; }
.home-page .kcheck-stats dd { margin: 7px 0 0; color: #e7fbf3; font-size: 1.6rem; font-weight: 750; line-height: 1.15; font-variant-numeric: tabular-nums; }
.home-page .kcheck-stats__note { margin: 10px 0 25px; color: #a2b3c8; font-size: .71rem; line-height: 1.65; }
.home-page .kcheck-stats__note span { display: block; }
.home-page .kcheck-guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 25px; border-top: 1px solid #2f424f; }
.home-page .kcheck-guide h5 { margin: 0 0 10px; font-size: 1rem; }
.home-page .kcheck-guide p:not(.linux-resource__eyebrow), .home-page .kcheck-more p { color: #b0c0d3; font-size: .8rem; line-height: 1.7; }
.home-page .kcheck-card pre { max-width: 100%; margin: 14px 0; padding: 16px; border: 1px solid #2d414e; border-radius: 9px; background: #08131f; color: #d0eae4; line-height: 1.8; font-size: .75rem; overflow-x: auto; }
.home-page .kcheck-card pre code { color: inherit; padding: 0; border: 0; background: none; white-space: pre; }
.home-page .kcheck-card p code { color: #bfddda; overflow-wrap: anywhere; }
.home-page .kcheck-guide .kcheck-guide__detail { color: #9fb2c8; font-size: .74rem; }
.home-page .kcheck-more { margin-top: 20px; padding: 17px 0; border-top: 1px solid #2f424f; border-bottom: 1px solid #2f424f; }
.home-page .kcheck-more summary { cursor: pointer; color: #a9e1d3; font-size: .83rem; font-weight: 650; line-height: 1.6; }
.home-page .kcheck-card__footer { margin: 16px 0 0; color: #9fb2c8; font-size: .73rem; line-height: 1.7; }
.home-page .linux-resource a:focus-visible, .home-page .kcheck-more summary:focus-visible { outline: 2px solid #a4e6d2; outline-offset: 5px; }
.home-page #linux, .home-page #kcheck { scroll-margin-top: 24px; }
@media (max-width: 720px) {
  .home-page .linux-resource__heading, .home-page .kcheck-card__intro { flex-direction: column; gap: 16px; }
  .home-page .kcheck-card__download { align-self: stretch; }
  .home-page .kcheck-guide { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 420px) {
  .home-page .kcheck-stats { grid-template-columns: 1fr; }
  .home-page .kcheck-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; }
  .home-page .kcheck-stats dd { margin: 0; font-size: 1.3rem; }
}

/* A second tool card shares the existing Linux resource layout. */
.home-page .kcheck-card + .kcheck-card { margin-top: 24px; }
.home-page #sshupdate { scroll-margin-top: 24px; }
.home-page .sshupdate-card { border-color: #3d4e70; background: linear-gradient(130deg, rgba(51, 83, 132, .16), rgba(7, 16, 30, .6) 60%); }
.home-page .sshupdate-card .kcheck-card__version { border-color: #4d6086; color: #c7d8ff; }
