/* Shared homepage-style header, isolated from page-specific styles. */
/* Clip horizontal overflow without creating an ancestor scroll container:
   overflow-x:hidden on body otherwise prevents the masthead from sticking. */
html, body { overflow-x: clip; }

.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 2px solid transparent;
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  transition: background .16s, border-color .16s, color .16s;
}
.hs-button .hs-icon { width: 18px; height: 18px; }
.hs-button-blue { background: var(--blue); color: white; }
.hs-button-blue:hover { background: var(--blue-hover); }
.hs-button-black { background: var(--black); color: #fff; }
.hs-button-black:hover { background: #2a2a2a; }
.hs-button-outline { background: transparent; border: 1.5px solid var(--black); color: var(--black); }
.hs-button-outline:hover { background: var(--black); color: #fff; }

/* Masthead & Boxed Header */
.hs-masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yellow);
  padding: 16px 0;
  transition: padding .2s ease, box-shadow .2s ease;
}
.hs-masthead.is-scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.hs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 3px solid var(--black);
  background: var(--yellow);
  padding: 8px 12px;
  min-height: 58px;
  gap: 16px;
}
.hs-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -0.6px;
  flex-shrink: 0;
}
.hs-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--black);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}
.hs-desktop-nav {
  flex: 1;
  display: flex;
  gap: 28px;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.hs-desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--black);
}
.hs-desktop-nav a:hover::after,
.hs-nav-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 4.5px;
  background: var(--blue);
  left: -2px;
  right: -2px;
}
.hs-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.hs-header .hs-button {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  border-width: 2.5px;
}
.hs-header .hs-header-extension {
  padding-inline: 13px;
  background: var(--blue);
  color: #fff;
  border: 2.5px solid var(--blue);
}
.hs-header .hs-header-extension:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}
.hs-header .hs-login-button {
  border: 2.5px solid var(--black);
  background: transparent;
  color: var(--black);
}
.hs-header .hs-login-button:hover {
  background: var(--black);
  color: #fff;
}
.hs-header .hs-try-button {
  position: relative;
  background: var(--black);
  color: #fff;
  border: 2.5px solid var(--black);
  padding-inline: 18px;
  overflow: hidden;
  z-index: 1;
  transition: color .25s ease;
}
.hs-header .hs-try-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 380%;
  background: var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform .32s cubic-bezier(.22, .8, .3, 1);
  z-index: -1;
}
.hs-header .hs-try-button:hover {
  color: #fff;
  background: var(--black);
  border-color: var(--black);
}
.hs-header .hs-try-button:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
.hs-menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.hs-mobile-nav,  .hs-mobile-extension-link { display: none; }


.hs-container {width:min(1200px,calc(100% - 48px));margin-inline:auto;}

.hs-icon {width:22px;height:22px;flex-shrink:0;fill:currentColor;stroke:none;}

@media(max-width:1100px){  .hs-brand { font-size: 18px; }
  .hs-desktop-nav { gap: 18px; }
  .hs-header .hs-button { padding-inline: 10px; }
}
@media (max-width: 800px) {
  .hs-container { width: calc(100% - 32px); max-width: 100%; }
  .hs-desktop-nav { display: none; }
  .hs-header-extension { display: none !important; }
  .hs-menu-toggle { display: block; }
  .hs-header-actions { gap: 8px; }
  .hs-header .hs-login-button { display: none; }
  .hs-header {
    border: 2.5px solid var(--black);
    padding: 8px 12px;
    min-height: 52px;
  }
  .hs-header .hs-try-button {
    padding: 6px 14px;
    font-size: 11.5px;
    min-height: 36px;
  }
  .hs-masthead { padding: 10px 0; }
  .hs-masthead.is-scrolled { padding: 6px 0; }
  .hs-mobile-nav:not([hidden]) {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
  }
  .hs-mobile-nav a {
    padding: 10px 4px;
    border-bottom: 1px solid #aaa45b;
    font-size: 14px;
  }
}
@media (max-width: 560px) {
  .hs-container { width: calc(100% - 32px); }
  .hs-masthead { padding: 8px 0; }
  .hs-masthead.is-scrolled { padding: 6px 0; }
  .hs-header {
    border: 2px solid var(--black);
    min-height: 48px;
    padding: 6px 10px;
  }
  .hs-brand { font-size: 16px; gap: 6px; }
  .hs-brand-mark { width: 22px; height: 22px; font-size: 13px; }
  .hs-header .hs-try-button {
    padding: 5px 10px;
    font-size: 10.5px;
    min-height: 32px;
    border-width: 2px;
  }
  .hs-menu-toggle { padding: 4px; }
  .hs-menu-toggle .hs-icon { width: 22px; height: 22px; }

}

.hs-masthead {--yellow:#fff56b;--black:#111;--blue:#0756ff;--blue-hover:#0045d4;color:#111;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.45;}
.hs-masthead a {text-decoration:none;}
.hs-masthead button {font-family:inherit;border-radius:0;cursor:pointer;}
.hs-masthead [hidden] {display:none!important;}
.hs-mobile-nav button {text-align:left;background:none;border:0;border-bottom:1px solid #aaa45b;padding:10px 4px;font-size:14px;font-weight:400;color:#111;}
.hs-masthead a:focus-visible,.hs-masthead button:focus-visible {outline:3px solid #0756ff;outline-offset:3px;}
