:root {
  --dx-navy: #1a3467;
  --dx-navy-dark: #101b35;
  --dx-navy-ink: #0d1528;
  --dx-orange: #f56425;
  --dx-orange-dark: #d9470a;
  --dx-ink: #172033;
  --dx-muted: #667085;
  --dx-border: #dce2e9;
  --dx-surface: #ffffff;
  --dx-surface-muted: #f4f6f8;
  --dx-emerald: #0e8a6d;
  --dx-cyan: #087c99;
  --dx-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --dx-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dx-header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--dx-surface);
  color: var(--dx-ink);
  font-family: var(--dx-font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-is-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(245, 100, 37, 0.45);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  top: 12px;
  left: 12px;
  z-index: 10000;
  background: #fff;
  color: var(--dx-navy);
  border-radius: 4px;
  box-shadow: var(--dx-shadow);
}

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

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--dx-header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 226, 233, 0.86);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 206px;
  color: var(--dx-ink);
  line-height: 0;
}

.site-brand__mark {
  display: grid;
  place-items: center;
  width: 122px;
  height: 50px;
  flex: 0 0 122px;
  overflow: hidden;
  border-radius: 5px;
  background: #111;
}

.site-brand__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header .site-brand__image--custom {
  object-position: center;
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.site-menu,
.site-menu ul,
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
}

.site-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.site-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 13px;
  color: #465166;
  font-size: 14px;
  font-weight: 650;
  transition: color 160ms ease;
}

.site-menu > li > a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 0;
  height: 3px;
  background: var(--dx-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.site-menu > li > a:hover,
.site-menu > li.current-menu-item > a,
.site-menu > li.current_page_item > a {
  color: var(--dx-navy);
}

.site-menu > li > a:hover::after,
.site-menu > li.current-menu-item > a::after,
.site-menu > li.current_page_item > a::after {
  transform: scaleX(1);
}

.site-menu .sub-menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  display: grid;
  min-width: 220px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid var(--dx-border);
  border-radius: 8px;
  box-shadow: var(--dx-shadow);
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

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

.site-menu .sub-menu a {
  display: block;
  padding: 9px 11px;
  border-radius: 5px;
  color: #465166;
  font-size: 14px;
}

.site-menu .sub-menu a:hover {
  background: var(--dx-surface-muted);
  color: var(--dx-navy);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 208px;
}

.site-header__login {
  color: var(--dx-navy);
  font-size: 14px;
  font-weight: 750;
}

.site-header__login:hover {
  color: var(--dx-orange-dark);
}

.dx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.dx-button:hover {
  transform: translateY(-2px);
}

.dx-button--compact {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 13px;
}

.dx-button--primary {
  background: var(--dx-navy);
  color: #fff;
  box-shadow: 0 7px 16px rgba(26, 52, 103, 0.18);
}

.dx-button--primary:hover {
  background: #122956;
  box-shadow: 0 10px 20px rgba(26, 52, 103, 0.24);
}

.dx-button--secondary {
  border-color: var(--dx-border);
  background: #fff;
  color: var(--dx-navy);
}

.dx-button--accent {
  background: var(--dx-orange);
  color: #fff;
  box-shadow: 0 9px 22px rgba(245, 100, 37, 0.26);
}

.dx-button--accent:hover {
  background: #e85314;
  box-shadow: 0 12px 26px rgba(245, 100, 37, 0.32);
}

.dx-button--ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.dx-button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.dx-button--light {
  background: #fff;
  color: var(--dx-navy);
  box-shadow: 0 10px 24px rgba(7, 14, 29, 0.18);
}

.menu-toggle,
.site-navigation__mobile-actions {
  display: none;
}

.dx-hero {
  position: relative;
  display: flex;
  min-height: 620px;
  overflow: hidden;
  background: var(--dx-navy-ink);
  color: #fff;
  isolation: isolate;
}

.dx-hero::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 7px;
  z-index: -1;
  background: var(--dx-orange);
}

.dx-hero__watermark {
  position: absolute;
  z-index: -1;
  right: -84px;
  top: 50%;
  width: 640px;
  height: 640px;
  object-fit: cover;
  opacity: 0.26;
  mix-blend-mode: screen;
  transform: translateY(-50%);
  filter: saturate(0);
}

.dx-hero__inner {
  display: flex;
  align-items: center;
  padding-block: 88px;
}

