/* Isolation + local chrome for /enterprise. Vendor utilities live in landings.css. */

.hf-enterprise-scope {
  --font-inter: inherit;
  --font-space-grotesk: inherit;
  --font-space-mono: var(--font-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --hf-type-family-grotesk: inherit;
  --hf-type-family-primary: inherit;
  --hf-type-family-secondary: inherit;
  --qc-type-family-grotesk: inherit;
  --qc-type-family-primary: inherit;
  --qc-type-family-secondary: inherit;
  --spacing: 0.25rem;
  background: #000;
  color: #fff;
  min-height: 100svh;
  font-family: Inter, -apple-system, "PingFang SC", sans-serif;
}

.hf-enterprise-scope .font-grotesk,
.hf-enterprise-scope .font-grotesk\! {
  font-family: inherit;
}

/* Public-site type scale: homepage / partner / FAQ, not vendor display type. */
.hf-enterprise-scope .hf-type-h1,
.hf-enterprise-scope .hf-hero-title {
  font-family: Inter, -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: none;
  font-feature-settings: normal;
}

.hf-enterprise-scope .hf-hero-title {
  white-space: nowrap;
}

.hf-enterprise-scope .hf-contact-title,
.hf-enterprise-scope .hf-section-title {
  font-family: Inter, -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #fff;
  text-transform: none;
  font-feature-settings: normal;
}

.hf-enterprise-scope .hf-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12.5rem;
  height: 3.25rem;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 0.875rem;
  background: #fff;
  color: #000;
  font-family: Inter, -apple-system, "PingFang SC", sans-serif;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.hf-enterprise-scope .hf-hero-cta:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.hf-enterprise-scope .hf-hero-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.hf-enterprise-scope .hf-type-h2 {
  font-family: Inter, -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(1.75rem, 2.4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-transform: none;
  font-feature-settings: normal;
}

.hf-enterprise-scope .hf-type-h3 {
  font-family: Inter, -apple-system, "PingFang SC", sans-serif;
  font-size: clamp(1.125rem, 1.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-transform: none;
  font-feature-settings: normal;
}

.hf-enterprise-scope .hf-type-lead {
  font-size: clamp(1rem, 1.05vw, 1.125rem);
  line-height: 1.55;
  font-weight: 400;
}

.hf-enterprise-scope .hf-type-body {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
}

.hf-enterprise-scope .hf-type-muted {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 400;
}

.hf-enterprise-scope .hf-type-kicker {
  font-size: 0.875rem;
  line-height: 1.25;
  font-weight: 600;
}

.hf-enterprise-hero-media,
.hf-enterprise-hero-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hf-enterprise-hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hf-enterprise-scope .hf-select-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 16rem;
  overflow: auto;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, white 10%, transparent);
  background: #161616;
  padding: 0.25rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hf-enterprise-scope .hf-select-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: inherit;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}

.hf-enterprise-scope .hf-select-option:hover,
.hf-enterprise-scope .hf-select-option[data-active="true"] {
  background: rgba(255, 255, 255, 0.08);
}

.hf-enterprise-scope a.q-button {
  text-decoration: none;
}

@keyframes enterprise-contact-partners-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hf-enterprise-scope .hf-bento-mark {
  width: min(58%, 11rem);
  height: auto;
  color: rgba(234, 217, 163, 0.82);
}

.hf-enterprise-scope .hf-bento-stroke,
.hf-enterprise-scope .hf-bento-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hf-enterprise-scope .hf-bento-ring {
  stroke-dasharray: 18 10;
  animation: hf-bento-spin 12s linear infinite;
  transform-origin: 80px 80px;
}

.hf-enterprise-scope .hf-bento-ring-delay {
  animation-duration: 18s;
  animation-direction: reverse;
  opacity: 0.55;
}

.hf-enterprise-scope .hf-bento-dot {
  fill: currentColor;
}

.hf-enterprise-scope .hf-bento-pulse {
  transform-origin: center;
  animation: hf-bento-pulse 2.4s ease-in-out infinite;
}

.hf-enterprise-scope .hf-bento-draw {
  stroke-dasharray: 80;
  stroke-dashoffset: 16;
  animation: hf-bento-draw 3.2s ease-in-out infinite alternate;
}

.hf-enterprise-scope .hf-bento-card:hover .hf-bento-mark {
  color: #ead9a3;
}

@keyframes hf-bento-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hf-bento-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes hf-bento-draw {
  from { stroke-dashoffset: 64; }
  to { stroke-dashoffset: 0; }
}

.hf-enterprise-use-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #111;
}

.hf-enterprise-feature-stage {
  background:
    radial-gradient(80% 70% at 50% 0%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #1a1a1a, #0a0a0a);
}

.hf-enterprise-workspace-stage {
  background:
    radial-gradient(60% 80% at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, #161616, #0a0a0a);
}

@media (prefers-reduced-motion: reduce) {
  .hf-enterprise-scope video {
    display: none;
  }

  .hf-enterprise-scope .hf-bento-ring,
  .hf-enterprise-scope .hf-bento-ring-delay,
  .hf-enterprise-scope .hf-bento-pulse,
  .hf-enterprise-scope .hf-bento-draw {
    animation: none;
  }
}
