@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --hf-bg: #f1f5f9;
  --hf-surface: #ffffff;
  --hf-ink: #0f172a;
  --hf-muted: #64748b;
  --hf-border: #dbe3ec;
  --hf-primary: #2563eb;
  --hf-primary-dark: #1d4ed8;
  --hf-primary-soft: #eff6ff;
  --hf-nav-bg: #1e3a8a;
  --hf-radius: 16px;
  --hf-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }

body.hf-site {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--hf-ink);
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 28rem),
    var(--hf-bg);
  min-height: 100vh;
}

.hf-dev-banner {
  background: #fbbf24;
  color: #78350f;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
}

.hf-site-header {
  background: var(--hf-surface);
  border-bottom: 1px solid var(--hf-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hf-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.hf-site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hf-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--hf-ink);
  font-weight: 800;
  font-size: 1.15rem;
}

.hf-brand--footer {
  color: #fff;
}

.hf-site-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hf-hero {
  padding: 4.5rem 0 3rem;
}

.hf-hero__eyebrow {
  color: var(--hf-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.hf-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hf-hero__lead {
  font-size: 1.125rem;
  color: var(--hf-muted);
  max-width: 36rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  margin-left: auto;
  margin-right: auto;
}

.hf-hero__content {
  max-width: 42rem;
  margin: 0 auto;
}

.hf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hf-section {
  padding: 4rem 0;
}

.hf-section--muted {
  background: rgba(255, 255, 255, 0.55);
}

.hf-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0;
}

.hf-feature-card {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  padding: 1.5rem;
  height: 100%;
  box-shadow: var(--hf-shadow);
}

.hf-feature-card__icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.hf-feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hf-feature-card__text {
  color: var(--hf-muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.hf-faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hf-faq__item {
  background: var(--hf-surface);
  border: 1px solid var(--hf-border);
  border-radius: var(--hf-radius);
  overflow: hidden;
  box-shadow: var(--hf-shadow);
}

.hf-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.hf-faq__question::-webkit-details-marker {
  display: none;
}

.hf-faq__question::after {
  content: '+';
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--hf-primary-soft);
  color: var(--hf-primary-dark);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.hf-faq__item[open] > .hf-faq__question {
  background: var(--hf-primary-soft);
  color: var(--hf-primary-dark);
}

.hf-faq__item[open] > .hf-faq__question::after {
  content: '−';
  background: var(--hf-primary);
  color: #fff;
}

.hf-faq__answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--hf-muted);
  line-height: 1.6;
}

.hf-faq__answer a {
  color: var(--hf-primary-dark);
  font-weight: 600;
}

.hf-cta-band {
  background: linear-gradient(135deg, var(--hf-nav-bg), var(--hf-primary));
  color: #fff;
  padding: 4rem 0;
}

.hf-cta-band__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.hf-cta-band__lead {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hf-site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3rem 0 2rem;
}

.hf-site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.hf-site-footer a:hover {
  color: #fff;
}

.hf-site-footer__heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.hf-site-footer__tagline {
  color: #94a3b8;
  font-size: 0.95rem;
}

.hf-site-footer__copy {
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1.5rem;
}

.hf-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 2.25rem;
  padding: 0 0.2rem;
  margin: 0;
  border-radius: 999px;
  background: var(--hf-primary-soft);
  border: 1px solid var(--hf-border);
  box-sizing: border-box;
}

.hf-lang-switch--header {
  flex-shrink: 0;
}

.hf-lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  color: var(--hf-muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.hf-lang-switch__link:hover {
  color: var(--hf-primary-dark);
  background: rgba(37, 99, 235, 0.08);
}

.hf-lang-switch__link.is-active {
  color: #fff;
  background: var(--hf-primary);
}

.hf-site-footer .hf-lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.25);
}

.hf-site-footer .hf-lang-switch__link {
  color: rgba(226, 232, 240, 0.82);
}

.hf-site-footer .hf-lang-switch__link.is-active {
  color: var(--hf-nav-bg);
  background: #fff;
}

.btn-primary {
  --bs-btn-bg: var(--hf-primary);
  --bs-btn-border-color: var(--hf-primary);
  --bs-btn-hover-bg: var(--hf-primary-dark);
  --bs-btn-hover-border-color: var(--hf-primary-dark);
}

.btn-outline-primary {
  --bs-btn-color: var(--hf-primary-dark);
  --bs-btn-border-color: var(--hf-primary);
  --bs-btn-hover-bg: var(--hf-primary-soft);
  --bs-btn-hover-border-color: var(--hf-primary);
  --bs-btn-hover-color: var(--hf-primary-dark);
}

@media (max-width: 767.98px) {
  .hf-hero {
    padding-top: 2.5rem;
  }

  .hf-hero__actions .btn {
    width: 100%;
  }

  .hf-site-header__actions {
    width: 100%;
    justify-content: space-between;
  }

  .hf-site-nav {
    flex: 1;
    justify-content: flex-end;
  }
}
