/* Partner panel — the "run the business in your state" box.
 *
 * Standalone and hand-written (no Tailwind build): the markup in
 * templates/includes/partner_box.html uses only .c-partner* classes, so this
 * file can be dropped onto any page that wants the panel. It defines its own
 * tokens rather than inheriting them from the careers wrapper, and takes only
 * --brand, which base.html injects globally from SiteSettings.
 *
 * Used by: templates/careers/hub.html, templates/pages/about.html
 */
.c-partner {
  --cp-ink: #0f1b17;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--cp-ink);
  color: #fff;
  padding: 34px 30px;
}
@media (min-width: 768px) {
  .c-partner { padding: 44px 46px; }
}

/* One soft brand wash, top-right. Decoration earns its place here by making
 * the panel read as a distinct offer rather than a plain dark rectangle. */
.c-partner::after {
  content: "";
  position: absolute;
  top: -140px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle,
              color-mix(in srgb, var(--brand) 42%, transparent) 0%,
              transparent 68%);
  pointer-events: none;
}
.c-partner > * { position: relative; z-index: 1; }

.c-partner__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand) 55%, #fff);
}
.c-partner__title {
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  margin-top: 10px;
  text-wrap: balance;
}
.c-partner__body {
  margin-top: 14px;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: #c9d4d0;
}
.c-partner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 13px 26px;
  border-radius: 10px;
  background: #fff;
  color: var(--cp-ink);
  font-size: 14px;
  font-weight: 700;
  transition: transform .16s ease, box-shadow .16s ease;
}
.c-partner__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6);
}

/* The three facts that actually decide whether this is for you. */
.c-partner__facts {
  display: grid;
  gap: 18px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
@media (min-width: 640px) {
  .c-partner__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
}
.c-partner__fact-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand) 50%, #fff);
  margin-bottom: 4px;
}
.c-partner__fact-value { font-size: 14.5px; line-height: 1.5; color: #e8eeec; }

@media (prefers-reduced-motion: reduce) {
  .c-partner__cta:hover { transform: none; }
}
