.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 252, .94);
  border-bottom: 1px solid rgba(222, 212, 206, .82);
  backdrop-filter: blur(14px);
}
.lp-header .lp-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}
.lp-header .lp-nav {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.lp-header .lp-logo {
  min-width: 162px;
  display: inline-flex;
  align-items: center;
}
.lp-header .lp-logo img {
  width: 162px;
  height: auto;
  object-fit: contain;
  background: transparent;
}
.lp-header .lp-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #4a433d;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}
.lp-header .lp-links > a {
  position: relative;
  padding: 27px 0;
}
.lp-header .lp-links > a:hover {
  color: #285b3f;
}
.lp-header .lp-mega-menu {
  position: static;
}
.lp-header .lp-mega-menu > summary {
  position: relative;
  min-height: 72px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a433d;
  cursor: pointer;
  list-style: none;
}
.lp-header .lp-mega-menu > summary::-webkit-details-marker { display: none; }
.lp-header .lp-mega-menu > summary > span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.lp-header .lp-mega-menu[open] > summary,
.lp-header .lp-mega-menu.is-active > summary,
.lp-header .lp-mega-menu > summary:hover { color: #285b3f; }
.lp-header .lp-mega-menu > summary:focus-visible,
.lp-header .lp-mega-panel a:focus-visible {
  outline: 3px solid #ffd42a;
  outline-offset: 2px;
}
.lp-header .lp-mega-menu[open] > summary > span { transform: translateY(2px) rotate(225deg); }
.lp-header .lp-mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  z-index: 80;
  max-height: calc(100vh - 73px);
  max-height: calc(100dvh - 73px);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #d9e0dc;
  border-top: 3px solid #2f6fe4;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(20, 35, 29, .18);
  white-space: normal;
}
.lp-header .lp-mega-intro {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  color: #eef7f1;
  background: #153c2c;
}
.lp-header .lp-mega-intro-copy { display: grid; gap: 4px; }
.lp-header .lp-mega-intro small {
  color: #8fc5a7;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lp-header .lp-mega-intro strong { font-size: 19px; letter-spacing: -.02em; }
.lp-header .lp-mega-tabs {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
}
.lp-header .lp-mega-tab {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  color: rgba(255, 255, 255, .78);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}
.lp-header .lp-mega-tab > span {
  min-width: 20px;
  min-height: 20px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, .12);
  font-size: 10px;
}
.lp-header .lp-mega-tab:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lp-header .lp-mega-tab[aria-selected="true"] {
  color: #153c2c;
  background: #fff;
  box-shadow: 0 7px 18px rgba(5, 20, 14, .18);
}
.lp-header .lp-mega-tab[aria-selected="true"] > span { color: #2f6fe4; background: #edf4ff; }
.lp-header .lp-mega-tab:focus-visible { outline: 3px solid #ffd42a; outline-offset: 2px; }
.lp-header .lp-mega-tab-panel[hidden] { display: none; }
.lp-header .lp-mega-section-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px 0;
  color: #718078;
  font-size: 11px;
  font-weight: 650;
}
.lp-header .lp-mega-section-head > a {
  flex: 0 0 auto;
  color: #2f6fe4;
  font-weight: 850;
}
.lp-header .lp-mega-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 12px 16px 16px;
}
.lp-header .lp-mega-group { padding: 0 8px; }
.lp-header .lp-mega-group + .lp-mega-group { border-left: 1px solid #e6ebe8; }
.lp-header .lp-mega-group-head {
  display: grid;
  gap: 3px;
  padding: 0 10px 10px;
}
.lp-header .lp-mega-group-head strong {
  color: #1d2923;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.lp-header .lp-mega-group-head span { color: #7a867f; font-size: 11px; }
.lp-header .lp-mega-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 10px;
  transition: background .16s ease, transform .16s ease;
}
.lp-header .lp-mega-item:hover { background: #f1f6f3; transform: translateX(2px); }
.lp-header .lp-mega-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #dce7e1;
  border-radius: 10px;
  color: #2f6fe4;
  background: #f5f9ff;
}
.lp-header .lp-mega-icon svg { width: 18px; height: 18px; stroke-width: 1.8; }
.lp-header .lp-mega-item > span:last-child,
.lp-header .lp-mega-footer a > span:last-child { min-width: 0; display: grid; gap: 3px; }
.lp-header .lp-mega-item strong,
.lp-header .lp-mega-footer strong { color: #243029; font-size: 13px; font-weight: 850; }
.lp-header .lp-mega-item small,
.lp-header .lp-mega-footer small {
  overflow: hidden;
  color: #6e7b74;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
}
.lp-header .lp-mega-widgets {
  padding: 18px 24px 22px;
  background: #fbfcfc;
}
.lp-header .lp-mega-widgets-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}
.lp-header .lp-mega-widgets-head > div { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.lp-header .lp-mega-widgets-head strong {
  color: #1f3027;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.lp-header .lp-mega-widgets-head small { color: #748179; font-size: 11px; font-weight: 550; }
.lp-header .lp-mega-widgets-head > a { color: #2f6fe4; font-size: 11px; font-weight: 850; }
.lp-header .lp-mega-widget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.lp-header .lp-mega-widget-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid #e1e8e4;
  border-radius: 10px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.lp-header .lp-mega-widget-item:hover { border-color: #b8cae9; box-shadow: 0 7px 18px rgba(31, 56, 43, .08); transform: translateY(-1px); }
.lp-header .lp-mega-widget-item .lp-mega-icon { width: 32px; height: 32px; border-radius: 9px; }
.lp-header .lp-mega-widget-item .lp-mega-icon svg { width: 16px; height: 16px; }
.lp-header .lp-mega-widget-item > span:last-child { min-width: 0; display: grid; gap: 1px; }
.lp-header .lp-mega-widget-item strong { color: #243029; font-size: 12px; font-weight: 850; line-height: 1.25; }
.lp-header .lp-mega-widget-item small {
  overflow: hidden;
  display: -webkit-box;
  color: #78847d;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.lp-header .lp-mega-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 24px 16px;
  border-top: 1px solid #e6ebe8;
  background: #f7f9f8;
}
.lp-header .lp-mega-footer > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px;
  border-radius: 10px;
}
.lp-header .lp-mega-footer > a:hover { background: #fff; box-shadow: 0 6px 18px rgba(32, 48, 40, .07); }
.lp-header .lp-resource-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
  padding-left: 12px;
  border-left: 1px solid #ded4ce;
}
.lp-header .lp-resource-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #ded4ce;
  border-radius: 8px;
  color: #4a433d;
  background: rgba(255, 253, 252, .82);
  line-height: 1;
  box-shadow: 0 2px 8px rgba(62, 49, 39, .04);
  transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.lp-header .lp-resource-links svg,
.lp-header .lp-nav-mobile-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.lp-header .lp-resource-documentation svg {
  color: #285b3f;
}
.lp-header .lp-resource-blog svg {
  color: #9a6a00;
}
.lp-header .lp-resource-links a:hover {
  color: #2b2723;
  border-color: #acc3b4;
  background: #fffdfc;
  box-shadow: 0 6px 16px rgba(62, 49, 39, .09);
}
.lp-header .lp-resource-links a.is-active {
  color: #285b3f;
  border-color: #acc3b4;
  background: #eaf1ec;
  box-shadow: 0 4px 12px rgba(40, 91, 63, .1);
}
.lp-header .lp-links .lp-resource-links a.is-active::after {
  display: none;
  content: none;
}
.lp-header .lp-actions {
  margin-left: 4px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.lp-header .lp-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.lp-header .lp-btn:hover { transform: translateY(-1px); }
.lp-header .lp-btn-dark {
  color: #fff;
  background: #193d2b;
  box-shadow: 0 12px 28px rgba(32, 41, 33, .22);
}
.lp-header .lp-btn-dark:hover { background: #202921; }
.lp-header .lp-btn-ghost {
  color: #4a433d;
  border-color: #9b8f86;
  background: #fffdfc;
}
.lp-header .lp-btn-ghost:hover { border-color: #796f68; background: #f5f0ed; }
.lp-header .lp-mobile-copy,
.lp-header .lp-nav-mobile-link { display: none; }
.lp-header .lp-mobile-menu {
  position: relative;
  display: none;
}
.lp-header .lp-mobile-menu > summary {
  min-height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 18px);
  grid-template-rows: repeat(3, 2px);
  align-content: center;
  justify-content: center;
  gap: 4px 0;
  width: 72px;
  border: 1px solid #9b8f86;
  border-radius: 8px;
  color: #4a433d;
  background: #fffdfc;
  cursor: pointer;
  list-style: none;
}
.lp-header .lp-mobile-menu > summary::-webkit-details-marker { display: none; }
.lp-header .lp-mobile-menu > summary > span {
  grid-column: 1 / -1;
  width: 18px;
  height: 2px;
  justify-self: center;
  border-radius: 2px;
  background: currentColor;
}
.lp-header .lp-mobile-menu > summary > b {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.lp-header .lp-mobile-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  width: min(330px, calc(100vw - 28px));
  max-height: calc(100vh - 96px);
  max-height: calc(100dvh - 96px);
  display: grid;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid #ded4ce;
  border-radius: 8px;
  background: #fffdfc;
  box-shadow: 0 20px 50px rgba(62, 49, 39, .18);
}
.lp-header .lp-mobile-menu-panel a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #4a433d;
  font-size: 14px;
  font-weight: 760;
}
.lp-header .lp-mobile-menu-panel a:hover {
  color: #285b3f;
  background: #eaf1ec;
}
.lp-header .lp-mobile-modules { border-bottom: 1px solid #e4e9e6; margin-bottom: 5px; padding-bottom: 5px; }
.lp-header .lp-mobile-modules > summary {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #285b3f;
  background: transparent;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 850;
}
.lp-header .lp-mobile-modules > summary::-webkit-details-marker { display: none; }
.lp-header .lp-mobile-modules > summary:hover { background: #f2f6f3; }
.lp-header .lp-mobile-modules > summary > span {
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  transition: transform .18s ease;
}
.lp-header .lp-mobile-modules[open] > summary span { transform: rotate(45deg); }
.lp-header .lp-mobile-modules > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 2px 4px 7px; }
.lp-header .lp-mobile-menu-panel .lp-mobile-modules a {
  min-height: 40px;
  gap: 8px;
  padding: 0 8px;
  font-size: 12px;
}
.lp-header .lp-mobile-modules a svg { width: 15px; height: 15px; color: #2f6fe4; }
.lp-header .lp-mobile-menu-panel .lp-mobile-all-modules { grid-column: 1 / -1; color: #285b3f; font-weight: 850; }
.lp-header .lp-mobile-widgets > summary { color: #2f6fe4; }

@media (max-width: 1280px) {
  .lp-header .lp-links { display: none; }
  .lp-header .lp-mobile-menu { display: block; margin-left: auto; }
  .lp-header .lp-actions { margin-left: 0; }
}
@media (max-width: 760px) {
  .lp-header .lp-shell { width: auto; margin-right: 14px; margin-left: 14px; }
  .lp-header .lp-nav { min-height: 0; flex-wrap: wrap; column-gap: 0; row-gap: 12px; padding: 14px 0; }
  .lp-header .lp-logo { min-width: 132px; }
  .lp-header .lp-logo img { width: 138px; }
  .lp-header .lp-mobile-menu { margin-left: auto; }
  .lp-header .lp-mobile-menu > summary { width: 48px; }
  .lp-header .lp-mobile-menu-panel { position: fixed; top: 118px; right: 14px; left: 14px; width: auto; max-height: calc(100vh - 132px); max-height: calc(100dvh - 132px); }
  .lp-header .lp-actions { width: 100%; max-width: 100%; flex: 0 0 100%; margin-left: 0; }
  .lp-header .lp-actions .lp-btn { flex: 1 1 0; min-width: 0; padding: 0 9px; font-size: 12px; line-height: 1.2; white-space: normal; text-align: center; }
  .lp-header .lp-desktop-copy { display: none; }
  .lp-header .lp-mobile-copy { display: inline; }
}
@media (max-width: 380px) {
  .lp-header .lp-mobile-modules > div { grid-template-columns: 1fr; }
}
