@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-v24-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-v24-latin_latin-ext-600.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-v24-latin_latin-ext-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-v24-latin_latin-ext-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins-v24-latin_latin-ext-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto-v51-latin_latin-ext-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto-v51-latin_latin-ext-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto-v51-latin_latin-ext-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto-v51-latin_latin-ext-700.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto-v51-latin_latin-ext-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto-v51-latin_latin-ext-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --shell-base: #F4F3EF;
  --shell-surface: #FFFFFF;
  --shell-ink: #16161A;
  --shell-accent: #0891B2;
  --shell-border: rgba(20, 20, 26, 0.10);
  --shell-border-strong: rgba(20, 20, 26, 0.18);
  --shell-container: 1240px;
  --shell-font: 'Roboto', ui-sans-serif, system-ui, sans-serif;
  --shell-display: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --shell-mono: 'Roboto', ui-sans-serif, system-ui, sans-serif;
  --shell-ease: cubic-bezier(.22, 1, .36, 1);
}

/* Keep the layout viewport stable when pages differ in height. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.dmx-shell-container {
  width: 100%;
  max-width: var(--shell-container);
  margin-inline: auto;
  padding-inline: 2rem;
}

.dmx-shell-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Floating Signal header */
.dmx-shell-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 100%;
  color: var(--shell-ink);
  font-family: var(--shell-font);
  pointer-events: none;
}

.dmx-shell-header-frame,
.dmx-shell-mobile-nav { pointer-events: auto; }

.dmx-shell-header-frame {
  width: min(calc(100% - 2.5rem), var(--shell-container));
  margin: 1rem auto 0;
  color: inherit;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--shell-border);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .07);
  backdrop-filter: blur(18px) saturate(135%);
  transition: margin .4s var(--shell-ease), border-color .4s var(--shell-ease), background .4s var(--shell-ease), box-shadow .4s var(--shell-ease);
}

/* Included headers reserve space for the floating viewport anchor. */
.page-inner > [data-include="header"] { min-height: 100px; }

.dmx-shell-header.is-scrolled { color: var(--shell-ink); }

.dmx-shell-header.is-scrolled .dmx-shell-header-frame {
  margin-top: .55rem;
  background: rgba(255, 255, 255, .9);
  border-color: var(--shell-border-strong);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .11);
}

.dmx-shell-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: 1.35rem;
  transition: min-height .4s var(--shell-ease);
}

.dmx-shell-header.is-scrolled .dmx-shell-nav { min-height: 60px; }

