/* Recommendance home page
   Clean, wireframe-ish, mobile-first.
*/

:root{
  --bg: #ffffff;
  --fg: #111111;
  --muted: #555555;
  --border: #d6d6d6;
  --border-strong: #bdbdbd;
  --shadow: 0 1px 0 rgba(0,0,0,0.04);
  --radius: 10px;
  --max: 860px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height: 1.45;
}

.container{
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header{
  padding: 44px 0 18px;
}

.brand{
  font-size: clamp(2.0rem, 4.5vw, 3.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  text-align: center;
}

.tagline{
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.intro{
  margin: 18px 0 18px;
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.intro p{
  margin: 0 0 12px;
}

.bullets{
  margin: 0 0 12px 20px;
  padding: 0;
}

.bullets li{
  margin: 6px 0;
}

.cta{
  margin: 0;
  font-weight: 600;
}

.collections{
  margin: 18px 0 42px;
}

.grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 14px 0 12px;
}

@media (min-width: 640px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

.card{
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 120ms ease, border-color 120ms ease;
}

.card:hover{
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.card:focus{
  outline: 3px solid rgba(0,0,0,0.15);
  outline-offset: 2px;
}

.card-title{
  display: block;
  font-weight: 650;
  margin-bottom: 6px;
}

.note{
  margin: 6px 0;
  color: var(--muted);
}

.about{
  margin-top: 14px;
}

.about-link{
  font-weight: 650;
  text-decoration: underline;
  color: inherit;
}

.about-muted{
  color: var(--muted);
  margin-left: 6px;
}

.site-footer{
  border-top: 1px solid var(--border);
  padding: 18px 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.sr-only{
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
