:root {
  --hg-bg: #ffffff;
  --hg-surface: #f5f7fa;
  --hg-ink: #172033;
  --hg-muted: #667085;
  --hg-night: #07111f;
  --hg-blue: #177ddc;
  --hg-blue-dark: #1269b3;
  --hg-yellow: #f3c623;
  --hg-border: #d8dee8;
  --hg-radius: 18px;
  --hg-shadow: 0 14px 40px rgba(7, 17, 31, 0.08);
  --hg-container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hg-bg);
  color: var(--hg-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--hg-blue-dark); }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.container { width: min(calc(100% - 32px), var(--hg-container)); margin-inline: auto; }
.section { padding: 72px 0; }
.section--muted { background: var(--hg-surface); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--hg-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(7, 17, 31, .96);
  backdrop-filter: blur(12px);
}
.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.site-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: .02em;
}
.custom-logo { max-height: 52px; width: auto; }
.site-nav__menu { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.site-nav a { color: #fff; text-decoration: none; font-weight: 650; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--hg-yellow); }
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(23,125,220,.28), transparent 26%),
    linear-gradient(135deg, #07111f 0%, #0a203a 58%, #07111f 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -55% 35%;
  height: 420px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  transform: rotate(-8deg);
}
.hero__inner { position: relative; z-index: 1; padding: 110px 0 120px; }
.hero h1 { max-width: 850px; margin: 0; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.hero__lead { max-width: 750px; margin: 28px 0 34px; color: #d9e2ef; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-search { display: flex; max-width: 760px; padding: 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #fff; box-shadow: var(--hg-shadow); }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 13px 14px; outline: 0; color: var(--hg-ink); }
.hero-search button { border: 0; border-radius: 11px; background: var(--hg-yellow); color: #1a1a1a; padding: 12px 22px; font-weight: 850; cursor: pointer; }
.section-heading { max-width: 800px; margin-bottom: 32px; }
.section-heading h2, .archive-header h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; }
.feature-grid, .content-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.feature-card, .content-card { border: 1px solid var(--hg-border); border-radius: var(--hg-radius); background: #fff; padding: 28px; box-shadow: var(--hg-shadow); }
.feature-card h3, .content-card__title { margin-top: 0; }
.content-card__title a { color: var(--hg-ink); text-decoration: none; }
.site-footer { background: var(--hg-night); color: #d9e2ef; padding: 36px 0; }
.site-footer p { margin-bottom: 0; color: #9fb0c5; }
.site-footer a { color: #fff; }
.prose { max-width: 900px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  clip: auto !important;
  width: auto; height: auto;
  top: 8px; left: 8px;
  z-index: 99999;
  padding: 10px 14px;
  background: #fff;
  color: var(--hg-night);
}
:focus-visible { outline: 3px solid var(--hg-yellow); outline-offset: 3px; }
@media (max-width: 820px) {
  .site-header { position: static; }
  .site-header__inner, .site-footer__inner { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .site-nav__menu { gap: 12px 18px; }
  .hero__inner { padding: 76px 0 86px; }
  .feature-grid, .content-grid { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
  .hero-search button { width: 100%; }
  .section { padding: 52px 0; }
}