.dx-hero__content {
  max-width: 740px;
}

.dx-eyebrow {
  margin: 0 0 14px;
  color: var(--dx-orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dx-eyebrow--light {
  color: #ff9a70;
}

.dx-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 66px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.02;
}

.dx-hero__lead {
  max-width: 690px;
  margin: 24px 0 0;
  color: #d8dfec;
  font-size: 21px;
  line-height: 1.55;
}

.dx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.dx-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  color: #aebbd0;
  font-size: 13px;
  font-weight: 650;
}

.dx-hero__signals li {
  position: relative;
  padding-left: 15px;
}

.dx-hero__signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dx-emerald);
}

.capability-band {
  background: #fff;
  border-bottom: 1px solid var(--dx-border);
}

.capability-band__inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  min-height: 280px;
}

.capability-band__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 38px;
}

.capability-band__intro h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.capability-band__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--dx-border);
}

.capability-band__list a:nth-child(-n + 3) {
  border-bottom: 1px solid var(--dx-border);
}

.capability-band__list a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 32px 22px;
  border-right: 1px solid var(--dx-border);
  transition: background-color 160ms ease, color 160ms ease;
}

.capability-band__list a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 4px;
  background: var(--dx-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.capability-band__list a:hover {
  background: var(--dx-surface-muted);
  color: var(--dx-navy);
}

.capability-band__list a:hover::after {
  transform: scaleX(1);
}

.capability-band__list strong {
  color: var(--dx-ink);
  font-size: 15px;
}

.capability-band__list span {
  color: var(--dx-muted);
  font-size: 12px;
  line-height: 1.5;
}

.page-masthead {
  min-height: 330px;
  display: flex;
  align-items: center;
  background: var(--dx-surface-muted);
  border-bottom: 1px solid var(--dx-border);
}

.page-masthead__inner {
  padding-block: 72px;
}

.page-masthead h1 {
  max-width: 900px;
  margin: 0;
  color: var(--dx-ink);
  font-size: 52px;
  line-height: 1.12;
}

.dx-content-section {
  padding-block: 84px;
}

.dx-prose {
  max-width: 800px;
}

.dx-prose > *:first-child {
  margin-top: 0;
}

.dx-prose > *:last-child {
  margin-bottom: 0;
}

.dx-prose h2,
.dx-prose h3 {
  margin: 1.7em 0 0.55em;
  color: var(--dx-ink);
  line-height: 1.25;
}

.dx-prose h2 {
  font-size: 34px;
}

.dx-prose h3 {
  font-size: 25px;
}

.dx-prose p,
.dx-prose li {
  color: #465166;
  font-size: 17px;
}

.dx-prose a {
  color: var(--dx-navy);
  text-decoration: underline;
  text-decoration-color: rgba(26, 52, 103, 0.35);
  text-underline-offset: 3px;
}

.footer-cta {
  background: var(--dx-navy);
  color: #fff;
}

.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 225px;
  padding-block: 48px;
}

.footer-cta .dx-eyebrow {
  color: #ffaf8d;
}

.footer-cta h2 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1.25;
}

.site-footer {
  background: var(--dx-navy-dark);
  color: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-block: 68px 58px;
}

.site-brand--footer {
  min-width: 0;
  color: #fff;
}

.site-brand--footer .site-brand__mark {
  width: 142px;
  height: 58px;
  flex-basis: 142px;
}

.site-footer__brand > p {
  max-width: 360px;
  margin: 22px 0 0;
  color: #9eabc1;
  font-size: 14px;
}

.site-footer__column h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 14px;
}

.site-footer__column ul {
  display: grid;
  gap: 10px;
}

.site-footer__column a {
  color: #aeb9cb;
  font-size: 13px;
  transition: color 160ms ease;
  overflow-wrap: anywhere;
}

.site-footer__column a:hover {
  color: #fff;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__bottom p {
  margin: 0;
  color: #8795ad;
  font-size: 12px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.post-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--dx-border);
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--dx-surface-muted);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card__content {
  padding: 26px;
}

.post-card__meta {
  margin: 0 0 8px;
  color: var(--dx-orange-dark);
  font-size: 12px;
  font-weight: 750;
}

.post-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.post-card p {
  color: var(--dx-muted);
}

.post-card__link {
  color: var(--dx-navy);
  font-size: 14px;
  font-weight: 750;
}

