.hero {
  max-width: 900px;
  padding: 4rem 0 4.5rem;
}

.hero h1 {
  max-width: 850px;
  margin: 0;

  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: none;
}

.hero h1 span {
  display: block;
  margin-top: 0.15em;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: -0.025em;
}


.button-primary,
.button-secondary {
  display: inline-block;
  padding: 0.7rem 1rem;
  border: 1px solid var(--primary);
  font-weight: 700;
}

.button-primary {
  background: var(--primary);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--primary-hover);
}

.button-secondary {
  background: transparent;
}

.button-secondary:hover,
.button-secondary:focus {
  background: var(--primary);
}


/* Tool listing */

.tool-preview {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-heading h2 {
  margin: 0;

  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.tool-controls {
  margin-bottom: 1rem;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.tool-card {
  background: var(--panel-background);
  border: 1px solid var(--border);
}

.tool-card {
  padding: 1.25rem;

  display: flex;
  flex-direction: column;
}

.tool-card[hidden] {
  display: none;
}

.tool-card:hover {
  border-color: var(--primary);
}

.tool-card-category {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tool-card h3 {
  margin: 0.5rem 0 0;
  color: var(--main);
  font-size: 1.2rem;
  line-height: 1.2;
}

.tool-card p {
  margin: 0.6rem 0 0;

  line-height: 1.5;
}


/* Privacy */

.privacy-section {
  margin-top: 1rem;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.privacy-content {
  max-width: 800px;
}

.privacy-content h2{
  max-width: 700px;
  margin: 0;
  color: var(--main);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.privacy-content p:not(.section-label) {
  max-width: 650px;

  font-size: 1.05rem;
  line-height: 1.55;
}


@media (max-width: 800px) {
.hero h1{
    padding: 3rem 0 3.5rem;
  }

}


@media (max-width: 600px) {
  .hero h1 {
    font-size: 3rem;
  }


}