/* /free-tools hub */

.ft-hero .lede {
  max-width: 40rem;
}
.ft-hero-note {
  margin-top: 16px;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.7;
}
.ft-hero-panel {
  min-height: 420px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: center;
}
.ft-hero-panel::before,
.ft-hero-panel::after { display: none; }
.ft-mini {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.ft-mini:hover,
.ft-mini:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(1, 176, 241, 0.55);
  transform: translateY(-2px);
}
.ft-mini strong {
  display: block;
  color: #fff;
  font-size: .98rem;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.ft-mini span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.5;
}
.ft-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
}
.ft-mini-icon svg { width: 18px; height: 18px; }

.ft-groups { display: grid; gap: 72px; }
.ft-group { scroll-margin-top: 120px; }
/* Hide a group until at least one of its cards is live (not hidden). */
.ft-group:not(:has(.ft-card:not([hidden]))) {
  display: none;
}
.ft-group-head { max-width: 720px; margin-bottom: 28px; }
.ft-group-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.ft-group-head p { margin-top: 12px; font-size: 1.04rem; }

.ft-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ft-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  padding: 28px 26px 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ft-card:hover,
.ft-card:focus-visible {
  border-color: rgba(10, 102, 194, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(6, 17, 31, 0.14);
}
.ft-card[hidden] { display: none !important; }

.ft-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 12px 26px rgba(10, 102, 194, 0.25);
}
.ft-card-icon svg { width: 26px; height: 26px; }

.ft-card-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ft-card h3 {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.ft-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
  flex: 1;
}
.ft-card-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 800;
  font-size: .95rem;
}
.ft-card:hover .ft-card-go,
.ft-card:focus-visible .ft-card-go { color: #0755a3; }
.ft-card-go svg { width: 16px; height: 16px; }

.ft-coming {
  margin-top: 56px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px dashed rgba(10, 102, 194, 0.28);
  background: rgba(10, 102, 194, 0.04);
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
  max-width: 820px;
}
.ft-coming strong { color: var(--ink); }

@media (max-width: 1040px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-hero-panel { min-height: 0; }
}
@media (max-width: 700px) {
  .ft-grid { grid-template-columns: 1fr; }
  .ft-hero-panel { grid-template-columns: 1fr 1fr; padding: 18px; gap: 10px; }
  .ft-mini { padding: 14px 12px; }
  .ft-card { padding: 22px 20px; }
  .ft-card:hover { transform: none; }
  .ft-groups { gap: 56px; }
}
@media (max-width: 480px) {
  .ft-hero-panel { grid-template-columns: 1fr; }
}

.page-hero .enterprise-panel.ft-hero-panel { display: grid; min-height: 0; }
