* { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --bg: #f7f7f8;
  --card: #ffffff;
  --text: #121316;
  --muted: rgba(18,19,22,.72);
  --border: rgba(18,19,22,.12);
}

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page{
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.header h1{
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  letter-spacing: .01em;
  margin-bottom: 10px;
}

.subhead{
  max-width: 70ch;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.brands{
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.brand{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.brand-logo{
  width: 140px;
  height: auto;
  margin-bottom: 14px;
}

.brand h2{
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.brand p{
  color: var(--muted);
  line-height: 1.5;
  font-size: .95rem;
  margin-bottom: auto;
}

.brand-link{
  margin-top: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(18,19,22,.25);
  width: fit-content;
}

.brand-link:hover{
  border-bottom-color: rgba(18,19,22,.6);
}

.footer{
  margin-top: 34px;
  color: rgba(18,19,22,.55);
  font-size: .85rem;
}

@media (max-width: 900px){
  .brands{ grid-template-columns: 1fr; }
  .brand{ min-height: unset; }
}
