:root {
  color: #172330;
  background: #f4f7f8;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgb(87 181 163 / 13%), transparent 30rem),
    linear-gradient(180deg, #f8fafb 0%, #eef3f4 100%);
}

main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 0 40px;
}

.hero {
  max-width: 780px;
  margin-bottom: clamp(64px, 9vw, 96px);
}

.eyebrow,
.tool-type {
  margin: 0 0 14px;
  color: #147665;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro {
  max-width: 650px;
  margin-bottom: 0;
  color: #526170;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 1px solid #cbd5d9;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.38fr) minmax(0, 1fr);
  overflow: hidden;
  background: rgb(255 255 255 / 82%);
  border: 1px solid #c8d3d7;
  border-radius: 24px;
  box-shadow: 0 26px 70px rgb(24 46 54 / 9%);
}

.tool-mark {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 330px;
  padding: 44px;
  background: linear-gradient(145deg, #19353e, #176e61);
}

.tool-mark span {
  display: block;
  height: 36px;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: 9px;
}

.tool-mark span:nth-child(2) {
  margin-left: 22%;
}

.tool-mark span:nth-child(3) {
  width: 64%;
}

.tool-copy {
  align-self: center;
  padding: clamp(32px, 6vw, 64px);
}

.tool-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.tool-copy > p:not(.tool-type) {
  max-width: 620px;
  margin-bottom: 30px;
  color: #526170;
  line-height: 1.65;
}

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

a {
  color: #176e61;
  font-weight: 700;
  text-decoration: none;
}

.actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #aac0bd;
  border-radius: 10px;
}

.actions .primary {
  color: white;
  background: #176e61;
  border-color: #176e61;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.actions a:hover {
  text-decoration: none;
  filter: brightness(0.94);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 24px;
  color: #63717d;
  border-top: 1px solid #cbd5d9;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  main {
    width: min(100% - 28px, 1040px);
    padding-top: 56px;
  }

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

  .tool-mark {
    min-height: 180px;
  }

  footer {
    flex-direction: column;
  }
}
