/* Layout + utilities */
.container { width: min(1100px, 92%); margin-inline: auto; }

.row { display: flex; gap: 1rem; }
.row.between { justify-content: space-between; }
.row.center { align-items: center; }
.row.wrap { flex-wrap: wrap; }
.gap { gap: .75rem; }

.grid { display: grid; gap: 18px; }

.section { padding: 56px 0; }
.section-head h1,
.section-head h2 {
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-head h1 { font-size: clamp(30px, 2.4vw + 1rem, 40px); }
.section-head h2 { font-size: 28px; }
.section-head p { color: var(--muted); margin: 0 0 16px; max-width: 72ch; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  backdrop-filter: saturate(1.1) blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text);
}
.brand .logo { filter: saturate(1.05); }
.brand .name { letter-spacing: .2px; }

.nav a {
  text-decoration: none;
  color: var(--text);
  margin-left: 1rem;
  font-weight: 600;
}

@media (max-width: 700px) {
  .nav { display: none; }
}

/* Footer */
.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  backdrop-filter: blur(10px);
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Responsive grids */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.features { grid-template-columns: repeat(2, 1fr); }
.contact { grid-template-columns: 1fr 1fr; }

@media (max-width: 980px) {
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cards-3, .features, .contact { grid-template-columns: 1fr; }
}
