/* /alternativeto: a plain list page, one row per app. */
:root {
  --bg: #ffffff;
  --tint: #f3f6f5;
  --ink: #121a18;
  --soft: #58625f;
  --line: #e1e7e5;
  --teal: #0f766e;
  --teal-soft: #e2f3f0;
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); }
a { color: var(--teal); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.site { display: flex; align-items: center; max-width: 1040px; margin: 0 auto; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.nav-link { margin-left: auto; font-weight: 500; font-size: 15px; color: var(--ink); }

.intro { max-width: 1040px; margin: 0 auto; padding: 48px 20px 28px; }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; margin: 0 0 18px; max-width: 16em; }
.lead { font-size: 18.5px; color: #2d3633; margin: 0; max-width: 44em; }

main { max-width: 1040px; margin: 0 auto; padding: 0 20px 40px; }
h2 { font-size: clamp(26px, 3.2vw, 32px); letter-spacing: -.015em; font-weight: 700; margin: 0 0 18px; }

.finder-top { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding: 16px; background: var(--tint); border-radius: 12px; }
.search { flex: 1 1 280px; }
.search input { width: 100%; font: 500 17px var(--font); padding: 13px 15px; border: 1px solid #c9d3d0; border-radius: 10px; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: 500 14px var(--font); border: 1px solid #c9d3d0; background: #fff; color: var(--ink); padding: 8px 13px; border-radius: 8px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

.list-head, .rows a { display: grid; grid-template-columns: 200px 28px 1fr 96px; gap: 14px; align-items: center; }
.list-head { padding: 18px 14px 8px; font-size: 13px; font-weight: 600; color: var(--soft); text-transform: uppercase; letter-spacing: .05em; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { padding: 16px 14px; color: var(--ink); text-decoration: none; }
.rows a:hover { background: var(--tint); }
.app { font-weight: 700; font-size: 17px; }
.arrow { color: var(--teal); font-weight: 700; }
.gain { color: #2d3633; font-size: 16px; }
.read { justify-self: end; font-size: 14px; font-weight: 600; color: var(--teal); }
.rows a:hover .read { text-decoration: underline; }
.count { font-size: 13px; color: var(--soft); margin: 12px 0 0; }
.empty { margin: 16px 14px 0; }

.what { padding: 64px 0 20px; }
.what-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
.what-grid div { padding: 20px; border-right: 1px solid var(--line); }
.what-grid div:last-child { border-right: 0; }
.what-grid h3 { font-size: 17px; margin: 0 0 6px; }
.what-grid p { margin: 0; font-size: 15px; color: var(--soft); }
.btn { display: inline-block; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; padding: 13px 24px; border-radius: 10px; }
.btn:hover { background: #0b5d57; }

.faq { padding: 48px 0 8px; max-width: 760px; }
.faq h3 { font-size: 18px; margin: 22px 0 6px; }
.faq p { margin: 0; color: #2d3633; }

.site-foot { max-width: 1040px; margin: 0 auto; padding: 24px 20px 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.site-foot p { margin: 0 0 6px; }
.site-foot a { color: var(--soft); }

@media (max-width: 860px) { .what-grid { grid-template-columns: 1fr 1fr; } .what-grid div:nth-child(2) { border-right: 0; } .what-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) {
  .list-head { display: none; }
  .rows a { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .app { grid-column: 1; }
  .arrow { display: none; }
  .read { grid-column: 2; grid-row: 1; }
  .gain { grid-column: 1 / -1; font-size: 15px; }
  .what-grid { grid-template-columns: 1fr; }
  .what-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .what-grid div:last-child { border-bottom: 0; }
}
