.tools-page {
  --tools-green: #1dbf73;
  --tools-ink: #071b14;
  --tools-muted: #5b6b64;
  --tools-line: rgba(15, 34, 26, 0.11);
  --tools-glass: #ffffffcc;
  --tools-soft: #f2f8f5;
  background: #ffffff;
  color: var(--tools-ink);
}

.tools-main {
  overflow: hidden;
}

.tools-page .header-nav__link--active {
  color: var(--tools-green);
}

.tools-hero {
  position: relative;
  padding: 74px 0 30px;
  background: #ffffff;
}

.tools-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(7, 27, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 27, 20, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.tools-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(390px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.tools-eyebrow,
.tools-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tools-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tools-eyebrow::before,
.tools-section__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--tools-green), #128c55);
  box-shadow: 0 0 14px rgba(15, 23, 42, 0.18);
}

.tools-hero__title {
  max-width: 780px;
  margin: 18px 0 18px;
  font-size: clamp(38px, 3.8vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 900;
}

.tools-hero__title span {
  display: block;
}

@media (min-width: 761px) {
  .tools-hero__title span {
    white-space: nowrap;
  }
}

.tools-hero__subtitle {
  max-width: 620px;
  color: var(--tools-muted);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.7;
}

.tools-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.tools-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tools-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid var(--tools-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--tools-muted);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(16px);
}

.tools-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--tools-line);
  border-radius: 8px;
  background: var(--tools-glass);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(22px);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tools-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 191, 115, 0.28);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
}

.tools-card > * {
  position: relative;
  z-index: 1;
}

.tools-card--featured {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-color: rgba(29, 191, 115, 0.32);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.tools-card--featured::before {
  content: "";
  position: absolute;
  top: -55px;
  right: -145px;
  width: 560px;
  height: 430px;
  background: url("public/images/tools/hero.png") center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  filter: saturate(0.95);
  mask-image: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 24%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.tools-card--featured > * {
  position: relative;
  z-index: 1;
}

.tools-card__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.tools-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.tools-card__desc {
  margin-top: 8px;
  color: var(--tools-muted);
  font-size: 13px;
  line-height: 1.55;
}

.tools-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #128c55;
  background: linear-gradient(145deg, rgba(29, 191, 115, 0.14), rgba(18, 140, 85, 0.08));
  border: 1px solid rgba(29, 191, 115, 0.16);
}

.tools-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

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

.tools-field {
  min-width: 0;
}

.tools-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--tools-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tools-input,
.tools-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(15, 34, 26, 0.13);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--tools-ink);
  font: 700 14px/1.2 "Inter", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.tools-input:focus,
