#twobox.footer-resources {
  float: none;
  padding: 64px 24px 72px;
  perspective: none;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6fa 100%);
}

.footer-resources-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-resources-heading {
  margin: 0 auto 28px;
  text-align: center;
}

.footer-resources-heading > span {
  display: inline-block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.footer-resources-heading h2 {
  margin: 0;
  color: #172033;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.5;
}

.footer-resources-heading p {
  margin: 7px 0 0;
  color: #687386;
  font-size: 14px;
}

.footer-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  direction: rtl;
}

.footer-resource-card {
  --resource-accent: #3b72dc;
  --resource-tint: #edf4ff;
  position: relative;
  display: flex;
  min-height: 226px;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 23px 19px;
  overflow: hidden;
  border: 1px solid #e7ebf1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgb(20 35 60 / 5%);
  color: #172033 !important;
  text-align: right;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.footer-resource-learn { --resource-accent: #3d74db; --resource-tint: #edf4ff; }
.footer-resource-faq { --resource-accent: #7957c8; --resource-tint: #f3efff; }
.footer-resource-prices { --resource-accent: #168b73; --resource-tint: #e9f8f3; }

.footer-resource-card::before {
  position: absolute;
  top: -43px;
  left: -35px;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--resource-tint);
  content: "";
  transition: transform .25s ease;
}

.footer-resource-card:hover,
.footer-resource-card:focus-visible {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--resource-accent) 30%, white);
  box-shadow: 0 16px 32px rgb(20 35 60 / 11%);
  color: #172033 !important;
}

.footer-resource-card:hover::before,
.footer-resource-card:focus-visible::before { transform: scale(1.18); }

.footer-resource-icon {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 14px;
  background: var(--resource-tint);
  color: var(--resource-accent);
}

.footer-resource-icon svg { width: 24px; height: 24px; }

.footer-resource-copy { display: flex; flex-direction: column; gap: 4px; }

.footer-resource-eyebrow {
  color: var(--resource-accent);
  font-size: 12px;
  font-weight: 700;
}

.footer-resource-copy strong { font-size: 18px; font-weight: 800; line-height: 1.6; }

.footer-resource-description {
  margin-top: 2px;
  color: #707b8d;
  font-size: 13px;
  line-height: 1.9;
}

.footer-resource-action {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 13px;
  color: var(--resource-accent);
  font-size: 13px;
  font-weight: 800;
}

.footer-resource-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .2s ease; }
.footer-resource-card:hover .footer-resource-action svg { transform: translateX(-3px); }

@media (max-width: 800px) {
  #twobox.footer-resources { padding: 48px 18px 54px; }
  .footer-resources-grid { grid-template-columns: 1fr; gap: 12px; }
  .footer-resource-card { min-height: 0; padding: 18px; border-radius: 17px; }
  .footer-resource-icon { width: 42px; height: 42px; margin-bottom: 12px; }
  .footer-resource-copy strong { font-size: 17px; }
  .footer-resource-action { padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .footer-resource-card, .footer-resource-card::before, .footer-resource-action svg { transition: none; }
}