.dmx-shell-logo {
  flex: none;
  color: inherit;
  font-family: var(--shell-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
}

.dmx-shell-logo-image {
  display: block;
  width: 108px;
  height: auto;
}

.dmx-shell-logo span { color: var(--shell-accent); }

.dmx-shell-desktop-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.dmx-shell-desktop-nav a {
  color: color-mix(in srgb, currentColor 76%, transparent);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.dmx-shell-desktop-nav a:hover,
.dmx-shell-desktop-nav a.is-active { color: inherit; }

.dmx-shell-nav-link {
  position: relative;
  padding: .65rem .8rem;
}

.dmx-shell-nav-link::after {
  position: absolute;
  right: .8rem;
  bottom: .18rem;
  left: .8rem;
  height: 2px;
  content: "";
  background: var(--shell-accent);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--shell-ease);
}

.dmx-shell-nav-link:hover::after,
.dmx-shell-nav-link.is-active::after { transform: scaleX(1); }

.dmx-shell-nav-contact {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: .45rem;
  padding: .62rem 1rem;
  color: #fff;
  background: var(--shell-ink);
  border: 1px solid var(--shell-ink);
  border-radius: 999px;
}

.dmx-shell-nav-contact span { color: var(--shell-accent); transition: transform .25s var(--shell-ease); }
.dmx-shell-nav-contact:hover { color: #fff; background: var(--shell-accent); border-color: var(--shell-accent); transform: translateY(-1px); }
.dmx-shell-nav-contact:hover span { color: #fff; transform: translate(2px, -2px); }

.dmx-shell-language {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  margin-left: .5rem;
  padding: .25rem .45rem;
  color: color-mix(in srgb, currentColor 76%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
}

.dmx-shell-language:hover { color: var(--shell-accent); border-color: var(--shell-accent); }

.dmx-shell-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: color-mix(in srgb, currentColor 5%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 34%, transparent);
  border-radius: 999px;
  transition: border-color .25s ease, background .25s ease, transform .25s var(--shell-ease);
}

.dmx-shell-menu-toggle:hover { border-color: var(--shell-accent); }
.dmx-shell-menu-toggle.is-open { color: var(--shell-accent); background: color-mix(in srgb, var(--shell-accent) 10%, transparent); transform: rotate(90deg); }

.dmx-shell-mobile-nav {
  position: absolute;
  top: 78px;
  left: 50%;
  width: min(calc(100% - 2.5rem), var(--shell-container));
  padding: .7rem;
  color: var(--shell-ink);
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--shell-border-strong);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
  backdrop-filter: blur(20px) saturate(135%);
  transform: translateX(-50%);
}

.dmx-shell-mobile-nav[hidden] { display: none !important; }

.dmx-shell-mobile-nav a {
  display: block;
  padding: .9rem 1rem;
  color: rgba(22, 22, 26, .78);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.dmx-shell-mobile-nav a:hover,
.dmx-shell-mobile-nav a.is-active {
  color: var(--shell-ink);
  background: rgba(8, 145, 178, .09);
}

.dmx-shell-mobile-nav a.is-active { box-shadow: inset 2px 0 0 var(--shell-accent); }

.dmx-shell-mobile-nav .dmx-shell-mobile-cta {
  margin-top: .5rem;
  color: #fff;
  text-align: center;
  background: var(--shell-ink);
  border-radius: 999px;
}

.dmx-shell-mobile-nav .dmx-shell-mobile-language {
  width: 100%;
  min-height: 42px;
  margin-top: .55rem;
  color: var(--shell-ink);
  background: transparent;
  border-color: var(--shell-border-strong);
}

body.dmx-shell-menu-open { overflow: hidden; }

/* Shared footer */
.dmx-shell-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0;
  color: var(--shell-ink);
  font-family: var(--shell-font);
  background: var(--shell-base);
  border-top: 1px solid var(--shell-border);
}

.dmx-shell-container.dmx-shell-footer-inner {
  width: min(100%, 1240px);
  max-width: 1240px;
  box-sizing: border-box;
  padding: 60px 32px 36px;
}

.dmx-shell-footer-main {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  align-items: stretch;
  column-gap: 128px;
  height: 149.4px;
  min-height: 149.4px;
}

.dmx-shell-footer-brand {
  align-self: center;
  width: 100%;
  max-width: 360px;
}

.dmx-shell-footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dmx-shell-footer-side-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 29.5px;
  width: max-content;
  max-width: 100%;
}

.dmx-shell-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  position: relative;
  top: -5px;
  gap: 12px 32px;
  width: auto;
}

.dmx-shell-footer-links a {
  color: rgba(22, 22, 26, .62);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s ease;
}

.dmx-shell-footer-links a:hover { color: var(--shell-ink); }

.dmx-shell-wordmark {
  margin: 0;
  color: rgba(22, 22, 26, .15);
  font-family: var(--shell-display);
  font-size: min(15vw, 13rem);
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.05em;
  user-select: none;
}

.dmx-shell-wordmark-image {
  display: block;
  width: 168px;
  height: auto;
}

.dmx-shell-footer .dmx-shell-brand-description {
  margin: 1.25rem 0 0;
  color: var(--dmx-muted-soft, rgba(22, 22, 26, .45));
  font-size: .75rem;
}

