@import url('data:text/css,');

:root {
  --hu-bg-primary: #050A10;
  --hu-bg-secondary: #06070A;
  --hu-bg-card: #0D1C2B;
  --hu-bg-elevated: rgba(255,255,255,0.08);
  --hu-border: rgba(255,255,255,0.12);
  --hu-border-strong: rgba(255,255,255,0.20);
  --hu-accent: #5EA9FF;
  --hu-accent-hover: #79B7FF;
  --hu-accent-active: #4B87CC;
  --hu-text-primary: #F6F7F0;
  --hu-text-secondary: #7E7E7E;
  --hu-text-muted: rgba(246,247,240,0.6);
  --hu-font: "Waldenburg", -apple-system, system-ui, sans-serif;
  --hu-radius: 0.75rem;
  --hu-radius-sm: 0.5rem;
  --hu-radius-full: 9999px;
}

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

.hu-page {
  background: linear-gradient(180deg, #050A10 28.85%, #254A76 165.02%);
  min-height: 100vh;
  font-family: var(--hu-font);
  color: var(--hu-text-primary);
  overflow-x: hidden;
}

.hu-page a {
  color: var(--hu-text-primary);
  text-decoration: none;
  transition: color 150ms cubic-bezier(0.4,0,0.2,1);
}

.hu-page a:hover {
  color: var(--hu-accent-hover);
  cursor: pointer;
}

.hu-page a:active {
  color: var(--hu-accent-active);
}

/* ── Header ── */

.hu-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background: #020000;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
  height: 5.375rem;
  padding: 0.75rem 1rem;
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hu-header {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.hu-header__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  height: 1.25rem;
}

.hu-header__logo img {
  height: 1.75rem;
  cursor: pointer;
  display: block;
}

.hu-header__nav {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.hu-header__nav-link {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1;
  font-family: var(--hu-font);
  color: var(--hu-text-primary);
  transition: color 150ms cubic-bezier(0.4,0,0.2,1);
}

.hu-header__nav-link:hover {
  color: var(--hu-accent-hover);
}

.hu-header__nav-link--active {
  color: var(--hu-accent);
}

.hu-header__btn {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  border: none;
  background: #5EA9FF;
  color: #0D1C2B;
  cursor: pointer;
  transition: background-color 150ms cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.hu-header__btn:hover {
  background: #79B7FF;
}

.hu-header__btn:active {
  background: #4B87CC;
}

/* ── Main layout wrapper ── */

.hu-main {
  width: 100%;
  max-width: 67rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hu-main {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* ── Divider ── */

.hu-divider {
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: none;
  flex-shrink: 0;
}

/* ── Page heading block ── */

.hu-page-header {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0 0.75rem;
}

.hu-page-title {
  font-family: var(--hu-font);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--hu-text-primary);
  line-height: 1.25;
  margin: 0;
}

.hu-page-subtitle {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--hu-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ── Card base ── */

.hu-card {
  background: var(--hu-bg-secondary);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 150ms cubic-bezier(0.4,0,0.2,1);
}

.hu-card:hover {
  border-color: var(--hu-border-strong);
}

.hu-card--flat {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.hu-card--accent {
  border-color: rgba(94,169,255,0.3);
  background: rgba(94,169,255,0.04);
}

/* ── Section label ── */

.hu-section-label {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hu-text-secondary);
  text-transform: capitalize;
  letter-spacing: 0;
  margin: 0 0 0.5rem 0;
  padding: 0 0.5rem;
}

/* ── Q&A list (knowledge page) ── */

.hu-qa-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.hu-qa-item {
  background: var(--hu-bg-secondary);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius);
  overflow: hidden;
  transition: border-color 150ms cubic-bezier(0.4,0,0.2,1);
  max-width: 100%;
}

.hu-qa-item:hover {
  border-color: var(--hu-border-strong);
}

.hu-qa-question {
  font-family: var(--hu-font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--hu-text-primary);
  margin: 0;
  padding: 1.25rem 1.5rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--hu-border);
  background: rgba(255,255,255,0.04);
}

.hu-qa-answer {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--hu-text-muted);
  margin: 0;
  padding: 1.25rem 1.5rem;
  line-height: 1.7;
}

.hu-qa-answer a {
  color: var(--hu-accent);
  text-decoration: underline;
}

.hu-qa-answer a:hover {
  color: var(--hu-accent-hover);
}

/* ── Info sections ── */

.hu-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.hu-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hu-section-heading {
  font-family: var(--hu-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--hu-text-primary);
  margin: 0;
  padding: 0 0.5rem;
  line-height: 1.3;
}

.hu-section-body {
  background: var(--hu-bg-secondary);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hu-section-body p {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--hu-text-muted);
  margin: 0;
  line-height: 1.7;
}

.hu-section-body p a {
  color: var(--hu-accent);
  text-decoration: underline;
}

.hu-section-body p a:hover {
  color: var(--hu-accent-hover);
}

.hu-section-body strong {
  color: var(--hu-text-primary);
  font-weight: 600;
}

/* ── Feature list ── */

.hu-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hu-feature-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--hu-radius-sm);
}

