html,
body {
  margin: 0;
  padding: 0;
}

img {
  height: auto;
  max-width: 100%;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  clip: auto !important;
  clip-path: none;
  color: #0f172a;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 0.5rem;
  line-height: normal;
  padding: 1rem;
  text-decoration: none;
  top: 0.5rem;
  width: auto;
  z-index: 100000;
}

.entry-content p {
  line-height: 1.75;
  margin: 0 0 1rem;
  color: #334155;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #0f172a;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.entry-content ul,
.entry-content ol {
  color: #334155;
  margin: 0 0 1rem 1.25rem;
}

.entry-content a {
  color: #2e308a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hf-form .hf-fields-wrap p {
  margin: 0;
}

.hf-form .hf-fields-wrap label {
  display: block;
  color: #0f172a;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.hf-form input[type="text"],
.hf-form input[type="email"],
.hf-form input[type="url"],
.hf-form input[type="number"],
.hf-form select,
.hf-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hf-form input:focus,
.hf-form select:focus,
.hf-form textarea:focus {
  border-color: #646ec5;
  box-shadow: 0 0 0 2px rgba(100, 110, 197, 0.25);
  outline: none;
}

.hf-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.hf-form small {
  color: #475569;
  display: block;
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 0.5rem;
}

.hf-form input[type="submit"] {
  background: #2e308a;
  border: 0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 20px rgba(46, 48, 138, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.875rem 2.5rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hf-form input[type="submit"]:hover,
.hf-form input[type="submit"]:focus {
  background: #25266e;
  transform: translateY(-1px);
}

.hf-form .hf-message {
  border-radius: 0.75rem;
  font-size: 0.875rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
}

.hs-primary-menu,
.hs-primary-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-primary-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hs-primary-menu > li {
  position: relative;
}

.hs-primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #475569;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 1rem 0;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.hs-primary-menu > li:hover > a,
.hs-primary-menu > li:focus-within > a,
.hs-primary-menu > li.current-menu-item > a,
.hs-primary-menu > li.current-menu-ancestor > a,
.hs-primary-menu > li.current_page_item > a,
.hs-primary-menu > li.current_page_ancestor > a {
  color: #2e308a;
}

.hs-primary-menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #94a3b8;
  transform: translateY(1px);
}

.hs-primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: -2rem;
  width: 16rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 70;
  padding: 1.25rem 1.5rem;
}

.hs-primary-menu li:hover > .sub-menu,
.hs-primary-menu li.hs-open > .sub-menu,
.hs-primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hs-primary-menu .sub-menu li {
  width: auto;
  position: relative;
  margin: 0 0 0.75rem;
}

.hs-primary-menu .sub-menu li:last-child {
  margin-bottom: 0;
}

.hs-primary-menu .sub-menu a {
  display: inline;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  padding: 0;
  white-space: normal;
  transition: color 0.2s ease;
}

.hs-primary-menu .sub-menu a:hover,
.hs-primary-menu .sub-menu a:focus {
  color: #2e308a;
}

.hs-primary-menu .sub-menu .sub-menu {
  top: -0.4rem;
  left: calc(100% - 6px);
}

.hs-mobile-menu-open {
  overflow: hidden;
}

.hs-mobile-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #ffffff;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 2rem;
}

.hs-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hs-mobile-menu,
.hs-mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-mobile-menu > li {
  position: relative;
  border-top: 1px solid #e2e8f0;
}

.hs-mobile-menu > li:last-child {
  border-bottom: 1px solid #e2e8f0;
}

.hs-mobile-menu > li > a {
  display: block;
  color: #334155;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 1rem 2.75rem 1rem 0;
}

.hs-mobile-menu > li.menu-item-has-children > a::after {
  content: none;
}

.hs-mobile-submenu-toggle {
  position: absolute;
  top: 0.85rem;
  right: 0;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease;
}

.hs-mobile-menu li.hs-mobile-open > .hs-mobile-submenu-toggle {
  transform: rotate(180deg);
  color: #2e308a;
}

.hs-mobile-menu .sub-menu {
  display: none;
  padding: 0 0 0.75rem 0.75rem;
}

.hs-mobile-menu li.hs-mobile-open > .sub-menu {
  display: block;
}

.hs-mobile-menu .sub-menu li {
  margin: 0;
}

.hs-mobile-menu .sub-menu a {
  display: block;
  color: #475569;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  padding: 0.55rem 0;
}

@media (min-width: 1024px) {
  .hs-mobile-menu-panel {
    display: none !important;
  }
}

/* Force exact Next color scale from hs-packaging/app/globals.css */
.bg-blue-50 { background-color: #eff0f9 !important; }
.bg-blue-100 { background-color: #e0e2f3 !important; }
.bg-blue-200 { background-color: #c1c5e7 !important; }
.bg-blue-300 { background-color: #a2a8dc !important; }
.bg-blue-400 { background-color: #838bd0 !important; }
.bg-blue-500 { background-color: #646ec5 !important; }
.bg-blue-600 { background-color: #2e308a !important; }
.bg-blue-700 { background-color: #25266e !important; }
.bg-blue-800 { background-color: #1b1d53 !important; }
.bg-blue-900 { background-color: #121337 !important; }
.bg-blue-950 { background-color: #090a1c !important; }

.text-blue-50 { color: #eff0f9 !important; }
.text-blue-100 { color: #e0e2f3 !important; }
.text-blue-200 { color: #c1c5e7 !important; }
.text-blue-300 { color: #a2a8dc !important; }
.text-blue-400 { color: #838bd0 !important; }
.text-blue-500 { color: #646ec5 !important; }
.text-blue-600 { color: #2e308a !important; }
.text-blue-700 { color: #25266e !important; }
.text-blue-800 { color: #1b1d53 !important; }
.text-blue-900 { color: #121337 !important; }
.text-blue-950 { color: #090a1c !important; }

.border-blue-50 { border-color: #eff0f9 !important; }
.border-blue-100 { border-color: #e0e2f3 !important; }
.border-blue-200 { border-color: #c1c5e7 !important; }
.border-blue-300 { border-color: #a2a8dc !important; }
.border-blue-400 { border-color: #838bd0 !important; }
.border-blue-500 { border-color: #646ec5 !important; }
.border-blue-600 { border-color: #2e308a !important; }
.border-blue-700 { border-color: #25266e !important; }
.border-blue-800 { border-color: #1b1d53 !important; }
.border-blue-900 { border-color: #121337 !important; }
.border-blue-950 { border-color: #090a1c !important; }

.hover\:bg-blue-50:hover { background-color: #eff0f9 !important; }
.hover\:bg-blue-600:hover { background-color: #2e308a !important; }
.hover\:bg-blue-700:hover { background-color: #25266e !important; }
.hover\:text-blue-600:hover { color: #2e308a !important; }
