:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #202124;
  background: #f7f6f2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid #e2ded5;
  background: rgba(247, 246, 242, 0.92);
}

.nav-wrap,
main,
.site-footer {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #5f5b54;
  font-size: 14px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #ebe6dc;
  color: #202124;
}

main {
  padding: 48px 0 56px;
}

.hero {
  margin-bottom: 28px;
}

.eyebrow {
  margin-bottom: 8px;
  color: #27615a;
  font-size: 14px;
  font-weight: 800;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.05;
  font-weight: 780;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}

p,
li {
  color: #68645d;
  line-height: 1.75;
  font-size: 16px;
}

p {
  margin: 0;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.quick-points li {
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid #ded9cf;
  border-radius: 8px;
  background: #fffdfa;
  color: #4d4943;
  font-size: 15px;
  line-height: 1.55;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.tool {
  display: grid;
  gap: 16px;
  min-height: 190px;
  padding: 22px;
  border: 1px solid #ded9cf;
  border-radius: 8px;
  background: #fffdfa;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(62, 55, 43, 0.08);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.tool:hover {
  transform: translateY(-2px);
  border-color: #b8ad99;
  box-shadow: 0 20px 42px rgba(62, 55, 43, 0.13);
}

.icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 8px;
  background: #eaf2ef;
}

.icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-icon {
  color: #26312f;
  font-size: 18px;
  font-weight: 800;
}

.action {
  align-self: end;
  color: #27615a;
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.info-block,
.content-card {
  border: 1px solid #ded9cf;
  border-radius: 8px;
  background: #fffdfa;
  padding: 22px;
}

.content-card {
  max-width: 760px;
}

.content-card p + p,
.content-card p + h2,
.content-card ul + h2 {
  margin-top: 18px;
}

.content-card ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.contact-box {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ebe6dc;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 32px;
  border-top: 1px solid #e2ded5;
  color: #68645d;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: #68645d;
  text-decoration: none;
}

.footer-links a:hover {
  color: #202124;
}

@media (max-width: 640px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  main {
    padding: 34px 0 44px;
  }

  .tool {
    min-height: 164px;
    padding: 18px;
  }
}