.dmx-shell-footer .dmx-shell-brand-summary {
  margin: .9rem 0 0;
  color: var(--dmx-muted, rgba(22, 22, 26, .62));
  font-size: .9rem;
  line-height: 1.65;
}

.dmx-shell-footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  color: rgba(22, 22, 26, .45);
  font-size: 12px;
  line-height: 19.2px;
  border-top: 1px solid var(--shell-border);
}

.dmx-shell-footer .dmx-shell-footer-bottom p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.dmx-shell-parent-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  gap: 1rem;
  transform: translateX(-7px);
  width: 190px;
  max-width: 100%;
  color: rgba(22, 22, 26, .62);
  font-size: .82rem;
}

.dmx-shell-parent-brand-logo-link {
  display: inline-block;
  max-width: 100%;
  border-radius: 4px;
}

.dmx-shell-parent-brand-logo-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.dmx-shell-parent-brand-logo {
  display: block;
  width: min(190px, 100%);
  height: auto;
}

.dmx-shell-footer .dmx-shell-parent-brand p {
  width: 100%;
  margin: 0;
  padding-left: 9px;
  box-sizing: border-box;
  font-size: 13.12px;
  line-height: 20.992px;
  text-align: left;
  white-space: nowrap;
}

.dmx-shell-parent-brand p a {
  color: inherit;
  font-weight: 600;
  text-underline-offset: .2em;
}

.dmx-shell-parent-brand p a:hover { color: var(--shell-ink); }

.dmx-shell-mono {
  font-family: var(--shell-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .dmx-shell-desktop-nav { display: none; }
  .dmx-shell-menu-toggle { display: inline-flex; }
  .dmx-shell-nav { padding-inline: 1.15rem; }
  .dmx-shell-header.is-scrolled .dmx-shell-mobile-nav { top: 70px; }
  .dmx-shell-container.dmx-shell-footer-inner {
    width: 100%;
    padding: 44px 20px 36px;
  }
  .dmx-shell-footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    height: auto;
    min-height: 0;
  }
  .dmx-shell-footer-brand { align-self: start; }
  .dmx-shell-footer-side { align-items: flex-start; }
  .dmx-shell-footer-side-content { gap: 32px; width: 100%; }
  .dmx-shell-footer-links {
    top: auto;
    justify-content: flex-start;
    gap: 12px 32px;
    width: 100%;
  }
  .dmx-shell-parent-brand { align-self: center; transform: none; }
  .dmx-shell-footer .dmx-shell-parent-brand p { white-space: normal; }
  .dmx-shell-footer-bottom { margin-top: 32px; padding-top: 20px; }
}

@media (max-width: 640px) {
  .dmx-shell-header-frame { width: calc(100% - 1.5rem); margin-top: .75rem; border-radius: 18px; }
  .dmx-shell-nav { min-height: 62px; padding-inline: 1rem; }
  .dmx-shell-header.is-scrolled .dmx-shell-nav { min-height: 58px; }
  .dmx-shell-logo-image { width: 96px; }
  .dmx-shell-mobile-nav { top: 72px; width: calc(100% - 1.5rem); border-radius: 18px; }
  .dmx-shell-header.is-scrolled .dmx-shell-mobile-nav { top: 68px; }
  .dmx-shell-container { padding-inline: 1.25rem; }
  .dmx-shell-wordmark { font-size: 18vw; }
  .dmx-shell-wordmark-image { width: 144px; }
}

@media (prefers-reduced-motion: reduce) {
  .dmx-shell-header { transition: none; }
}

/* Shared typography */
body, button, input, textarea, select { font-family: 'Roboto', ui-sans-serif, system-ui, sans-serif; }
h1, h2, h3, h4, h5, h6,
.dmx-shell-logo,
.dmx-shell-wordmark { font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif; }

html, body, .dmx-shell-header, .dmx-shell-footer {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease;
}

@media (prefers-reduced-motion: reduce) {
  html, body, .dmx-shell-header, .dmx-shell-footer { transition: none; }
}