.tools-select:focus {
  outline: none;
  border-color: rgba(29, 191, 115, 0.72);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.tools-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tools-result {
  min-width: 0;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(15, 34, 26, 0.09);
  background: rgba(247, 251, 249, 0.86);
}

.tools-result span {
  display: block;
  color: var(--tools-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-result strong {
  display: block;
  margin-top: 4px;
  color: var(--tools-ink);
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.05;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.tools-result strong.is-updating {
  animation: numberPulse 0.34s ease;
}

@keyframes numberPulse {
  from { transform: translateY(4px); opacity: 0.45; }
  to { transform: translateY(0); opacity: 1; }
}

.tools-error,
.tools-note {
  min-height: 18px;
  margin-top: 12px;
  color: #8a5a11;
  font-size: 12px;
  line-height: 1.5;
}

.market-strip {
  position: relative;
  z-index: 1;
  margin: 18px auto 28px;
}

.market-strip__inner {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--tools-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.market-strip__inner::before {
  display: none !important;
}

.market-strip__item {
  position: relative;
  z-index: 1;
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.market-strip__label {
  display: block;
  color: var(--tools-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.market-strip__value {
  display: block;
  margin-top: 4px;
  font-weight: 900;
  color: var(--tools-ink);
}

.tools-section {
  padding: 54px 0;
}

.tools-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.tools-section__title {
  max-width: 760px;
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.tools-section__copy {
  max-width: 420px;
  color: var(--tools-muted);
  font-size: 14px;
  line-height: 1.6;
}

#core-calculators {
  position: relative;
  overflow: hidden;
}

#core-calculators::before {
  display: none !important;
}

#core-calculators > .container {
  position: relative;
  z-index: 1;
}

.tools-section--intel {
  position: relative;
}

.tools-section--intel > .container {
  position: relative;
  z-index: 1;
}

.tools-card--bg2::before,
.tools-card--bg3::before,
.tools-card--bg4::before,
.tools-card--bg5::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -110px;
  width: 440px;
  height: 340px;
  pointer-events: none;
  z-index: 0;
  filter: saturate(0.95);
  opacity: 0.18;
  mask-image: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 0, 0, 0.24) 24%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.tools-card--bg2::before { background: url("public/images/tools/background2.png") center / contain no-repeat; }
.tools-card--bg3::before { background: url("public/images/tools/background3.png") center / contain no-repeat; }
.tools-card--bg4::before { background: url("public/images/tools/background4.png") center / contain no-repeat; }
.tools-card--bg5::before { background: url("public/images/tools/background5.png") center / contain no-repeat; }


.tools-section--intel > .container > * {
  position: relative;
  z-index: 1;
}

.tools-section--risk {
  position: relative;
}

.tools-section--risk > .container {
  position: relative;
  z-index: 1;
}



.tools-section--risk > .container > * {
  position: relative;
  z-index: 1;
}

.tools-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.tools-bento .tools-card {
  grid-column: span 4;
  padding: 20px;
}

.tools-bento .tools-card--wide {
  grid-column: span 8;
}

.tools-bento .tools-card--tall {
  grid-row: span 2;
}

.tools-mini-result {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 34, 26, 0.09);
  background: linear-gradient(135deg, rgba(29, 191, 115, 0.1), rgba(18, 140, 85, 0.06));
}

.tools-mini-result span {
  color: var(--tools-muted);
  font-size: 12px;
  font-weight: 800;
}

.tools-mini-result strong {
  color: var(--tools-ink);
  font-size: 22px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.tools-details {
  margin-top: 14px;
  color: var(--tools-muted);
  font-size: 13px;
}

.tools-details summary {
  cursor: pointer;
  color: var(--tools-ink);
  font-weight: 800;
}

.tools-details p {
  margin-top: 8px;
  line-height: 1.6;
}

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

.session-tile,
.preview-row,
.strength-row,
.heatmap-cell,
.correlation-cell {
  border: 1px solid rgba(15, 34, 26, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.session-tile {
  padding: 13px;
}

.session-tile b,
.session-tile span {
  display: block;
}

.session-tile b {
  font-size: 13px;
}

.session-tile time {
  display: block;
  margin-top: 3px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.session-status {
  display: inline-flex;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--tools-muted);
  background: #eef3f0;
  font-size: 11px;
  font-weight: 800;
}

.session-status.is-live {
  color: #0f6b42;
  background: rgba(29, 191, 115, 0.14);
}

.preview-table {
  display: grid;
  gap: 8px;
}

.preview-row {
  display: grid;
  grid-template-columns: 84px 1fr 74px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  color: var(--tools-muted);
  font-size: 13px;
}

.preview-row strong {
  color: var(--tools-ink);
}

.impact-high {
  color: #b42318;
  font-weight: 900;
}

.offline-badge {
  display: inline-flex;
  align-self: start;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(29, 191, 115, 0.12);
  color: #128c55;
  font-size: 11px;
  font-weight: 900;
}

.strength-row {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 800;
}

.strength-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7efeb;
}

.strength-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--tools-green), #128c55);
}

.gauge {
  --gauge-pct: 62;

  width: min(230px, 100%);
  aspect-ratio: 2 / 1;
  margin: 8px auto 18px;
  border-radius: 230px 230px 0 0;
  background:
    radial-gradient(circle at 50% 100%, #fff 0 38%, transparent 39%),
    conic-gradient(
      from 270deg at 50% 100%,
      var(--tools-green) 0 calc(var(--gauge-pct) * 180deg / 100),
      #e5ece8 calc(var(--gauge-pct) * 180deg / 100) 180deg
    );
  position: relative;
}

.gauge::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 3px;
  height: 42%;
  background: var(--tools-ink);
  transform: rotate(calc(var(--gauge-pct) * 180deg / 100 - 90deg));
  transform-origin: bottom;
  border-radius: 999px;
  z-index: 1;
}

.heatmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.heatmap-cell {
  min-height: 72px;
  padding: 12px;
  font-weight: 900;
}

.heatmap-cell span {
  display: block;
  margin-top: 7px;
  color: var(--tools-muted);
  font-size: 12px;
}

.heatmap-cell.is-up {
  background: rgba(29, 191, 115, 0.12);
}

.heatmap-cell.is-down {
  background: rgba(225, 55, 55, 0.08);
}

.correlation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.correlation-cell {
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.correlation-cell span {
  display: block;
  margin-top: 5px;
  color: var(--tools-muted);
  font-variant-numeric: tabular-nums;
}

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

.scenario-panel {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 34, 26, 0.1);
  background: rgba(255, 255, 255, 0.68);
}

.scenario-panel h4 {
  margin: 0 0 12px;
  font-size: 13px;
}

.tools-disclaimer,
.tools-cta {
  margin: 32px auto 0;
  border: 1px solid var(--tools-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.tools-disclaimer {
  padding: 22px;
  color: var(--tools-muted);
  font-size: 13px;
  line-height: 1.7;
}

.tools-disclaimer strong {
  color: var(--tools-ink);
}

.tools-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
  min-height: 200px;
  margin-bottom: 66px;
  background: rgba(255, 255, 255, 0.88);
  position: relative;
  overflow: hidden;
}

.tools-cta::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -120px;
  width: min(440px, 48vw);
  height: 320px;
  background: url("public/images/tools/background6.png") center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  filter: saturate(0.95);
  mask-image: linear-gradient(
    120deg,
    transparent 0%,
    rgba(0, 0, 0, 0.2) 28%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.tools-cta > * {
  position: relative;
  z-index: 1;
}

.tools-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.tools-cta p {
  margin: 10px 0 0;
  color: var(--tools-muted);
  max-width: 720px;
}

.tools-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s ease, transform 0.68s ease;
  will-change: opacity, transform;
}

.tools-animate.tools-in-view {
  opacity: 1;
  transform: translateY(0);
}

.tools-animate--hero {
  transform: translateY(18px) scale(0.985);
  transition-duration: 0.78s;
}

.tools-animate--hero.tools-in-view {
  transform: translateY(0) scale(1);
}

.tools-animate--delay-1 {
  transition-delay: 0.08s;
}

.tools-animate--delay-2 {
  transition-delay: 0.16s;
}

@keyframes toolsMobileMenuEnter {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toolsMenuBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes toolsMobileMenuItem {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tools-animate,
  .tools-result strong.is-updating,
  .tools-card {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }

  .tools-page .header-nav--open,
  .tools-page .header-nav--open .header-nav__link {
    animation: none;
  }
}

@media (max-width: 1080px) {
  .tools-hero__grid {
    grid-template-columns: 1fr;
  }

  .tools-bento .tools-card,
  .tools-bento .tools-card--wide {
    grid-column: span 6;
  }

  .market-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .tools-page.mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 88;
    background: rgba(7, 27, 20, 0.22);
    backdrop-filter: blur(4px);
    animation: toolsMenuBackdrop 0.24s ease both;
  }

  .tools-page .header-nav--open {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(84vw, 340px);
    height: 100vh;
    max-height: none;
    padding: 88px 18px 24px;
    border-top: none;
    border-left: 1px solid var(--border-light);
    box-shadow: -24px 0 64px rgba(15, 23, 42, 0.18);
    z-index: 89;
    animation: toolsMobileMenuEnter 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both;
    transform-origin: right center;
  }

  .tools-page .header-nav--open .header-nav__link {
    opacity: 0;
    animation: toolsMobileMenuItem 0.28s ease both;
  }

  .tools-page .header-nav--open .header-nav__link:nth-child(1) { animation-delay: 0.04s; }
  .tools-page .header-nav--open .header-nav__link:nth-child(2) { animation-delay: 0.08s; }
  .tools-page .header-nav--open .header-nav__link:nth-child(3) { animation-delay: 0.12s; }
  .tools-page .header-nav--open .header-nav__link:nth-child(4) { animation-delay: 0.16s; }
  .tools-page .header-nav--open .header-nav__link:nth-child(5) { animation-delay: 0.2s; }
  .tools-page .header-nav--open .header-nav__link:nth-child(6) { animation-delay: 0.24s; }
  .tools-page .header-nav--open .header-nav__link:nth-child(7) { animation-delay: 0.28s; }

  .tools-page.mobile-nav-open .main-header {
    z-index: 100;
  }

  .tools-hero {
    padding: 34px 0 18px;
  }

  .tools-hero::before {
    background-size: 34px 34px;
  }

  .tools-hero__grid {
    gap: 24px;
  }

  .tools-hero__title {
    max-width: 100%;
    margin: 14px 0 14px;
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1;
    letter-spacing: -0.04em;
    overflow-wrap: break-word;
  }

  .tools-hero__title span {
    display: inline;
  }

  .tools-hero__title span:first-child::after {
    content: " ";
  }

  .tools-hero__subtitle {
    font-size: 15px;
    line-height: 1.58;
  }

  .tools-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .tools-hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .tools-hero__trust {
    gap: 8px;
    margin-top: 16px;
  }

  .tools-chip {
    min-height: 32px;
    max-width: 100%;
    font-size: 11px;
    padding: 7px 11px;
  }

  .tools-card--featured {
    padding: 16px;
  }

  .tools-card--featured::before {
    top: -20px;
    right: -180px;
    width: 460px;
    height: 360px;
    opacity: 0.1;
  }

  .tools-card__top {
    gap: 12px;
    margin-bottom: 16px;
  }

  .tools-card__title {
    font-size: 18px;
  }

  .tools-card__desc {
    font-size: 12px;
  }

  .tools-icon {
    width: 36px;
    height: 36px;
  }

  .tools-form-grid,
  .tools-result-grid,
  .session-grid,
  .scenario-grid,
  .tools-cta {
    grid-template-columns: 1fr;
  }

  .tools-input,
  .tools-select {
    min-height: 48px;
    font-size: 16px;
  }

  .tools-result {
    padding: 13px;
  }

  .tools-result strong {
    font-size: 24px;
  }

  .tools-section {
    padding: 36px 0;
  }

  .tools-section__head {
    display: block;
    margin-bottom: 18px;
  }

  .tools-section__title {
    max-width: 100%;
    font-size: clamp(31px, 9vw, 40px);
    line-height: 1.02;
  }

  .tools-section__copy {
    margin-top: 12px;
  }

  .tools-card--bg2::before,
  .tools-card--bg3::before,
  .tools-card--bg4::before,
  .tools-card--bg5::before {
    top: -15px;
    right: -140px;
    width: 360px;
    height: 280px;
    opacity: 0.1;
  }

  .tools-bento {
    display: block;
  }

  .tools-bento .tools-card {
    padding: 16px;
    margin-bottom: 14px;
  }

  .market-strip {
    margin: 8px auto 18px;
  }

  .market-strip__inner {
    grid-template-columns: 1fr;
  }

  .market-strip__item {
    padding: 14px 16px;
  }

  .tools-mini-result {
    min-height: 54px;
    padding: 12px;
  }

  .tools-mini-result strong {
    font-size: 20px;
  }

  .preview-row {
    grid-template-columns: 72px 1fr;
  }

  .preview-row span:last-child {
    grid-column: 2;
  }

  .heatmap,
  .correlation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-disclaimer {
    padding: 16px;
    font-size: 12px;
  }

  .tools-cta {
    padding: 20px;
    margin-bottom: 44px;
  }

  .tools-cta::before {
    top: -16px;
    right: -200px;
    width: 400px;
    height: 280px;
    opacity: 0.12;
  }

  .tools-cta .btn {
    width: 100%;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .tools-page .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .tools-hero__title {
    font-size: clamp(31px, 10vw, 38px);
  }

  .tools-hero__subtitle {
    font-size: 14px;
  }

  .tools-card--featured,
  .tools-bento .tools-card {
    border-radius: 8px;
    padding: 14px;
  }

  .tools-result-grid {
    gap: 10px;
  }

  .tools-result strong {
    font-size: 22px;
  }

  .heatmap,
  .correlation-grid {
    grid-template-columns: 1fr;
  }

  .preview-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .preview-row span:last-child {
    grid-column: auto;
  }

  .tools-section__title {
    font-size: clamp(28px, 9vw, 34px);
  }
}

@media (max-width: 380px) {
  .tools-hero__title {
    font-size: 29px;
  }

  .tools-card__top {
    align-items: center;
  }

  .tools-icon {
    display: none;
  }
}