.post-navigation,
.empty-state {
  grid-column: 1 / -1;
}

.error-page {
  display: flex;
  align-items: center;
  min-height: 600px;
  background: var(--dx-surface-muted);
}

.error-page__inner {
  max-width: 760px;
  padding-block: 80px;
}

.error-page h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
}

.error-page p:not(.dx-eyebrow) {
  margin: 20px 0 30px;
  color: var(--dx-muted);
  font-size: 18px;
}

@media (max-width: 1080px) {
  .site-header__inner {
    gap: 18px;
  }

  .site-brand,
  .site-header__actions {
    min-width: auto;
  }

  .site-menu > li > a {
    padding-inline: 10px;
  }

  .capability-band__inner {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .capability-band__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability-band__list a:nth-child(-n + 4) {
    border-bottom: 1px solid var(--dx-border);
  }
}

@media (max-width: 960px) {
  :root {
    --dx-header-height: 70px;
  }

  .site-header__actions,
  .site-navigation {
    display: none;
  }

  .site-navigation.is-open {
    position: fixed;
    inset: var(--dx-header-height) 0 0;
    display: block;
    height: calc(100svh - var(--dx-header-height));
    padding: 22px 24px 30px;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--dx-border);
  }

  .admin-bar .site-navigation.is-open {
    inset-block-start: calc(var(--dx-header-height) + 32px);
    height: calc(100svh - var(--dx-header-height) - 32px);
  }

  .site-navigation .site-menu {
    display: grid;
    align-content: start;
    gap: 0;
    height: auto;
  }

  .site-navigation .site-menu > li,
  .site-navigation .site-menu > li > a {
    display: block;
    height: auto;
  }

  .site-navigation .site-menu > li > a {
    padding: 16px 2px;
    border-bottom: 1px solid var(--dx-border);
    font-size: 17px;
  }

  .site-navigation .site-menu > li > a::after {
    display: none;
  }

  .site-menu .sub-menu {
    position: static;
    min-width: 0;
    padding: 4px 0 8px 16px;
    visibility: visible;
    opacity: 1;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .site-navigation__mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--dx-border);
    border-radius: 6px;
    background: #fff;
    color: var(--dx-navy);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .dx-hero__watermark {
    right: -170px;
    opacity: 0.2;
  }

  .capability-band__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .capability-band__intro {
    padding-block: 34px;
  }

  .capability-band__list {
    border-top: 1px solid var(--dx-border);
  }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .dx-container {
    width: min(100% - 32px, 1180px);
  }

  .site-header .site-brand__mark {
    width: 112px;
    height: 46px;
    flex-basis: 112px;
  }

  .dx-hero {
    min-height: 535px;
  }

  .dx-hero__inner {
    align-items: flex-start;
    padding-block: 68px 60px;
  }

  .dx-hero h1 {
    font-size: 44px;
  }

  .dx-hero__lead {
    margin-top: 19px;
    font-size: 18px;
  }

  .dx-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-top: 28px;
  }

  .dx-hero__signals {
    display: grid;
    gap: 7px;
    margin-top: 26px;
  }

  .dx-hero__watermark {
    width: 440px;
    height: 440px;
    right: -230px;
    top: 58%;
  }

  .capability-band__intro h2 {
    font-size: 23px;
  }

  .capability-band__list {
    grid-template-columns: 1fr;
  }

  .capability-band__list a,
  .capability-band__list a:nth-child(-n + 2) {
    min-height: 105px;
    padding: 24px 16px;
    border-bottom: 1px solid var(--dx-border);
  }

  .page-masthead {
    min-height: 260px;
  }

  .page-masthead h1,
  .error-page h1 {
    font-size: 38px;
  }

  .dx-content-section {
    padding-block: 58px;
  }

  .dx-prose h2 {
    font-size: 29px;
  }

  .footer-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .footer-cta h2 {
    font-size: 29px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 6px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  html #wpadminbar {
    position: fixed;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .site-navigation.is-open {
    inset-block-start: calc(var(--dx-header-height) + 46px);
    height: calc(100svh - var(--dx-header-height) - 46px);
  }
}

@media (max-width: 430px) {
  .site-header .site-brand__mark {
    width: 104px;
    height: 42px;
    flex-basis: 104px;
  }

  .site-navigation__mobile-actions {
    grid-template-columns: 1fr;
  }

  .dx-hero h1 {
    font-size: 39px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
