/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Header === */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  gap: 1.25rem;
}

.header-nav a {
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
}

.header-nav a:hover,
.header-nav a.active {
  color: #2563eb;
}

/* === Main === */
main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

/* === Home hero === */
.hero {
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.hero h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #111;
}

.hero p {
  font-size: 1.05rem;
  color: #555;
  max-width: 560px;
  margin: 0 auto;
}

.brands {
  margin-top: 2.5rem;
}

.brands h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.brand-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.brand-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fafafa;
}

.brand-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.brand-card p {
  font-size: 0.93rem;
  color: #555;
}

/* === Content pages === */
.page-content h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #111;
}

.page-content h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.page-content p,
.page-content ul {
  margin-bottom: 0.85rem;
  color: #333;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content li {
  margin-bottom: 0.3rem;
}

/* === Footer === */
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
  color: #6b7280;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #6b7280;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #2563eb;
}

/* === Responsive === */
@media (min-width: 600px) {
  .brand-cards {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
