/* Help options — compact end-of-page CTAs (secondary helper) */

.help-options {
  --help-navy: var(--navy, #08245d);
  --help-copy: var(--muted, #61708f);
  --help-blue: var(--blue, #087de7);
  --help-rule: #1098e8;
  --help-cyan: #2ccbd3;
  --help-icon-bg: #edf4ff;
  --help-hover-bg: #eaf2ff;
  --help-border: #dfe7f2;
  --help-white: #ffffff;
  padding: clamp(48px, 5vw, 72px) 0 clamp(40px, 4vw, 64px);
  color: var(--help-navy);
  background:
    radial-gradient(circle at 50% 65%, rgba(16, 152, 232, 0.045), transparent 42%),
    var(--help-white);
  border-top: 1px solid var(--help-border, #dfe7f2);
  font-family: var(--font, inherit);
  box-sizing: border-box;
}

.help-options *,
.help-options *::before,
.help-options *::after {
  box-sizing: border-box;
}

.help-options__inner {
  width: 100%;
  max-width: var(--container, 1480px);
  margin: 0 auto;
  padding: 0 40px;
}

.help-options__header {
  margin-bottom: clamp(22px, 2.5vw, 32px);
  text-align: center;
}

.help-options__eyebrow {
  display: block;
  margin: 0 0 10px;
  color: var(--help-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Rule under the eyebrow */
.help-options__rule {
  display: block;
  width: 36px;
  height: 2px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--help-rule);
}

.help-options__title {
  margin: 0;
  color: #063b7a;
  font-size: clamp(1.46rem, 1.92vw, 2.31rem);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.help-options__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--help-border);
  border-radius: 18px;
  background: var(--help-white);
  box-shadow: 0 10px 28px rgba(8, 36, 93, 0.06);
}

.help-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: 22px 24px 20px;
  color: inherit;
  text-decoration: none;
  background: var(--help-white);
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.help-card + .help-card {
  border-left: 1px solid var(--help-border);
}

.help-card::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--help-rule), var(--help-cyan));
  transition:
    opacity 200ms ease,
    transform 240ms ease;
}

.help-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 152, 232, 0.05),
    rgba(44, 203, 211, 0.012)
  );
  transition: opacity 200ms ease;
}

.help-card__content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.help-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  color: var(--help-blue);
  background: var(--help-icon-bg);
  transition:
    background-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.help-card__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.help-card__title {
  margin: 0 0 6px;
  color: var(--help-navy);
  font-size: clamp(16px, 1.1vw, 18px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.help-card__description {
  max-width: 360px;
  margin: 0 0 14px;
  color: var(--help-copy);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.help-card__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--help-blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.help-card__arrow {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 200ms ease;
}

.help-card:hover,
.help-card:focus-visible {
  z-index: 1;
  outline: none;
  background: var(--help-hover-bg);
  box-shadow: inset 0 0 0 1px rgba(16, 152, 232, 0.05);
}

.help-card:hover::before,
.help-card:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.help-card:hover::after,
.help-card:focus-visible::after {
  opacity: 1;
}

.help-card:hover .help-card__icon,
.help-card:focus-visible .help-card__icon {
  background: var(--help-white);
  box-shadow: 0 8px 18px rgba(8, 36, 93, 0.08);
  transform: translateY(-1px);
}

.help-card:hover .help-card__arrow,
.help-card:focus-visible .help-card__arrow {
  transform: translateX(3px);
}

@media (max-width: 980px) {
  .help-options__grid {
    grid-template-columns: 1fr;
  }

  .help-card {
    padding: 20px 22px;
  }

  .help-card + .help-card {
    border-top: 1px solid var(--help-border);
    border-left: 0;
  }

  .help-card__description {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .help-options__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .help-options {
    padding: 36px 0;
  }

  .help-options__header {
    margin-bottom: 20px;
  }

  .help-options__eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .help-options__rule {
    width: 30px;
    margin-bottom: 10px;
  }

  .help-options__title {
    font-size: 20px;
  }

  .help-options__grid {
    border-radius: 14px;
  }

  .help-card {
    padding: 18px 16px;
  }

  .help-card__icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .help-card__title {
    font-size: 16px;
  }

  .help-card__description {
    font-size: 13.5px;
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-card,
  .help-card::before,
  .help-card::after,
  .help-card__icon,
  .help-card__arrow {
    transition: none;
  }
}
