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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0b1120 0, #020617 40%, #020617);
  color: #0f172a;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.ht-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ht-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}

.ht-header__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ht-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ht-logo__mark {
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ht-logo__text {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

.ht-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.9rem;
}

.ht-nav__link {
  position: relative;
  text-decoration: none;
  color: #9ca3af;
  padding: 6px 0;
}

.ht-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #22c55e);
  transition: width 0.18s ease;
}

.ht-nav__link:hover {
  color: #f9fafb;
}

.ht-nav__link:hover::after {
  width: 100%;
}

.ht-main {
  flex: 1 0 auto;
}

.ht-hero {
  padding: 52px 0 40px;
}

.ht-hero__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.ht-hero__content {
  color: #e5e7eb;
  display: grid;
  gap: 14px;
}

.ht-hero__eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a5b4fc;
}

.ht-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 3.1vw, 2.5rem);
  line-height: 1.35;
}

.ht-hero__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #d1d5db;
}

.ht-hero__lead strong {
  color: #f97316;
  font-weight: 600;
}

.ht-hero__actions {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ht-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.ht-btn--primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #020617;
  box-shadow: 0 14px 38px rgba(56, 189, 248, 0.35);
}

.ht-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(56, 189, 248, 0.45);
}

.ht-btn--ghost {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.ht-btn--ghost:hover {
  background: rgba(15, 23, 42, 0.96);
}

.ht-hero__visual {
  border-radius: 24px;
  background: radial-gradient(circle at top, #1d4ed8 0, #020617 55%);
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
  padding: 16px 16px 18px;
}

.ht-hero-figure__image {
  border-radius: 16px;
  border: 1px solid rgba(129, 140, 248, 0.9);
}

.ht-hero-figure__caption {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: #e5e7eb;
  line-height: 1.7;
}

.ht-section {
  padding: 40px 0;
}

.ht-section--alt {
  background: #020617;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

.ht-section__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.ht-section-head {
  max-width: 760px;
  margin-bottom: 22px;
  color: #e5e7eb;
}

.ht-section-head__title {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.ht-section-head__subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: #cbd5f5;
  line-height: 1.8;
}

.ht-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ht-card {
  padding: 14px 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.ht-card__title {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #e5e7eb;
}

.ht-card__text {
  margin: 0;
  font-size: 0.88rem;
  color: #cbd5f5;
  line-height: 1.8;
}

.ht-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ht-link-card {
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.ht-link-card__title {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.ht-link-card__title a {
  text-decoration: none;
  color: #e5e7eb;
}

.ht-link-card__title a:hover {
  color: #38bdf8;
}

.ht-link-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: #cbd5f5;
  line-height: 1.8;
}

.ht-page-main {
  flex: 1 0 auto;
}

.ht-page-hero {
  padding: 48px 0 26px;
  background: #020617;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.ht-page-hero__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.ht-page-hero__title {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: #e5e7eb;
}

.ht-page-hero__subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: #cbd5f5;
  line-height: 1.8;
  max-width: 780px;
}

.ht-page-body {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 20px 42px;
}

.ht-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ht-page-list {
  display: grid;
  gap: 12px;
}

.ht-page-card {
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.ht-page-card__title {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: #e5e7eb;
}

.ht-page-card__title a {
  text-decoration: none;
  color: inherit;
}

.ht-page-card__title a:hover {
  color: #38bdf8;
}

.ht-page-card__text {
  margin: 0;
  font-size: 0.86rem;
  color: #cbd5f5;
  line-height: 1.8;
}

.ht-article {
  max-width: 780px;
}

.ht-article__image {
  border-radius: 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  margin-bottom: 14px;
}

.ht-article__p {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: #cbd5f5;
  line-height: 1.9;
}

.ht-article__p strong {
  color: #fbbf24;
  font-weight: 600;
}

.ht-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
}

.ht-two-col__block {
  font-size: 0.94rem;
  color: #cbd5f5;
  line-height: 1.9;
}

.ht-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.9);
  font-size: 0.84rem;
  color: #bfdbfe;
}

.ht-footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: #020617;
}

.ht-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 20px 18px;
}

.ht-footer__line {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.ht-footer__line + .ht-footer__line {
  margin-top: 4px;
}

.ht-footer__line--muted {
  color: #6b7280;
}

@media (max-width: 900px) {
  .ht-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .ht-hero__visual {
    order: -1;
  }

  .ht-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ht-two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .ht-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .ht-nav {
    justify-content: center;
  }

  .ht-hero {
    padding-top: 40px;
  }

  .ht-columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .ht-link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ht-page-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