.hu-feature-item::before {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--hu-accent);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.hu-feature-item__text {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--hu-text-muted);
  line-height: 1.6;
  margin: 0;
}

.hu-feature-item__text strong {
  color: var(--hu-text-primary);
  font-weight: 600;
}

/* ── Stat grid (optional use) ── */

.hu-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hu-stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hu-stat-card {
  background: var(--hu-bg-secondary);
  border: 1px solid var(--hu-border);
  border-radius: var(--hu-radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: center;
}

.hu-stat-value {
  font-family: var(--hu-font);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--hu-accent);
  line-height: 1.2;
  margin: 0;
}

.hu-stat-label {
  font-family: var(--hu-font);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--hu-text-secondary);
  line-height: 1.3;
  margin: 0;
}

/* ── Breadcrumb ── */

.hu-breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.75rem;
  flex-wrap: wrap;
}

.hu-breadcrumb__item {
  font-family: var(--hu-font);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--hu-text-secondary);
  line-height: 1;
}

.hu-breadcrumb__item a {
  color: var(--hu-text-secondary);
  transition: color 150ms cubic-bezier(0.4,0,0.2,1);
}

.hu-breadcrumb__item a:hover {
  color: var(--hu-accent-hover);
}

.hu-breadcrumb__sep {
  color: var(--hu-text-secondary);
  font-size: 0.75rem;
  opacity: 0.5;
  user-select: none;
}

.hu-breadcrumb__item--current {
  color: var(--hu-text-primary);
}

/* ── Bottom nav / action row ── */

.hu-page-footer-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.hu-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  border: none;
  background: #5EA9FF;
  color: #0D1C2B;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 150ms cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.hu-back-btn:hover {
  background: #79B7FF;
  color: #0D1C2B;
}

.hu-back-btn:active {
  background: #4B87CC;
  color: #0D1C2B;
}

.hu-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255,255,255,0.20);
  background: transparent;
  color: var(--hu-text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 150ms cubic-bezier(0.4,0,0.2,1), background-color 150ms cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}

.hu-ghost-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.30);
  color: var(--hu-accent-hover);
}

.hu-ghost-btn:active {
  background: rgba(255,255,255,0.12);
}

/* ── Internal nav links row ── */

.hu-nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0 0.75rem;
}

.hu-nav-link {
  font-family: var(--hu-font);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--hu-text-secondary);
  transition: color 150ms cubic-bezier(0.4,0,0.2,1);
  line-height: 1;
  text-decoration: none;
}

.hu-nav-link:hover {
  color: var(--hu-accent-hover);
}

.hu-nav-link--active {
  color: var(--hu-text-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--hu-accent);
  padding-bottom: 0.125rem;
}

/* ── Inline highlight ── */

.hu-highlight {
  color: var(--hu-accent);
}

/* ── Tag / badge ── */

.hu-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--hu-font);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--hu-radius-full);
  background: rgba(94,169,255,0.12);
  color: var(--hu-accent);
  white-space: nowrap;
}

/* ── Responsive overflow guard ── */

.hu-page,
.hu-main,
.hu-card,
.hu-section-body,
.hu-qa-item,
.hu-qa-list {
  max-width: 100%;
  overflow-x: hidden;
}

/* ── Small screen adjustments ── */

@media (max-width: 639px) {
  .hu-header__nav {
    gap: 1rem;
  }

  .hu-header__nav-link {
    font-size: 0.75rem;
  }

  .hu-page-title {
    font-size: 1.25rem;
  }

  .hu-qa-question {
    padding: 1rem 1rem;
    font-size: 0.9375rem;
  }

  .hu-qa-answer {
    padding: 1rem 1rem;
  }

  .hu-section-body {
    padding: 1rem;
  }

  .hu-card {
    padding: 1rem;
  }

  .hu-page-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hu-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hu-main {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 1.5rem;
  }
}