.toolkit-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(6, 182, 212, 0.08), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(37, 99, 235, 0.08), transparent 30%),
    var(--color-gray-50);
}

.tk-hero {
  min-height: 78vh;
  background:
    linear-gradient(180deg, rgba(15, 36, 64, 0.86) 0%, rgba(26, 58, 92, 0.82) 45%, rgba(8, 145, 178, 0.76) 100%),
    url('/Pool_images/Serene modern backyard with pool.png') center/cover no-repeat;
}

.tk-hero .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 36, 64, 0.9) 0%,
    rgba(26, 58, 92, 0.82) 46%,
    rgba(8, 145, 178, 0.72) 100%
  );
}

.tk-hero .hero__content {
  max-width: 900px;
}

.tk-hero .hero__subtitle {
  max-width: 700px;
}

.tk-hero .hero__microline {
  opacity: 0.72;
}

#toolkit-gate {
  background: linear-gradient(135deg, #173453 0%, #0f2440 50%, #11516b 100%);
}

.tk-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tk-form[hidden] {
  display: none !important;
}

.tk-form-title {
  font-size: var(--font-size-xl);
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.lead-form__card {
  border: 1px solid rgba(8, 145, 178, 0.14);
}

.tk-form .lead-form__submit {
  margin-top: 0.85rem;
}

.tk-status {
  margin-top: 0.85rem;
  padding: 0;
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: padding var(--transition);
}

.tk-status:not(:empty) {
  padding: 0.875rem 1rem;
}

.tk-status--ok {
  background-color: rgba(6, 182, 212, 0.1);
  color: var(--color-teal);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tk-status--warn {
  background-color: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.tk-status--error {
  background-color: #fef2f2;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.tk-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.tk-content {
  background: var(--color-white);
  border-top: 1px solid rgba(15, 36, 64, 0.06);
}

.tk-content-subtitle {
  text-align: center;
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
}

.tk-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.tk-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 36, 64, 0.09);
  border-radius: 14px;
  padding: 1.45rem;
  box-shadow: 0 10px 24px rgba(15, 36, 64, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.tk-tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
}

.tk-tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(15, 36, 64, 0.14);
  border-color: rgba(8, 145, 178, 0.35);
  background: linear-gradient(180deg, #ffffff 0%, #f3fbff 100%);
}

.tk-tool-card h3 {
  margin-top: 0.15rem;
  margin-bottom: 0.55rem;
  color: var(--color-navy);
  font-size: 1.25rem;
  line-height: 1.3;
}

.tk-tool-card p {
  color: var(--color-gray-600);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

.tk-tool-card .btn {
  margin-top: auto;
}

.tk-method {
  background: linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
  border-top: 1px solid rgba(15, 36, 64, 0.05);
}

.tk-method .section__heading {
  margin-bottom: 0.9rem;
}

.tk-method .about__text {
  max-width: 900px;
  font-size: 1.12rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .tk-tool-grid {
    grid-template-columns: 1fr;
  }

  .tk-hero {
    min-height: 72vh;
  }
}

@media (max-width: 768px) {
  .tk-hero .hero__content {
    padding-top: 5.5rem;
  }

  .tk-content-subtitle {
    margin-bottom: 1.6rem;
  }

  .tk-tool-card {
    padding: 1.3rem;
  }
}