.tools-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 11%, rgba(245, 158, 11, 0.11), transparent 28rem),
    radial-gradient(circle at 94% 26%, rgba(59, 130, 246, 0.08), transparent 30rem),
    #f7f9fc;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tools-page {
  overflow: hidden;
}

.tools-hero {
  padding: 3.25rem 0 2.25rem;
  text-align: center;
}

.tools-hero .container {
  max-width: 940px;
}

.tools-eyebrow,
.tool-card-eyebrow,
.tools-team-eyebrow {
  display: block;
  color: #a96f00;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tools-hero h1 {
  max-width: 900px;
  margin: 0.55rem auto 0;
  color: #0f172a;
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.tools-hero p {
  max-width: 720px;
  margin: 1rem auto 0;
  color: #5d6878;
  font-size: 1.05rem;
  line-height: 1.55;
}

.tools-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.tools-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  color: #3f4b5d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}

.tools-trust span::before {
  content: "✓";
  color: #0f9d58;
  font-size: 0.72rem;
  font-weight: 900;
}

.tools-showcase {
  padding-bottom: 4.5rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tool-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 1.5rem;
  box-shadow:
    0 2px 5px rgba(15, 23, 42, 0.04),
    0 22px 55px rgba(15, 23, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: rgba(220, 158, 19, 0.7);
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.06),
    0 30px 70px rgba(15, 23, 42, 0.16);
  transform: translateY(-5px);
}

.tool-card:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.35);
  outline-offset: 4px;
}

.tool-visual {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9.2;
  background: radial-gradient(120% 95% at 50% 6%, #1a2135 0%, #0b0f19 62%, #080b12 100%);
}

.tool-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -30px 55px rgba(5, 8, 14, 0.22);
  pointer-events: none;
}

.tool-preview-canvas {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 260ms ease;
}

.tool-card:hover .tool-preview-canvas {
  transform: scale(1.025);
}

.tool-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.6rem 1.65rem 1.7rem;
}

.tool-card-title {
  display: block;
  margin-top: 0.48rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.tool-card-blurb {
  display: block;
  margin-top: 0.8rem;
  color: #566274;
  font-size: 0.97rem;
  line-height: 1.58;
}

.tool-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.05rem;
}

.tool-feature-list > span {
  padding: 0.35rem 0.62rem;
  color: #344054;
  background: #f2f4f7;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
}

.tool-best {
  display: block;
  margin-top: 1.15rem;
  padding-top: 1rem;
  color: #667085;
  border-top: 1px solid #edf0f4;
  font-size: 0.84rem;
  line-height: 1.52;
}

.tool-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.3rem;
  color: #8a5a00;
  font-size: 0.91rem;
  font-weight: 800;
}

.tool-card-action span {
  font-size: 1.15rem;
  transition: transform 160ms ease;
}

.tool-card:hover .tool-card-action span {
  transform: translateX(4px);
}

.tools-choice {
  padding: 0 0 4.5rem;
}

.tools-choice-card {
  padding: 2.1rem;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 1.4rem;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.tools-choice-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e7ebf0;
}

.tools-choice-head h2 {
  color: #0f172a;
  font-size: 1.7rem;
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.tools-choice-head .tools-eyebrow {
  order: 2;
  flex: none;
}

.tools-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tools-choice-item {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.65rem 1.5rem 0.2rem 0;
}

.tools-choice-item + .tools-choice-item {
  padding-left: 1.5rem;
  border-left: 1px solid #e7ebf0;
}

.tools-choice-number {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  color: #775000;
  background: #fff5d8;
  border: 1px solid #f0d78f;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.tools-choice-item h3 {
  color: #1b2638;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.tools-choice-item p {
  margin-top: 0.5rem;
  color: #657184;
  font-size: 0.88rem;
  line-height: 1.58;
}

.tools-team {
  padding-bottom: 5rem;
}

.tools-team-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem 2.65rem;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0, rgba(246, 196, 83, 0.22), transparent 18rem),
    linear-gradient(125deg, #0b101b, #17223a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(10, 15, 25, 0.24);
}

.tools-team-card > div {
  max-width: 680px;
}

.tools-team-eyebrow {
  color: #f5c84f;
}

.tools-team-card h2 {
  margin-top: 0.55rem;
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 820;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.tools-team-card p {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.6;
}

.tools-team-action {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.15rem;
  color: #2a1c04;
  background: linear-gradient(180deg, #f9d76b, #efa90f);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.72rem;
  box-shadow: 0 12px 28px rgba(224, 161, 0, 0.28);
  font-size: 0.86rem;
  font-weight: 850;
  white-space: nowrap;
  transition: filter 160ms ease, transform 160ms ease;
}

.tools-team-action:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.tools-team-action:focus-visible {
  outline: 3px solid rgba(249, 215, 107, 0.5);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .tools-hero {
    padding: 3rem 0 2rem;
  }

  .tools-grid,
  .tools-choice-grid {
    grid-template-columns: 1fr;
  }

  .tools-choice-item + .tools-choice-item {
    margin-top: 1.3rem;
    padding-left: 0;
    border-top: 1px solid #e7ebf0;
    border-left: 0;
  }

  .tools-team-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .tools-hero {
    padding: 2.65rem 0 1.75rem;
  }

  .tools-hero h1 {
    font-size: 2.2rem;
  }

  .tools-hero p {
    margin-top: 0.9rem;
    font-size: 0.95rem;
  }

  .tools-trust {
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .tools-trust span {
    font-size: 0.7rem;
  }

  .tools-showcase,
  .tools-choice {
    padding-bottom: 3rem;
  }

  .tools-grid {
    gap: 1.1rem;
  }

  .tool-card {
    border-radius: 1.15rem;
  }

  .tool-card:hover {
    transform: none;
  }

  .tool-card-body {
    padding: 1.3rem 1.25rem 1.4rem;
  }

  .tool-card-title {
    font-size: 1.5rem;
  }

  .tools-choice-card {
    padding: 1.35rem;
    border-radius: 1.15rem;
  }

  .tools-choice-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }

  .tools-choice-head .tools-eyebrow {
    order: 0;
  }

  .tools-choice-head h2 {
    font-size: 1.45rem;
  }

  .tools-choice-item {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.75rem;
    padding-top: 1.35rem;
  }

  .tools-choice-number {
    width: 2rem;
    height: 2rem;
  }

  .tools-team {
    padding-bottom: 3.5rem;
  }

  .tools-team-card {
    padding: 1.7rem 1.4rem;
    border-radius: 1.15rem;
  }

  .tools-team-action {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .tool-preview-canvas,
  .tool-card-action span,
  .tools-team-action {
    transition: none;
  }
}
