#hero {
  background-color: white;
  color: #444;
}

h1 {
  width: 100%;
  align-self: flex-start;
  color: var(--primary);
  font-variation-settings: "wght" 500;
  font-size: 1.75rem;
}

#hero .content {
  display: flex;
  flex-direction: row;
}

.lead,
.trail {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.trail img {
  width: 100%;
  height: 300px;
  border-radius: 1rem;
  object-fit: cover;
}

.benefits {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.benefit {
  background: #eef6ff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: #06306d;
  white-space: nowrap;
  width: fit-content;
}

.cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

#offer {
  background-color: #f8fafc;
  gap: 1rem;
}

#offer .title {
  max-width: 650px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(10, 20, 40, 0.04);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

ul {
  padding-left: 1rem;
}

ul li {
  padding: 2px 0;
  color: #777;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 10px;
  border: 1px solid #eef2f7;
  text-align: left;
}

@media (max-width: 900px) {
  #hero .content {
    flex-direction: column;
  }

  .card-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
