/* BRIX Templates native runtime baseline.
   Replaces the generic Webflow component CSS removed from migrated pages. */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

:where(.w-inline-block) {
  max-width: 100%;
  display: inline-block;
}

:where(.w-button) {
  line-height: inherit;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  display: inline-block;
}

input {
  -webkit-appearance: none;
}

img {
  -webkit-backface-visibility: hidden;
  -ms-transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Shared BRIX logo hover animation used by header and footer SVG logos. */
.brix-logo-svg {
  overflow: visible;
}

.brix-dot,
.brix-letter,
.brix-text,
.brix-letter-templates {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

:root {
  --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --brix-form-status-success-50: #ecfdf3;
  --brix-form-status-success-100: #d1fadf;
  --brix-form-status-success-600: #099250;
  --brix-form-status-error-50: #fef3f2;
  --brix-form-status-error-100: #fee4e2;
  --brix-form-status-error-600: #d92d20;
  --brix-form-status-shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --brix-form-status-ease: cubic-bezier(.16, 1, .3, 1);
}

.ss {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--new--neutral--color-100);
}

.ss--card {
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--new--neutral--color-300);
  border-radius: 14px;
  box-shadow: var(--brix-form-status-shadow-sm);
}

.ss__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.ss__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  display: block;
}

.ss__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ss__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--new--neutral--color-800);
  letter-spacing: -.005em;
}

.ss__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--new--neutral--color-600);
}

.ss--success .ss__icon {
  background: var(--brix-form-status-success-50);
  color: var(--brix-form-status-success-600);
}

.ss--error .ss__icon {
  background: var(--brix-form-status-error-50);
  color: var(--brix-form-status-error-600);
}

.brix-form-status {
  margin-top: 14px;
}

.ss.ss--card.brix-form-status {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 24px 18px;
  text-align: center;
}

.ss.ss--card.brix-form-status .ss__body {
  align-items: center;
  text-align: center;
}

@keyframes brix-form-reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes brix-form-dismiss {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(8px);
  }
}

.brix-form-reveal {
  animation: brix-form-reveal 1500ms var(--brix-form-status-ease) both;
}

.brix-form-dismiss {
  animation: brix-form-dismiss 650ms var(--brix-form-status-ease) both;
}

@media (prefers-reduced-motion: reduce) {
  .brix-form-reveal,
  .brix-form-dismiss {
    animation-duration: 1ms;
  }
}

.brix-dot {
  transition: transform 0.4s var(--premium-ease);
  transform: translate3d(0, 0, 0);
}

.brix-dot-1 {
  transition-delay: 0s;
}

.brix-dot-2 {
  transition-delay: 0.025s;
}

.brix-dot-3 {
  transition-delay: 0.05s;
}

.brix-dot-4 {
  transition-delay: 0.075s;
}

.brix-dot-5 {
  transition-delay: 0.1s;
}

.brix-dot-6 {
  transition-delay: 0.125s;
}

.brix-logo-svg:hover .brix-dot {
  transform: translate3d(0, -5px, 0);
}

.brix-text {
  transition: opacity 0.5s var(--premium-ease);
  opacity: 1;
}

.brix-logo-svg:hover .brix-text {
  opacity: 0.8;
}

.brix-letter {
  transition: transform 0.5s var(--premium-ease);
  transform: translate3d(0, 0, 0);
}

.brix-logo-svg:hover .brix-letter-b {
  transform: translate3d(0, 0, 0);
}

.brix-logo-svg:hover .brix-letter-r {
  transform: translate3d(1.5px, 0, 0);
}

.brix-logo-svg:hover .brix-letter-i {
  transform: translate3d(3px, 0, 0);
}

.brix-logo-svg:hover .brix-letter-x {
  transform: translate3d(4.5px, 0, 0);
}

.brix-logo-svg:hover .brix-letter-templates {
  transform: translate3d(6px, 0, 0);
}

/* Native button variants.
   These replace Webflow's generated w-variant-* classes on migrated pages. */
.btn.btn--secondary {
  border: 1px solid var(--new--neutral--color-400);
  background-color: var(--new--neutral--color-100);
  color: var(--new--neutral--color-800);
  background-image: none;
  font-weight: 400;
  box-shadow: 0 2px 4px #211f5421;
}

