* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid #e7ebf0;
  background: #ffffff;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  letter-spacing: 0.08em;
}

.brand span {
  font-size: 24px;
  font-weight: 800;
}

.brand small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.back-link {
  color: #667085;
  font-size: 14px;
}

.hero {
  padding: 82px 0 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 0;
  color: #667085;
  font-size: 19px;
}

.tools-section {
  padding: 76px 0 88px;
  background: #f5fafc;
  border-top: 1px solid #edf2f5;
  border-bottom: 1px solid #edf2f5;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 36px;
}

.section-heading h2,
.why-section h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-heading > p:last-child,
.why-section > p:last-child {
  color: #667085;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tool-card {
  position: relative;
  min-height: 260px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dfe7ed;
  border-radius: 16px;
  background: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.07);
}

.tool-number {
  position: absolute;
  top: 26px;
  right: 28px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}

.tool-icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.tool-card h3 {
  max-width: 520px;
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.tool-card p {
  max-width: 520px;
  margin: 10px 0 22px;
  color: #667085;
  font-size: 14px;
}

.tool-link {
  margin-top: auto;
  color: #111827;
  font-size: 13px;
  font-weight: 700;
}

.why-section {
  padding: 82px 0;
}

.why-section h2 {
  max-width: 700px;
}

.why-section > p:last-child {
  max-width: 700px;
  margin-top: 18px;
}

.site-footer {
  padding: 28px 0;
  background: #111827;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.footer-inner span {
  color: #cbd5e1;
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 68px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 62px 0 58px;
  }

  .tools-section {
    padding: 58px 0 64px;
  }

  .section-heading h2,
  .why-section h2 {
    font-size: 30px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
