.hero {
  padding: 48px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
}

.hero p {
  color: var(--muted);
  margin: 0 0 20px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-weight: 600;
}

.hero-list li span {
  color: var(--primary);
  font-weight: 800;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: #eef5f6;
}

.section h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.section-lead {
  color: var(--muted);
  margin: 0 0 20px;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 6px;
}

.section-header h2 {
  margin: 0;
}

.view-all {
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--primary);
  white-space: nowrap;
}

.view-all:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.tool-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tool-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--text);
}

.tool-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.tool-meta {
  font-size: .78rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: #eef7f8;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
}

.prose {
  max-width: 42rem;
}

.prose p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.prose a {
  font-weight: 600;
}

.cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.cat-list h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.cat-list h3 a {
  color: var(--text);
  text-decoration: none;
}

.cat-list h3 a:hover {
  color: var(--primary);
}

.cat-list p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.why-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.why-item strong {
  display: block;
  margin-bottom: 4px;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.faq-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 44rem;
}

.faq-list li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-list li:first-child {
  padding-top: 0;
}

.faq-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}

.cta-box {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-box h2 {
  margin: 0 0 8px;
}

.cta-box p {
  color: var(--muted);
  margin: 0 0 16px;
}

@media (max-width: 800px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