.btn.btn--secondary:hover,
.btn.btn--secondary:focus-visible {
  background-color: var(--new--neutral--color-100);
  color: var(--new--primary-color);
}

.btn.btn--sm {
  padding: var(--sizes--sz-6) var(--sizes--sz-7);
  font-size: var(--texts--ts-10);
}

.btn.btn--secondary .btn__dot {
  background-color: var(--new--primary-color);
}

.btn.btn--megatech {
  width: 100%;
  justify-content: center;
  color: var(--new--neutral--color-100);
  background-image: linear-gradient(90deg, #3a82ff, #6199ff);
  border-radius: 96px;
  padding: 20px 32px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(58, 130, 255, .24);
}

.btn.btn--megatech:hover,
.btn.btn--megatech:focus-visible {
  color: var(--new--neutral--color-100);
}

button.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.inp__btn-wrap.inp__btn-wrap--canonical:hover {
  transform: none;
}

.inp__btn-wrap .btn.inside.btn--input-submit {
  position: static;
  inset: auto;
  min-width: 0;
  padding-left: 32px;
  padding-right: 32px;
}

.inp__btn-wrap.inp__btn-wrap--canonical.v2 {
  width: auto;
  top: 8px;
  right: 8px;
  bottom: 8px;
}

.inp__btn-wrap .btn.btn--megatech.inside.btn--input-submit {
  width: auto;
  min-width: 240px;
  min-height: 64px;
  padding: 18px 34px;
}

.inp.subscribe-form.subscribe-form--canonical {
  padding-left: calc(var(--mg-pd--xs) * 2);
  padding-right: clamp(156px, 24vw, 320px);
  color: var(--new--neutral--color-800);
  font-size: var(--texts--ts-9);
  transition: border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.inp.subscribe-form.subscribe-form--canonical::placeholder {
  color: var(--new--neutral--color-500);
  font-size: var(--texts--ts-9);
}

.inp.subscribe-form.subscribe-form--canonical:hover,
.inp.subscribe-form.subscribe-form--canonical:focus {
  border-color: var(--new--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(74, 58, 255, .16), 0 2px 12px rgba(20, 20, 43, .1);
}

.inp.subscribe-form.subscribe-form--canonical.form-input--megatech:hover,
.inp.subscribe-form.subscribe-form--canonical.form-input--megatech:focus {
  border-color: var(--new--secondary--megatech-accent-color) !important;
  box-shadow: 0 0 0 3px rgba(58, 130, 255, .16), 0 2px 12px rgba(20, 20, 43, .1);
}

.inp.form-input--canonical {
  padding-left: 24px;
  padding-right: 24px;
  color: var(--new--neutral--color-800);
  font-size: var(--texts--ts-9);
  transition: border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.inp.form-input--canonical::placeholder {
  color: var(--new--neutral--color-500);
  font-size: var(--texts--ts-9);
}

.inp.form-input--canonical:hover,
.inp.form-input--canonical:focus {
  border-color: var(--new--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(74, 58, 255, .16), 0 2px 12px rgba(20, 20, 43, .1);
}

.inp.form-input--canonical.form-input--megatech:hover,
.inp.form-input--canonical.form-input--megatech:focus {
  border-color: var(--new--secondary--megatech-accent-color) !important;
  box-shadow: 0 0 0 3px rgba(58, 130, 255, .16), 0 2px 12px rgba(20, 20, 43, .1);
}

.text-area.form-input--canonical {
  padding-left: 24px;
  padding-right: 24px;
  color: var(--new--neutral--color-800);
  font-size: var(--texts--ts-9);
  transition: border-color .22s ease, box-shadow .22s ease, color .22s ease;
}

.text-area.form-input--canonical::placeholder {
  color: var(--new--neutral--color-500);
  font-size: var(--texts--ts-9);
}

.text-area.form-input--canonical:hover,
.text-area.form-input--canonical:focus {
  border-color: var(--new--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(74, 58, 255, .16), 0 2px 12px rgba(20, 20, 43, .1);
}

.inp.select.form-input--canonical {
  padding-left: 24px;
  padding-right: 24px;
}

.inp.select.form-input--canonical .selectbox {
  padding-left: 0;
  padding-right: 0;
}

.inp.select.form-input--canonical:hover,
.inp.select.form-input--canonical:focus-within {
  border-color: var(--new--primary-color) !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(74, 58, 255, .16), 0 2px 12px rgba(20, 20, 43, .1);
}

@media screen and (max-width: 767px) {
  .inp.subscribe-form.subscribe-form--canonical {
    padding-right: calc(var(--mg-pd--xs) * 2);
  }

  .inp__btn-wrap.inp__btn-wrap--canonical {
    width: 100%;
    margin-top: var(--mg-pd--xxs);
  }

  .inp__btn-wrap.inp__btn-wrap--canonical .btn.inside.btn--input-submit {
    width: 100%;
    min-height: 52px;
  }
}

.btn__icon.btn__icon--sm {
  font-size: var(--texts--ts-10);
}

.btn__icon svg {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

.btn__form-icon-wrap svg {
  display: block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  transform: translateY(-1px);
}

:where(.w-container) {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

:where(.w-container)::before,
:where(.w-container)::after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

:where(.w-container)::after {
  clear: both;
}

:where(.w-layout-grid),
:where(.brix-layout-grid) {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

:where(.w-form) {
  margin: 0 0 15px;
}

:where(.w-form-done),
:where(.w-form-fail),
:where(.w-dyn-empty),
:where(.w-dyn-bind-empty),
:where(.w-dyn-hide) {
  display: none;
}

:where(.w-input),
:where(.w-select) {
  width: 100%;
  height: 38px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 8px 12px;
  font: inherit;
  display: block;
}

textarea:where(.w-input) {
  height: auto;
}

:where(.w-form-label) {
  cursor: pointer;
  margin-bottom: 0;
  font-weight: normal;
  display: inline-block;
}

:where(.w-checkbox) {
  margin-bottom: 5px;
  padding-left: 20px;
  display: block;
}

:where(.w-checkbox)::before,
:where(.w-checkbox)::after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

:where(.w-checkbox)::after {
  clear: both;
}

:where(.w-checkbox-input) {
  float: left;
  margin: 4px 0 0 -20px;
  line-height: normal;
}

:where(.w-dropdown) {
  text-align: left;
  z-index: 900;
  margin-left: auto;
  margin-right: auto;
  display: inline-block;
  position: relative;
}

:where(.w-dropdown-toggle) {
  user-select: none;
  cursor: pointer;
  display: inline-block;
}

.w-dropdown-list {
  min-width: 100%;
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 901;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  filter: blur(8px);
  transform: translate3d(0, 10px, 0);
  transform-origin: top center;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    filter 180ms ease,
    visibility 180ms ease;
}

.w-dropdown.is-open,
.w-dropdown.w--open {
  z-index: 950;
}

.w-dropdown.is-open > .w-dropdown-list,
.w-dropdown.w--open > .w-dropdown-list,
.w-dropdown-list.w--open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

:where(.w-nav) {
  z-index: 1000;
  position: relative;
}

:where(.w-nav)::before,
:where(.w-nav)::after {
  content: " ";
  grid-area: 1 / 1 / 2 / 2;
  display: table;
}

:where(.w-nav)::after {
  clear: both;
}

:where(.w-nav-brand) {
  float: left;
  color: #333;
  text-decoration: none;
  position: relative;
}

:where(.w-nav-link) {
  vertical-align: top;
  color: #222;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

:where(.w-nav-menu) {
  float: right;
  position: relative;
}

:where(.w-nav-button) {
  float: right;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
  user-select: none;
  padding: 18px;
  font-size: 24px;
  display: none;
  position: relative;
}

:where(.w-nav-button).w--open {
  color: #fff;
}

/* Header-specific styles live in partials/header.css. */

@media screen and (max-width: 991px) {
  .w-container {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-container {
    max-width: none;
  }

  :where(.w-nav-brand) {
    padding-left: 10px;
  }
}

[data-brix-reveal],
.brix-reveal-managed {
  opacity: 0;
  filter: blur(10px);
  will-change: opacity, filter, transform;
}

[data-brix-reveal].brix-reveal-visible,
.brix-reveal-visible {
  opacity: 1;
  filter: blur(0);
}

/* Blog/resource card: soften the divider between the excerpt and the
   date/read-more row to 60% (40% lighter). Scoped to the card component so it
   applies in both the blog listing and the related-posts cards. */
.resrouce-card .divider {
  opacity: .6;
}
